1
0
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:
Cameron
2017-11-02 14:30:19 -07:00
parent a70add174e
commit 73301881dd
2 changed files with 25 additions and 7 deletions

View File

@@ -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);
}
}
*/