Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/themes/CleanFS/templates/common.newgroup.tpl
blob: 09cb73713926bd2e8c8de4a215158e0734913bde (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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
<?php echo tpl_form(Filters::noXSS(CreateUrl($do,'newgroup',$proj->id)),null,null,null,'id="newgroup"'); ?>
    <ul class="form_elements">
      <li class="required">
        <label for="groupname"><?php echo Filters::noXSS(L('groupname')); ?> *</label>
        <input id="groupname" class="required text" type="text" value="<?php echo Filters::noXSS(Req::val('group_name')); ?>" name="group_name" size="20" maxlength="20" />
      </li>

      <li>
        <label for="groupdesc"><?php echo Filters::noXSS(L('description')); ?></label>
        <input id="groupdesc" class="text" type="text" value="<?php echo Filters::noXSS(Req::val('group_desc')); ?>" name="group_desc" size="50" maxlength="100" />
      </li>

      <li>
        <label for="manageproject"><?php echo Filters::noXSS(L('projectmanager')); ?></label>
        <?php echo tpl_checkbox('manage_project', Req::val('manage_project'), 'manageproject'); ?>
      </li>

      <li>
        <label for="viewtasks"><?php echo Filters::noXSS(L('viewtasks')); ?></label>
        <?php echo tpl_checkbox('view_tasks', Req::val('view_tasks'), 'viewtasks'); ?>
      </li>

      <li>
        <label for="viewowntasks"><?php echo Filters::noXSS(L('viewowntasks')); ?></label>
        <?php echo tpl_checkbox('view_own_tasks', Req::val('view_own_tasks'), 'viewowntasks'); ?>
      </li>

      <li>
        <label for="viewgroupstasks"><?php echo Filters::noXSS(L('viewgroupstasks')); ?></label>
        <?php echo tpl_checkbox('view_groups_tasks', Req::val('view_groups_tasks'), 'viewgroupstasks'); ?>
      </li>

      <li>
        <label for="opennewtasks"><?php echo Filters::noXSS(L('opennewtasks')); ?></label>
        <?php echo tpl_checkbox('open_new_tasks', Req::val('open_new_tasks'), 'opennewtasks'); ?>
      </li>

      <li>
        <label for="canopenmultipletasks"><?php echo Filters::noXSS(L('addmultipletasks')); ?></label>
        <?php echo tpl_checkbox('add_multiple_tasks', Req::val('add_multiple_tasks'), 'canopenmultipletasks'); ?>
      </li>

      <li>
        <label for="modifyowntasks"><?php echo Filters::noXSS(L('modifyowntasks')); ?></label>
        <?php echo tpl_checkbox('modify_own_tasks', Req::val('modify_own_tasks'), 'modifyowntasks'); ?>
      </li>

      <li>
        <label for="modifyalltasks"><?php echo Filters::noXSS(L('modifyalltasks')); ?></label>
        <?php echo tpl_checkbox('modify_all_tasks', Req::val('modify_all_tasks'), 'modifyalltasks'); ?>
      </li>

      <li>
        <label for="viewcomments"><?php echo Filters::noXSS(L('viewcomments')); ?></label>
        <?php echo tpl_checkbox('view_comments', Req::val('view_comments'), 'viewcomments'); ?>
      </li>

      <li>
        <label for="addcomments"><?php echo Filters::noXSS(L('addcomments')); ?></label>
        <?php echo tpl_checkbox('add_comments', Req::val('add_comments'), 'addcomments'); ?>
      </li>

      <li>
        <label for="editowncomments"><?php echo Filters::noXSS(L('editowncomments')); ?></label>
        <?php echo tpl_checkbox('edit_own_comments', Req::val('edit_own_comments'), 'editowncomments'); ?>
      </li>

      <li>
        <label for="editcomments"><?php echo Filters::noXSS(L('editcomments')); ?></label>
        <?php echo tpl_checkbox('edit_comments', Req::val('edit_comments'), 'editcomments'); ?>
      </li>

      <li>
        <label for="deletecomments"><?php echo Filters::noXSS(L('deletecomments')); ?></label>
        <?php echo tpl_checkbox('delete_comments', Req::val('delete_comments'), 'deletecomments'); ?>
      </li>

      <li>
        <label for="createattachments"><?php echo Filters::noXSS(L('createattachments')); ?></label>
        <?php echo tpl_checkbox('create_attachments', Req::val('create_attachments'), 'createattachments'); ?>
      </li>

      <li>
        <label for="deleteattachments"><?php echo Filters::noXSS(L('deleteattachments')); ?></label>
        <?php echo tpl_checkbox('delete_attachments', Req::val('delete_attachments'), 'deleteattachments'); ?>
      </li>

      <li>
        <label for="viewhistory"><?php echo Filters::noXSS(L('viewhistory')); ?></label>
        <?php echo tpl_checkbox('view_history', Req::val('view_history'), 'viewhistory'); ?>
      </li>

      <li>
        <label for="canviewroadmap"><?php echo Filters::noXSS(L('canviewroadmap')); ?></label>
        <?php echo tpl_checkbox('view_roadmap', Req::val('view_roadmap', !Req::val('action')), 'canviewroadmap'); ?>
      </li>

      <li>
        <label for="closeowntasks"><?php echo Filters::noXSS(L('closeowntasks')); ?></label>
        <?php echo tpl_checkbox('close_own_tasks', Req::val('close_own_tasks'), 'closeowntasks'); ?>
      </li>

      <li>
        <label for="closeothertasks"><?php echo Filters::noXSS(L('closeothertasks')); ?></label>
        <?php echo tpl_checkbox('close_other_tasks', Req::val('close_other_tasks'), 'closeothertasks'); ?>
      </li>

      <li>
        <label for="assigntoself"><?php echo Filters::noXSS(L('assigntoself')); ?></label>
        <?php echo tpl_checkbox('assign_to_self', Req::val('assign_to_self'), 'assigntoself'); ?>
      </li>

      <li>
        <label for="assignotherstoself"><?php echo Filters::noXSS(L('assignotherstoself')); ?></label>
        <?php echo tpl_checkbox('assign_others_to_self', Req::val('assign_others_to_self'), 'assignotherstoself'); ?>
      </li>

      <li>
        <label for="addtoassignees"><?php echo Filters::noXSS(L('addtoassignees')); ?></label>
        <?php echo tpl_checkbox('add_to_assignees', Req::val('add_to_assignees'), 'addtoassignees'); ?>
      </li>

      <li>
        <label for="viewreports"><?php echo Filters::noXSS(L('viewreports')); ?></label>
        <?php echo tpl_checkbox('view_reports', Req::val('view_reports'), 'viewreports'); ?>
      </li>

      <li>
        <label for="canvote"><?php echo Filters::noXSS(L('canvote')); ?></label>
        <?php echo tpl_checkbox('add_votes', Req::val('add_votes'), 'canvote'); ?>
      </li>

      <li>
        <label for="editassignments"><?php echo Filters::noXSS(L('editassignments')); ?></label>
        <?php echo tpl_checkbox('edit_assignments', Req::val('edit_assignments'), 'editassignments'); ?>
      </li>

      <li>
        <label for="show_as_assignees"><?php echo Filters::noXSS(L('showasassignees')); ?></label>
        <?php echo tpl_checkbox('show_as_assignees', Req::val('show_as_assignees'), 'show_as_assignees'); ?>
      </li>

      <li>
        <label for="viewestimatedeffort"><?php echo Filters::noXSS(L('viewestimatedeffort')); ?></label>
        <?php echo tpl_checkbox('view_estimated_effort', Req::val('view_estimated_effort'), 'viewestimatedeffort'); ?>
      </li>

      <li>
        <label for="viewcurrenteffortdone"><?php echo Filters::noXSS(L('viewcurrenteffortdone')); ?></label>
        <?php echo tpl_checkbox('view_current_effort_done', Req::val('view_current_effort_done'), 'viewcurrenteffortdone'); ?>
      </li>

      <li>
        <label for="trackeffort"><?php echo Filters::noXSS(L('trackeffort')); ?></label>
        <?php echo tpl_checkbox('track_effort', Req::val('track_effort'), 'trackeffort'); ?>
      </li>

      <?php if (!$proj->id): ?>
      <li>
        <label for="groupopen"><?php echo Filters::noXSS(L('groupenabled')); ?></label>
        <?php echo tpl_checkbox('group_open', Req::val('group_open'), 'groupopen'); ?>
      </li>
      <?php endif; ?>
    </ul>

      <input type="hidden" name="action" value="<?php if ($proj->id): ?>pm<?php else: ?>admin<?php endif; ?>.newgroup" />
      <input type="hidden" name="project_id" value="<?php echo Filters::noXSS(Req::val('project')); ?>" />
      <button type="submit" class="positive"><?php echo Filters::noXSS(L('addthisgroup')); ?></button>
</form>