From eb62ea3c90b45005ec4fb9a6935a940811b088ed Mon Sep 17 00:00:00 2001
From: NBonline <NBonline@ispconfig3>
Date: Sat, 03 Dec 2005 16:13:06 -0500
Subject: [PATCH] Updated SWE lng files

---
 interface/lib/classes/listform_actions.inc.php |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/interface/lib/classes/listform_actions.inc.php b/interface/lib/classes/listform_actions.inc.php
index 4b13692..c76a23c 100644
--- a/interface/lib/classes/listform_actions.inc.php
+++ b/interface/lib/classes/listform_actions.inc.php
@@ -40,6 +40,7 @@
 	var $id;
 	var $idx_key;
 	var $DataRowColor;
+	var $SQLExtWhere = '';
 	
 	function onLoad() {
 		global $app, $conf, $list_def_file;
@@ -103,6 +104,10 @@
 				$sql_where = $app->tform->getAuthSQL('r')." and";
 			}
 		}
+		
+		if($this->SQLExtWhere != '') {
+			$sql_where .= " ".$this->SQLExtWhere." and";
+		}
 
 		$sql_where = $app->listform->getSearchSQL($sql_where);
 		$app->tpl->setVar($app->listform->searchValues);

--
Gitblit v1.9.1