Lines Matching +full:run +full:- +full:script
5 * @license GPL 2 http://www.gnu.org/licenses/gpl-2.0.html
9 // must be run within Dokuwiki
17 $this->helper = $this->loadHelper('cleanup', false);
40 echo $this->locale_xhtml('intro');
43 if(empty($_REQUEST['run'])) {
44 $form = new Doku_Form(array('action' => script(), 'method' => 'post'));
45 $form->addHidden('id', $ID);
46 $form->addHidden('page', 'cleanup');
47 $form->addHidden('run', 'dry');
48 $form->addElement(form_makeButton('submit', 'admin', $this->getLang('preview')));
49 $form->printForm();
51 if($_REQUEST['run'] == 'real') {
52 $this->helper->run(true);
54 $this->helper->run();
58 foreach($this->helper->list as $file) {
62 …echo '<p>' . sprintf($this->getLang('sum'), count($this->helper->list), filesize_h($this->helper->…
64 if($_REQUEST['run'] == 'dry') {
65 $form = new Doku_Form(array('action' => script(), 'method' => 'post'));
66 $form->addHidden('id', $ID);
67 $form->addHidden('page', 'cleanup');
68 $form->addHidden('run', 'real');
69 $form->addElement(form_makeButton('submit', 'admin', $this->getLang('execute')));
70 $form->printForm();
72 echo '<p>' . $this->getLang('done') . '</p>';