1
0

Store the theme definition in the theme.info file as a comment.

This commit is contained in:
Tim Almdal 2010-08-18 21:48:41 -07:00
parent 2308b19b1e
commit 61a3dbc3f7
2 changed files with 2 additions and 0 deletions

View File

@ -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());

View File

@ -5,4 +5,5 @@ version = 1
author = "<?= $user_name ?>"
site = "<?= !$is_admin ? 1 : 0?>"
admin = "<?= $is_admin ? 1 : 0?>"
; definition = <?= $definition ?>