index : flyspray | |
Archlinux32 customized Flyspray installation | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | themes/CleanFS/templates/common.newgroup.tpl | 169 |
diff --git a/themes/CleanFS/templates/common.newgroup.tpl b/themes/CleanFS/templates/common.newgroup.tpl new file mode 100644 index 0000000..09cb737 --- /dev/null +++ b/themes/CleanFS/templates/common.newgroup.tpl @@ -0,0 +1,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> |