fieldset_helper.theme.inc in Fieldset helper 6
Same filename and directory in other branches
Using an include file insures that if a phptemplate_fieldset() function already exists the below function won't throw a 'Fatal error: Cannot redeclare _phptemplate_fieldset()'
File
fieldset_helper.theme.incView source
<?php
/**
* @file
* Using an include file insures that if a phptemplate_fieldset() function
* already exists the below function won't throw a
* 'Fatal error: Cannot redeclare _phptemplate_fieldset()'
*/
/**
* Overide theme_fieldset using phptemplate.
*/
function phptemplate_fieldset($element) {
$element = fieldset_helper_alter_theme_fieldset($element);
return theme_fieldset($element);
}
/**
* Overide CCK's theme_fieldgroup_fieldset using phptemplate.
*/
function phptemplate_fieldgroup_fieldset($element) {
$element = fieldset_helper_alter_theme_fieldset($element);
return theme_fieldgroup_fieldset($element);
}
/**
* Overide theme_system_modules using phptemplate.
*/
function phptemplate_system_modules($form) {
$output = theme_system_modules($form);
return fieldset_helper_alter_theme_system_modules($output);
}
Functions
Name | Description |
---|---|
phptemplate_fieldgroup_fieldset | Overide CCK's theme_fieldgroup_fieldset using phptemplate. |
phptemplate_fieldset | Overide theme_fieldset using phptemplate. |
phptemplate_system_modules | Overide theme_system_modules using phptemplate. |