Changeset 873 for trunk/preferences
- Timestamp:
- 05/20/09 11:53:53 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/preferences/preferences.php
r43 r873 192 192 193 193 $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 = '') 197 205 { 198 206 global $t,$prefs; … … 227 235 $def_text = $def_text != '' ? ' <i><font size="-1">'.lang('default').': '.$values[$def_text].'</font></i>' : ''; 228 236 } 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"); 230 238 $t->set_var('row_name',lang($label)); 231 239 $GLOBALS['phpgw']->nextmatchs->template_alternate_row_color($t);
Note: See TracChangeset
for help on using the changeset viewer.