trimTag($tag_name,32);
$tag_html .= "
";
}
$url_more = make_link("about/tagger");
$html = <<Collapse this block to hide Tagger.
Use
- Click the links to add the tag to the list, when done, press Set to save the tags.
- Type in the filter box to remove tags you aren't looking for.
- Enter tags not on the list in the second box. Tags must have 2 uses to display in the list.
- More
EOD;
$page->add_block( new Block("Tagger",
"".$html,
"left",
0));
}
public function trimTag($s,$len=80) {
if(strlen($s) > $len) {
$s = substr($s, 0,$len-1);
$s = substr($s,0, strrpos($s,'_'))."...";
}
return $s;
}
public function show_about ($event) {
global $page;
$html = <<Author
Erik Youngren (Artanis) artanis.00@gmail.com
Use
- Click the links to add the tag to the image's tag list, when done, press Set to save the tags.
- Type in the filter box to remove tags you aren't looking for.
- Single letter filters will only match the first letter of the tags.
- 2 or more will match that letter combination anywhere in the tag. Starting a
filter with a space (' ') will prevent this behaviour.
- Enter tags not on the list in the second box. Tags must have 2 uses to display in the list.
EOD;
$page->add_block( new Block("About Tagger", $html,"main"));
}
}
?>