From 7ca20d2b9cd665125a20a3d480694db0fde0afdc Mon Sep 17 00:00:00 2001 From: Andreas Unterkircher Date: Sat, 9 Jun 2007 07:22:28 +0000 Subject: tag ignore list git-svn-id: file:///var/lib/svn/phpfspot/trunk@72 fa6a889d-dae6-447d-9e79-4ba9a3039384 --- phpfspot.class.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'phpfspot.class.php') diff --git a/phpfspot.class.php b/phpfspot.class.php index 3f7a728..f405626 100644 --- a/phpfspot.class.php +++ b/phpfspot.class.php @@ -57,6 +57,10 @@ class PHPFSPOT { $tag_id = $row['id']; $tag_name = $row['name']; + /* check if config requests to ignore this tag */ + if(in_array($row['name'], $this->cfg->hide_tags)) + continue; + $this->tags[$tag_id] = $tag_name; $this->avail_tags[$count] = $tag_id; -- cgit v1.2.3-18-g5258