mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-26 01:43:47 +01:00
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:
parent
e3acb4f125
commit
3f4e2d8918
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user