'COMMENT', 'auto_activate' => false, 'requires_pair' => true, 'load_function' => '\data_comment', 'title' => 'Comment', 'help_page' => 'DataPluginComment', 'description' => KernelTools::tra("This plugin allows Comments (Text that will not be displayed) to be added to a page."), 'help_function' => '\data__comment_help', 'syntax' => "{comment}Data Not Displayed{/comment}", 'plugin_type' => DATA_PLUGIN, ]; $gLibertySystem->registerPlugin( PLUGIN_GUID_DATACOMMENT, $pluginParams ); $gLibertySystem->registerDataTag( $pluginParams['tag'], PLUGIN_GUID_DATACOMMENT ); /** * data_comment_help * * @access public * @return string help */ function data_comment_help() { $help = '' .'' .'' .'' .'' .'' .'' .'' .'' .'
' . KernelTools::tra( "Key" ) . '' . KernelTools::tra( "Type" ) . '' . KernelTools::tra( "Comments" ) . '
' . KernelTools::tra("This plugin uses no parameters. Anything located between the two") . ' {COMMENT} ' . KernelTools::tra("Blocks is not displayed.") . '
' . KernelTools::tra("Example: ") . "{COMMENT}" . KernelTools::tra("Everything in here is not displayed.") . "{/COMMENT}"; return $help; } /** * data_comment * * @access public * @return string ' ' */ function data_comment( $pData, $pParams ) { return ' '; }