redray
2008-11-30 e6636313f5e1431795bffd567cd243708244d88f
fixed link in main.tpl.htm
3 files modified
31 ■■■■ changed files
install/tpl/config.inc.php.master 2 ●●● patch | view | raw | blame | history
interface/lib/app.inc.php 12 ●●●● patch | view | raw | blame | history
interface/web/themes/default/templates/main.tpl.htm 17 ●●●● patch | view | raw | blame | history
install/tpl/config.inc.php.master
@@ -41,7 +41,6 @@
//** Application
define('ISPC_APP_TITLE', 'ISPConfig');
define('ISPC_APP_VERSION', '3.0.8 beta');
define('ISPC_APP_LINK', 'http://www.howtoforge.com/forums/showthread.php?t=26988');
//** Database
@@ -84,6 +83,7 @@
//** Server
$conf['app_title'] = ISPC_APP_TITLE;
$conf['app_version'] = ISPC_APP_VERSION;
$conf['app_link'] = 'http://www.howtoforge.com/forums/showthread.php?t=26988';
$conf['modules_available'] = 'admin,mail,sites,monitor,client,dns,help';
$conf["server_id"] = "{server_id}";
interface/lib/app.inc.php
@@ -125,7 +125,7 @@
<link href="../themes/default/style.css" rel="stylesheet" type="text/css">
</head>
<body>
<br><br><br>
<br /><br /><br />
<table width="100%" border="0" cellspacing="0" cellpadding="2">
<tr>
<td class="error"><b>Error:</b><br>'.$msg;
@@ -164,16 +164,16 @@
        $this->tpl->setVar('app_title', $this->_conf['app_title']);
        $this->tpl->setVar('app_version', $this->_conf['app_version']);
        $this->tpl->setVar('app_link', $this->_conf['app_link']);
        if(isset($this->_conf['app_logo']) && $this->_conf['app_logo'] != '' && @is_file($this->_conf['app_logo'])){
            $this->tpl->setVar('app_logo', '<img src="'.$this->_conf['app_logo'].'">');
        } else {
            $this->tpl->setVar('app_logo', '&nbsp;');
        }
        $this->tpl->setVar('phpsessid', session_id());
        $this->tpl->setVar('theme', $_SESSION['s']['theme']);
        $this->tpl->setVar('html_content_encoding', $this->_conf['html_content_encoding']);
        if(isset($this->_conf['logo']) && $this->_conf['logo'] != '' && @is_file($this->_conf['logo'])){
            $this->tpl->setVar('logo', '<img src="'.$this->_conf['logo'].'" border="0" alt="">');
        } else {
            $this->tpl->setVar('logo', '&nbsp;');
        }
        $this->tpl->setVar('delete_confirmation', $this->lng('delete_confirmation'));
        //print_r($_SESSION);
interface/web/themes/default/templates/main.tpl.htm
@@ -4,18 +4,14 @@
<head>
<title><tmpl_var name="app_title"> <tmpl_var name="app_version"></title>
<meta http-equiv="Content-Type" content="text/html; charset=<tmpl_var name="html_content_encoding">"/>
<!-- (en) Add your meta data here -->
<!-- (de) Fuegen Sie hier ihre Meta-Daten ein -->
<link href="themes/default/css/central.css" rel="stylesheet" type="text/css"/>
<!--[if lte IE 7]>
<link href="themes/default/css/patches/central.css" rel="stylesheet" type="text/css" />
<![endif]-->
<script type="text/javascript" src="js/yui/yahoo/yahoo-min.js"></script>
<script type="text/javascript" src="js/yui/connection/connection-min.js"></script>
<script type="text/javascript" src="js/scrigo.js.php"></script>
<!--script src="js/wforms.js"></script-->
</head>
<body onload="loadInitContent()">
<div id="page_margins">
@@ -32,7 +28,8 @@
            <span>hosting control panel</span>
    </div>
        <!-- begin: main navigation #nav -->
        <div id="nav"> <a id="navigation" name="navigation"></a>
            <div id="nav">
                <a id="navigation" name="navigation"></a>
            <!-- skiplink anchor: navigation -->
            <div id="nav_main">
        <div id="topNav">&nbsp;</div>
@@ -50,9 +47,12 @@
            <!-- end: #col1 -->
            <!-- begin: #col3 static column -->
            <div id="col3">
                <div id="col3_content" class="clearfix"> <a id="content" name="content"></a>
                    <div id="col3_content" class="clearfix">
                        <a id="content" name="content"></a>
                    <!-- skiplink anchor: Content -->
          <form method="post" action="" id="pageForm" name="pageForm" enctype="multipart/form-data"><div id="pageContent"><!-- AJAX CONTENT --></div></form>
                        <form method="post" action="" id="pageForm" name="pageForm" enctype="multipart/form-data">
                        <div id="pageContent"><!-- AJAX CONTENT --></div>
                        </form>
        </div>
                <div id="ie_clearing">&nbsp;</div>
                <!-- End: IE Column Clearing -->
@@ -63,8 +63,7 @@
        <!-- begin: #footer -->
        <div id="footer">
      Powered by <a href="<tmpl_var name="app_link">" target="_blank"><tmpl_var name="app_title"> <tmpl_var name="app_version"></a></div>
    </div>
        <!-- end: #footer -->
        </div><!-- end: #footer -->
    </div>
</body>
</html>