/dokuwiki/inc/Form/ |
H A D | LegacyForm.php | 36 ->id('wiki__text') 43 ->id($ctl['id']) 49 ->id($ctl['id']) 55 ->id($ctl['id']) 61 ->id($ctl['id']) 68 ->id( [all...] |
H A D | TagCloseElement.php | 39 * @param null|string $id 43 public function id($id = null) argument 45 if ($id === null) {
|
/dokuwiki/inc/Menu/Item/ |
H A D | AbstractItem.php | 33 /** @var string the page id this action links to */ 34 protected $id = ''; variable in dokuwiki\\Menu\\Item\\AbstractItem 64 $this->id = $ID; 111 * Basically runs wl() on $id and $params. However if the ID is a hash it is used directly 121 if ($this->id && $this->id[0] == '#') { 122 return $this->id; 124 return wl($this->id, $this->params, false, '&'); 183 $this->id, 257 'id' [all...] |
H A D | Back.php | 24 $this->id = $parent;
|
H A D | Top.php | 8 * Scroll back to the top. Uses a hash as $id which is handled special in getLink(). 21 $this->id = '#dokuwiki__top';
|
/dokuwiki/inc/Remote/ |
H A D | ApiCore.php | 272 $item['id'], 318 * or the page id depending on the wiki's configuration. 332 foreach ($data as $id => $score) { 334 $snippet = ft_snippet($id, $regex); 341 $id, 344 useHeading('navigation') ? p_get_first_heading($id) : $id 372 $recent['id'], 395 * @param string $page wiki page id 424 * @param string $page page id 217 rawPage($id, $rev = '') global() argument 241 getAttachment($id) global() argument 265 getAttachmentInfo($id) global() argument 299 htmlPage($id, $rev = '') global() argument 460 listBackLinks($id) global() argument 474 pageInfo($id, $rev = '') global() argument 517 putPage($id, $text, $params = array()) global() argument 580 appendPage($id, $text, $params = array()) global() argument 681 putAttachment($id, $file, $params = array()) global() argument 716 deleteAttachment($id) global() argument 740 aclCheck($id, $user = null, $groups = null) global() argument 770 listLinks($id) global() argument 907 pageVersions($id, $first = 0) global() argument 1084 resolvePageId($id) global() argument [all...] |
/dokuwiki/inc/Search/ |
H A D | Indexer.php | 219 $id = array_search($val, $metawords, true); 220 if ($id === false) { 222 $id = count($metawords); 223 $metawords[$id] = $val; 224 $metaidx[$id] = ''; 228 if (isset($val_idx[$id]) && $val_idx[$id] <= 0) { 229 $val_idx[$id] = 0; 231 $val_idx[$id] = 1; 240 foreach ($val_idx as $id 1019 getIndexKey($idx, $suffix, $id) global() argument 1044 saveIndexKey($idx, $suffix, $id, $line) global() argument 1156 updateTuple($line, $id, $count) global() argument [all...] |
/dokuwiki/inc/Sitemap/ |
H A D | Item.php | 36 * Helper function for creating an item for a wikipage id. 38 * @param string $id A wikipage id. 45 public static function createFromID($id, $changefreq = null, $priority = null) 47 $id = trim($id); 48 $date = @filemtime(wikiFN($id)); 50 return new Item(wl($id, '', true), $date, $changefreq, $priority); 43 createFromID($id, $changefreq = null, $priority = null) global() argument
|
H A D | Mapper.php | 64 foreach ($pages as $id) { 66 if (isHiddenPage($id)) continue; 67 if (auth_aclcheck($id, '', []) < AUTH_READ) continue; 68 $item = Item::createFromID($id);
|
/dokuwiki/inc/Subscriptions/ |
H A D | BulkSubscriptionSender.php | 86 $pagelog = new PageChangeLog($rev['id']); 98 $change_ids[] = $rev['id']; 135 * @param string $id The target page or namespace, specified by id; Namespaces 141 protected function lock($id) 145 $lock = $conf['lockdir'] . '/_subscr_' . md5($id) . '.lock'; 166 * @param string $id The target page or namespace, specified by id; Namespaces 172 protected function unlock($id) 175 $lock = $conf['lockdir'] . '/_subscr_' . md5($id) argument 144 lock($id) global() argument 196 sendDigest($subscriber_mail, $id, $lastupdate) global() argument [all...] |
H A D | MediaSubscriptionSender.php | 14 * @param string $id Media file for which the notification is 18 public function sendMediaDiff($subscriber_mail, $template, $id, $rev = false, $current_rev = false) 22 $file = mediaFN($id); 23 [$mime, /* ext */] = mimetype($id); 27 'MEDIA' => ml($id, $current_rev ? ('rev=' . $current_rev) : '', true, '&', true), 32 $trep['OLD'] = ml($id, "rev=$rev", true, '&', true); 37 $headers = ['Message-Id' => $this->getMessageID($id, @filemtime($file))]; 39 $headers['In-Reply-To'] = $this->getMessageID($id, $rev); 42 $this->send($subscriber_mail, 'upload', $id, $template, $trep, null, $headers); 21 sendMediaDiff($subscriber_mail, $template, $id, $rev = false, $current_rev = false) global() argument
|
H A D | PageSubscriptionSender.php | 16 * @param string $id Page for which the notification is 23 public function sendPageDiff($subscriber_mail, $template, $id, $rev = null, $summary = '', $current_rev = null) 29 'PAGE' => $id, 30 'NEWPAGE' => wl($id, $current_rev ? ('rev=' . $current_rev) : '', true, '&'), 32 'SUBSCRIBE' => wl($id, ['do' => 'subscribe'], true, '&'), 38 $trep['OLDPAGE'] = wl($id, "rev=$rev", true, '&'); 40 $old_content = rawWiki($id, $rev); 41 $new_content = rawWiki($id); 62 $tdiff = rawWiki($id); 69 $headers = ['Message-Id' => $this->getMessageID($id)]; 26 sendPageDiff($subscriber_mail, $template, $id, $rev = null, $summary = '', $current_rev = null) global() argument [all...] |
H A D | SubscriberManager.php | 29 * @param string $id The target page or namespace, specified by id; Namespaces 37 public function add($id, $user, $style, $data = '') 44 $this->remove($id, $user); 61 $file = $this->file($id); 73 * @param string $id The target object’s (namespace or page) id 81 public function remove($id, $user = null, $style = null, $data = null) argument 87 $file = $this->file($id); 104 * @param string $id Pag 38 add($id, $user, $style, $data = '') global() argument 111 userSubscription($id = '', $user = '') global() argument 284 file($id) global() argument [all...] |
H A D | SubscriptionSender.php | 20 * Get a valid message id for a certain $id and revision (or the current revision) 22 * @param string $id The id of the page (or media file) the message id should be for 23 * @param string $rev The revision of the page, set to the current revision of the page $id if not set 27 protected function getMessageID($id, $rev = null) argument 38 $rev = @filemtime(wikiFN($id)); 41 return "<$id?rev=$rev@$listid>"; 48 * @param string $subject The lang id o [all...] |
/dokuwiki/inc/Ui/ |
H A D | Diff.php | 16 protected $id; // page id or media id variable in dokuwiki\\Ui\\Diff 32 * @param string $id page id or media id 34 public function __construct($id) argument 36 $this->id = $id;
|
H A D | Editor.php | 66 $form = new Form(['id' => 'dw__editform']); 67 $form->setHiddenField('id', $ID); 100 $form->addTagOpen('div')->id('wiki__editbar')->addClass('editBar'); 102 $form->addTagOpen('div')->id('size__ctl'); 110 ->id('edbtn__save'); 113 ->id('edbtn__preview'); 122 ->id('edit__summary')->addClass('edit') 129 $form->addCheckbox('minor', $lang['minoredit'])->id('edit__minoredit')->addClass('nowrap')->val('1'); 164 echo '<div id="tool__bar" class="tool__bar">'; 173 echo '<div id [all...] |
H A D | Index.php | 59 return '<div id="index__tree" class="index__tree">' 82 $base = ':' . $item['id']; 86 $link = wl($ID, 'idx=' . rawurlencode($item['id'])); 87 $html .= '<a href="' . $link . '" title="' . $item['id'] . '" class="idx_dir"' . $nofollow . '><strong>'; 91 // default is noNSorNS($id), but we want noNS($id) when useheading is off FS#2605 92 $html .= html_wikilink(':' . $item['id'], useHeading('navigation') ? null : noNS($item['id'])); 115 $id = ''; 119 if (isset($INFO) && $item['id'] [all...] |
H A D | Login.php | 47 $form = new Form(['id' => 'dw__login', 'action' => wl($ID)]); 50 $form->setHiddenField('id', $ID); 53 $input = $form->addTextInput('u', $lang['user'])->id('focus__this')->addClass('edit') 63 $form->addCheckbox('r', $lang['remember'])->id('remember__me')->val('1');
|
H A D | MediaDiff.php | 32 * @param string $id media id 34 public function __construct($id) argument 36 if (!isset($id)) { 37 throw new InvalidArgumentException('media id should not be empty!'); 45 parent::__construct($id); 51 $this->changelog = new MediaChangeLog($this->id); 89 $this->is_img = preg_match('/\.(jpe?g|gif|png)$/', $this->id); 97 $meta = new JpegMeta(mediaFN($this->id, $rev)); 100 'previewSize' => media_image_preview_size($this->id, [all...] |
H A D | MediaRevisions.php | 23 * @param string $id id of media 25 public function __construct($id) argument 27 if (!$id) { 28 throw new InvalidArgumentException('media id should not be empty!'); 30 parent::__construct($id); 36 $this->changelog = new MediaChangeLog($this->id); 62 'id' => 'page__revisions', // must not be "media__revisions" 63 'action' => media_managerURL(['image' => $this->id], '&'), 82 } elseif (file_exists(mediaFN($this->id, [all...] |
H A D | PageDiff.php | 34 * @param string $id page id 36 public function __construct($id = null) argument 39 if (!isset($id)) $id = $INFO['id']; 45 parent::__construct($id); 51 $this->changelog = new PageChangeLog($this->id); 73 'text' => rawWiki($this->id), 82 'id' [all...] |
H A D | PageDraft.php | 28 $draft = new Draft($INFO['id'], $INFO['client']); 35 (new PageDiff($INFO['id']))->compareWith($text)->preference('showIntro', false)->show(); 38 $form = new Form(['id' => 'dw__editform']); 40 $form->setHiddenField('id', $INFO['id']); 44 $form->addTagOpen('div')->id('draft__status');
|
H A D | PageRevisions.php | 22 * @param string $id id of page 24 public function __construct($id = null) argument 27 if (!isset($id)) $id = $INFO['id']; 28 parent::__construct($id); 34 $this->changelog = new PageChangeLog($this->id); 63 'id' => 'page__revisions', 84 } elseif (page_exists($this->id, [all...] |
/dokuwiki/inc/Ui/Media/ |
H A D | Display.php | 117 $id = $this->mediaFile->getId(); 118 if (str_starts_with($id, $this->relativeDisplay)) { 119 $id = substr($id, strlen($this->relativeDisplay)); 121 return ltrim($id, ':');
|
H A D | DisplayRow.php | 18 $id = $this->mediaFile->getId(); 21 $jump = $this->scrollIntoView ? 'id="scroll__here"' : ''; 23 echo '<div title="' . $id . '" ' . $jump . '>'; 24 echo '<a id="h_:' . $id . '" class="' . $class . '">' . 30 $link = ml($id, '', true); 35 $link = wl('', ['do' => 'media', 'image' => $id, 'ns' => getNS($id)]); 41 $link = DOKU_BASE . 'lib/exe/mediamanager.php?delete=' . rawurlencode($id) . 43 echo ' <a href="' . $link . '" class="btn_media_delete" title="' . $id [all...] |