Project

General

Profile

Bug #2132 » 2132_b.patch

krileon, 07 December 2010 15:24

View differences:

administrator/components/com_comprofiler/comprofiler.class.php
return $results;
}
function _renderFields( $pluginTabContent, $user, $output, $formatting, $reason, $rowClasses ) {
global $_CB_OneTwoRowsStyleToggle;
global $_PLUGINS, $_CB_OneTwoRowsStyleToggle;
$rendered = null;
$formattingFields = $this->_stepDownFormatting[$formatting];
foreach ($pluginTabContent as $field ) {
$saveToggle = $_CB_OneTwoRowsStyleToggle;
$rendered .= cbFieldHandler::renderFieldHtml( $field, $user, $field->_value, $output, $formattingFields, $reason, $rowClasses );
$rendered .= $_PLUGINS->callField( $field->type, 'renderFieldHtml', array( &$field, &$user, $field->_value, $output, $formattingFields, $reason, $rowClasses ), $field );
if ( isset( $field->_rowNoToggle ) ) {
$_CB_OneTwoRowsStyleToggle = $saveToggle;
}
(2-2/2)