add preferences create_section function for sepreation of settings by a section header, see general preferences on the page bottom (special idots settings)

This commit is contained in:
Pim Snel 2003-11-19 18:34:48 +00:00
parent e3acb4f125
commit 3f4e2d8918

View File

@ -179,6 +179,18 @@
return $s;
}
/* for creating different sections with a title */
function create_section($title='')
{
global $t;
$t->set_var('row_value','');
$t->set_var('row_name','<span class="prefSection">'.lang($title).'</span>');
$GLOBALS['phpgw']->nextmatchs->template_alternate_row_color($t);
$t->fp('rows',process_help($help) ? 'help_row' : 'row',True);
}
function create_select_box($label,$name,$values,$help='',$default='')
{
global $t,$prefs;