mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-13 09:28:31 +01:00
show api version instead of phpgwapi
This commit is contained in:
parent
2baf654e14
commit
978f8e282d
@ -156,7 +156,15 @@ class setup_html
|
|||||||
}
|
}
|
||||||
|
|
||||||
$GLOBALS['setup_tpl']->set_var('lang_version',lang('version'));
|
$GLOBALS['setup_tpl']->set_var('lang_version',lang('version'));
|
||||||
$GLOBALS['setup_tpl']->set_var('pgw_ver',@$GLOBALS['egw_info']['server']['versions']['phpgwapi']);
|
if (!isset($GLOBALS['setup_info']) || !isset($GLOBALS['setup_info']['api']))
|
||||||
|
{
|
||||||
|
include(EGW_SERVER_ROOT.'/api/setup/setup.inc.php');
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$setup_info = $GLOBALS['setup_info'];
|
||||||
|
}
|
||||||
|
$GLOBALS['setup_tpl']->set_var('pgw_ver', $setup_info['api']['version']);
|
||||||
$GLOBALS['setup_tpl']->set_var(array(
|
$GLOBALS['setup_tpl']->set_var(array(
|
||||||
'logoutbutton' => $btn_logout,
|
'logoutbutton' => $btn_logout,
|
||||||
'indexbutton' => $index_btn,
|
'indexbutton' => $index_btn,
|
||||||
|
@ -7,21 +7,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="divPoweredBy"><br /><span> <a class="copyright" href="http://www.egroupware.org/">eGroupWare</a> {lang_version} {pgw_ver} </span></div>
|
<div id="divPoweredBy"><br /><span> <a class="copyright" href="http://www.egroupware.org/">EGroupware</a> {lang_version} {pgw_ver} </span></div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
<!-- END footer.tpl -->
|
<!-- END footer.tpl -->
|
||||||
<!--<br /><br />
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</tbody></table>
|
|
||||||
|
|
||||||
<br /></td>
|
|
||||||
<td width="15"></td>
|
|
||||||
</tr>
|
|
||||||
</tbody></table>
|
|
||||||
</td></tr>
|
|
||||||
</tbody></table></td></tr>
|
|
||||||
</tbody></table>
|
|
||||||
<p align="center" class="copyright"> <a class="copyright" href="http://www.egroupware.org/">eGroupWare</a> {lang_version} {pgw_ver} </p>
|
|
||||||
</body></html>-->
|
|
||||||
|
Loading…
Reference in New Issue
Block a user