Changeset 3540


Ignore:
Timestamp:
11/26/10 14:36:54 (13 years ago)
Author:
rafaelraymundo
Message:

Ticket #1344 - Informar na tela de login dados de identificação.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/phpgwapi/inc/class.setup_html.inc.php

    r853 r3540  
    160160 
    161161                        $GLOBALS['setup_tpl']->set_var('lang_version',lang('version')); 
    162                         $GLOBALS['setup_tpl']->set_var('pgw_ver',@$GLOBALS['phpgw_info']['server']['versions']['phpgwapi']); 
     162                        if(!is_file(dirname( __FILE__ ) . '/../../infodist/ultima-revisao-svn.php')) 
     163                            { 
     164                                $GLOBALS['setup_tpl']->set_var('pgw_ver',@$GLOBALS['phpgw_info']['server']['versions']['phpgwapi']); 
     165                            } 
     166                        else 
     167                            { 
     168                                $aux = ''; 
     169                                include_once(dirname( __FILE__ ) . '/../../infodist/ultima-revisao-svn.php'); 
     170                                if(isset($ultima_revisao)) 
     171                                    { 
     172                                        $aux =  '<br>' . $ultima_revisao; 
     173                                    } 
     174                                $GLOBALS['setup_tpl']->set_var('pgw_ver',@$GLOBALS['phpgw_info']['server']['versions']['phpgwapi'] . $aux); 
     175                            } 
     176                         
    163177                        $GLOBALS['setup_tpl']->set_var(array( 
    164178                                'logoutbutton'  => $btn_logout, 
Note: See TracChangeset for help on using the changeset viewer.