Lines Matching +full:- +full:- +full:name +full:- +full:only
9 * @license GPL 2 http://www.gnu.org/licenses/gpl-2.0.html
25 * @return bool true if only access for superuser, false is for superusers and moderators
38 $run = $INPUT->extract('run')->str('run');
42 $this->$run();
51 if ($this->ispopup) $class = 'ispopup page';
54 echo '<h1>' . $this->getLang('menu') . '</h1>';
55 $this->form();
68 $styleini = $styleUtil->cssStyleini();
71 if ($this->ispopup) {
78 echo '<p class="error">' . $this->getLang('error') . '</p>';
80 echo $this->locale_xhtml('intro');
87 $name = tpl_getLang($key);
88 if (empty($name)) $name = $this->getLang($key);
89 if (empty($name)) $name = $key;
92 echo '<td><label for="tpl__' . hsc($key) . '">' . $name . '</label></td>';
93 … echo '<td><input type="' . $this->colorType($value) . '" name="tpl[' . hsc($key) . ']" ' .
94 'id="tpl__' . hsc($key) . '" value="' . hsc($this->colorValue($value)) . '" ' .
101 echo '<button type="submit" name="run[preview]" class="btn_preview primary">' .
102 $this->getLang('btn_preview') . '</button> ';
103 #FIXME only if preview.ini exists:
104 … echo '<button type="submit" name="run[reset]">' . $this->getLang('btn_reset') . '</button>';
108 …echo '<button type="submit" name="run[save]" class="primary">' . $this->getLang('btn_save') . '</b…
112 #FIXME only if local.ini exists:
113 … echo '<button type="submit" name="run[revert]">' . $this->getLang('btn_revert') . '</button>';
130 if (preg_match('/^#([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])$/', $value, $match)) {
144 if (preg_match('/^#([0-9a-fA-F]{3}){1,2}$/', $value)) {
158 io_saveFile($ini, $this->makeini());
176 $this->replaceIni('');
177 $this->runReset();
185 $this->replaceIni($this->makeini());
186 $this->runReset();
201 foreach ($INPUT->arr('tpl') as $key => $val) {