From ef3719783d6ec416ddad2e8a9151f5f430efc4b2 Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Wed, 10 Feb 2010 10:34:04 -0500
Subject: [PATCH] Added a option to debug the language files (show strings that are not contained in the lang file surrounded by #....#) Fixed: FS#1063 - Missing language variables in shell user options
---
interface/lib/classes/listform.inc.php | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/interface/lib/classes/listform.inc.php b/interface/lib/classes/listform.inc.php
index 41b93d4..542bce6 100644
--- a/interface/lib/classes/listform.inc.php
+++ b/interface/lib/classes/listform.inc.php
@@ -135,6 +135,9 @@
//*TODO: comment = hat sich die suche ge�ndert
if(isset($_REQUEST[$search_prefix.$field]) && isset($_SESSION['search'][$list_name][$search_prefix.$field]) && $_REQUEST[$search_prefix.$field] != $_SESSION['search'][$list_name][$search_prefix.$field]){
$this->searchChanged = 1;
+
+ //* Jump back to page 1 of the list when search has changed.
+ $_SESSION['search'][$list_name]['page'] = 0;
}
//* Store field in session
--
Gitblit v1.9.1