Changeset 4188 for branches/2.2


Ignore:
Timestamp:
04/29/11 16:22:55 (13 years ago)
Author:
alexandrecorreia
Message:

Ticket #1774 - Criado pagina de dicas para dispositivos com android

Location:
branches/2.2/mobile
Files:
10 added
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/mobile/inc/class.mobiletemplate.inc.php

    r4149 r4188  
    1111                * @author Nilton Emilio Buhrer Neto <niltonneto@celepar.pr.gov.br> 
    1212                */               
    13                 function mobiletemplate(){ 
     13                function mobiletemplate() 
     14                { 
    1415                        $this->template = CreateObject('phpgwapi.Template', PHPGW_SERVER_ROOT . '/mobile/templates/'.$GLOBALS['phpgw_info']['server']['template_set']); 
    1516                         
     
    9394                * @author Nilton Emilio Buhrer Neto <niltonneto@celepar.pr.gov.br> 
    9495                */ 
    95                 public function print_page($class, $method){ 
    96                         if($GLOBALS['phpgw']->session->appsession('mobile.layout','mobile') == "mini_desktop") { 
     96                public function print_page($class, $method ) 
     97                { 
     98                        if( $GLOBALS['phpgw']->session->appsession('mobile.layout','mobile') == "mini_desktop" ) 
     99                        { 
    97100                                //force to don' t call ui_home.index in a mini desktop version 
    98101                                if($class == "ui_home" && $method == "index") { 
     
    141144                                $this->template->set_var('style_2','position:relative; float: right; display: block'); 
    142145                        } 
    143                          
     146 
     147                        if( isset($_SESSION['mobile']['displayIOS']) && $_SESSION['mobile']['displayIOS'] == "true" ) 
     148                                $this->template->set_var('display_IOS', "none"); 
     149                        else 
     150                                $this->template->set_var('display_IOS', "block"); 
     151                                 
     152                        $this->template->set_var('lang_tips', lang('Tips')); 
    144153                        $this->template->set_var('lang_logout', lang('logout')); 
    145154                        $this->template->set_var('lang_search', lang('search')); 
  • branches/2.2/mobile/templates/default/dicas.tpl

    r4069 r4188  
    1 <!-- BEGIN page --> 
     1<!-- BEGIN android --> 
     2 
     3<div> 
     4        <div style="margin:10px;"> 
     5                <b>Como adicionar o ícone à tela inicial do Android?</b> 
     6        </div> 
     7         
     8        <div style="border-bottom:1px dashed #000 !important; margin:10px;"> 
     9                1- ) Acesse <em>expresso.pr.gov.br</em> no navegador do Android.  
     10                <br clear="all"/> 
     11                <br clear="all"/> 
     12                <img src="templates/default/images/android1.png" width="200px" height="275px" style="border:1px solid #000;"/> 
     13                <br clear="all"/> 
     14                Mostrando suas pastas, emails, compromissos e contatos. 
     15                <br clear="all"/> 
     16                <br clear="all"/>  
     17                <img src="templates/default/images/android2.png" width="200px" height="275px" style="border:1px solid #000;"/> 
     18                <br clear="all"/> 
     19                <br clear="all"/> 
     20                <br clear="all"/> 
     21        </div> 
     22         
     23        <div style="border-bottom:1px dashed #000 !important; margin:10px;"> 
     24                2- ) No canto superior direito clique, no ícone conforme imagem. 
     25                <br clear="all"/> 
     26                <br clear="all"/> 
     27                <img src="templates/default/images/android3.png" style="border:1px solid #cecece;"/> 
     28                <br clear="all"/> 
     29                Adicione este link em seu Bookmark ( Favorito ), clicando no botão Add ( Adicionar). 
     30                <br clear="all"/> 
     31                <br clear="all"/> 
     32                <img src="templates/default/images/android4.png" width="200px" height="275px" style="border:1px solid #000;"/> 
     33                <br clear="all"/> 
     34                <br clear="all"/> 
     35                <img src="templates/default/images/android5.png" width="200px" height="275px" style="border:1px solid #000;"/> 
     36                <br clear="all"/> 
     37                <br clear="all"/> 
     38        </div> 
     39         
     40        <div style="border-bottom:1px dashed #000 !important; margin:10px;"> 
     41                3- ) Após adicionar o link em seu Bookmarks( Favorito ) 
     42                <br clear="all"/> 
     43                <br clear="all"/> 
     44                <img src="templates/default/images/android6.png" width="200px" height="275px" style="border:1px solid #000;"/> 
     45                <br clear="all"/> 
     46                <br clear="all"/> 
     47                Volte na Área de Trabalho do android, e crie um Shortcus( Atalho ) 
     48                <br clear="all"/> 
     49                <br clear="all"/> 
     50                <img src="templates/default/images/android7.png" width="200px" height="275px" style="border:1px solid #000;"/> 
     51                <br clear="all"/> 
     52                <br clear="all"/> 
     53                Selecione o ítem Bookmark ( Favorito ), em Select Shortcut( Selecione o Atalho ). 
     54                <img src="templates/default/images/android8.png" width="200px" height="275px" style="border:1px solid #000;"/> 
     55                <br clear="all"/> 
     56                <br clear="all"/> 
     57                <img src="templates/default/images/android9.png" width="200px" height="275px" style="border:1px solid #000;"/> 
     58        </div> 
     59         
     60        <div style="border-bottom:1px dashed #000 !important; margin:10px;"> 
     61                4- ) Terminado o procedimento, o ícone do ExpressoLivre aparecerá em sua tela inicial 
     62                e o acesso poderá ser feito através dele. 
     63                <br clear="all"/> 
     64                <br clear="all"/> 
     65                <img src="templates/default/images/android10.png" width="200px" height="275px" style="border:1px solid #000;"/> 
     66                <br clear="all"/> 
     67                <br clear="all"/> 
     68                <br clear="all"/> 
     69        </div> 
     70 
     71</div> 
     72 
     73<!-- END android --> 
     74 
     75<!-- BEGIN iphone --> 
    276 
    377<div> 
     
    2296                <br clear="all"/> 
    2397                <br clear="all"/> 
    24                 <img src="templates/default/images/iphone2.png" width="200px" height="275px" style="border:1px solid #000;/> 
     98                <img src="templates/default/images/iphone2.png" width="200px" height="275px" style="border:1px solid #000;"/> 
    2599                <br clear="all"/> 
    26100                <br clear="all"/> 
     
    32106                <br clear="all"/> 
    33107                <br clear="all"/> 
    34                 <img src="templates/default/images/iphone3.png" width="200px" height="275px" style="border:1px solid #000;/> 
     108                <img src="templates/default/images/iphone3.png" width="200px" height="275px" style="border:1px solid #000;"/> 
    35109                <br clear="all"/> 
    36110                <br clear="all"/> 
     
    40114        <div style="border-bottom:1px dashed #000 !important; margin:10px;"> 
    41115                4- ) Terminado o procedimento, o ícone do ExpressoLivre aparecerá em sua tela inicial 
    42                 e o acesso em poderá ser feito <em>expresso.pr.gov.br</em>. 
     116                e o acesso poderá ser feito através dele. 
    43117                <br clear="all"/> 
    44118                <br clear="all"/> 
     
    51125</div> 
    52126 
    53 <!-- END page --> 
     127<!-- END iphone --> 
Note: See TracChangeset for help on using the changeset viewer.