Changeset 124
- Timestamp:
- 12/11/07 16:43:48 (16 years ago)
- Location:
- trunk/expressoMail1_2
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/inc/class.db_functions.inc.php
r27 r124 198 198 $new_prefe['font_size'] = $tmp; 199 199 } 200 if($key == 11){ 201 $new_prefe['use_shortcuts'] = $tmp; 202 } 200 203 } 201 204 -
trunk/expressoMail1_2/index.php
r118 r124 124 124 if ($GLOBALS['phpgw_info']['user']['preferences']['expressoMail']['use_shortcuts']) 125 125 { 126 echo $obj -> getFilesJs("js/shortcut _pack.js", $GLOBALS['phpgw_info']['flags']['update_version']);126 echo $obj -> getFilesJs("js/shortcut.js", $GLOBALS['phpgw_info']['flags']['update_version']); 127 127 } 128 128 -
trunk/expressoMail1_2/preferences.php
r83 r124 48 48 $GLOBALS['phpgw']->template->set_var('checked_mainscreen_showmail',''); 49 49 50 if ($GLOBALS['phpgw_info']['user']['preferences']['expressoMail']['use_shortcuts']) 51 $GLOBALS['phpgw']->template->set_var('checked_shortcuts','checked'); 52 else 53 $GLOBALS['phpgw']->template->set_var('checked_shortcuts',''); 54 50 55 if ($GLOBALS['phpgw_info']['user']['preferences']['expressoMail']['signature']) 51 56 $GLOBALS['phpgw']->template->set_var('text_signature',$GLOBALS['phpgw_info']['user']['preferences']['expressoMail']['signature']); … … 99 104 else 100 105 $GLOBALS['phpgw']->preferences->add('expressoMail','mainscreen_showmail',$_POST['mainscreen_showmail']); 106 107 if ($GLOBALS['phpgw_info']['user']['preferences']['expressoMail']['use_shortcuts']) 108 $GLOBALS['phpgw']->preferences->change('expressoMail','use_shortcuts',$_POST['use_shortcuts']); 109 else 110 $GLOBALS['phpgw']->preferences->add('expressoMail','use_shortcuts',$_POST['use_shortcuts']); 101 111 102 112 if ($GLOBALS['phpgw_info']['user']['preferences']['expressoMail']['signature']) … … 150 160 $GLOBALS['phpgw']->template->set_var('lang_line_height',lang('Padding Email List')); 151 161 $GLOBALS['phpgw']->template->set_var('lang_font_size',lang('Font Size')); 162 $GLOBALS['phpgw']->template->set_var('lang_use_shortcuts',lang('Use shortcuts')); 152 163 $GLOBALS['phpgw']->template->set_var('lang_signature',lang('Signature')); 153 164 $GLOBALS['phpgw']->template->set_var('dont_use',lang('Don\'t use')); … … 162 173 $GLOBALS['phpgw']->template->set_var('big',lang('Big')); 163 174 164 165 166 167 168 175 $boemailadmin = CreateObject('emailadmin.bo'); 169 176 $emailadmin_profile = $boemailadmin->getProfileList();
Note: See TracChangeset
for help on using the changeset viewer.