Home
last modified time | relevance | path

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

123

/dokuwiki/inc/Ui/
DIndex.php69 * @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 . '><st…
92 … $html .= html_wikilink(':' . $item['id'], useHeading('navigation') ? null : noNS($item['id']));
104 * @param array $item
109 public function tagListItem($item) // RENAMED from html_li_index() argument
117 if ($item['type'] == 'f') {
[all …]
DAdmin.php61 foreach ($this->menu[$type] as $item) {
62 $this->showMenuItem($item);
102 * @param array $item
104 protected function showMenuItem($item) argument
107 if (blank($item['prompt'])) return;
109 echo '<a href="' . wl($ID, 'do=admin&amp;page=' . $item['plugin']) . '">';
111 echo inlineSVG($item['icon']);
114 echo $item['prompt'];
/dokuwiki/inc/Menu/
DAbstractMenu.php49 fn($item) => $item instanceof AbstractItem && $item->visibleInContext($this->context)
67 $item = new $class();
68 $data['items'][] = $item;
88 foreach ($this->getItems() as $item) {
90 $class = ' class="' . $classprefix . $item->getType() . '"';
96 $html .= $item->asHtmlLink(false, $svg);
DMobileMenu.php78 foreach ($items as $item) {
79 $params = $item->getParams();
81 $html .= hsc($item->getLabel());
/dokuwiki/inc/
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;
503 $item = [];
507 $item['id'] = pathID($file, ($type == 'd' || !empty($opts['keeptxt'])));
[all …]
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['id']);
431 echo '<div class="' . (($even > 0) ? 'even' : 'odd') . ' type_' . $item['type'] . '">';
433 if ($item['type'] == 'u') {
436 $name = hsc($item['id']);
[all …]
Dhtml.php390 * @param array $item
394 function html_list_index($item) argument
397 return (new Index())->formatListItem($item);
409 * @param array $item
413 function html_li_index($item) argument
416 return (new Index())->tagListItem($item);
424 * @param array $item
428 function html_li_default($item) argument
430 return '<li class="level' . $item['level'] . '">';
470 $lifunc = static fn($item) => '<li class="level' . $item['level'] . '">';
[all …]
/dokuwiki/inc/Feed/
DFeedCreator.php60 foreach ($items as $item) {
61 $this->createAndAddItem($item);
89 $item = new \FeedItem();
90 $item->title = $proc->getTitle();
92 $item->title .= ' - ' . $proc->getSummary();
94 $item->date = $proc->getRev();
95 [$item->authorEmail, $item->author] = $proc->getAuthor();
96 $item->link = $proc->getURL($this->options->get('link_to'));
97 $item->description = $proc->getBody($this->options->get('item_content'));
100 'item' => $item,
[all …]
/dokuwiki/vendor/simplepie/simplepie/src/Cache/
DDB.php70 foreach ($items as $item) {
71 $items_by_id[$item->get_id()] = $item;
76 foreach ($items as $item) {
77 $items_by_id[$item->get_id(true)] = $item;
/dokuwiki/lib/styles/
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/
DMapper.php68 $item = Item::createFromID($id);
69 if ($item instanceof Item)
70 $items[] = $item;
97 foreach ($items as $item) {
99 echo $item->toXML();
/dokuwiki/lib/tpl/dokuwiki/css/
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/
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);
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);
161 var item = this._getItemByFileId(id);
162 qq.remove(this._find(item, 'cancel'));
163 qq.remove(this._find(item, 'spinner'));
165 var nameInput = this._find(item, 'nameInput');
[all …]
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'));
618 qq.remove(this._find(item, 'spinner'));
621 qq.addClass(item, this._classes.success);
623 qq.addClass(item, this._classes.fail);
627 var item = qq.toElement(this._options.fileTemplate);
628 item.qqFileId = id;
630 var fileElement = this._find(item, 'file');
[all …]
/dokuwiki/lib/plugins/authad/adLDAP/classes/
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/_test/tests/TreeBuilder/cp/
Dcomplex.txt16 * [[foo2:deeper:item|Deeper Item]]
17 * [[foo2:deeper:evendeeper:item|Even Deeper Item]]
/dokuwiki/vendor/openpsa/universalfeedcreator/
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);
/dokuwiki/lib/plugins/acl/
Daction.php78 foreach (array_keys($data) as $item) {
79 $data[$item]['level'] = $lvl + 1;
Dadmin.php519 public function makeTreeItem($item) argument
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['id'], 'sectok' => getSecurityToken()])) .
554 … wl('', $this->getLinkOptions(['id' => $item['id'], 'ns' => '', 'sectok' => getSecurityToken()])) .
556 $ret .= noNS($item['id']);
[all …]
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Formats/Keys/
DXML.php132 … return $decode ? self::decodeValue($result->item(0)->textContent) : $result->item(0)->textContent;
152 $node = $nodes->item(0);
181 if (!$x->length || !$x->item(0)->hasAttribute('Value')) {
184 if (!$y->length || !$y->item(0)->hasAttribute('Value')) {
188 $curve->convertInteger(new BigInteger($x->item(0)->getAttribute('Value'))),
189 $curve->convertInteger(new BigInteger($y->item(0)->getAttribute('Value')))
208 $oid = $namedCurve->item(0)->getAttribute('URN');
247 $$param = self::decodeValue($result->item(0)->textContent);
298 $$param = $result->item(0)->textContent;
/dokuwiki/vendor/openpsa/universalfeedcreator/lib/Creator/
DFeedCreator.php70 * @param FeedItem $item The FeedItem to add to the feed.
72 public function addItem($item) argument
74 $this->items[] = $item;
/dokuwiki/lib/plugins/config/core/Setting/
DSettingArray.php53 foreach ($input as $item) {
54 if ($this->pattern && !preg_match($this->pattern, $item)) {
/dokuwiki/vendor/simplepie/simplepie/src/
DParser.php453 $item = [];
461 $item['link'] = [['data' => $link]];
468 $item['guid'] = [['data' => $guid]];
475 $item['title'] = [['data' => $title]];
508 $item['author'] = [['data' => $author]];
547 $item['title'] = [['data' => $title]];
562 $item['description'] = [['data' => $description]];
578 $item['category'] = [['data' => $category_csv]];
583 $item['pubDate'] = [['data' => $pub_date]];
588 $item['title'] = [['data' => '']];
[all …]
/dokuwiki/inc/Remote/
DApiCore.php272 return array_map(static fn($item) => new Page(
273 $item['id'],
275 $item['mtime'],
277 $item['size'],
279 $item['hash'] ?? ''
770 return array_map(static fn($item) => new Media(
771 $item['id'],
773 $item['mtime'],
774 $item['size'],
775 $item['perm'],
[all …]

123