X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=philter%2Fphilter%2Finclude%2Fphilter.inc.php;h=74ef94d5a2d83aedfd171a97d7db63e220088634;hb=b19786cae5cfa315f04cfbb7a9bef1c6471d4810;hp=d6ae0759a814b31b4343f555da362e90f3c4f39c;hpb=9bdb0bb9ae3f32f82e9c1b9b24de4128b711ecb6;p=old-projects.git diff --git a/philter/philter/include/philter.inc.php b/philter/philter/include/philter.inc.php index d6ae075..74ef94d 100644 --- a/philter/philter/include/philter.inc.php +++ b/philter/philter/include/philter.inc.php @@ -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