separation of the GUI
[old-projects.git] / philter / philter / include / philter.inc.php
index d6ae075..74ef94d 100644 (file)
@@ -36,6 +36,10 @@ class Philter {
         $this->err = "";
     }
 
+    function set_advanced() { $_SESSION['philter_adv'] = true; }
+    function del_advanced() { unset($_SESSION['philter_adv']); }
+    function is_advanced() { return isset($_SESSION['philter_adv']); }
+
     /** returns the i18n string
      * @param   $_index   the index of the string
      * @returns the string or false