related block should now change title depending on what tag list is set to

This commit is contained in:
Daku 2011-12-28 03:11:36 +00:00
parent d9e1b935b0
commit 12d4fcf813

View File

@ -52,8 +52,12 @@ class TagListTheme extends Themelet {
$html .= " <span class='tag_count'>$count</span>";
}
}
$page->add_block(new Block("Related", $html, "left"));
if($config->get_string('tag_list_image_type')=="tags"){
$page->add_block(new Block("Tags", $html, "left"));}
else{
$page->add_block(new Block("Related Tags", $html, "left"));
}
}