From 9287065574ef7694af5cf731b719ef0d5a3ae4cc Mon Sep 17 00:00:00 2001
From: tekati <tekati@ispconfig3>
Date: Mon, 12 Jul 2010 01:06:35 -0400
Subject: [PATCH] - Strange fix and only temporary will figure out the root cause. - I had to reorder the variables in language_list.htm for the link URL's - Moved the lang_file var to the beginning of the URL to make it work. - For some strange reason if you have &lang_file in the url it changes it to <_file.
---
interface/lib/classes/tpl_error.inc.php | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/interface/lib/classes/tpl_error.inc.php b/interface/lib/classes/tpl_error.inc.php
index 2f13988..29a9ae0 100644
--- a/interface/lib/classes/tpl_error.inc.php
+++ b/interface/lib/classes/tpl_error.inc.php
@@ -10,10 +10,10 @@
//
// $Id: error.php,v 1.1 2003/07/08 12:32:06 platinum Exp $
-define('FATAL', E_USER_ERROR);
+define('FATAL', E_USER_ERROR);
define('WARNING', E_USER_WARNING);
-define('NOTICE', E_USER_NOTICE);
-define('KILL', -1); // used for killing inside parsing.
+define('NOTICE', E_USER_NOTICE);
+define('KILL', -1); // used for killing inside parsing.
/**
* Class is used by vlibTemplate.
@@ -36,7 +36,7 @@
$error_codes = array(
'VT_ERROR_NOFILE' => 'vlibTemplate Error: Template ('.$extra.') file not found.',
- 'VT_ERROR_PARSE' => 'vlibTemplate Error: Parse error!<br>To debug this file, use vlibTemplateDebug instead of vlibTemplate in the class instantiation(i.e. new vlibTemplateDebug).',
+ 'VT_ERROR_PARSE' => 'vlibTemplate Error: Parse error!<br />To debug this file, use vlibTemplateDebug instead of vlibTemplate in the class instantiation(i.e. new vlibTemplateDebug).',
'VT_NOTICE_INVALID_TAG' => 'vlibTemplate Notice: Invalid tag ('.$extra.').',
'VT_ERROR_INVALID_TAG' => 'vlibTemplate Error: Invalid tag ('.$extra.'). To disable this you must turn of the STRICT option.',
'VT_NOTICE_INVALID_ATT' => 'vlibTemplate Notice: Invalid attribute ('.$extra.').',
--
Gitblit v1.9.1