Home
last modified time | relevance | path

Searched refs:INPUT (Results 1 – 25 of 83) sorted by last modified time

1234

/dokuwiki/lib/plugins/acl/
H A Dadmin.php65 global $INPUT;
71 if ($INPUT->str('ns') == '*') {
74 $this->ns = cleanID($INPUT->str('ns'));
77 if ($INPUT->str('current_ns')) {
78 $this->current_item = ['id' => cleanID($INPUT->str('current_ns')), 'type' => 'd'];
79 } elseif ($INPUT->str('current_id')) {
80 $this->current_item = ['id' => cleanID($INPUT->str('current_id')), 'type' => 'f'];
88 $who = trim($INPUT->str('acl_w'));
89 if ($INPUT->str('acl_t') == '__g__' && $who) {
91 } elseif ($INPUT
[all...]
/dokuwiki/lib/plugins/config/
H A Dadmin.php40 global $ID, $INPUT;
45 if (!$INPUT->bool('save') || !checkSecurityToken()) {
53 $ok = $this->configuration->updateSettings($INPUT->arr('config'));
/dokuwiki/inc/
H A Dpageutils.php37 /** @var Input $INPUT */
38 global $INPUT;
42 $id = $INPUT->str($param);
46 $request = $INPUT->server->str('REQUEST_URI');
56 PhpString::basename($INPUT->server->str('SCRIPT_FILENAME'));
57 } elseif ($INPUT->server->str('PATH_INFO')) {
58 $request = $INPUT->server->str('PATH_INFO');
59 } elseif ($INPUT->server->str('SCRIPT_NAME')) {
60 $script = $INPUT->server->str('SCRIPT_NAME');
61 } elseif ($INPUT
[all...]
H A Dparserutils.php788 global $conf, $config_cascade, $INPUT;
798 $ctime && !$INPUT->bool('purge') &&
H A Dtemplate.php188 global $INPUT;
191 $class = $INPUT->str('page');
236 /** @var Input $INPUT */
237 global $INPUT;
377 if ($conf['useacl'] && $INPUT->server->str('REMOTE_USER')) {
911 /** @var Input $INPUT */
912 global $INPUT;
914 if ($INPUT->server->str('REMOTE_USER')) {
1182 /** @var Input $INPUT */
1183 global $INPUT;
[all...]
H A Dtoolbar.php265 /** @var Input $INPUT */
266 global $INPUT;
270 $sig = str_replace('@USER@', $INPUT->server->str('REMOTE_USER'), $sig);
H A DMailer.class.php43 /* @var Input $INPUT */
44 global $INPUT;
64 $this->setHeader('X-DokuWiki-User', $INPUT->server->str('REMOTE_USER'));
656 /* @var Input $INPUT */
657 global $INPUT;
667 'BROWSER' => $INPUT->server->str('HTTP_USER_AGENT'),
672 'USER' => $INPUT->server->str('REMOTE_USER'),
686 'BROWSER' => hsc($INPUT->server->str('HTTP_USER_AGENT')),
691 'USER' => hsc($INPUT->server->str('REMOTE_USER')),
H A Dcommon.php108 /** @var Input $INPUT */
109 global $INPUT;
111 $user = $INPUT->server->str('REMOTE_USER');
127 /** @var Input $INPUT */
128 global $INPUT;
129 if (!$INPUT->server->str('REMOTE_USER')) return true; // no logged in user, no need for a check
131 if (is_null($token)) $token = $INPUT->str('sectok');
168 /* @var Input $INPUT */
169 global $INPUT;
175 if ($INPUT
[all...]
/dokuwiki/inc/parser/
H A Dcode.php26 global $INPUT;
34 if (strpos($INPUT->server->str('HTTP_USER_AGENT'), 'Windows') !== false) {
38 if ($this->_codeblock == $INPUT->str('codeblock')) {
H A Dxhtml.php658 global $INPUT;
669 if ($INPUT->has('codeblockOffset')) {
670 $offset = $INPUT->str('codeblockOffset');
/dokuwiki/lib/exe/
H A Djs.php41 global $INPUT;
44 $tpl = trim(preg_replace('/[^\w-]+/', '', $INPUT->str('t')));
H A Dmediamanager.php13 global $INPUT;
17 if ($INPUT->str('msg1')) msg(hsc($INPUT->str('msg1')), 1);
18 if ($INPUT->str('err')) msg(hsc($INPUT->str('err')), -1);
22 if ($INPUT->str('delete')) {
23 $DEL = cleanID($INPUT->str('delete'));
26 } elseif ($INPUT->str('edit')) {
27 $IMG = cleanID($INPUT->str('edit'));
29 } elseif ($INPUT
[all...]
/dokuwiki/inc/Menu/Item/
H A DProfile.php15 global $INPUT;
18 if (!$INPUT->server->str('REMOTE_USER')) {
H A DRegister.php15 global $INPUT;
18 if ($INPUT->server->str('REMOTE_USER')) {
/dokuwiki/inc/Subscriptions/
H A DBulkSubscriptionSender.php35 /** @var Input $INPUT */
36 global $INPUT;
43 $olduser = $INPUT->server->str('REMOTE_USER');
62 $INPUT->server->set('REMOTE_USER', $user);
89 ($INPUT->server->str('REMOTE_USER') === $rev['user'] ||
126 $INPUT->server->set('REMOTE_USER', $olduser);
/dokuwiki/inc/Ui/
H A DDiff.php95 global $INPUT;
98 if ($INPUT->has('rev')) {
99 $this->rev1 = $INPUT->int('rev');
108 $revs = $INPUT->arr('rev2', []);
H A DEditor.php27 global $INPUT;
41 if ($INPUT->has('changecheck')) {
42 $check = $INPUT->str('changecheck');
79 'target' => ($INPUT->has('target') && $wr) ? $INPUT->str('target') : 'section',
93 if ($INPUT->has('hid')) {
94 $form->setHiddenField('hid', $INPUT->str('hid'));
96 if ($INPUT->has('codeblockOffset')) {
97 $form->setHiddenField('codeblockOffset', $INPUT->str('codeblockOffset'));
127 if ($conf['useacl'] && $INPUT
[all...]
H A DSubscribe.php23 global $INPUT;
91 $value = (array_key_exists($INPUT->post->str('sub_target'), $targets)) ?
92 $INPUT->str('sub_target') : key($targets);
101 $value = (array_key_exists($INPUT->post->str('sub_style'), $styles)) ?
102 $INPUT->str('sub_style') : key($styles);
/dokuwiki/inc/Action/Exception/
H A DActionException.php35 global $INPUT;
38 if (strtolower($INPUT->server->str('REQUEST_METHOD')) == 'post') {
/dokuwiki/lib/plugins/revert/
H A Dadmin.php54 global $INPUT;
60 if (is_array($INPUT->param('revert')) && checkSecurityToken()) {
61 $this->revertEdits($INPUT->arr('revert'), $INPUT->str('filter'));
62 } elseif ($INPUT->has('filter')) {
63 $this->listEdits($INPUT->str('filter'));
72 global $lang, $INPUT;
75 echo '<input type="text" name="filter" class="edit" value="' . hsc($INPUT->str('filter')) . '" /> ';
/dokuwiki/inc/Action/
H A DRecent.php28 global $INPUT;
29 $show_changes = $INPUT->str('show_changes');
41 global $INPUT;
42 (new Ui\Recent($INPUT->extract('first')->int('first'), $this->showType))->show();
H A DRevisions.php26 global $INFO, $INPUT;
27 (new PageRevisions($INFO['id']))->show($INPUT->int('first', -1));
H A DSave.php41 global $INPUT;
58 saveWikiText($ID, con($PRE, $TEXT, $SUF, true), $SUM, $INPUT->bool('minor')); //use pretty mode for con
H A DSearch.php38 global $QUERY, $ID, $conf, $INPUT;
41 if ($ID !== $conf['start'] && !$INPUT->has('q')) {
42 parse_str($INPUT->server->str('QUERY_STRING'), $urlParts);
68 global $INPUT, $QUERY;
69 $after = $INPUT->str('min');
70 $before = $INPUT->str('max');
72 $this->fullTextResults = ft_pageSearch($QUERY, $highlight, $INPUT->str('srt'), $after, $before);
83 global $conf, $INPUT, $QUERY, $ID;
85 if ($INPUT->bool('sf')) {
/dokuwiki/lib/plugins/logviewer/
H A Dadmin.php30 global $INPUT;
33 $this->facility = $INPUT->str('facility');
38 $this->date = $INPUT->str('date');

1234