aboutsummaryrefslogtreecommitdiffstats
path: root/apps/tasks/index.php
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2011-12-09 21:41:21 +0100
committerBart Visscher <bartv@thisnet.nl>2011-12-09 21:41:21 +0100
commit76c37792cb322338f73f25a559a2ccfe5ae8b59d (patch)
treee57ee4db0e664abc5ab84188ea2731cd4f75ac35 /apps/tasks/index.php
parent487c23e27f6b562fb96eda980776b32398908932 (diff)
downloadnextcloud-server-76c37792cb322338f73f25a559a2ccfe5ae8b59d.tar.gz
nextcloud-server-76c37792cb322338f73f25a559a2ccfe5ae8b59d.zip
WIP
Diffstat (limited to 'apps/tasks/index.php')
-rw-r--r--apps/tasks/index.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/tasks/index.php b/apps/tasks/index.php
index d2624a1cf01..145ec145aea 100644
--- a/apps/tasks/index.php
+++ b/apps/tasks/index.php
@@ -44,8 +44,12 @@ if( !is_null($id) || count($tasks)){
OC_UTIL::addScript('tasks', 'tasks');
OC_UTIL::addStyle('tasks', 'style');
OC_APP::setActiveNavigationEntry('tasks_index');
+
+$l10n = new OC_L10N('tasks');
+$priority_options = OC_Task_VTodo::getPriorityOptions($l10n);
$output = new OC_Template('tasks', 'tasks', 'user');
$output->assign('tasks', $tasks);
$output->assign('details', $details);
+$output->assign('priority_options', $priority_options);
$output->assign('id',$id);
$output -> printPage();