Changeset 3974
- Timestamp:
- 04/11/11 15:04:46 (12 years ago)
- Location:
- branches/2.2.0.1/mobile
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.0.1/mobile/inc/class.ui_mobilecc.inc.php
r3829 r3974 511 511 $result = $this->bo->bo->get_single_entry($params['id'], $fields); 512 512 513 $this->template->set_var('photo', '../index.php?menuaction=contactcenter.ui_data.data_manager&method=get_photo&id='.$ id);513 $this->template->set_var('photo', '../index.php?menuaction=contactcenter.ui_data.data_manager&method=get_photo&id='.$params["id"]); 514 514 515 515 $this->template->set_var('cc_name',$result['names_ordered'][0]); -
branches/2.2.0.1/mobile/index.php
r3571 r3974 5 5 $GLOBALS['sessionid'] = isset($_GET['sessionid']) ? $_GET['sessionid'] : @$_COOKIE['sessionid']; 6 6 7 $proxies=explode(',',$_SERVER['HTTP_X_FORWARDED_HOST']);8 $fwConstruct = isset($_SERVER['HTTP_X_FORWARDED_HOST']) ? $proxies[0] : $_SERVER['HTTP_HOST'];7 $proxies = explode(',',$_SERVER['HTTP_X_FORWARDED_HOST']); 8 $fwConstruct = isset($_SERVER['HTTP_X_FORWARDED_HOST']) ? $proxies[0] : $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']; 9 9 10 10 if(!$GLOBALS['sessionid']) 11 11 { 12 12 //$location = 'Location: ' . $fwConstruct . 'login.php'; 13 if ($_SERVER['HTTPS'] != 'on') 14 { 15 $aux = 'http://'; 16 } 17 else 18 { 19 $aux = 'https://'; 20 } 21 Header('Location: ' . $aux . $fwConstruct . '/mobile/login.php'); 13 if ($_SERVER['HTTPS'] != 'on') 14 { 15 $aux = 'http://'; 16 } 17 else 18 { 19 $aux = 'https://'; 20 } 21 22 Header('Location: ' . $aux . $fwConstruct . 'login.php'); 22 23 exit; 23 24 } 24 25 25 if ($GLOBALS['phpgw_info']['server']['use_https'] > 0) { 26 if ($GLOBALS['phpgw_info']['server']['use_https'] > 0) 27 { 26 28 if ($_SERVER['HTTPS'] != 'on') { 27 29 Header('Location: https://' . $fwConstruct . '/' . $_SERVER['REQUEST_URI']); -
branches/2.2.0.1/mobile/templates/css/mobile.css
r3731 r3974 116 116 div.urgente {width:14px; height:12px; background:#F00; margin-left:5px; text-align:center; vertical-align:middle;color:#FFF; float:left;font-size:xx-small; padding-top:1px} 117 117 118 .topo {width:100%; background:#333; display:table } 119 .topo a{color:#FFF; text-decoration:underline; float:right; margin:4px 20px 0 0 } 118 .topo { width:100%; background:#333; display:table } 119 .topo a{ color:#FFF; text-decoration:underline; float:right; margin:4px 20px 0 0 } 120 .topo h1{ font-size:13pt } 120 121 121 122 .btn-generico, .btn-contexto, .btn-busca { text-transform: uppercase; } … … 130 131 .menu-contexto {font-size:small; background-color:#3399CC; color:#FFFFFF; width:100%; min-height:18px; padding:4px 2px} 131 132 .menu-contexto span{margin-left:5px } 132 .btn-contexto {font- size:x-small; background-color:#2B84AF; color:#FFFFFF; border:none; margin-left:5px }133 .btn-contexto {font-weight:bold ;font-size:x-small; background-color:#2B84AF; color:#FFFFFF; border:1px solid #000; margin-left:5px } 133 134 .menor {min-height:20px !important} 134 135 … … 161 162 .sobre-mensagem {float:left;} 162 163 163 #ver-detalhes {float:left;padding:2px; background-color:#FAD364; width:10% } /*mudan ça*/164 #ver-detalhes {float:left;padding:2px; background-color:#FAD364; width:10% } /*mudanᅵa*/ 164 165 #ver-detalhes a {padding:3px;color:#666;font-size:x-small; width:20px} 165 166 … … 180 181 181 182 .login{width:50%; margin:auto; padding:10px 0} 182 .login strong { margin:0 0 0 5px; }183 .login input [type="text"]{width:100%; margin:3px 0}183 .login strong { font-size:11pt; margin:0 0 0 5px; } 184 .login input { font-size:11pt;width:100%; margin:3px 0} 184 185 .login button {margin:0 5px} 185 186 .login p{padding:3px;} … … 229 230 a.outro_mes { background: #E1E1E1; color: #8B8B8B } 230 231 231 /*---------------------------------------- CONTATO ÚNICO ---------------------------------------------*/232 /*---------------------------------------- CONTATO ᅵNICO ---------------------------------------------*/ 232 233 233 234 .contato-unico {width:100%; margin:auto; } … … 266 267 .limpar_div_margin {margin:2px 0; } 267 268 .limpar_div_margin input[type="text"] {width:68%} 269 .limpar_div textarea{font-size:11pt} 268 270 p.assunto {font-size:small; font-weight:normal; padding-top:3px; color:#666} 269 271 270 /*---------------------------------------- MODIFICA ÇÕES ---------------------------------------------*/272 /*---------------------------------------- MODIFICAᅵᅵES ---------------------------------------------*/ 271 273 272 274 .email-item{color:#3E3E3D; font:bold small Arial, Helvetica, sans-serif; vertical-align:text-bottom} … … 275 277 276 278 .campos-email {width:94%; clear:both; margin:0 5px} 277 .campos-email input { width:99%; clear:both; }279 .campos-email input {font-size:11pt; width:99%; clear:both; } 278 280 .campos-email a{float:left; text-align:right; margin:4px 0} -
branches/2.2.0.1/mobile/templates/default/mails_list.tpl
r3791 r3974 5 5 6 6 <div class="{bg}"> 7 <div class="email-cabecalho margin-geral" 7 <div class="email-cabecalho margin-geral"> 8 8 <p class="{flag}"> 9 9 <input type="checkbox" name="msgs[]" style="display:{show_check};" value={msg_number}> 10 10 <a href="index.php?menuaction=mobile.ui_mobilemail.show_msg&msg_number={msg_number}&msg_folder={msg_folder}"> 11 {subject}11 {subject} 12 12 </a> 13 13 </p> … … 15 15 <span class="email-data"><img src="{url_images}/anexo.png" align="left" style='display:{show_attach};'/>{mail_time}</span> 16 16 <div class="{details}"> 17 <p>{from}</p> 18 <p>{mail_from}</p> 17 <a href="index.php?menuaction=mobile.ui_mobilemail.show_msg&msg_number={msg_number}&msg_folder={msg_folder}"> 18 <p>{from}</p> 19 <p>{mail_from}</p> 20 </a> 19 21 </div> 20 22 </div>
Note: See TracChangeset
for help on using the changeset viewer.