Home
last modified time | relevance | path

Searched +full:check +full:- +full:attr (Results 1 – 24 of 24) sorted by relevance

/dokuwiki/inc/Ui/
H A DEditor.php41 if ($INPUT->has('changecheck')) {
42 $check = $INPUT->str('changecheck');
45 $check = md5('');
47 $check = md5($TEXT);
49 $mod = (md5($TEXT) !== $check);
57 // check pseudo action 'source'
59 msg('Command disabled: source', -1);
67 $form->setHiddenField('id', $ID);
68 $form->setHiddenField('rev', $REV);
69 $form->setHiddenField('date', $DATE);
[all …]
H A DSearch.php31 $this->query = $QUERY;
32 $this->parsedQuery = ft_queryParser($Indexer, $QUERY);
33 $this->searchState = new SearchState($this->parsedQuery);
35 $this->pageLookupResults = $pageLookupResults;
36 $this->fullTextResults = $fullTextResults;
37 $this->highlight = $highlight;
47 $searchHTML = $this->getSearchIntroHTML($this->query);
49 $searchHTML .= $this->getSearchFormHTML($this->query);
51 $searchHTML .= $this->getPageLookupHTML($this->pageLookupResults);
53 $searchHTML .= $this->getFulltextResultsHTML($this->fullTextResults, $this->highlight);
[all …]
H A DRecent.php28 $this->first = $first;
29 $this->show_changes = $show_changes;
49 $first = $this->first;
51 $recents = $this->getRecents($first, $hasNext);
64 $form->addTagOpen('div')->addClass('no');
65 $form->setHiddenField('sectok', null);
66 $form->setHiddenField('do', 'recent');
67 $form->setHiddenField('id', $ID);
71 $this->addRecentItemSelector($form);
75 $form->addTagOpen('ul');
[all …]
/dokuwiki/_test/tests/Form/
H A DCheckableElementTest.php14 $form->addRadioButton('foo', 'label text first')->val('first')->attr('checked', 'checked');
15 $form->addRadioButton('foo', 'label text second')->val('second');
17 $html = $form->toHTML();
18 $pq = (new Document())->html($html);
20 $input = $pq->find('input[name=foo]');
21 $this->assertTrue($input->count() == 2);
23 $label = $pq->find('label');
24 $this->assertTrue($label->count() == 2);
26 $inputs = $pq->find('input[name=foo]');
27 $this->assertEquals('first', $inputs->get(0)->attr('value'));
[all …]
H A DInputElementTest.php12 $form->addTextInput('foo', 'label text')->val('this is text');
14 $html = $form->toHTML();
15 $pq = (new Document())->html($html);
17 $input = $pq->find('input[name=foo]');
18 $this->assertTrue($input->count() == 1);
19 $this->assertEquals('this is text', $input->attr('value'));
20 $this->assertEquals('text', $input->attr('type'));
22 $label = $pq->find('label');
23 $this->assertTrue($label->count() == 1);
24 $this->assertEquals('label text', $label->find('span')->text());
[all …]
H A DDropdownElementTest.php17 $element = $form->addDropdown('foo', $options, 'label text');
18 $this->assertEquals('first', $element->val());
19 $element->val('second');
20 $this->assertEquals('second', $element->val());
21 $element->val('nope');
22 $this->assertEquals('first', $element->val());
26 $element->options($options);
27 $this->assertEquals('first', $element->val());
28 $element->val('second');
29 $this->assertEquals('second', $element->val());
[all …]
/dokuwiki/_test/tests/test/
H A Dphpquery.test.php8 * Execute the simplest possible request and check the
14 $response = $request->execute();
16 … $this->assertEquals('DokuWiki', $response->queryHTML('meta[name="generator"]')->attr('content') );
/dokuwiki/.github/workflows/
H A DdeletedFiles.yml2 # It compares the current master with the data/deleted.files file and cleans the file from any re-i…
4 # unless they are already listed there or are excluded from the release archives (export-ignore in …
6 # Finally, the list of newly removed entries receives a header "# removed on $(date -I)" with the c…
12 - master
17 runs-on: ubuntu-latest
19 - name: Checkout
22 fetch-depth: 0
24 - name: Cleaning list from re-introduced files
26 for E in $(git ls-tree -r master --name-only); do
27 if (git check-attr export-ignore "$E" | grep -q "export-ignore: set"); then
[all …]
/dokuwiki/lib/scripts/
H A Dedit.js33 $btn.attr('title', label).attr('aria-controls', 'wiki__text');
35 $btn.attr('title', label + ' ['+key.toUpperCase()+']')
36 .attr('accessKey', key);
41 $btn.attr('id', id);
42 $ico.attr('id', id+'_ico');
49 $ico.attr('src', icon);
50 $ico.attr('alt', '');
51 $ico.attr('width', 16);
52 $ico.attr('height', 16);
82 $picker.attr('id', id).css('position', 'absolute');
[all …]
H A Dbehaviour.js5 * @param {bool} noaria supress aria-expanded state setting
9 if(!noaria) this.attr('aria-expanded', 'false');
17 * @param {bool} noaria supress aria-expanded state setting
21 if(!noaria) this.attr('aria-expanded', 'true');
30 * @param {bool} noaria supress aria-expanded state setting
77 scrollTop: $obj.offset().top - 100
124 * @link https://trackjs.com/blog/when-form-submit-is-not-a-function/
211 * Check that access to the data directory is properly secured
213 * A successful check (a 403 error was returned when loading the image) is saved
220 if (sessionStorage.getItem('dw-security-check:' + DOKU_BASE)) {
[all …]
H A Dmedia.js27 // The minimum height of the full-screen mediamanager in px
65 … $clicky.attr('src', DOKU_BASE + 'lib/images/' + (opening ? 'minus' : 'plus') + '.gif');
89 .on('click', '.qq-upload-file a', dw_mediamanager.details);
157 .attr('id', 'media__popup_content')
182 .attr('id', 'media__' + opt.id);
196 .attr('id', "media__" + opt.id + "btn" + (i + 1))
197 .attr('title', LANG['media' + text])
201 .attr('src', DOKU_BASE + 'lib/images/media_' + opt.id + '_' + text + '.png');
215 .attr('id', 'media__sendbtn')
216 .attr('type', 'button')
[all …]
H A Dfileuploaderextended.js77 // if set, will be used instead of qq-upload-list in template
80 template: '<div class="qq-uploader">' +
81 '<div class="qq-upload-drop-area"><span>' + LANG.media_drop + '</span></div>' +
82 '<div class="qq-upload-button">' + LANG.media_select + '</div>' +
83 '<ul class="qq-upload-list"></ul>' +
84 '<div class="qq-action-container">' +
85 …' <button class="qq-upload-action" type="submit" id="mediamanager__upload_button">' + LANG.media_…
86 …' <label class="qq-overwrite-check"><input type="checkbox" value="1" name="ow" class="dw__ow"> <s…
92 '<span class="qq-upload-file hidden"></span>' +
93 ' <input class="qq-upload-name-input edit" type="text" value="" />' +
[all …]
/dokuwiki/vendor/kissifrot/php-ixr/src/Message/
H A DMessage.php29 $this->message =& $message;
35 … // merged from WP #10698 - this method avoids the RAM usage of preg_replace on very large messages
36 $header = preg_replace('/<\?xml.*?\?' . '>/s', '', substr($this->message, 0, 100), 1);
37 $this->message = trim(substr_replace($this->message, $header, 0, 100));
38 if ('' == $this->message) {
43 $header = preg_replace('/^<!DOCTYPE[^>]*+>/i', '', substr($this->message, 0, 200), 1);
44 $this->message = trim(substr_replace($this->message, $header, 0, 200));
45 if ('' == $this->message) {
49 // Check that the root tag is valid
50 $root_tag = substr($this->message, 0, strcspn(substr($this->message, 0, 20), "> \t\r\n"));
[all …]
/dokuwiki/_test/core/
H A DphpQuery-onefile.php3 * phpQuery is a server-side, chainable, CSS3 selector driven
8 * @link http://phpquery-library.blogspot.com/
11 * @license http://www.opensource.org/licenses/mit-license.php MIT License
13 * @deprecated 2022-10-19
68 * The explicit original target of the event (Mozilla-specific).
76 * The original target of the event, before any retargetings (Mozilla-specific).
102 * Returns the name of the event (case-insensitive).
109 $this->$k = $v;
111 if (! $this->timeStamp)
112 $this->timeStamp = time();
[all …]
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Net/
H A DSFTP.php4 * Pure-PHP implementation of SFTP.
18 * if (!$sftp->login('username', 'password')) {
22 * echo $sftp->pwd() . "\r\n";
23 * $sftp->put('filename.ext', 'hello, world!');
24 * print_r($sftp->nlist());
30 * @license http://www.opensource.org/licenses/mit-license.html MIT License
40 * Pure-PHP implementations of SFTP.
122 …* The request ID exists in the off chance that a packet is sent out-of-order. Of course, this lib…
133 …* The request ID exists in the off chance that a packet is sent out-of-order. Of course, this lib…
139 private $packet_type = -1;
[all …]
/dokuwiki/inc/
H A Dmedia.php77 $meta->_parseAll();
82 $meta->deleteField($key);
84 $meta->setField($key, $val);
94 if ($meta->save()) {
99 $sizechange = $filesize_new - $filesize_old;
107 msg($lang['metasaveerr'], -1);
113 * check if a media is external source
127 * Check if a media item is public (eg, external URL or readable by @ALL)
177 $form->addTagOpen('div')->addClass('no');
178 $form->setHiddenField('img', $id);
[all …]
H A Dtemplate.php120 $router->getAction()->tplContent();
123 msg(hsc($e->getMessage()), -1);
165 $toc = $plugin->getTOC();
191 $class = $INPUT->str('page');
203 if (!is_array($TOC)) $TOC = $plugin->getTOC(); //if TOC wasn't requested yet
205 $plugin->html();
208 $admin->show();
273 'crossorigin' => 'use-credentials' // See issue #4322
278 $styleIni = $styleUtil->cssStyleini();
282 'name' => 'theme-color',
[all …]
/dokuwiki/lib/scripts/jquery/
H A Djquery-ui.min.js1 /*! jQuery UI - v1.14.1 - 2024-10-30
3-selection.js, effect.js, effects/effect-blind.js, effects/effect-bounce.js, effects/effect-clip.j…
6-"+t,e||(e=i,i=V.Widget),Array.isArray(e)&&(e=V.extend.apply(null,[{}].concat(e))),V.expr.pseudos[…
/dokuwiki/vendor/geshi/geshi/src/geshi/
H A Dbash.php4 * --------
13 * -------
15 * - Added loads of keywords and commands of GNU/Linux
16 * - Added support for parameters starting with a dash
18 * - Added description of extra language features (SF#1970248)
20 * - PARSER_CONTROL patch using SF #1788408 (BenBE)
22 * - Added a lot of keywords (BenBE / Jan G)
24 * - Added support for multiple object splitters
26 * - Added support for URLs
28 * - First Release
[all …]
H A Drsplus.php7 * - Benilton Carvalho (beniltoncarvalho@gmail.com)
8 * - Fernando Henrique Ferraz Pereira da Rosa (mentus@gmail.com)
16 * ——-
18 * - Add references to Sekhon’s R Package docs
20 * - First Release
22 * - Added functions from base packages (Benilton Carvalho - carvalho@bclab.org)
25 * ———-
36 * -------------------------
54 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
70 …'$.package_version', '$<-', '$<-.data.frame', 'abbreviate', 'abs', 'acos', 'acosh', 'addNA', 'addT…
[all …]
/dokuwiki/vendor/geshi/geshi/src/
H A Dgeshi.php3 * GeSHi - Generic Syntax Highlighter
26 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
31 * @copyright (C) 2004 - 2007 Nigel McNie, (C) 2007 - 2014 Benny Baumann
38 // their values - you never know when a value may change in a future
60 // Line numbers - use with enable_line_numbers()
111 // Note that if you change these, they should be as-is: i.e., don't
125 disabled by {@link GeSHi->enable_strict_mode()} */
153 @see GeSHi->optimize_regexp_list()
159 @see GeSHi->optimize_regexp_list()
167 define('GESHI_NUMBER_INT_CSTYLE', 2); //Default C-Style \d+[lL]?
[all …]
/dokuwiki/lib/plugins/extension/
H A DGuiExtension.php16 $this->extension = $extension;
23 $classes = $this->getClasses();
25 $html = "<section class=\"$classes\" data-ext=\"{$this->extension->getId()}\">";
28 $html .= $this->thumbnail();
29 $html .= '<span class="id" title="' . hsc($this->extension->getBase()) . '">' .
30 hsc($this->extension->getBase()) . '</span>';
31 $html .= $this->popularity();
35 $html .= $this->main();
39 $html .= $this->notices();
43 $html .= $this->details();
[all …]
/dokuwiki/vendor/simplepie/simplepie/src/
H A DSanitize.php6 * A PHP-Based RSS and Atom Feed Framework.
9 * Copyright (c) 2004-2022, Ryan Parman, Sam Sneddon, Ryan McCue, and contributors
37 * @copyright 2004-2016 Ryan Parman, Sam Sneddon, Ryan McCue
42 * @license http://www.opensource.org/licenses/bsd-license.php BSD License
55 * Used for data cleanup and post-processing
75 …'audio' => ['preload' => 'none'], 'iframe' => ['sandbox' => 'allow-scripts allow-same-origin'], 'v…
77 public $output_encoding = 'UTF-8';
113 $this->set_url_replacements(null);
118 $this->remove_div = (bool) $enable;
124 $this->image_handler = (string) $page;
[all …]
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/File/
H A DX509.php4 * Pure-PHP X.509 Parser
11 …* {@link http://web.archive.org/web/19961027104704/http://www3.netscape.com/eng/security/cert-exts…
17 * the certificate all together unless the certificate is re-signed.
21 * @license http://www.opensource.org/licenses/mit-license.html MIT License
43 * Pure-PHP X.509 Parser
97 * ie. a base64-encoded PEM with a header and a footer
123 * Auto-detect the format
137 const ATTR_ALL = -1; // All attribute values (array).
138 const ATTR_APPEND = -2; // Add a value.
139 const ATTR_REPLACE = -3; // Clear first, then add a value.
[all …]