Lines Matching refs:this

18         $this->output = '';

28 $tplns = $this->getConf('default_tplns');
31 $this->help = false;
34 $this->output = 'submit';
37 $this->output = "The -p (--page) option requires a template";
51 $this->output = shell_exec(NEWPAGETPL_CMDL . $cmdL) ;
52 $this->help = true;
66 $this->output = shell_exec(NEWPAGETPL_CMDL . $cmdL) ;
67 $this->help = true;
69 $this->output = preg_replace("/\n+/","<br />", $this->output);
72 $this->help = true;
73 $this->output = shell_exec(NEWPAGETPL_CMDL .'-h') ;
74 $this->output = preg_replace("/\n\n/","<br />", htmlentities($this->output));
75 $this->output = preg_replace("/(-\w\,\s+--\w+)/","<span style='color:blue;'>$1</span>",$this->output);
76 $this->output = preg_replace("/browser]]/","browser]]",$this->output);
77 $this->output = preg_replace("/OPTIONS:/","OPTIONS:<br />",$this->output);
78 $this->output = preg_replace("/https:\/\/www.dokuwiki.org\/plugin:newpagetemplate/",
80 'https://www.dokuwiki.org/plugin:newpagetemplate</a>',$this->output);
93 ptln('<button style = "float:right;" onclick="nptpl_toggle(\'#nptpl_howto\')">' . $this->getLang('close'). '</button>&nbsp;' . $this->locale_xhtml('howto'));
94 ptln('<button style = "float:right" onclick="nptpl_toggle(\'#nptpl_howto\')">' . $this->getLang('close'). '</button>&nbsp;<br /><br /></div>');
97 // output hidden values to ensure dokuwiki will return back to this plugin
99 ptln(' <input type="hidden" name="page" value="' . $this->getPluginName() . '" />');
103 ptln($this->getLang('select-ini') .': <select name="ini_file">');
104 $ini_files = $this->ini_files();
109 ptln($this->getLang('templ') .': <select name="tpl_file">');
110 $tpls = $this->templates();
114 ptln($this->getLang('page') .':&nbsp;<input type="textbox" name="id"/>&nbsp;&nbsp;');
115 ptln($this->getLang('userrelpl') . ':&nbsp;<input type="textbox" name="userrelpl"/>');
117 ptln('<div style="line-height:2"><input type="submit" name="cmd[submit]" value="' . $this->getLang('btn_submit') . '" />');
119 ptln('<input type = "button" onclick=" nptpl_toggle(\'#nptpl_howto\')" value ="'. $this->getLang('howto') .'">&nbsp;');
120 ptln('<input type="submit" name="cmd[help]" value="' . $this->getLang('btn_help') . '" /></div>');
121 ptln('<div>'.$this->getLang('nosave') . '&nbsp;<input type="radio" checked name="nosave" value = "true"/>&nbsp;');
122 ptln($this->getLang('overwrite') . '&nbsp;<input type="radio" name="nosave" value = "false"/>&nbsp;');
123 ptln($this->getLang('existing') . '&nbsp;<input type="radio" name="nosave" value="existing"/></div>');
127 if($this->help) {
132 ptln('<br /><div id="nptpl_output" style="display:'. $display .'; border:1px black solid;padding:12px 12px 12px 8px;height:400px;overflow:auto;">' . $this->output);
133 ptln('<button style = "display:'. $display .';" onclick=" nptpl_toggle(\'#nptpl_output\')">'. $this->getLang('close') .'</button>&nbsp;');
141 $opt_str = "<option value = 'none'>".$this->getLang('no_selection')."</option>";
150 $tplns = $this->getConf('default_tplns');
153 $opt_str = "<option value='none'>".$this->getLang('no_selection')."</option>";