diff --git a/interface/lib/app.inc.php b/interface/lib/app.inc.php index 46a9114853769fcef30f9f7a790d9edd00c055bc..9d635ae2f4a144f3848d75e629e97afccf281ddc 100644 --- a/interface/lib/app.inc.php +++ b/interface/lib/app.inc.php @@ -181,6 +181,7 @@ class app { if(isset($_SESSION['s']['user']) && $this->auth->has_clients($_SESSION['s']['user']['userid'])) { $this->tpl->setVar('is_reseller', 1); } + $this->tpl->setVar('ISPC_APP_VERSION', ISPC_APP_VERSION); } } // end class diff --git a/interface/web/themes/default/templates/main.tpl.htm b/interface/web/themes/default/templates/main.tpl.htm index 18c02daa50080fbe98bbb008e7b6a23144271167..cf3790d30edad4c4b62bbd001f6394fde2ddee59 100644 --- a/interface/web/themes/default/templates/main.tpl.htm +++ b/interface/web/themes/default/templates/main.tpl.htm @@ -62,8 +62,7 @@ <!-- end: #main --> <!-- begin: #footer --> <div id="footer"> -<!-- Powered by <a href="http://www.ispconfig.com/">ISPConfig <?php echo ISPC_APP_VERSION; ?> beta</a></div> --> - Powered by <a href="http://www.howtoforge.com/forums/showthread.php?t=26988" target="_blank">ISPConfig <?php echo ISPC_APP_VERSION; ?> beta</a></div> + Powered by <a href="http://www.howtoforge.com/forums/showthread.php?t=26988" target="_blank">ISPConfig <tmpl_var name="ISPC_APP_VERSION"> beta</a></div> </div> <!-- end: #footer --> </div>