Home
last modified time | relevance | path

Searched refs:item (Results 1 - 25 of 31) sorted by relevance

12

/dokuwiki/inc/Ui/
H A DIndex.php69 * Index item formatter
75 * @param array $item
78 public function formatListItem($item) // RENAMED from html_list_index()
86 $base = ':'.$item['id'];
88 if ($item['type'] == 'd') {
90 $link = wl($ID, 'idx='. rawurlencode($item['id']));
91 $html .= '<a href="'. $link .'" title="'. $item['id'] .'" class="idx_dir"' . $nofollow .'><strong>';
96 $html .= html_wikilink(':'.$item['id'], useHeading('navigation') ? null : noNS($item['id']));
102 * Index List item
[all...]
H A DAdmin.php56 foreach ($this->menu[$type] as $item) {
57 $this->showMenuItem($item);
91 * Display a single Admin menu item
93 * @param array $item
95 protected function showMenuItem($item) {
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(); variable
389 $item['id'] = pathID($file);
390 if(empty($opts['skipacl']) && auth_quickaclcheck($item['id']) < AUTH_READ){
394 $item['rev'] = filemtime($base.'/'.$file);
395 $item['mtime'] = $item['rev'];
396 $item['size'] = filesize($base.'/'.$file);
398 $item['hash'] = md5(trim(rawWiki($item['id'])));
401 $data[] = $item;
488 $item = array(); global() variable
[all...]
H A Dhtml.php339 * Index tree item formatter for html_buildlist()
345 * @param array $item
349 function html_list_index($item) {
351 return (new dokuwiki\Ui\Index)->formatListItem($item);
355 * Index list item formatter for html_buildlist()
363 * @param array $item
367 function html_li_index($item) {
369 return (new dokuwiki\Ui\Index)->tagListItem($item);
373 * Default list item formatter for html_buildlist()
377 * @param array $item
[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['i
[all...]
H A Dmedia.php114 * Check if a media item is public (eg, external URL or readable by @ALL)
711 foreach($data as $item){
713 //FIXME old call: media_printfile($item,$auth,$jump);
714 $display = new \dokuwiki\Ui\Media\DisplayRow($item);
715 $display->scrollIntoView($jump == $item->getID());
718 //FIXME old call: media_printfile_thumbs($item,$auth,$jump);
720 $display = new \dokuwiki\Ui\Media\DisplayTile($item);
721 $display->scrollIntoView($jump == $item->getID());
883 * @param string $jump item id
903 * @param string $jump item i
[all...]
/dokuwiki/inc/Menu/
H A DAbstractMenu.php60 /** @var AbstractItem $item */
61 $item = new $class(); variable
62 if(!$item->visibleInContext($this->context)) continue;
63 $data['items'][] = $item;
65 // item not available
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/
H A Dfeed.php217 $item = new FeedItem(); variable
237 if($date) $item->date = date('r', $date);
241 $item->title = $meta['title'];
243 $item->title = $ditem['id'];
246 $item->title .= ' - '.strip_tags($ditem['sum']);
249 // add item link
253 $item->link = media_managerURL(
261 $item->link = wl($id, 'rev='.$date, true, '&');
266 $item->link = media_managerURL(
275 $item
[all...]
/dokuwiki/vendor/simplepie/simplepie/library/SimplePie/Cache/
H A DDB.php58 * @return array First item is the serialized data for storage, second item is the unique ID for this item
67 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;
112 if (isset($channel['child'][SIMPLEPIE_NAMESPACE_RSS_10]['item']))
[all...]
/dokuwiki/inc/Sitemap/
H A DMapper.php62 $item = Item::createFromID($id); variable
63 if ($item !== null)
64 $items[] = $item;
90 foreach ($items as $item) {
91 /** @var Item $item */
92 echo $item->toXML();
/dokuwiki/lib/scripts/
H A Dedit.js93 jQuery.each(props.list, function (key, item) {
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 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) {
235 if (is_string($item)) {
236 for ($i=0; $i<strlen($item); $i++) {
237 if (ord($item[$i]) >> 7) {
243 $item = utf8_encode($item); variable
/dokuwiki/lib/plugins/acl/
H A Dadmin.php22 * The currently selected item, associative array with id and type.
512 public function makeTreeItem($item)
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']) {
541 wl('', $this->getLinkOptions(array('ns'=> $item['i
[all...]
H A Daction.php75 foreach (array_keys($data) as $item) {
76 $data[$item]['level'] = $lvl + 1;
/dokuwiki/vendor/simplepie/simplepie/library/SimplePie/
H A DParser.php455 // Also look for h-feed or h-entry in the children of each top level item.
488 $item = array(); variable
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));
596 $item['description'] = array(array('data' => $description));
611 $item['category'] = array(array('data' => $category_csv));
616 $item['pubDat
[all...]
H A DSource.php56 var $item; variable
60 public function __construct($item, $data)
62 $this->item = $item; variable
88 return $this->item->get_base($element);
93 return $this->item->sanitize($data, $type, $base);
98 return $this->item;
359 * Added for parity between the parent-level and the item/entry-level.
/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'];
1047 msg(sprintf($this->getLang('msg_nooverwrite'), $item['base']));
1054 if ($this->dircopy($item['tmp'], $target)) {
1056 $id = $item['bas
[all...]
/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)
71 $this->items[] = $item;
/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/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) {
881 if (is_string($item)) {
882 for ($i=0; $i<strlen($item); $i++) {
883 if (ord($item[$i]) >> 7) {
889 $item = utf8_encode($item); variable
/dokuwiki/lib/plugins/authad/
H A Dauth.php762 foreach ($this->pattern as $item => $pattern) {
763 if ($item == 'user') {
765 } elseif ($item == 'grps') {
768 if (!preg_match($pattern, $info[$item])) return false;
784 foreach ($filter as $item => $pattern) {
785 $this->pattern[$item] = '/'.str_replace('/', '\/', $pattern).'/i'; // allow regex characters
/dokuwiki/lib/plugins/authldap/
H A Dauth.php481 foreach ($this->pattern as $item => $pattern) {
482 if ($item == 'user') {
484 } elseif ($item == 'grps') {
487 if (!preg_match($pattern, $info[$item])) return false;
504 foreach ($filter as $item => $pattern) {
505 $this->pattern[$item] = '/' . str_replace('/', '\/', $pattern) . '/i'; // allow regex characters

Completed in 47 milliseconds

12