diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2012-06-11 12:45:07 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2012-06-11 12:45:07 +0200 |
commit | 6817a6b10286b0ba7d7b8b9b56cdb23c47e93c81 (patch) | |
tree | bed3648573e973d3a7ad6d97102f61ede2030447 /apps/calendar/index.php | |
parent | 0df67aeae97747cc776acbbd479471979cfcb48b (diff) | |
download | nextcloud-server-6817a6b10286b0ba7d7b8b9b56cdb23c47e93c81.tar.gz nextcloud-server-6817a6b10286b0ba7d7b8b9b56cdb23c47e93c81.zip |
First try of implementing assignHTML
Diffstat (limited to 'apps/calendar/index.php')
-rw-r--r-- | apps/calendar/index.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/calendar/index.php b/apps/calendar/index.php index cf03a7a3cd3..803f973d6e9 100644 --- a/apps/calendar/index.php +++ b/apps/calendar/index.php @@ -54,9 +54,9 @@ OCP\Util::addscript('contacts','jquery.multi-autocomplete'); OCP\Util::addscript('','oc-vcategories'); OCP\App::setActiveNavigationEntry('calendar_index'); $tmpl = new OCP\Template('calendar', 'calendar', 'user'); -$tmpl->assign('eventSources', $eventSources); -$tmpl->assign('categories', $categories); +$tmpl->assignHTML('eventSources', $eventSources); +$tmpl->assignHTML('categories', $categories); if(array_key_exists('showevent', $_GET)){ - $tmpl->assign('showevent', $_GET['showevent']); + $tmpl->assignHTML('showevent', $_GET['showevent']); } $tmpl->printPage(); |