Bug #2034 ยป 2034.patch
administrator/components/com_comprofiler/comprofiler.class.php | ||
---|---|---|
}
|
||
$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' ) {
|
||
... | ... | |
$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 ) ) ) {
|