From 7374887be781334d52b9ad5bf26c9035a971fe5a Mon Sep 17 00:00:00 2001
From: pedro_morgan <pedro_morgan@ispconfig3>
Date: Sun, 19 Aug 2007 06:06:17 -0400
Subject: [PATCH] * Idea of constants for digestion * Small tweaks and a warning TODO
---
interface/lib/app.inc.php | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/interface/lib/app.inc.php b/interface/lib/app.inc.php
index e79c45c..0b8e78b 100644
--- a/interface/lib/app.inc.php
+++ b/interface/lib/app.inc.php
@@ -124,7 +124,7 @@
<table width="100%" border="0" cellspacing="0" cellpadding="2">
<tr>
<td class="error"><b>Error:</b><br>'.$msg;
- if($next_link != "") $msg .= '<a href="'.$next_link.'">Next</a><br>';
+ if($next_link != '') $msg .= '<a href="'.$next_link.'">Next</a><br>';
$msg .= '</td>
</tr>
</table>
@@ -165,6 +165,8 @@
}
$this->tpl->setVar('app_title', $this->_conf['app_title']);
$this->tpl->setVar('delete_confirmation', $this->lng('delete_confirmation'));
+ //TODO: Silence this notice
+ //print_r($_SESSION);
$this->tpl->setVar('app_module', $_SESSION['s']['module']['name']);
if(isset($_SESSION['s']['user']) && $_SESSION['s']['user']['typ'] == 'admin') {
$this->tpl->setVar('is_admin', 1);
--
Gitblit v1.9.1