diff options
Diffstat (limited to 'views/default/input/tasks')
-rw-r--r-- | views/default/input/tasks/list.php | 27 | ||||
-rw-r--r-- | views/default/input/tasks/priority.php | 13 |
2 files changed, 0 insertions, 40 deletions
diff --git a/views/default/input/tasks/list.php b/views/default/input/tasks/list.php deleted file mode 100644 index 864f227ab..000000000 --- a/views/default/input/tasks/list.php +++ /dev/null @@ -1,27 +0,0 @@ -<?php - -$container_guid = get_input('container_guid', elgg_get_page_owner_guid()); - -$entities = elgg_get_entities(array( - 'type' => 'object', - 'subtype' => 'tasklist_top', - 'container_guid' => $container_guid, - 'limit' => 0, -)); - -if ($entities) { - $options_values = array(); - foreach ($entities as $entity) { - $options_values[$entity->guid] = $entity->title; - } -} else { - $container_name = get_entity($container_guid)->name; - $options_values = array(0 => elgg_echo('tasks:owner', array($container_name))); -} - -/*echo elgg_view('input/dropdown', array( - 'name' => $vars['name'], - 'options_values' => $options_values, - 'value' => $vars['value'], -));*/ -echo elgg_view('input/hidden', array('name' => $vars['name'], 'value' => $vars['value'])); diff --git a/views/default/input/tasks/priority.php b/views/default/input/tasks/priority.php deleted file mode 100644 index 43973beaa..000000000 --- a/views/default/input/tasks/priority.php +++ /dev/null @@ -1,13 +0,0 @@ -<?php - -$vars['options_values'] = array( - '1' => 'low', - '2' => 'normal', - '3' => 'high', -); - -if(!isset($vars['value']) || !$vars['value']){ - $vars['value'] = '2'; -} - -echo elgg_view('input/dropdown', $vars); |