summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorINOPIAE <inopiae@cacert.org>2013-07-13 17:41:32 +0200
committerINOPIAE <inopiae@cacert.org>2013-07-13 17:41:32 +0200
commit4f1f7055134f36d32697d0353ae48e09c0fe8399 (patch)
tree0dc7b127408ec1ff8d02312191787140e73c5548
parent68017fbfaf8aedaa67d6077c81caeddc4b9b9b48 (diff)
downloadcacert-devel-4f1f7055134f36d32697d0353ae48e09c0fe8399.tar.gz
cacert-devel-4f1f7055134f36d32697d0353ae48e09c0fe8399.tar.xz
cacert-devel-4f1f7055134f36d32697d0353ae48e09c0fe8399.zip
bug 1010: added filter function to includes/account.php
-rw-r--r--includes/account.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/includes/account.php b/includes/account.php
index 066f18b..99e62b1 100644
--- a/includes/account.php
+++ b/includes/account.php
@@ -2205,6 +2205,22 @@
exit;
}
+if($oldid == 22 && array_key_exists('filter',$_REQUEST) && $_REQUEST['filter']!= "")
+{
+ $id=22;
+ $_SESSION['_config']['orgfilterid']=$_REQUEST['orgfilterid'];
+ $_SESSION['_config']['sorting']=$_REQUEST['sorting'];
+ $_SESSION['_config']['status']=$_REQUEST['status'];
+}
+
+if($oldid == 22 && array_key_exists('reset',$_REQUEST) && $_REQUEST['reset']!= "")
+{
+ $id=22;
+ $_SESSION['_config']['orgfilterid']=0;
+ $_SESSION['_config']['sorting']=0;
+ $_SESSION['_config']['status']=0;
+}
+
if(($id == 24 || $oldid == 24 || $id == 25 || $oldid == 25 || $id == 26 || $oldid == 26 ||
$id == 27 || $oldid == 27 || $id == 28 || $oldid == 28 || $id == 29 || $oldid == 29 ||