Home
last modified time | relevance | path

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

12

/dokuwiki/inc/Ui/
H A DIndex.php75 * @param array $item
78 public function formatListItem($item) // RENAMED from html_list_index() argument
86 $base = ':'.$item['id'];
88 if ($item['type'] == 'd') {
90 $link = wl($ID, 'idx='. rawurlencode($item['id']));
96 … $html .= html_wikilink(':'.$item['id'], useHeading('navigation') ? null : noNS($item['id']));
110 * @param array $item
113 public function tagListItem($item) // RENAMED from html_li_index() argument
121 if ($item['type'] == 'f') {
127 return '<li class="level'.$item['level'].$class.'" '.$id.'>';
[all …]
H A DAdmin.php56 foreach ($this->menu[$type] as $item) {
57 $this->showMenuItem($item);
93 * @param array $item
95 protected function showMenuItem($item) { argument
97 if(blank($item['prompt'])) return;
99 echo '<a href="' . wl($ID, 'do=admin&amp;page=' . $item['plugin']) . '">';
101 echo inlineSVG($item['icon']);
104 echo $item['prompt'];
/dokuwiki/inc/
H A Dsearch.php388 $item = array();
395 $item['mtime'] = $item['rev'];
398 $item['hash'] = md5(trim(rawWiki($item['id'])));
401 $data[] = $item;
488 $item = array();
493 if($item['id'] != cleanID($item['id'])){
499 $item['ns'] = getNS($item['id']);
525 $item['perm'] = auth_quickaclcheck($item['id'].':*');
551 $item['level'] = $lvl;
558 $item['rev'] = $item['mtime'];
[all …]
H A DAjax.php192 foreach(array_keys($data) as $item) {
193 $data[$item]['level'] = $lvl + 1;
326 foreach (array_keys($data) as $item) {
327 $data[$item]['level'] = $lvl + 1;
418 foreach($data as $item) {
421 … if(($item['type'] == 'd' || $item['type'] == 'u') && $item['id'] !== '') $item['id'] .= ':';
422 $link = wl($item['id']);
426 if($item['type'] == 'u') {
429 $name = hsc($item['id']);
434 if(!blank($item['title'])) {
[all …]
H A Dhtml.php345 * @param array $item
349 function html_list_index($item) { argument
363 * @param array $item
367 function html_li_index($item) { argument
377 * @param array $item
381 function html_li_default($item){ argument
426 foreach ($data as $item) {
782 * @param array $item
785 function html_list_toc($item) { argument
786 if (isset($item['hid'])){
[all …]
/dokuwiki/inc/Menu/
H A DAbstractMenu.php61 $item = new $class();
62 if(!$item->visibleInContext($this->context)) continue;
63 $data['items'][] = $item;
82 foreach($this->getItems() as $item) {
84 $class = ' class="' . $classprefix . $item->getType() . '"';
90 $html .= $item->asHtmlLink(false, $svg);
H A DMobileMenu.php75 foreach($items as $item) {
76 $params = $item->getParams();
78 $html .= hsc($item->getLabel());
/dokuwiki/vendor/simplepie/simplepie/library/SimplePie/Cache/
H A DDB.php67 foreach ($items as $item)
69 $items_by_id[$item->get_id()] = $item;
75 foreach ($items as $item)
77 $items_by_id[$item->get_id(true)] = $item;
/dokuwiki/
H A Dfeed.php217 $item = new FeedItem();
237 if($date) $item->date = date('r', $date);
241 $item->title = $meta['title'];
243 $item->title = $ditem['id'];
415 $item->author = 'Anonymous';
418 $item->author = $user;
435 $item->author = $user;
442 $item->category = $meta['subject'];
445 if($cat) $item->category = $cat;
450 'item' => &$item,
[all …]
/dokuwiki/inc/Sitemap/
H A DMapper.php62 $item = Item::createFromID($id);
63 if ($item !== null)
64 $items[] = $item;
90 foreach ($items as $item) {
92 echo $item->toXML();
/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/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.js52 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);
161 var item = this._getItemByFileId(id);
162 qq.remove(this._find(item, 'cancel'));
163 qq.remove(this._find(item, 'spinner'));
166 var fileElement = this._find(item, 'file');
175 qq.addClass(item, this._classes.success);
[all …]
H A Dfileuploader.js599 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'));
628 item.qqFileId = id;
634 this._listElement.appendChild(item);
641 while (item){
642 if (item.qqFileId == id) return item;
643 item = item.nextSibling;
660 var item = target.parentNode;
[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.php75 foreach (array_keys($data) as $item) {
76 $data[$item]['level'] = $lvl + 1;
H A Dadmin.php512 public function makeTreeItem($item) argument
516 if (!empty($item['label'])) {
517 $base = $item['label'];
519 $base = ':'.$item['id'];
524 … if (($item['type']== $this->current_item['type'] && $item['id'] == $this->current_item['id'])) {
531 if ($item['type']=='d') {
532 if ($item['open']) {
549 $ret .= noNS($item['id']);
558 * @param array $item
561 public function makeListItem($item) argument
[all …]
/dokuwiki/vendor/openpsa/universalfeedcreator/
H A DREADME.md44 $item = new FeedItem();
45 $item->title = $data->title;
46 $item->link = $data->url;
47 $item->description = $data->short;
50 $item->descriptionTruncSize = 500;
51 $item->descriptionHtmlSyndicated = true;
53 $item->date = $data->newsdate;
54 $item->source = "http://www.dailyphp.net";
55 $item->author = "John Doe";
57 $rss->addItem($item);
/dokuwiki/vendor/openpsa/universalfeedcreator/lib/Creator/
H A DFeedCreator.php67 * @param FeedItem $item The FeedItem to add to the feed.
69 public function addItem($item) argument
71 $this->items[] = $item;
/dokuwiki/vendor/simplepie/simplepie/library/SimplePie/
H A DParser.php488 $item = array();
494 $item['link'] = array(array('data' => $link));
499 $item['guid'] = array(array('data' => $guid));
504 $item['title'] = array(array('data' => $title));
540 $item['author'] = array(array('data' => $author));
580 $item['title'] = array(array('data' => $title));
611 $item['category'] = array(array('data' => $category_csv));
616 $item['pubDate'] = array(array('data' => $pub_date));
621 $item['title'] = array(array('data' => ''));
622 $item['description'] = array(array('data' => ''));
[all …]
/dokuwiki/lib/plugins/config/core/Setting/
H A DSettingArray.php50 foreach($input as $item) {
51 if($this->pattern && !preg_match($this->pattern, $item)) {
/dokuwiki/lib/plugins/extension/helper/
H A Dextension.php1023 foreach ($install as $item) {
1025 if ($item['type'] == 'template') {
1031 if (!empty($item['base'])) {
1034 $item['base'] = $base;
1039 $item['base'] = basename($item['tmp']);
1043 $target = $target_base_dir.$item['base'];
1056 $id = $item['base'];
1057 if ($item['type'] == 'template') {
1061 'base' => $item['base'],
1062 'type' => $item['type'],
[all …]
/dokuwiki/lib/plugins/authplain/
H A Dauth.php473 foreach ($this->pattern as $item => $pattern) {
474 if ($item == 'user') {
476 } elseif ($item == 'grps') {
479 if (!preg_match($pattern, $info[$item])) return false;
493 foreach ($filter as $item => $pattern) {
494 … $this->pattern[$item] = '/'.str_replace('/', '\/', $pattern).'/i'; // allow regex characters
/dokuwiki/lib/plugins/authad/adLDAP/
H A DadLDAP.php879 protected function encode8Bit(&$item, $key) { argument
881 if (is_string($item)) {
882 for ($i=0; $i<strlen($item); $i++) {
883 if (ord($item[$i]) >> 7) {
889 $item = utf8_encode($item);

12