Searched refs:draft (Results 1 – 10 of 10) sorted by relevance
/dokuwiki/inc/ |
H A D | Draft.php | 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 61 * The draft will not be saved if 68 * @return bool whether has the draft been saved 82 $draft [all...] |
H A D | Ajax.php | 125 * 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 [all...] |
H A D | common.php | 301 // draft 302 $draft = new Draft($ID, $info['client']); 303 if ($draft->isDraftAvailable()) { 304 $info['draft'] = $draft->getDraftFilename();
|
/dokuwiki/inc/Action/ |
H A D | Draftdel.php | 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 D | Preview.php | 36 * Saves a draft on preview 41 $draft = new Draft($ID, $INFO['client']); 42 if (!$draft->saveDraft()) { 43 $errors = $draft->getErrors();
|
/dokuwiki/inc/Ui/ |
H A D | PageDraft.php | 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());
|
H A D | Editor.php | 174 $draft = new Draft($ID, $INFO['client']); 175 if ($draft->isDraftAvailable()) { 176 echo $draft->getDraftMessage();
|
/dokuwiki/lib/scripts/ |
H A D | locktimer.js | 6 draft: false, property in dw_locktimer 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 returns successfully 63 * to extend the page's lock and update the draft. When this request returns successfully, then the draft__status 112 // POST everything necessary for draft saving 113 if(dw_locktimer.draft [all...] |
/dokuwiki/inc/lang/id/ |
H A D | draft.txt | 3 Proses pengeditan Anda sebelumnya tidak selesai dengan sempurna. DokuWiki secara otomatis meyimpan draft yang dapat Anda pakai untuk melanjutkan pengeditan. Dibawah ini Anda dapat melihat data yang disimpan pada sesi sebelumnya. 5 Silahkan pilih jika Anda ingin //recover// sesi pengeditan terakhir atau //hapus// draft, atau //batalkan// proses pengeditan.
|
/dokuwiki/inc/lang/en/ |
H A D | draft.txt | 3 Your last edit session on this page was not completed correctly. DokuWiki automatically saved a draft during your work which you may now use to continue your editing. Below you can see the data that was saved from your last session. 5 Please decide if you want to //recover// your lost edit session, //delete// the autosaved draft or //cancel// the editing process.
|