Home
last modified time | relevance | path

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

12

/dokuwiki/inc/Action/
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 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 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 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 DConflict.php20 global $INFO;
21 if ($INFO['exists']) {
H A DLocked.php41 global $INFO;
52 editorinfo($INFO['locked']) . '</div></li>';
H A DPreview.php40 global $ID, $INFO;
41 $draft = new Draft($ID, $INFO['client']);
/dokuwiki/_test/tests/inc/
H A Dtemplate_tpl_get_action.php14 global $INFO;
19 $INFO['writable'] = true;
20 $INFO['exists'] = true;
21 $INFO['draft'] = '';
40 global $INFO;
45 $INFO['writable'] = true;
46 $INFO['exists'] = true;
47 $INFO['draft'] = '';
66 global $INFO;
71 $INFO['writable'] = true;
[all …]
H A Dtoolbar.test.php6 global $conf, $INFO, $INPUT;
10 $INFO['userinfo']['name'] = '/*!]]>*/</script><script>alert("\123\")</script>';
11 $INFO['userinfo']['mail'] = 'example@example.org';
/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 rea…
H A DAdmin.php16 global $INFO;
24 if (!isset($INFO) || !$INFO['ismanager']) {
H A DRevert.php16 global $INFO;
20 if (!$REV || !$INFO['writable'] || $INPUT->server->str('REMOTE_USER') === '') {
/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="_b…
174 $draft = new Draft($ID, $INFO['client']);
H A DIndex.php111 global $INFO;
119 if (isset($INFO) && $item['id'] == $INFO['id'] && $ACT == 'index') {
/dokuwiki/inc/
H A Dinfoutils.php33 global $INFO;
36 if ($conf['useacl'] && !$INFO['ismanager']) return;
232 global $INFO;
236 if ($INFO['isadmin'] || $INFO['ismanager']) {
337 if (!empty($INFO['userinfo']['name'])) {
341 $INFO['userinfo']['name']
343 msg('You are part of the groups ' . implode(', ', $INFO['userinfo']['grps']), 0);
348 msg('Your current permission for this page is ' . $INFO['perm'], 0);
350 if (file_exists($INFO['filepath']) && is_writable($INFO['filepath'])) {
352 } elseif (!file_exists($INFO['filepath']) && is_writable(dirname($INFO['filepath']))) {
[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);
/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
H A Ddetail.php9 global $INPUT, $INFO, $IMG, $ID, $REV, $SRC, $ERROR, $AUTH;
19 $INFO = array_merge(pageinfo(), mediainfo()); variable

12