public function viewTagsAdmin()
{
global $aidlink;
pageAccess('F');
add_breadcrumb(array('link' => INFUSIONS . 'forum/admin/forums.php' . $aidlink . '§ion=ft', 'title' => self::$locale['forum_tag_0100']));
echo "<div class='well'>" . self::$locale['forum_tag_0101'] . "</div>\n";
$tab['title'][] = self::$locale['forum_tag_0102'];
$tab['id'][] = "tag_list";
$tab['icon'][] = "";
$tab['title'][] = isset($_GET['tag_id']) && isnum($_GET['tag_id']) ? self::$locale['forum_tag_0104'] : self::$locale['forum_tag_0103'];
$tab['id'][] = "tag_form";
$tab['icon'][] = "";
$_GET['ref'] = isset($_GET['ref']) && in_array($_GET['ref'], $tab['id']) ? $_GET['ref'] : "tag_list";
echo opentab($tab, $_GET['ref'], "rank_admin", TRUE, "m-t-10", "ref");
switch ($_GET['ref']) {
case "tag_form":
echo $this->displayTagForm();
break;
case "tag_list":
echo $this->displayTagList();
}
echo closetab();
}