Home
last modified time | relevance | path

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

12

/dokuwiki/inc/Action/
H A DEdit.php21 global $INFO;
22 if ($INFO['exists']) {
35 global $INFO;
38 if ($INFO['exists'] && !$INFO['writable']) {
47 global $INFO;
59 if ($INFO['exists']) {
74 } elseif (!$INFO['exists']) {
H A DDraft.php22 global $INFO;
23 if ($INFO['exists']) {
34 global $INFO;
35 if (!isset($INFO['draft']) || !file_exists($INFO['draft'])) throw new ActionException('edit');
H A DSave.php20 global $INFO;
21 if ($INFO['exists']) {
40 global $INFO;
51 && isset($INFO['meta']['date']['modified'])
52 && $INFO['meta']['date']['modified'] > $DATE
H A DRevisions.php26 global $INFO, $INPUT;
27 (new PageRevisions($INFO['id']))->show($INPUT->int('first', -1));
H A DSource.php27 global $INFO;
31 if ($INFO['exists']) {
H A DDiff.php38 global $INFO;
39 (new PageDiff($INFO['id']))->preference('showIntro', true)->show();
H A DDraftdel.php32 global $INFO, $ID;
33 $draft = new Draft($ID, $INFO['client']);
H A DConflict.php20 global $INFO;
21 if ($INFO['exists']) {
H A DSubscribe.php64 global $INFO;
97 hsc($INFO['userinfo']['name']),
108 hsc($INFO['userinfo']['name']),
127 global $INFO;
156 if ($INFO['userinfo']['mail'] === '') {
161 foreach ($INFO['subscribed'] as $subscr) {
H A DPreview.php40 global $ID, $INFO;
41 $draft = new Draft($ID, $INFO['client']);
H A DLocked.php41 global $INFO;
52 editorinfo($INFO['locked']) . '</div></li>';
/dokuwiki/inc/Ui/
H A DPageDraft.php25 global $INFO;
28 $draft = new Draft($INFO['id'], $INFO['client']);
35 (new PageDiff($INFO['id']))->compareWith($text)->preference('showIntro', false)->show();
40 $form->setHiddenField('id', $INFO['id']);
H A DPageConflict.php38 global $INFO;
47 $form->setHiddenField('id', $INFO['id']);
60 (new PageDiff($INFO['id']))->compareWith($this->text)->preference('showIntro', false)->show();
H A DPageView.php39 global $INFO;
57 if ($INFO['prependTOC']) $html = tpl_toc(true) . $html;
69 if ($INFO['prependTOC']) $html = tpl_toc(true) . $html;
H A DEditor.php33 global $INFO;
43 } elseif (!$INFO['exists']) {
51 $wr = $INFO['writable'] && !$INFO['locked'];
166 echo '<a href="' . DOKU_BASE . 'lib/exe/mediamanager.php?ns=' . $INFO['namespace'] . '" target="_blank">';
174 $draft = new Draft($ID, $INFO['client']);
H A DIndex.php111 global $INFO;
119 if (isset($INFO) && $item['id'] == $INFO['id'] && $ACT == 'index') {
H A DSubscribe.php24 global $INFO;
36 if ($INFO['subscribed'] === false) {
40 foreach ($INFO['subscribed'] as $sub) {
/dokuwiki/inc/Menu/Item/
H A DEdit.php17 global $INFO;
24 if ($INFO['writable']) {
26 if (!empty($INFO['draft'])) {
31 if (!$INFO['exists']) {
42 if (auth_quickaclcheck($INFO['id']) < AUTH_READ) throw new \RuntimeException("no permission to read");
H A DAdmin.php23 global $INFO;
24 if (!$INFO['ismanager']) return false;
H A DRevert.php16 global $INFO;
20 if (!$REV || !$INFO['writable'] || $INPUT->server->str('REMOTE_USER') === '') {
/dokuwiki/inc/
H A Dinfoutils.php33 global $INFO;
36 if ($conf['useacl'] && !$INFO['ismanager']) return;
175 global $INFO;
179 if ($INFO['isadmin'] || $INFO['ismanager']) {
280 if (!empty($INFO['userinfo']['name'])) {
284 $INFO['userinfo']['name']
286 msg('You are part of the groups ' . implode(', ', $INFO['userinfo']['grps']), 0);
291 msg('Your current permission for this page is ' . $INFO['perm'], 0);
293 if (file_exists($INFO['filepat
[all...]
H A Dtoolbar.php264 global $INFO;
271 if (is_null($INFO)) {
274 $sig = str_replace('@NAME@', $INFO['userinfo']['name'] ?? "", $sig);
275 $sig = str_replace('@MAIL@', $INFO['userinfo']['mail'] ?? "", $sig);
H A DDraft.php72 global $INPUT, $INFO, $EVENT_HANDLER, $conf;
96 $INFO['draft'] = $draft['cname'];
129 * Also sets $INFO['draft'] to null
133 global $INFO;
135 $INFO['draft'] = null;
H A Dtemplate.php98 global $INFO;
99 $INFO['prependTOC'] = $prependTOC;
146 global $INFO;
153 } elseif (($ACT == 'show' || str_starts_with($ACT, 'export')) && !$REV && $INFO['exists']) {
186 global $INFO;
204 if ($INFO['prependTOC']) tpl_toc();
229 global $INFO;
298 'href' => DOKU_BASE . 'feed.php?mode=list&ns=' . (isset($INFO) ? $INFO['namespace'] : '')
301 if (($ACT == 'show' || $ACT == 'search') && $INFO['writabl
[all...]
/dokuwiki/lib/exe/
H A Dmediamanager.php37 global $INFO, $JSINFO;
38 $INFO = empty($INFO) ? mediainfo() : array_merge($INFO, mediainfo()); variable
41 $AUTH = $INFO['perm']; // shortcut for historical reasons

12