) // Do not remove this notice. class taggerTheme extends Themelet { public function build($event,$tags) { // When overriding this function, take care that all tag attributes are // maintained UNCHANGED. There are no attributes in the HTML code below // that go unused by the javascript. If you fail to do this, // the extension will BREAK! // // Now that that's sunk in, chaniging title attributes is fine. global $config; global $page; // set up data $base_href = $config->get_string('base_href'); $tagme = $config->get_string( 'ext-tagger_clear-tagme','N')=="Y"? "": null; $url_about = make_link("about/tagger"); // build floater tags $h_tags = ""; foreach($tags as $tag) { $h_tags .= $this->tag_to_html($tag); } $html = "
Tagger gets all the tags with 2 or more uses, so the list can get quite large. If you are having trouble finding the tag you are looking for, you can enter it into the box at the top and as you type, Tagger will remove tags that do not match to aid your search. Usually, you\'ll only need one or two letters to trim the list down to the tag you are looking for.
One letter filters will look only at the first letter of the tag. Two or more letters will search the beginning of every word in every tag.
If the tag is not in the list, finish typing out the tag and click \"Add\" to add the tag to the image\'s tag list.
Tags must have two uses to appear in Tagger\'s list, so you'll have to enter the tag for at least one other image for it to show up.
Tagger requires javascript for its functionality. Sorry, but there\'s no other way to accomplish the tag list modifications.
If you have javascript completely disabled, you will not be able to use Tagger.
Depending on your method of disabling javascript, you may be able to whitelist scripts. The script files used by Tagger are script.js and webtoolkit.drag.js.
Set Name | Tags |
---|---|
$keyname | $tags |