Changeset 873 for trunk/preferences


Ignore:
Timestamp:
05/20/09 11:53:53 (15 years ago)
Author:
amuller
Message:

Ticket #485 - padronização das preferências do expressoMail com Egroupware

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/preferences/preferences.php

    r43 r873  
    192192 
    193193                        $t->fp('rows',process_help($help) ? 'help_row' : 'row',True); 
    194                 } 
    195  
    196         function create_select_box($label,$name,$values,$help='',$default='',$run_lang=True) 
     194        } 
     195        function create_html_code($code) 
     196        { 
     197                global $t; 
     198                $t->set_var('row_value',$code); 
     199                $t->set_var('row_name',lang("signature")); 
     200                $GLOBALS['phpgw']->nextmatchs->template_alternate_row_color($t); 
     201                $t->fp('rows','row',True); 
     202        } 
     203 
     204        function create_select_box($label,$name,$values,$help='',$default='',$run_lang=True,$select_prop = '') 
    197205        { 
    198206                global $t,$prefs; 
     
    227235                        $def_text = $def_text != '' ? ' <i><font size="-1">'.lang('default').':&nbsp;'.$values[$def_text].'</font></i>' : ''; 
    228236                } 
    229                 $t->set_var('row_value',"<select name=\"${GLOBALS[type]}[$name]\">$s</select>$def_text"); 
     237                $t->set_var('row_value',"<select name=\"${GLOBALS[type]}[$name]\" $select_prop>$s</select>$def_text"); 
    230238                $t->set_var('row_name',lang($label)); 
    231239                $GLOBALS['phpgw']->nextmatchs->template_alternate_row_color($t); 
Note: See TracChangeset for help on using the changeset viewer.