Home
last modified time | relevance | path

Searched +full:draft -(+path:inc +path:lang) -(+path:lib +path:plugins +path:lang) -(+path:lib +path:tpl +path:dokuwiki +path:lang) (Results 1 – 25 of 27) sorted by relevance

12

/dokuwiki/inc/
H A DDraft.php8 * Class Draft
12 class Draft class
20 * Draft constructor.
22 * @param string $ID the page id for this draft
23 * @param string $client the client identification (username or ip or similar) for this draft
29 $this->cname = getCacheName("$client\n$ID", '.draft');
32 // remove stale draft
39 * Get the filename for this draft (whether or not it exists)
49 * Checks if this draft exists on the filesystem
59 * Save a draft of a current edit session
[all …]
H A DAjax.php125 * Refresh a page lock and save draft
143 'draft' => '',
156 $draft = new Draft($ID, $INFO['client']);
157 if ($draft->saveDraft()) {
158 $response['draft'] = $draft->getDraftMessage();
160 $response['errors'] = array_merge($response['errors'], $draft->getErrors());
166 * Delete a draft
179 $draft = new Draft($id, $client);
180 if ($draft->isDraftAvailable() && checkSecurityToken()) {
181 $draft->deleteDraft();
H A Dcommon.php11 use dokuwiki\Draft; alias
305 // draft
306 $draft = new Draft($ID, $info['client']);
307 if ($draft->isDraftAvailable()) {
308 $info['draft'] = $draft->getDraftFilename();
/dokuwiki/inc/Ui/
H A DPageDraft.php5 use dokuwiki\Draft; alias
9 * DokuWiki Page Draft Interface
16 * Display the Page Draft Form
17 * ask the user about how to handle an exisiting draft
28 $draft = new Draft($INFO['id'], $INFO['client']);
29 $text = $draft->getDraftText();
32 echo p_locale_xhtml('draft');
37 // create the draft form
41 $form->setHiddenField('date', $draft->getDraftDate());
45 $form->addHTML($draft->getDraftMessage());
[all …]
H A DEditor.php5 use dokuwiki\Draft; alias
174 $draft = new Draft($ID, $INFO['client']);
175 if ($draft->isDraftAvailable()) {
176 echo $draft->getDraftMessage();
/dokuwiki/inc/Action/
H A DDraftdel.php5 use dokuwiki\Draft; alias
11 * Delete a draft
24 * Delete an existing draft for the current page and user if any
33 $draft = new Draft($ID, $INFO['client']);
34 if ($draft->isDraftAvailable() && checkSecurityToken()) {
35 $draft->deleteDraft();
H A DPreview.php7 use dokuwiki\Draft; alias
36 * Saves a draft on preview
41 $draft = new Draft($ID, $INFO['client']);
42 if (!$draft->saveDraft()) {
43 $errors = $draft->getErrors();
H A DDraft.php10 * Class Draft
12 * Screen to see and recover a draft
17 class Draft extends AbstractAction class
35 … if (!isset($INFO['draft']) || !file_exists($INFO['draft'])) throw new ActionException('edit');
H A DRecover.php10 * Recover a draft
/dokuwiki/lib/scripts/
H A Dlocktimer.js6 draft: false, property
23 * @param {bool} draft Whether to save drafts
26 init: function(timeout,draft,edid){ argument
38 dw_locktimer.draft = draft;
53 * Add another field of the editform to be posted to the server when a draft is saved
60 …* Add a callback that is executed when the post request to renew the lock and save the draft retur…
63 …* to extend the page's lock and update the draft. When this request returns successfully, then the…
112 // POST everything necessary for draft saving
113 … if(dw_locktimer.draft && jQuery('#dw__editform').find('textarea[name=wikitext]').length > 0){
144 jQuery('#draft__status').html(data.draft);
H A Dedit.js196 * Delete the draft before leaving the page
209 // remove a possibly saved draft using ajax
220 * Activate "not saved" dialog, add draft deletion to page unload,
275 window.keepDraft = true; // needed to keep draft on page unload
/dokuwiki/inc/Menu/Item/
H A DEdit.php8 * Most complex item. Shows the edit button but mutates to show, draft and create based on
26 if (!empty($INFO['draft'])) {
27 $this->type = 'draft';
28 $this->params['do'] = 'draft';
59 'draft' => '03-draft_android-studio.svg',
/dokuwiki/_test/tests/inc/
H A Dcommon_pageinfo.test.php279 * check draft
311 // setup a draft, make it more recent than the current page
314 $draft = getCacheName($info['client']."\n".$ID,'.draft');
315 touch($draft, $rev + 10);
317 $info['draft'] = $draft;
320 $this->assertFileExists($draft);
322 // make the draft older than the current page
323 // - pageinfo should remove it and not return the 'draft' key
324 touch($draft,$rev - 10);
325 unset($info['draft']);
[all …]
H A Dtemplate_tpl_get_action.php21 $INFO['draft'] = '';
47 $INFO['draft'] = '';
73 $INFO['draft'] = '';
99 $INFO['draft'] = 'foobar';
103 'type' => 'draft',
107 'do' => 'draft',
124 $INFO['draft'] = '';
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Net/
H A DSFTP.php431 // http://tools.ietf.org/html/draft-ietf-secsh-filexfer-13#section-7.1
456 // http://tools.ietf.org/html/draft-ietf-secsh-filexfer-04#section-6.3
469 // https://datatracker.ietf.org/doc/html/draft-ietf-secsh-filexfer-13#section-8.1.1.3
492 // http://tools.ietf.org/html/draft-ietf-secsh-filexfer-04#section-5.2
501 // http://tools.ietf.org/html/draft-ietf-secsh-filexfer-05#section-5.2
631 <http://tools.ietf.org/html/draft-ietf-secsh-filexfer-13#section-5.1> states the following:
640 <http://tools.ietf.org/html/draft-ietf-secsh-filexfer-13#section-5.5> states the following;
649 …in draft-ietf-secsh-filexfer-13 would be quite impossible. As such, what \phpseclib3\Net\SFTP wou…
869 // http://tools.ietf.org/html/draft-ietf-secsh-filexfer-13#section-8.9
1094 // http://tools.ietf.org/html/draft-ietf-secsh-filexfer-13#section-8.1.2
[all …]
/dokuwiki/_test/tests/Action/
H A DActionTest.php55 array('Draft', AUTH_EDIT, array('exists' => true, 'ismanager' => false)),
64 array('Draft', AUTH_CREATE, array('exists' => false, 'ismanager' => false)),
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/
H A DRC4.php12 …* - {@link http://www.mozilla.org/projects/security/pki/nss/draft-kaukonen-cipher-arcfour-03.txt …
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/System/SSH/Agent/
H A DIdentity.php45 // See https://tools.ietf.org/html/draft-miller-ssh-agent-00#section-5.3
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/BaseCurves/
H A DMontgomery.php165 * See https://tools.ietf.org/html/draft-ietf-tls-curve25519-01#appendix-A.1.3
/dokuwiki/vendor/simplepie/simplepie/src/Content/Type/
H A DSniffer.php50 * Based on the rules in http://tools.ietf.org/html/draft-abarth-mime-sniff-06
/dokuwiki/vendor/geshi/geshi/src/geshi/
H A Dcobol.php13 * from the 2009 COBOL Draft Standard, Micro Focus, and GNU Cobol. The lists of
14 * these were found in the draft standard (Sections 8.9, 8.10, 8.11 and 8.12),
H A Dsystemverilog.php40 * IEEE1800-2009 Draft Standard in the format expected by
H A Dpowershell.php239 …DefaultNetworkCredentials|DefaultCredentials|CreateQualifiedName|Checkout|Draft|Published|IsPublis…
/dokuwiki/conf/
H A Ddokuwiki.php84 $conf['usedraft'] = 1; //automatically save a draft while editing (0|1)
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Net/SFTP/
H A DStream.php492 // -- http://tools.ietf.org/html/draft-ietf-secsh-filexfer-02#section-6.5

12