$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;
var $path_replace_from = "/home/unki";
var $path_replace_to = "/var/www/images.netshadow.at/htdocs/phpfspot";
+ /* This is not really a security option - it only hides some present F-Spot
+ tags from the available-tags-list
+ */
+ var $hide_tags = Array("Favorites", "Hidden", "People", "Places", "Events");
+
}
?>