mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
Created function create_subsection() in preferences.php
This commit is contained in:
parent
0a28f3812e
commit
c041ef19b1
@ -187,12 +187,24 @@
|
|||||||
{
|
{
|
||||||
global $t;
|
global $t;
|
||||||
|
|
||||||
$t->set_var('row_value','');
|
$t->set_var('row_value','');
|
||||||
$t->set_var('row_name','<span class="prefSection">'.lang($title).'</span>');
|
$t->set_var('row_name','<span class="prefSection">'.lang($title).'</span>');
|
||||||
$GLOBALS['egw']->nextmatchs->template_alternate_row_color($t);
|
$GLOBALS['egw']->nextmatchs->template_alternate_row_color($t);
|
||||||
|
|
||||||
$t->fp('rows',process_help($help) ? 'help_row' : 'row',True);
|
$t->fp('rows',process_help($help) ? 'help_row' : 'row',True);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* for creating different sections with a title */
|
||||||
|
function create_subsection($title='')
|
||||||
|
{
|
||||||
|
global $t;
|
||||||
|
|
||||||
|
$t->set_var('row_value','');
|
||||||
|
$t->set_var('row_name','<span class="prefSubSection">'.lang($title).'</span>');
|
||||||
|
$GLOBALS['egw']->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='',$run_lang=True)
|
function create_select_box($label,$name,$values,$help='',$default='',$run_lang=True)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user