Changeset 517 for trunk/mobile/mobile_header.inc.php
- Timestamp:
- 10/08/08 16:34:25 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/mobile/mobile_header.inc.php
r480 r517 72 72 $p->parse('home_t', 'mobile_header'); 73 73 74 /********************************\ 75 * Cria o link para o new_mail * 76 \********************************/ 77 $q = CreateObject('phpgwapi.Template', PHPGW_SERVER_ROOT . '/mobile/templates/'.$GLOBALS['phpgw_info']['server']['template_set']); 78 $q->set_file( 79 Array( 80 'new_mail_t' => 'home.tpl' 81 ) 82 ); 83 84 $q->set_block('new_mail_t', 'new_mail'); 85 $q->set_block('new_mail_t', 'begin_anchor'); 86 $q->set_block('new_mail_t', 'end_anchor'); 87 88 $q->set_var('href', 'index.php?menuaction=mobile.mobilemail.new_msg&clk=01'); 89 $q->set_var('lang_newmail', lang('Create mail')); 90 $q->fp('new_mail_t', 'begin_anchor'); 91 $q->fp('new_mail_t', 'end_anchor'); 92 93 $p->set_var('newmail', trim($q->fp('new_mail_t', 'new_mail'))); 94 95 /********************************\ 96 * Cria o link para o mobilemail * 97 \********************************/ 98 $q = CreateObject('phpgwapi.Template', PHPGW_SERVER_ROOT . '/mobile/templates/'.$GLOBALS['phpgw_info']['server']['template_set']); 99 $q->set_file( 100 Array( 101 'mobilemail_t' => 'home.tpl' 102 ) 103 ); 104 105 $q->set_block('mobilemail_t', 'mobilemail'); 106 $q->set_block('mobilemail_t', 'begin_anchor'); 107 $q->set_block('mobilemail_t', 'end_anchor'); 108 109 $q->set_var('href', 'mobilemail_index.php'); 110 $q->set_var('lang_email', lang('E-mail')); 111 $q->fp('mobilemail_t', 'begin_anchor'); 112 $q->fp('mobilemail_t', 'end_anchor'); 113 114 $p->set_var('mobilemail', trim($q->fp('mobilemail_t', 'mobilemail'))); 115 74 116 /*****************************\ 75 117 * Cria o link para a agenda * … … 97 139 * Cria o link para o mobilemail * 98 140 \********************************/ 99 $q = CreateObject('phpgwapi.Template', PHPGW_SERVER_ROOT . '/mobile/templates/'.$GLOBALS['phpgw_info']['server']['template_set']);141 /* $q = CreateObject('phpgwapi.Template', PHPGW_SERVER_ROOT . '/mobile/templates/'.$GLOBALS['phpgw_info']['server']['template_set']); 100 142 $q->set_file( 101 143 Array( … … 114 156 115 157 $p->set_var('mobilemail', trim($q->fp('mobilemail_t', 'mobilemail'))); 116 117 /********************************\ 118 * Cria o link para o cc * 119 \********************************/ 120 $q = CreateObject('phpgwapi.Template', PHPGW_SERVER_ROOT . '/mobile/templates/'.$GLOBALS['phpgw_info']['server']['template_set']); 121 $q->set_file( 122 Array( 123 'cc_t' => 'home.tpl' 124 ) 158 */ 159 160 /********************************\ 161 * Cria o link para o cc * 162 \********************************/ 163 $q = CreateObject('phpgwapi.Template', PHPGW_SERVER_ROOT . '/mobile/templates/'.$GLOBALS['phpgw_info']['server']['template_set']); 164 $q->set_file( 165 Array( 166 'cc_t' => 'home.tpl' 167 ) 125 168 ); 126 169 … … 128 171 $q->set_block('cc_t', 'begin_anchor'); 129 172 $q->set_block('cc_t', 'end_anchor'); 130 173 131 174 $q->set_var('href', 'index.php?menuaction=mobile.ui_mobilecc.contacts_list'); 132 $q->set_var('lang_cc', lang(' contact center'));175 $q->set_var('lang_cc', lang('Contact Center')); 133 176 $q->fp('cc_t', 'begin_anchor'); 134 177 $q->fp('cc_t', 'end_anchor'); 135 178 136 179 $p->set_var('contactcenter', trim($q->fp('cc_t', 'mobilecc'))); 137 138 180 139 181 /**************************************\
Note: See TracChangeset
for help on using the changeset viewer.