diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2014-03-17 12:00:58 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2014-03-17 12:00:58 -0300 |
commit | 228d3697bcd0218605be2e28131574cc85293a2e (patch) | |
tree | 6a59c627f6226bd2b3056b959acc9cc871eb1f8f /views/default/forms/tasks/inline.php | |
download | elgg-228d3697bcd0218605be2e28131574cc85293a2e.tar.gz elgg-228d3697bcd0218605be2e28131574cc85293a2e.tar.bz2 |
Squashed 'mod/tasks/' content from commit c9b1097
git-subtree-dir: mod/tasks
git-subtree-split: c9b1097ce081d6893f9c939146208559c089dc15
Diffstat (limited to 'views/default/forms/tasks/inline.php')
-rw-r--r-- | views/default/forms/tasks/inline.php | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/views/default/forms/tasks/inline.php b/views/default/forms/tasks/inline.php new file mode 100644 index 000000000..68075ce09 --- /dev/null +++ b/views/default/forms/tasks/inline.php @@ -0,0 +1,35 @@ +<?php +/* + * + */ +echo '<h3>'.elgg_echo('tasks:add').'</h3>'; +echo elgg_view('input/text', array( + 'name' => 'title', + 'class' => 'elgg-autofocus', +)); +echo elgg_view('input/access', array( + 'name' => 'access_id', + 'value' => $vars['list']->access_id, +)); +echo elgg_view('input/hidden', array( + 'name' => 'tags', + 'value' => '', +)); +echo '<div class="elgg-foot mtm">'; +echo elgg_view('input/hidden', array( + 'name' => 'list_guid', + 'value' => $vars['list']->guid, +)); +echo elgg_view('input/hidden', array( + 'name' => 'container_guid', + 'value' => $vars['list']->container_guid, +)); +echo elgg_view('input/submit', array( + 'value' => elgg_echo('save'), +)); +echo elgg_view('output/url', array( + 'text' => elgg_echo('tasks:add:gofull'), + 'href' => "tasks/add/{$vars['list']->guid}", + 'class' => 'elgg-button elgg-button-special' +)); +echo '</div>';
\ No newline at end of file |