@@ 290-293 (lines=4) @@ | ||
287 | )); |
|
288 | break; |
|
289 | ||
290 | case 'password': |
|
291 | $myts = \Xoops\Core\Text\Sanitizer::getInstance(); |
|
292 | $ele = new Xoops\Form\Password($title, $obj[$i]->getVar('conf_name'), 32, 255, $myts->htmlSpecialChars($obj[$i]->getConfValueForOutput())); |
|
293 | break; |
|
294 | ||
295 | case 'color': |
|
296 | $myts = \Xoops\Core\Text\Sanitizer::getInstance(); |
|
@@ 295-298 (lines=4) @@ | ||
292 | $ele = new Xoops\Form\Password($title, $obj[$i]->getVar('conf_name'), 32, 255, $myts->htmlSpecialChars($obj[$i]->getConfValueForOutput())); |
|
293 | break; |
|
294 | ||
295 | case 'color': |
|
296 | $myts = \Xoops\Core\Text\Sanitizer::getInstance(); |
|
297 | $ele = new Xoops\Form\ColorPicker($title, $obj[$i]->getVar('conf_name'), $myts->htmlSpecialChars($obj[$i]->getConfValueForOutput())); |
|
298 | break; |
|
299 | ||
300 | case 'hidden': |
|
301 | $myts = \Xoops\Core\Text\Sanitizer::getInstance(); |
|
@@ 300-303 (lines=4) @@ | ||
297 | $ele = new Xoops\Form\ColorPicker($title, $obj[$i]->getVar('conf_name'), $myts->htmlSpecialChars($obj[$i]->getConfValueForOutput())); |
|
298 | break; |
|
299 | ||
300 | case 'hidden': |
|
301 | $myts = \Xoops\Core\Text\Sanitizer::getInstance(); |
|
302 | $ele = new Xoops\Form\Hidden($obj[$i]->getVar('conf_name'), $myts->htmlSpecialChars($obj[$i]->getConfValueForOutput())); |
|
303 | break; |
|
304 | ||
305 | case 'textbox': |
|
306 | default: |
|
@@ 306-309 (lines=4) @@ | ||
303 | break; |
|
304 | ||
305 | case 'textbox': |
|
306 | default: |
|
307 | $myts = \Xoops\Core\Text\Sanitizer::getInstance(); |
|
308 | $ele = new Xoops\Form\Text($title, $obj[$i]->getVar('conf_name'), 5, 255, $myts->htmlSpecialChars($obj[$i]->getConfValueForOutput())); |
|
309 | break; |
|
310 | } |
|
311 | $hidden = new Xoops\Form\Hidden('conf_ids[]', $obj[$i]->getVar('conf_id')); |
|
312 | if (isset($ele)) { |
@@ 244-247 (lines=4) @@ | ||
241 | )); |
|
242 | break; |
|
243 | ||
244 | case 'password': |
|
245 | $myts = \Xoops\Core\Text\Sanitizer::getInstance(); |
|
246 | $ele = new Xoops\Form\Password($title, $obj[$i]->getVar('conf_name'), 32, 255, $myts->htmlSpecialChars($obj[$i]->getConfValueForOutput())); |
|
247 | break; |
|
248 | ||
249 | case 'color': |
|
250 | $myts = \Xoops\Core\Text\Sanitizer::getInstance(); |
|
@@ 249-252 (lines=4) @@ | ||
246 | $ele = new Xoops\Form\Password($title, $obj[$i]->getVar('conf_name'), 32, 255, $myts->htmlSpecialChars($obj[$i]->getConfValueForOutput())); |
|
247 | break; |
|
248 | ||
249 | case 'color': |
|
250 | $myts = \Xoops\Core\Text\Sanitizer::getInstance(); |
|
251 | $ele = new Xoops\Form\ColorPicker($title, $obj[$i]->getVar('conf_name'), $myts->htmlSpecialChars($obj[$i]->getConfValueForOutput())); |
|
252 | break; |
|
253 | ||
254 | case 'hidden': |
|
255 | $myts = \Xoops\Core\Text\Sanitizer::getInstance(); |
|
@@ 254-257 (lines=4) @@ | ||
251 | $ele = new Xoops\Form\ColorPicker($title, $obj[$i]->getVar('conf_name'), $myts->htmlSpecialChars($obj[$i]->getConfValueForOutput())); |
|
252 | break; |
|
253 | ||
254 | case 'hidden': |
|
255 | $myts = \Xoops\Core\Text\Sanitizer::getInstance(); |
|
256 | $ele = new Xoops\Form\Hidden($obj[$i]->getVar('conf_name'), $myts->htmlSpecialChars($obj[$i]->getConfValueForOutput())); |
|
257 | break; |
|
258 | ||
259 | case 'textbox': |
|
260 | default: |
|
@@ 260-263 (lines=4) @@ | ||
257 | break; |
|
258 | ||
259 | case 'textbox': |
|
260 | default: |
|
261 | $myts = \Xoops\Core\Text\Sanitizer::getInstance(); |
|
262 | $ele = new Xoops\Form\Text($title, $obj[$i]->getVar('conf_name'), 5, 255, $myts->htmlSpecialChars($obj[$i]->getConfValueForOutput())); |
|
263 | break; |
|
264 | } |
|
265 | $hidden = new Xoops\Form\Hidden('conf_ids[]', $obj[$i]->getVar('conf_id')); |
|
266 | if (isset($ele)) { |