<li><a href="?controller=project&action=index"><?php echo t('List of projects'); ?> </a></li> </ul> </div> <section> <form method="get" action="?" autocomplete="off"> <?php echo Helper\form_hidden('controller', $values); ?> <?php echo Helper\form_hidden('action', $values); ?> <?php echo Helper\form_hidden('project_id', $values); ?> <?php echo Helper\form_text('search', $values, array(), array('autofocus', 'required', 'placeholder="' . t('Search') . '"')); ?> <input type="submit" value="<?php echo t('Search'); ?> " class="btn btn-blue"/> </form> <?php if (empty($tasks) && !empty($values['search'])) { ?> <p class="alert"><?php echo t('Nothing found.');
</div> <form method="post" action="?controller=task&action=description&task_id=<?php echo $task['id']; ?> &ajax=<?php echo $ajax; ?> " autocomplete="off"> <?php echo Helper\form_csrf(); ?> <?php echo Helper\form_hidden('id', $values); ?> <?php echo Helper\form_textarea('description', $values, $errors, array('autofocus', 'required', 'placeholder="' . t('Leave a description') . '"'), 'description-textarea'); ?> <br/> <div class="form-help"><a href="http://kanboard.net/documentation/syntax-guide" target="_blank" rel="noreferrer"><?php echo t('Write your text in Markdown'); ?> </a></div> <div class="form-actions"> <input type="submit" value="<?php echo t('Save'); ?> " class="btn btn-blue"/>
<section class="page" id="login"> <?php if (isset($errors['login'])) { ?> <p class="alert alert-error"><?php echo Helper\escape($errors['login']); ?> </p> <?php } ?> <form method="post" action="?action=login"> <?php echo Helper\form_hidden('csrf', $values); ?> <?php echo Helper\form_label(t('Username'), 'username'); ?> <?php echo Helper\form_text('username', $values, $errors, array('autofocus', 'required')); ?> <br/> <?php echo Helper\form_label(t('Password'), 'password'); ?> <?php echo Helper\form_password('password', $values, $errors, array('required'));
echo t('Define action parameters'); ?> </h3> <form method="post" action="?controller=action&action=create&project_id=<?php echo $project['id']; ?> " autocomplete="off"> <?php echo Helper\form_hidden('project_id', $values); ?> <?php echo Helper\form_hidden('event_name', $values); ?> <?php echo Helper\form_hidden('action_name', $values); ?> <?php foreach ($action_params as $param_name => $param_desc) { ?> <?php if (Helper\contains($param_name, 'column_id')) { ?> <?php echo Helper\form_label($param_desc, $param_name); ?> <?php echo Helper\form_select('params[' . $param_name . ']', $columns_list, $values); ?>
} ?> </table> <?php if (!isset($not_editable)) { ?> <form method="post" action="<?php echo Helper\u('subtask', 'save', array('task_id' => $task['id'])); ?> " autocomplete="off"> <?php echo Helper\form_csrf(); ?> <?php echo Helper\form_hidden('task_id', array('task_id' => $task['id'])); ?> <?php echo Helper\form_text('title', array(), array(), array('required', 'placeholder="' . t('Type here to create a new sub-task') . '"')); ?> <input type="submit" value="<?php echo t('Add'); ?> " class="btn btn-blue"/> </form> <?php } ?> </div> <?php
echo t('Add a sub-task'); ?> </h2> </div> <form method="post" action="?controller=subtask&action=save&task_id=<?php echo $task['id']; ?> " autocomplete="off"> <?php echo Helper\form_csrf(); ?> <?php echo Helper\form_hidden('task_id', $values); ?> <?php echo Helper\form_label(t('Title'), 'title'); ?> <?php echo Helper\form_text('title', $values, $errors, array('required autofocus')); ?> <br/> <?php echo Helper\form_label(t('Assignee'), 'user_id'); ?> <?php echo Helper\form_select('user_id', $users_list, $values, $errors);
</h2> </div> <form method="post" action="?controller=user&action=edit&user_id=<?php echo $user['id']; ?> " autocomplete="off"> <?php echo Helper\form_csrf(); ?> <?php echo Helper\form_hidden('id', $values); ?> <?php echo Helper\form_hidden('is_ldap_user', $values); ?> <?php echo Helper\form_label(t('Username'), 'username'); ?> <?php echo Helper\form_text('username', $values, $errors, array('required', $values['is_ldap_user'] == 1 ? 'readonly' : '')); ?> <br/> <?php echo Helper\form_label(t('Name'), 'name'); ?> <?php echo Helper\form_text('name', $values, $errors);
?> </a></li> </ul> </div> <section> <?php if (!empty($users['not_allowed'])) { ?> <form method="post" action="?controller=project&action=allow&project_id=<?php echo $project['id']; ?> " autocomplete="off"> <?php echo Helper\form_hidden('project_id', array('project_id' => $project['id'])); ?> <?php echo Helper\form_label(t('User'), 'user_id'); ?> <?php echo Helper\form_select('user_id', $users['not_allowed']); ?> <br/> <div class="form-actions"> <input type="submit" value="<?php echo t('Allow this user'); ?> " class="btn btn-blue"/>
?> </h2> </div> <form method="post" action="?controller=comment&action=save&task_id=<?php echo $task['id']; ?> " autocomplete="off"> <?php echo Helper\form_csrf(); ?> <?php echo Helper\form_hidden('task_id', $values); ?> <?php echo Helper\form_hidden('user_id', $values); ?> <?php echo Helper\form_textarea('comment', $values, $errors, array('autofocus', 'required', 'placeholder="' . t('Leave a comment') . '"'), 'comment-textarea'); ?> <br/> <div class="form-help"><a href="http://kanboard.net/documentation/syntax-guide" target="_blank" rel="noreferrer"><?php echo t('Write your text in Markdown'); ?> </a></div> <div class="form-actions"> <input type="submit" value="<?php echo t('Save'); ?> " class="btn btn-blue"/>
} ?> <?php if (!isset($hide_comment_form) || $hide_comment_form === false) { ?> <form method="post" action="?controller=comment&action=save&task_id=<?php echo $task['id']; ?> " autocomplete="off"> <?php echo Helper\form_hidden('task_id', $comment_form['values']); ?> <?php echo Helper\form_hidden('user_id', $comment_form['values']); ?> <?php echo Helper\form_textarea('comment', $comment_form['values'], $comment_form['errors'], array('required', 'placeholder="' . t('Leave a comment') . '"'), 'comment-textarea'); ?> <br/> <div class="form-help"><a href="http://kanboard.net/documentation/syntax-guide" target="_blank" rel="noreferrer"><?php echo t('Write your text in Markdown'); ?> </a></div> <div class="form-actions"> <input type="submit" value="<?php echo t('Post comment'); ?> " class="btn btn-blue"/>
echo Helper\a(t('All projects'), 'project', 'index'); ?> </li> </ul> </div> <section> <form method="post" action="<?php echo Helper\u('project', 'save'); ?> " autocomplete="off"> <?php echo Helper\form_csrf(); ?> <?php echo Helper\form_hidden('is_private', $values); ?> <?php echo Helper\form_label(t('Name'), 'name'); ?> <?php echo Helper\form_text('name', $values, $errors, array('autofocus', 'required')); ?> <div class="form-actions"> <input type="submit" value="<?php echo t('Save'); ?> " class="btn btn-blue"/> <?php echo t('or');