Store the theme definition in the theme.info file as a comment.
This commit is contained in:
parent
2308b19b1e
commit
61a3dbc3f7
@ -220,6 +220,7 @@ class themeroller_task_Core {
|
||||
$v->description = $task->get("description");
|
||||
$v->user_name = identity::active_user()->name;
|
||||
$v->is_admin = $is_admin;
|
||||
$v->definition = json_encode($parameters["colors"]);
|
||||
ob_start();
|
||||
print $v->render();
|
||||
file_put_contents($file, ob_get_contents());
|
||||
|
@ -5,4 +5,5 @@ version = 1
|
||||
author = "<?= $user_name ?>"
|
||||
site = "<?= !$is_admin ? 1 : 0?>"
|
||||
admin = "<?= $is_admin ? 1 : 0?>"
|
||||
; definition = <?= $definition ?>
|
||||
|
||||
|
Reference in New Issue
Block a user