Changeset 3996
- Timestamp:
- 04/12/11 16:16:55 (12 years ago)
- Location:
- branches/2.2/mobile
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2/mobile/inc/class.mobiletemplate.inc.php
r3987 r3996 92 92 */ 93 93 public function print_page($class, $method){ 94 if($GLOBALS['phpgw']->session->appsession('mobile.layout','mobile') == "mini_desktop") { 95 //force to don' t call ui_home.index in a mini desktop version 96 if($class == "ui_home" && $method == "index") { 97 $class = "ui_mobilemail"; 98 $method = "change_folder"; 99 $_REQUEST["folder"] = 0; 100 } 101 } 102 103 //need be called before invoke the action 94 104 $this->print_header(); 95 105 $this->init_mobile(); 106 96 107 if(!($class == 'ui_home' && $method == 'index')) $this->print_navbar(); 97 108 $filename = 'inc/class.'.$class.'.inc.php'; 98 109 include_once($filename); 99 $obj = new $class(); 100 $obj ->$method($_REQUEST);101 110 $obj = new $class(); 111 $obj->$method($_REQUEST); 112 102 113 if($GLOBALS['phpgw']->session->appsession('mobile.layout','mobile') == "mini_desktop") { 103 114 $ui_home = CreateObject('mobile.ui_home'); … … 107 118 $this->template->pfp('out', 'mobile_home'); 108 119 } 109 120 110 121 public function init_mobile() { 111 122 $ui_mobilemail = CreateObject('mobile.ui_mobilemail'); -
branches/2.2/mobile/templates/css/mobile.css
r3990 r3996 32 32 /***************Elementos******************/ 33 33 34 h1{ padding-top: 5px; height:20px; font-size:small; padding-left:5px; color:#FFFFFF; float:left; 34 h1{ padding-top: 5px; height:20px; font-size:small; padding-left:5px; color:#FFFFFF; float:left;} 35 35 dt {font-size:small; color:#3E3E3D; background:#CEE5EF; width:100%;} 36 .dt-titulo, .dt-azul, .dt-branco {background:#EEF7FA; clear:both; display:table; width:100%; 36 .dt-titulo, .dt-azul, .dt-branco {background:#EEF7FA; clear:both; display:table; width:100%;} 37 37 .dt-branco {background:#FFF;} 38 38 .dt-titulo {background:#CEE5EF;} … … 118 118 .topo { width:100%; background:#333; display:table } 119 119 .topo a{ color:#FFF; text-decoration:underline; float:right; margin:4px 20px 0 0 } 120 .topo h1{ font-size:13pt } 120 .topo h1 { font-size:13pt } 121 .topo h1 a.title { font-size:13pt; text-decoration: none; float: none; margin: 0; } 121 122 122 123 .btn-generico, .btn-contexto, .btn-busca { text-transform: uppercase; } -
branches/2.2/mobile/templates/default/pc_template.tpl
r3814 r3996 72 72 <div id="global"> 73 73 <div id="topo_box" class="topo"> 74 <h1> {global_title}</h1>74 <h1><a href="index.php?menuaction=mobile.ui_mobilemail.change_folder&folder=0" class="title">{global_title}</a></h1> 75 75 <span><a href="{href_logout}">{lang_logout}</a></span> 76 76 </div> -
branches/2.2/mobile/templates/default/template.tpl
r3731 r3996 11 11 <body> 12 12 <div class="topo"> 13 <h1> {global_title}</h1>13 <h1><a href="index.php?menuaction=mobile.ui_home.index" class="title">{global_title}</a></h1> 14 14 <span><a href="{href_logout}">{lang_logout}</a></span> 15 15 </div>
Note: See TracChangeset
for help on using the changeset viewer.