Changeset 3540
- Timestamp:
- 11/26/10 14:36:54 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2/phpgwapi/inc/class.setup_html.inc.php
r853 r3540 160 160 161 161 $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 163 177 $GLOBALS['setup_tpl']->set_var(array( 164 178 'logoutbutton' => $btn_logout,
Note: See TracChangeset
for help on using the changeset viewer.