Home
last modified time | relevance | path

Searched refs:INPUT (Results 1 – 25 of 475) sorted by relevance

12345678910>>...19

/plugin/tagfilter/_test/
Dajax.test.php25 global $INPUT;
28 $INPUT->set('id', 0);
29 $INPUT->set('form', json_encode(array()));
30 $INPUT->set('ns', json_encode('test:plugin_tagfilter:tags'));
31 $INPUT->set('flags', json_encode(array()));
32 $INPUT->set('pagesearch', json_encode(array()));
52 global $INPUT;
54 $INPUT->set('id', 0);
55 $INPUT->set('form', '[["cat1:blorg","cat2:a","cat3:1","cat2:b","cat3:2"]]');
56 $INPUT->set('ns', json_encode('test:plugin_tagfilter:tags'));
[all …]
/plugin/settingstree/
Daction.php31 global $INPUT; //available since release 2012-10-13 "Adora Belle"
35 switch($INPUT->str('operation')){
41 switch ($INPUT->str('showtype','normal')){
44 …'html' => $helper->showExportHtml($INPUT->str('pluginname'),':'.ltrim($INPUT->str('path'),':'),$IN…
45 'path'=> ':'.ltrim($INPUT->str('path'),':'),
51 'html' => $helper->showHtml($INPUT->str('pluginname'),':'.ltrim($INPUT->str('path'),':')),
52 'path'=> ':'.ltrim($INPUT->str('path'),':')
62 $data = array('html' => $helper->showHierarchy($INPUT->str('pluginname'),$INPUT->str('key')));
70 …$html = $helper->saveLevel($INPUT->str('pluginname'),':'.ltrim($INPUT->str('path'),':'),$INPUT->ar…
80 …$html = $helper->exportLevel($INPUT->str('pluginname'),':'.ltrim($INPUT->str('path'),':'),$INPUT->…
[all …]
/plugin/indexmenu/
Daction.php85 global $INPUT;
102 if ($INPUT->server->str('REMOTE_USER')) {
103 $newkey = $INPUT->server->str('REMOTE_USER');
177 global $INPUT;
178 switch ($INPUT->str('req')) {
186 if ($INPUT->has('id')) {
187 echo $this->printToc($INPUT->str('id'));
194 if ($INPUT->has('idx')) {
195 echo $this->printIndex($INPUT->str('idx'));
213 global $INPUT;
[all …]
/plugin/explorertree/
Daction.php31 global $INPUT; //available since release 2012-10-13 "Adora Belle"
35 switch($INPUT->str('operation')){
41 if (!($route = $helper->loadRoute($INPUT->str('route'),$INPUT->arr('loader')))){
42 $data = array('error'=>true,'msg'=>"Can't load route '".$INPUT->str('route')."'!");
44 …$data = array('html' => $helper->htmlExplorer($INPUT->str('route'),ltrim(':'.$INPUT->str('itemid')…
52 $route = $helper->loadRoute($INPUT->str('route'),$INPUT->arr('loader'));
53 if (!$route || !is_callable(@$route['callbacks'][$INPUT->str(event)])) {
54 …data = array('error'=>true,'msg'=>"Can't load callback '".$INPUT->str('event')."'for '".$INPUT->st…
56 …$data = @call_user_func_array($route['callbacks'][$INPUT->str(event)],array($INPUT->str('itemid'))…
57 …if (!is_array($data)) $data = array('error'=>true,'msg'=>"Callback for '".$INPUT->str('event')."' …
[all …]
/plugin/virtualgroup/
Dadmin.php27 global $INPUT;
30 if ($INPUT->has('addusergroups')) {
31 $this->addUserGroups($INPUT->str('user'), $INPUT->str('groups'));
32 } elseif ($INPUT->has('addgroupusers')) {
33 $this->addGroupUsers($INPUT->str('group'), $INPUT->str('users'));
34 } elseif ($INPUT->has('deleteuser')) {
35 $this->deleteUser($INPUT->str('user'));
36 } elseif ($INPUT->has('deletegroup')) {
37 $this->deleteGroup($INPUT->str('group'));
38 } elseif ($INPUT->has('editusergroups')) {
[all …]
/plugin/loglog/
Daction.php124 global $INPUT;
126 $page = $INPUT->str('page');
228 global $INPUT;
232 $this->logAdmin([$INPUT->str('act') . ' ' . $INPUT->str('ext')], 'extension');
243 global $INPUT;
246 if ($INPUT->str('page') === 'config'
247 && $INPUT->bool('save') === true
248 && !empty($INPUT->arr('config'))
254 if ($INPUT->str('page') === 'extension') {
255 if ($INPUT->post->has('fn')) {
[all …]
/plugin/swiftmail/
Dadmin.php24 global $INPUT;
26 if(!$INPUT->bool('send')) return;
33 if($INPUT->str('to')) $mail->to($INPUT->str('to'));
34 if($INPUT->str('cc')) $mail->to($INPUT->str('cc'));
35 if($INPUT->str('bcc')) $mail->to($INPUT->str('bcc'));
52 global $INPUT;
63 $form->addElement(form_makeField('text', 'to', $INPUT->str('to'), 'To:', '', 'block'));
64 $form->addElement(form_makeField('text', 'cc', $INPUT->str('cc'), 'Cc:', '', 'block'));
65 $form->addElement(form_makeField('text', 'bcc', $INPUT->str('bcc'), 'Bcc:', '', 'block'));
/plugin/smtp/
H A Dadmin.php24 global $INPUT;
26 if(!$INPUT->bool('send')) return;
33 if($INPUT->str('to')) $mail->to($INPUT->str('to'));
34 if($INPUT->str('cc')) $mail->cc($INPUT->str('cc'));
35 if($INPUT->str('bcc')) $mail->bcc($INPUT->str('bcc'));
52 global $INPUT;
63 $form->addElement(form_makeField('text', 'to', $INPUT->str('to'), 'To:', '', 'block'));
64 $form->addElement(form_makeField('text', 'cc', $INPUT->str('cc'), 'Cc:', '', 'block'));
65 $form->addElement(form_makeField('text', 'bcc', $INPUT->str('bcc'), 'Bcc:', '', 'block'));
/plugin/advanced/admin/
Dexport.php40 global $INPUT;
42 if (!$INPUT->has('cmd')) {
50 $cmd = $INPUT->extract('cmd')->str('cmd');
62 global $INPUT;
89 global $INPUT;
91 $step = $INPUT->extract('export')->str('export');
160 global $INPUT;
165 $namespace = str_replace(':', '/', $INPUT->str('ns'));
173 … $pages = $this->getPagesFromNamespace($INPUT->str('ns'), ($INPUT->str('include-sub-ns') ? 1 : 0));
176 echo sprintf('<input type="hidden" value="%s" name="ns" />', $INPUT->str('ns'));
[all …]
/plugin/tagging/action/
H A Dmain.php110 global $INPUT;
111 $tags = $INPUT->arr('tag', (array)$INPUT->str('tag'));
112 $lang = $INPUT->str('lang');
141 global $INPUT;
147 $data = $INPUT->arr('tagging');
174 global $INPUT;
179 $search = $INPUT->str('term');
195 global $INPUT;
212 if (!$INPUT->has('id')) {
216 $pid = $INPUT->str('id');
[all …]
/plugin/fksnewsfeed/
Daction.php44 global $INPUT;
53 switch ($INPUT->param('news')['do']) {
65 global $INPUT;
74 switch ($INPUT->param('news')['do']) {
108 global $INPUT;
109 if (!$INPUT->str('news-id')) {
113 $newsId = $INPUT->str('news-id');
140 global $INPUT;
141 $file = ModelNews::getCacheFileById($INPUT->param('news')['id']);
148 $data[$field] = cleanText($INPUT->str('text'));
[all …]
/plugin/bpmnioeditor/action/
Dbpmnioeditor.php81 global $INPUT;
101 if(file_exists(mediaFN($INPUT->str('name')))){
107 if(strlen($INPUT->str('name')) > 0){
108 if(auth_quickaclcheck(cleanID(substr($INPUT->str('name'), 0, -5))) >= $checkFor){
114 …if(strlen($INPUT->str('name')) > 0 && strlen($INPUT->str('type')) > 0 && array_key_exists($INPUT->…
115 …if(auth_quickaclcheck(cleanID(substr($INPUT->str('name'), 0, -5))) >= $authLookup[$INPUT->str('typ…
124 global $INPUT;
127 $ID = cleanID($INPUT->str('name'));
132 file_put_contents($conf['tmpdir'].'/'.$tmpFilename, $INPUT->str('newXML'));
135 'name' => $INPUT->str('name'),
/plugin/captcha/
Daction.php62 global $INPUT;
69 return $INPUT->bool('save');
89 global $INPUT;
96 $INPUT->post->set('save', false);
130 global $INPUT;
132 if (!$INPUT->bool('u')) return; // this login was not triggered by a form
153 global $INPUT;
159 if (!$this->getConf('forusers') && $INPUT->server->str('REMOTE_USER')) {
176 global $INPUT;
191 if (!$this->getConf('forusers') && $INPUT->server->str('REMOTE_USER')) {
[all …]
/plugin/tablelayout/action/
Daction.php45 global $INPUT;
50 if (is_a($form, \dokuwiki\Form\Form::class) && $INPUT->str('target') === 'table') {
51 $form->setHiddenField('tablelayout', $INPUT->str('tablelayout'));
55 $form->addHidden('tablelayout', $INPUT->str('tablelayout'));
61 global $TEXT, $INPUT;
67 $newSyntax = $helper->buildSyntaxFromJSON($INPUT->str('tablelayout'));
73 if ($INPUT->post->has('edittable__new')) {
76 $newSyntax = $helper->buildSyntaxFromJSON($INPUT->str('tablelayout'));
83 if ($INPUT->post->has('edittable__new')) {
86 $INPUT->post->set('tablelayout', json_encode(array(
[all …]
/plugin/blogtng/action/
Dnew.php42 global $TEXT, $INPUT;
49 if(!$INPUT->str('new-title')){
55 $newId = $tools->mkpostid($INPUT->str('new-format'), $INPUT->str('new-title'));
60 'post-blog' => $INPUT->post->str('post-blog'),
61 'post-tags' => $INPUT->post->str('post-tags'),
62 'post-commentstatus' => $INPUT->post->str('post-commentstatus'),
63 'new-format' => $INPUT->post->str('new-format'),
64 'new-title' => $INPUT->post->str('new-title')
69 $TEXT = $this->prepareTemplateNewEntry($newId, $INPUT->str('new-title'));
/plugin/custombuttons/
Dadmin.php59 global $INPUT;
61 if ($INPUT->has('add')) {
69 if ($INPUT->str('pretag') != '' && $INPUT->str('posttag') != '') {
73 'label' => $INPUT->str('label'),
74 'code' => $INPUT->str('code'),
76 'pretag' => $INPUT->str('pretag'),
77 'posttag' => $INPUT->str('posttag'),
78 'icon' => $INPUT->str('icon'),
83 } elseif ($INPUT->has('delete')) {
87 unset($conf[$INPUT->int('delete')]);
/plugin/bookcreator/action/
Dexport.php55 global $INPUT;
57 if($INPUT->has('selection')) {
59 $list = json_decode($INPUT->str('selection', '', true), true);
63 } elseif($INPUT->has('savedselection')) {
67 … $savedselection = $SelectionHandling->loadSavedSelection($INPUT->str('savedselection'));
69 } elseif($INPUT->has('book_ns')) {
90 if(!$INPUT->bool('book_skipforbiddenpages') && !empty($skippedpages)) {
115 global $INPUT, $conf;
117 $pdfnamespace = cleanID($INPUT->str('book_ns'));
123 $order = $INPUT->str('book_order', 'natural', true);
[all …]
/plugin/twofactor/action/
Dprofile.php37 global $INPUT;
40 if (!$INPUT->server->has('REMOTE_USER')) return;
69 global $INPUT;
72 if (!$INPUT->server->has('REMOTE_USER')) {
78 if (strtolower($INPUT->server->str('REQUEST_METHOD')) == 'post') {
98 global $INPUT;
103 if ($INPUT->has('twofactor_setup')) {
122 global $INPUT;
126 if ($INPUT->has('twofactor_optout') && $this->getConf('optinout') === 'optout') {
127 $manager->userOptOutState($INPUT->bool('optout'));
[all …]
Dresendpwd.php51 global $INPUT;
52 if ($INPUT->has('pwauth')) return; // we're already in token phase, don't interrupt
53 if (!$INPUT->str('login')) return; // no user given yet, don't interrupt
55 $user = $INPUT->str('login');
62 $code = $INPUT->post->str('2fa_code');
63 $providerID = $INPUT->post->str('2fa_provider');
93 global $INPUT;
95 $providerID = $INPUT->post->str('2fa_provider');
102 $form->setHiddenField('login', $INPUT->str('login'));
/plugin/watchcycle/helper/
Ddb.php54 global $INPUT;
59 if ($INPUT->str('filter') != '') {
61 $q_args[] = '%' . $INPUT->str('filter') . '%';
63 if ($INPUT->has('outdated')) {
72 if ($INPUT->has('sortby') && in_array($INPUT->str('sortby'), $headers)) {
73 $q .= ' ORDER BY ' . $INPUT->str('sortby');
74 if ($INPUT->int('desc') == 1) {
/plugin/siteexport/action/
Daggregate.php32 global $ID, $INFO, $conf, $INPUT;
37 …eexport']) && $INFO['meta']['siteexport']['hasaggregator'] == true) && ( $INPUT->has( 'siteexport_…
39 $exportBase = $INPUT->str('baseID');
59 if ( $INPUT->bool('exportSelectedVersionOnly' ) ) {
62 if ( $INPUT->has( 'mergecompare_start' ) && $INPUT->has( 'mergecompare_end' ) ) {
63 …ctions->__getOrderedListOfPagesForStartEnd($lookupNS, $INPUT->int( 'mergecompare_start' ), $INPUT-…
69 $includeSelected = $INPUT->str('includeSelectedVersion', 'true', true ) === 'true';
91 if( $INPUT->bool('mergehint', true, true ) ) {
120 $renderer = $INPUT->str('renderer', $conf['renderer_xhtml'], true);
121 $INPUT->set('do', 'export_' . $renderer);
/plugin/siteexport/inc/
Dsettings.php48 global $ID, $conf, $INPUT;
51 $debugLevel = $INPUT->int('debug', -1, true);
62 $this->pattern = $INPUT->str('pattern');
72 if ( $INPUT->has( 'disableCache' ) ) {
88 $this->exportLinkedPages = $INPUT->bool( 'exportLinkedPages', true );
90 $this->namespace = $functions->getNamespaceFromID( $INPUT->str('ns'), $PAGE );
91 $this->addParams = $INPUT->bool( 'addParams' );
93 $this->useTOCFile = $INPUT->bool( 'useTocFile' );
98 $ens = $INPUT->str( 'ens' );
103 $this->defaultLang = $INPUT->str( 'defaultLang', $conf['lang'], true );
[all …]
/plugin/issuelinks/action/
Dajax.php61 global $INPUT, $INFO;
67 $serviceId = $INPUT->str('servicename');
73 $project = $INPUT->str('project');
75 if ($INPUT->has('hookid')) {
76 $response = $service->deleteWebhook($project, $INPUT->str('hookid'));
106 global $INPUT;
112 $serviceId = $INPUT->str('servicename');
113 $organisation = $INPUT->str('org');
189 global $INPUT;
190 $serviceName = $INPUT->str('servicename');
[all …]
/plugin/structodt/
Daction.php93 global $INPUT;
96 $method = 'action_' . $INPUT->str('action');
151 global $INPUT;
159 $templates = json_decode($INPUT->str('template'));
160 $ext = $INPUT->str('filetype');
170 $schema = $INPUT->str('schema');
171 $pid = $INPUT->str('pid');
172 $rev = $INPUT->str('rev');
173 $rid = $INPUT->str('rid');
174 $filename = $INPUT->str('filename');
[all …]
/plugin/prosemirror/action/
Dajax.php51 global $INPUT, $ID;
52 $ID = $INPUT->str('id');
54 foreach ($INPUT->arr('actions') as $action) {
57 $inner = $INPUT->str('inner');
61 $inner = $INPUT->str('inner');
66 $attrs = $INPUT->arr('attrs');
80 $image = $INPUT->arr('image');
93 $attrs = json_decode($INPUT->str('attrs'), true);
146 global $INPUT, $ID;
147 $ID = $INPUT->str('id');
[all …]

12345678910>>...19