/plugin/tag/ |
H A D | style.css | 21 background: transparent url(images/tag.gif) 0 2px no-repeat;
|
/plugin/tag/syntax/ |
H A D | searchtags.php | 3 * Syntax plugin part for displaying a tag search form with results. 11 * Tagsearch syntax, displays a tag search form with results similar to the topic syntax 90 // get the tag input data 95 if ($helper = $this->loadHelper('tag')) { 122 * Return the search form for the namespace and the tag selection 161 // load the tag list - only tags that actually have pages assigned that the current user can access are listed 163 if ($my = $this->loadHelper('tag')) { 166 // sort tags by name ($tags is in the form $tag => $count) 191 // print tag checkboxes 192 foreach ($tags as $tag 276 isSelected($tag) global() argument [all...] |
H A D | tag.php | 7 * Usage: {{tag>category tags space separated}} 35 $this->Lexer->addSpecialPattern('\{\{tag>.*?\}\}', $mode, 'plugin_tag_tag'); 39 * Handle matches of the tag syntax 57 if (!$helper = $this->loadHelper('tag')) { 76 if (!$helper = $this->loadHelper('tag')) return false; 113 // add references if tag page exists 114 foreach ($data as $tag) { 119 $tag = $resolver->resolveId($tag); 122 resolve_pageid($helper->getNamespace(), $tag, [all...] |
H A D | tagpage.php | 3 * Tag Plugin: Display a link to the listing of all pages with a certain tag. 11 /** Tagpage syntax, allows to link to a given tag */ 53 $match = trim(substr($match, 10, -2)); // get given tag 56 [$tag, $flag] = array_pad(explode('&', $match[0], 2), 2, ''); 58 $params['tag'] = trim($tag); 72 if($data['tag'] === '') return false; 82 if(!$helper = $this->loadHelper('tag')) { 86 $renderer->doc .= $helper->tagLink($data['tag'], $data['title'], $data['dynamic']);
|
H A D | topic.php | 3 * Tag Plugin, topic component: displays links to all wiki pages with a certain tag 10 * Topic syntax, displays links to all wiki pages with a certain tag 52 list($ns, $tag) = array_pad(explode('?', $match), 2, ''); 54 if (!$tag) { 55 $tag = $ns; 67 return [$ns, trim($tag), $flags]; 79 list($ns, $tag, $flags) = $data; 98 if ($helper = $this->loadHelper('tag')) { 100 $pages = $helper->getTopic($ns, '', $tag);
|
/plugin/tagadd/ |
H A D | action.php | 229 foreach($tags as $tag){ 232 if(in_array($tag,$siteTags)){ 235 … $form->addElement(form_makeCheckboxField('tag', $tag, $tag, 'ad_'.$tag, 'tagadd', $chk_attrs));
|
H A D | requirements.txt | 3 https://github.com/dokufreaks/plugin-tag.git lib/plugins/tag
|
/plugin/tagalerts/ |
H A D | README.md | 2 Plugin to highlight specified tags or throw alert messages (requires tag plugin)
|
H A D | plugin.info.txt | 6 …erts when some tags are detected (based on Dokuwiki system messages or just styling tag list links)
|
/plugin/tagfilter/ |
H A D | helper.php | 24 $this->taghelper = $this->loadHelper('tag'); 57 * Search in Tagindex for tags that matches the tag pattern and are in requested namespace 62 * @return string[]|false with tag=>label pairs 74 foreach ($tags as $tag) { 75 if ($this->matchesTagExpression($tagExpression, $tag) && $this->isTagInNamespace($tag, $ns, $aclSafe)) { 76 $matchedTag_label[$tag] = $this->getTagLabel($tag); 85 * Test if tag matches with requested pattern 88 * @param string $tag 91 matchesTagExpression($tagExpression, $tag) global() argument 102 getTagLabel($tag) global() argument 173 isTagInNamespace($tag, $ns, $aclSafe = true) global() argument 229 getPagesByTag($tag, $ns = '') global() argument 331 getImageLinkByTag($tag) global() argument 464 getTagCategory($tag) global() argument [all...] |
H A D | plugin.info.txt | 6 desc easy tag search
|
H A D | requirements.txt | 1 https://github.com/dokufreaks/plugin-tag.git lib/plugins/tag
|
H A D | script.js | 67 jQuery.each(select,function(index2,tag) { 68 pages[page_idx] = jQuery.merge(pages[page_idx],tags[index][tag]); 80 jQuery.each(select,function(index2,tag) { 82 return tags[index][tag].indexOf(n) !== -1; 70 AnonymousFunction6ab6260e0500(index2,tag) global() argument 83 AnonymousFunction6ab6260e0700(index2,tag) global() argument
|
/plugin/tagfilter/helper/ |
H A D | syntax.php | 27 * tag=>array of pageids of pages having the tag 39 foreach ($tagFilters['tagExpression'] as $key => $tagExpression) { //build tag->pages relation 49 foreach ($pagesPerMatchedTag as $tag => $pageidsPerTag) { 50 if (!empty($flags['withTags']) && !in_array($tag, $flags['withTags'])) { 53 if (!empty($flags['excludeTags']) && in_array($tag, $flags['excludeTags'])) {
|
/plugin/tagfilter/script/select2/ |
H A D | release.sh | 18 tag="$ver" 71 git tag -a "$tag" -m "tagged version $ver"
|
/plugin/tagfilter/syntax/ |
H A D | compare.php | 89 foreach ($pagesPerMatchedTag as $tag => $pageidsPerTag) { 91 unset($pagesPerMatchedTag[$tag]);
|
H A D | filter.php | 107 list($ns, $tag) = array_pad(explode('?', $match), 2, ''); 108 if ($tag === '') { 109 $tag = $ns; 129 //read and parse tag 131 $selectExpressions = array_map('trim', explode('|', $tag)); 285 foreach ($pagesPerMatchedTag as $tag => $pageidsPerTag) { 287 unset($pagesPerMatchedTag[$tag]); 361 //get tag labels
|
/plugin/tagging/action/ |
H A D | elasticsearch.php | 57 $tags = $hlp->findItems(['pid' => $data['uri']], 'tag'); 59 $data['tagging'] = array_map(function ($tag) use ($hlp) { 60 return $hlp->cleanTag($tag); 83 * Also return new #tag values to be appended to the query. 107 $additions = array_map(function ($tag) use ($matches) { 108 if (!isset($matches[1]) || !in_array($tag, $matches[1])) { 109 return "#$tag";
|
H A D | main.php | 79 * Jump to a tag 94 $tags = $INPUT->arr('tag', (array)$INPUT->str('tag')); 100 foreach ($tags as $tag) { 101 $filter = array('tag' => $tag); 144 $tags = $hlp->findItems(array('pid' => $id), 'tag'); 145 $hlp->html_cloud($tags, 'tag', array($hlp, 'linkToSearch'), false); 158 $tags = $hlp->findItems(array('tag' => '*' . $hlp->getDB()->escape_string($search) . '*'), 'tag'); [all...] |
H A D | search.php | 150 // and when displaying tag suggestions 174 * or, with an empty query, tag search results are returned. 195 // tag search only, without additional terms 210 * Add tag links to all search results 220 foreach ($tags as $tag) { 221 $event->data['resultHeader'][] = $this->getSettingsLink('#' . $tag, 'q', '#' . $tag); 268 // create output HTML: tag search links 273 foreach ($suggestedTags as $tag) { 275 $results .= $this->getSettingsLink('#' . $tag, ' [all...] |
/plugin/tagging/db/ |
H A D | update0001.sql | 1 CREATE TABLE taggings (pid, tag, tagger, PRIMARY KEY(pid, tag, tagger)); field
|
H A D | update0002.sql | 5 CREATE TABLE taggings_tmp (pid, tag, tagger, PRIMARY KEY(pid, tag, tagger)); field 6 INSERT INTO taggings_tmp SELECT pid, tag, tagger FROM taggings; 10 CREATE TABLE taggings (pid, tag, tagger, lang, PRIMARY KEY(pid, tag, tagger)); field 11 INSERT INTO taggings SELECT pid, tag, tagger, '' FROM taggings_tmp;
|
/plugin/tagging/ |
H A D | helper.php | 80 * Canonicalizes the tag to its lower case nospace form 82 * @param $tag 86 public function cleanTag($tag) { argument 87 $tag = str_replace(array(' ', '-', '_', '#'), '', $tag); 88 $tag = utf8_strtolower($tag); 90 return $tag; 128 foreach ($tags as $tag) { 129 $queries[] = array('INSERT INTO taggings (pid, tagger, tag, lan 179 getTagSearchURL($tag, $ns = '') global() argument 312 linkToSearch($tag, $ns = '') global() argument [all...] |
/plugin/tagging/helper/ |
H A D | querybuilder.php | 77 $this->groupby = 'CLEANTAG(tag)'; 78 $this->orderby = 'CLEANTAG(tag)'; 111 * Sets the logical operator used in tag search to AND 250 foreach ($this->tags as $tag) { 251 $where .= ' CLEANTAG(tag)'; 252 $where .= $this->useLike($tag) ? ' GLOB' : ' ='; 255 $this->values[] = $tag;
|
/plugin/tagging/lang/en/ |
H A D | clean.txt | 1 ===== Clean up tag database =====
|