# This patch file was generated by NetBeans IDE # This patch can be applied using context Tools: Apply Diff Patch action on respective folder. # It uses platform neutral UTF-8 encoding. # Above lines and this line are ignored by the patching process. --- administrator/components/com_comprofiler/comprofiler.class.php +++ administrator/components/com_comprofiler/comprofiler.class.php @@ -3560,6 +3560,9 @@ } $oContent = ''; foreach( $oTabs AS $oTab ) { + // get Content from super-tabs: // experimental event: + $_PLUGINS->trigger( 'onBeforeEditATab', array( &$oContent, &$oTab, &$user, &$postdata, $output, $formatting, $reason, $tabbed ) ); + // get Content from plugin tabs: if ( $oTab->pluginclass != null ) { if ( $reason == 'register' ) { @@ -3583,10 +3586,10 @@ $oContent .= $this->_getEditTabContents( $oTab, $user, $output, $formatting, $reason, true ); } - if ( $tabbed && ( $oContent != '' ) ) { // get Content from super-tabs: // experimental event: $_PLUGINS->trigger( 'onAfterEditATab', array( &$oContent, &$oTab, &$user, &$postdata, $output, $formatting, $reason, $tabbed ) ); + if ( $tabbed && ( $oContent != '' ) ) { $tabTitle = cbReplaceVars( getLangDefinition( $oTab->title ), $user ); $tabNavJS[$i] = new stdClass(); if ( $ueConfig['nesttabs'] && $oTab->fields && ( ( $oTab->pluginclass == null ) || ( $oTab->sys == 2 ) ) ) {