Changeset 4694 for branches/2.2
- Timestamp:
- 07/11/11 15:59:42 (13 years ago)
- Location:
- branches/2.2/mobile
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2/mobile/inc/class.mobiletemplate.inc.php
r4188 r4694 19 19 if( $template == "mini_desktop" ) 20 20 { 21 $url_expresso = $GLOBALS['phpgw_info']['server']['webserver_url']; 22 $url_expresso = ( !empty($url_expresso) ) ? $url_expresso : '/'; 23 24 if(strrpos($url_expresso,'/') === false || strrpos($url_expresso,'/') != (strlen($url_expresso)-1)) 25 { 26 $url_expresso .= '/'; 27 } 28 29 $url_expresso .= "index.php"; 30 21 31 $this->template->set_file(array('home_t' => 'pc_template.tpl')); 22 32 $this->template->set_file(array('home_t_search_bar' => 'search_bar.tpl')); 23 33 $this->template->set_block('home_t_search_bar','search_bar'); 24 34 $this->template->set_var('search',$this->template->fp('out','search_bar')); 35 $this->template->set_var('url_expresso',$url_expresso); 25 36 $this->template->set_var('lang_mini_mobile', lang('mini mobile')); 26 37 $this->template->set_var('lang_search_error_message',lang("need choose one option")); -
branches/2.2/mobile/templates/default/pc_template.tpl
r4200 r4694 95 95 <p>Projeto ExpressoLivre 2004 - 2010 :: Licença de Software</p> 96 96 <p><a href="index.php?menuaction=mobile.ui_home.change_template&template=mini_mobile">{lang_mini_mobile}</a></p> 97 <p><a href=" /index.php">Versão Clássica</a></p>97 <p><a href="{url_expresso}">Versão Clássica</a></p> 98 98 </div> 99 99 </body>
Note: See TracChangeset
for help on using the changeset viewer.