mirror of
https://github.com/e107inc/e107.git
synced 2025-08-30 01:30:32 +02:00
Allow theme config page to use custom methods. (see bootstrap3 for example)
This commit is contained in:
@@ -53,5 +53,17 @@ class theme_config implements e_theme_config
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
// Custom Methods
|
||||
class theme_config_form extends e_form
|
||||
{
|
||||
|
||||
?>
|
||||
function custom_method($value,$mode,$parms) // named the same as $fields key.(eg. 'branding') Used when type = 'method'
|
||||
{
|
||||
|
||||
return $this->text('custom_method', $value);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
*/
|
Reference in New Issue
Block a user