mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 20:00:37 +02:00
Use form handler.
This commit is contained in:
@@ -19,11 +19,13 @@ class theme__blank implements e_theme_config
|
|||||||
|
|
||||||
function config()
|
function config()
|
||||||
{
|
{
|
||||||
|
$tp = e107::getParser();
|
||||||
|
|
||||||
$var[0]['caption'] = "Sample configuration field";
|
$var[0]['caption'] = "Sample configuration field";
|
||||||
$var[0]['html'] = "<input type='text' name='_blank_example' value='".e107::getThemePref('example', 'default')."' />";
|
$var[0]['html'] = $tp->text('_blank_example', e107::getThemePref('example', 'default'));
|
||||||
|
|
||||||
$var[1]['caption'] = "Sample configuration field";
|
$var[1]['caption'] = "Sample configuration field";
|
||||||
$var[1]['html'] = "<input type='text' name='_blank_example2' value='".e107::getThemePref('example2', 1)."' />";
|
$var[1]['html'] = $tp->text('_blank_example2', e107::getThemePref('example2', 'default'));
|
||||||
|
|
||||||
return $var;
|
return $var;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user