Replaced php code for app version in main template with a template variable.
| | |
| | | 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 |
| | |
| | | <!-- 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> |