aboutsummaryrefslogtreecommitdiff
path: root/views/default/forms/tasks/inline.php
blob: 68075ce0983e322bedbc5547dcd6f1b9ba49e0bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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>';