Skip to content
Snippets Groups Projects
Commit 6f67c78c authored by tbrehm's avatar tbrehm
Browse files

Replaced php code for app version in main template with a template variable.

parent e10a3233
No related branches found
No related tags found
No related merge requests found
...@@ -181,6 +181,7 @@ class app { ...@@ -181,6 +181,7 @@ class app {
if(isset($_SESSION['s']['user']) && $this->auth->has_clients($_SESSION['s']['user']['userid'])) { if(isset($_SESSION['s']['user']) && $this->auth->has_clients($_SESSION['s']['user']['userid'])) {
$this->tpl->setVar('is_reseller', 1); $this->tpl->setVar('is_reseller', 1);
} }
$this->tpl->setVar('ISPC_APP_VERSION', ISPC_APP_VERSION);
} }
} // end class } // end class
......
...@@ -62,8 +62,7 @@ ...@@ -62,8 +62,7 @@
<!-- end: #main --> <!-- end: #main -->
<!-- begin: #footer --> <!-- begin: #footer -->
<div id="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 <tmpl_var name="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>
</div> </div>
<!-- end: #footer --> <!-- end: #footer -->
</div> </div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment