Home
last modified time | relevance | path

Searched refs:item (Results 1 – 25 of 42) sorted by relevance

12

/dokuwiki/inc/Ui/
H A DIndex.php65 * Index item formatter
69 * @param array $item
74 public function formatListItem($item) // RENAMED from html_list_index() argument
82 $base = ':' . $item['id'];
84 if ($item['type'] == 'd') {
86 $link = wl($ID, 'idx=' . rawurlencode($item['id']));
87 $html .= '<a href="' . $link . '" title="' . $item['id'] . '" class="idx_dir"' . $nofollow . '><strong>';
92 $html .= html_wikilink(':' . $item['id'], useHeading('navigation') ? null : noNS($item['id']));
98 * Index List item
109 tagListItem($item) global() argument
[all...]
H A DAdmin.php61 foreach ($this->menu[$type] as $item) {
62 $this->showMenuItem($item);
98 * Display a single Admin menu item
100 * @param array $item
102 protected function showMenuItem($item)
105 if (blank($item['prompt'])) return;
107 echo '<a href="' . wl($ID, 'do=admin&amp;page=' . $item['plugin']) . '">';
109 echo inlineSVG($item['icon']);
112 echo $item['prompt'];
96 showMenuItem($item) global() argument
/dokuwiki/inc/
H A Dsearch.php400 $item = [];
401 $item['id'] = pathID($file);
402 if (empty($opts['skipacl']) && auth_quickaclcheck($item['id']) < AUTH_READ) {
406 $item['rev'] = filemtime($base . '/' . $file);
407 $item['mtime'] = $item['rev'];
408 $item['size'] = filesize($base . '/' . $file);
410 $item['hash'] = md5(trim(rawWiki($item['id'])));
413 $data[] = $item;
[all...]
H A DAjax.php203 foreach (array_keys($data) as $item) {
204 $data[$item]['level'] = $lvl + 1;
336 foreach (array_keys($data) as $item) {
337 $data[$item]['level'] = $lvl + 1;
425 foreach ($data as $item) {
428 if (($item['type'] == 'd' || $item['type'] == 'u') && $item['id'] !== '') $item['id'] .= ':';
429 $link = wl($item['i
[all...]
H A Dhtml.php384 * Index tree item formatter for html_buildlist()
390 * @param array $item
394 function html_list_index($item)
397 return (new Index())->formatListItem($item);
401 * Index list item formatter for html_buildlist() argument
409 * @param array $item
413 function html_li_index($item)
416 return (new Index())->tagListItem($item);
420 * Default list item formatter for html_buildlist()
424 * @param array $item
369 html_list_index($item) global() argument
387 html_li_index($item) global() argument
812 html_list_toc($item) global() argument
[all...]
/dokuwiki/inc/Menu/
H A DAbstractMenu.php60 /** @var AbstractItem $item */
61 $item = new $class();
62 if (!$item->visibleInContext($this->context)) continue;
63 $data['items'][] = $item;
65 // item not available
83 foreach ($this->getItems() as $item) {
85 $class = ' class="' . $classprefix . $item->getType() . '"';
91 $html .= $item->asHtmlLink(false, $svg);
H A DMobileMenu.php78 foreach ($items as $item) {
79 $params = $item->getParams();
81 $html .= hsc($item->getLabel());
/dokuwiki/
H A Dfeed.php
/dokuwiki/vendor/simplepie/simplepie/src/Cache/
H A DDB.php63 * @return array First item is the serialized data for storage, second item is the unique ID for this item
71 foreach ($items as $item) {
72 $items_by_id[$item->get_id()] = $item;
77 foreach ($items as $item) {
78 $items_by_id[$item->get_id(true)] = $item;
101 if (isset($channel['child'][\SimplePie\SimplePie::NAMESPACE_RSS_10]['item'])) {
[all...]
/dokuwiki/lib/styles/
H A Dfeed.css17 item link, entry id {
36 item, entry { selector
43 item title, entry title {
53 item pubDate, entry modified, item date {
59 item description, entry summary {
/dokuwiki/inc/Sitemap/
H A DMapper.php68 $item = Item::createFromID($id);
69 if ($item instanceof Item)
70 $items[] = $item;
97 foreach ($items as $item) {
98 /** @var Item $item */
99 echo $item->toXML();
/dokuwiki/lib/tpl/dokuwiki/css/
H A Dpagetools.less26 @item-width: (@ico-width + @ico-margin + @ico-margin);
27 @item-height: (@ico-width + @ico-margin);
30 right: (-1 * @item-width);
33 width: @item-width;
37 width: @item-width;
61 line-height: @item-height;
63 height: @item-height;
80 // on interaction show the full item
100 left: (-1 * @item-width);
/dokuwiki/lib/scripts/
H A Dedit.js93 jQuery.each(props.list, function (key, item) { argument
100 if (item.substr(0,1) !== '/') {
101 item = DOKU_BASE+'lib/images/'+props.icobase+'/'+item;
104 .attr('src', item)
108 }else if (typeof item == 'string'){
110 $makebutton(item).text(item);
H A Dfileuploaderextended.js51 var item = qq.toElement(this._options.fileTemplate);
52 item.qqFileId = id;
54 var fileElement = this._find(item, 'file');
56 this._find(item, 'size').style.display = 'none';
59 var nameElement = this._find(item, 'nameInput');
66 this._listElement.appendChild(item);
90 // template for one item in file list
115 // added to list item when upload completes
161 var item = this._getItemByFileId(id);
162 qq.remove(this._find(item, 'cance
[all...]
H A Dfileuploader.js495 // template for one item in file list
516 // added to list item when upload completes
599 var item = this._getItemByFileId(id);
600 var size = this._find(item, 'size');
616 var item = this._getItemByFileId(id);
617 qq.remove(this._find(item, 'cancel'));
618 qq.remove(this._find(item, 'spinner'));
621 qq.addClass(item, this._classes.success);
623 qq.addClass(item, this._classes.fail);
627 var item
[all...]
/dokuwiki/lib/plugins/authad/adLDAP/classes/
H A DadLDAPUtils.php233 public function encode8Bit(&$item, $key) { argument
235 if (is_string($item)) {
236 for ($i=0; $i<strlen($item); $i++) {
237 if (ord($item[$i]) >> 7) {
243 $item = utf8_encode($item);
/dokuwiki/lib/plugins/acl/
H A Daction.php78 foreach (array_keys($data) as $item) {
79 $data[$item]['level'] = $lvl + 1;
H A Dadmin.php24 * The currently selected item, associative array with id and type.
519 public function makeTreeItem($item)
523 if (!empty($item['label'])) {
524 $base = $item['label'];
526 $base = ':' . $item['id'];
531 if (($item['type'] == $this->current_item['type'] && $item['id'] == $this->current_item['id'])) {
538 if ($item['type'] == 'd') {
539 if ($item['open']) {
548 wl('', $this->getLinkOptions(['ns' => $item['i
512 makeTreeItem($item) global() argument
561 makeListItem($item) global() argument
[all...]
/dokuwiki/vendor/openpsa/universalfeedcreator/
H A DREADME.md42 $item = new FeedItem();
43 $item->title = $data->title;
44 $item->link = $data->url;
45 $item->description = $data->short;
48 $item->descriptionTruncSize = 500;
49 $item->descriptionHtmlSyndicated = true;
51 $item->date = $data->newsdate;
52 $item->source = "http://www.dailyphp.net";
53 $item->author = "John Doe";
55 $rss->addItem($item);
[all...]
/dokuwiki/vendor/openpsa/universalfeedcreator/lib/Creator/
H A DFeedCreator.php70 * @param FeedItem $item The FeedItem to add to the feed.
72 public function addItem($item)
74 $this->items[] = $item;
69 addItem($item) global() argument
/dokuwiki/lib/plugins/config/core/Setting/
H A DSettingArray.php53 foreach ($input as $item) {
54 if ($this->pattern && !preg_match($this->pattern, $item)) {
/dokuwiki/vendor/simplepie/simplepie/src/
H A DParser.php418 // Also look for h-feed or h-entry in the children of each top level item.
455 $item = [];
463 $item['link'] = [['data' => $link]];
470 $item['guid'] = [['data' => $guid]];
477 $item['title'] = [['data' => $title]];
510 $item['author'] = [['data' => $author]];
549 $item['title'] = [['data' => $title]];
564 $item['description'] = [['data' => $description]];
580 $item['category'] = [['data' => $category_csv]];
585 $item['pubDat
[all...]
/dokuwiki/vendor/kissifrot/php-ixr/src/DataType/
H A DValue.php81 foreach ($this->data as $item) {
82 $return .= ' <value>' . $item->getXml() . "</value>\n";
/dokuwiki/lib/plugins/extension/helper/
H A Dextension.php1041 foreach ($install as $item) {
1043 if ($item['type'] == 'template') {
1049 if (!empty($item['base'])) {
1052 $item['base'] = $base;
1057 $item['base'] = basename($item['tmp']);
1061 $target = $target_base_dir . $item['base'];
1065 msg(sprintf($this->getLang('msg_nooverwrite'), $item['base']));
1072 if ($this->dircopy($item['tmp'], $target)) {
1074 $id = $item['bas
[all...]
/dokuwiki/lib/plugins/authplain/
H A Dauth.php465 foreach ($this->pattern as $item => $pattern) {
466 if ($item == 'user') {
468 } elseif ($item == 'grps') {
470 } elseif (!preg_match($pattern, $info[$item])) {
485 foreach ($filter as $item => $pattern) {
486 $this->pattern[$item] = '/' . str_replace('/', '\/', $pattern) . '/i'; // allow regex characters

12