diff --git a/app/Template/action/event.php b/app/Template/action/event.php index 7f968a971..b4741a98c 100644 --- a/app/Template/action/event.php +++ b/app/Template/action/event.php @@ -11,7 +11,7 @@ form->hidden('action_name', $values) ?> form->label(t('Event'), 'event_name') ?> - form->select('event_name', $events, $values) ?>
+ form->select('event_name', $events, $values) ?>
diff --git a/app/Template/action/index.php b/app/Template/action/index.php index 8275f0804..c28c7a4ba 100644 --- a/app/Template/action/index.php +++ b/app/Template/action/index.php @@ -67,9 +67,9 @@ form->hidden('project_id', $values) ?> form->label(t('Action'), 'action_name') ?> - form->select('action_name', $available_actions, $values) ?>
+ form->select('action_name', $available_actions, $values) ?>
- +
\ No newline at end of file diff --git a/app/Template/board/tooltip_subtasks.php b/app/Template/board/tooltip_subtasks.php index 5c273e080..5e48fcf41 100644 --- a/app/Template/board/tooltip_subtasks.php +++ b/app/Template/board/tooltip_subtasks.php @@ -2,6 +2,6 @@ subtask->toggleStatus($subtask, 'board', $task['project_id']) ?> e(empty($subtask['username']) ? '' : ' ['.$this->user->getFullname($subtask).']') ?> -
+
diff --git a/app/Template/config/application.php b/app/Template/config/application.php index ec7d84628..35d85dd8e 100644 --- a/app/Template/config/application.php +++ b/app/Template/config/application.php @@ -1,7 +1,6 @@ -
form->csrf() ?> @@ -23,10 +22,9 @@ form->checkbox('password_reset', t('Enable "Forget Password"'), 1, $values['password_reset'] == 1) ?> form->label(t('Custom Stylesheet'), 'application_stylesheet') ?> - form->textarea('application_stylesheet', $values, $errors) ?>
+ form->textarea('application_stylesheet', $values, $errors) ?>
- +
-
\ No newline at end of file diff --git a/app/Template/config/board.php b/app/Template/config/board.php index 19a4bcd7e..f787a9312 100644 --- a/app/Template/config/board.php +++ b/app/Template/config/board.php @@ -1,25 +1,23 @@ -
form->csrf() ?> form->label(t('Task highlight period'), 'board_highlight_period') ?> - form->number('board_highlight_period', $values, $errors) ?>
+ form->number('board_highlight_period', $values, $errors) ?>

form->label(t('Refresh interval for public board'), 'board_public_refresh_interval') ?> - form->number('board_public_refresh_interval', $values, $errors) ?>
+ form->number('board_public_refresh_interval', $values, $errors) ?>

form->label(t('Refresh interval for private board'), 'board_private_refresh_interval') ?> - form->number('board_private_refresh_interval', $values, $errors) ?>
+ form->number('board_private_refresh_interval', $values, $errors) ?>

- +
-
\ No newline at end of file diff --git a/app/Template/config/project.php b/app/Template/config/project.php index c58a7bac6..a212f65f9 100644 --- a/app/Template/config/project.php +++ b/app/Template/config/project.php @@ -1,7 +1,6 @@ -
form->csrf() ?> @@ -10,11 +9,11 @@ form->select('default_color', $colors, $values, $errors) ?> form->label(t('Default columns for new projects (Comma-separated)'), 'board_columns') ?> - form->text('board_columns', $values, $errors) ?>
+ form->text('board_columns', $values, $errors) ?>

form->label(t('Default categories for new projects (Comma-separated)'), 'project_categories') ?> - form->text('project_categories', $values, $errors) ?>
+ form->text('project_categories', $values, $errors) ?>

form->checkbox('subtask_restriction', t('Allow only one subtask in progress at the same time for a user'), 1, $values['subtask_restriction'] == 1) ?> @@ -22,7 +21,6 @@ form->checkbox('cfd_include_closed_tasks', t('Include closed tasks in the cumulative flow diagram'), 1, $values['cfd_include_closed_tasks'] == 1) ?>
- +
-
\ No newline at end of file diff --git a/app/Template/currency/index.php b/app/Template/currency/index.php index 1c78c47a0..07b58a8bf 100644 --- a/app/Template/currency/index.php +++ b/app/Template/currency/index.php @@ -29,10 +29,10 @@ form->csrf() ?> form->label(t('Reference currency'), 'application_currency') ?> - form->select('application_currency', $currencies, $config_values, $errors) ?>
+ form->select('application_currency', $currencies, $config_values, $errors) ?>
- +
@@ -43,12 +43,12 @@ form->csrf() ?> form->label(t('Currency'), 'currency') ?> - form->select('currency', $currencies, $values, $errors) ?>
+ form->select('currency', $currencies, $values, $errors) ?> form->label(t('Rate'), 'rate') ?> - form->text('rate', $values, $errors, array(), 'form-numeric') ?>
+ form->text('rate', $values, $errors, array(), 'form-numeric') ?>
- +
diff --git a/app/Template/export/subtasks.php b/app/Template/export/subtasks.php index 4aad2641e..f2a00f849 100644 --- a/app/Template/export/subtasks.php +++ b/app/Template/export/subtasks.php @@ -1,7 +1,5 @@

@@ -13,7 +11,7 @@ form->hidden('project_id', $values) ?> form->label(t('Start Date'), 'from') ?> - form->text('from', $values, $errors, array('required', 'placeholder="'.$this->text->in($date_format, $date_formats).'"'), 'form-date') ?>
+ form->text('from', $values, $errors, array('required', 'placeholder="'.$this->text->in($date_format, $date_formats).'"'), 'form-date') ?> form->label(t('End Date'), 'to') ?> form->text('to', $values, $errors, array('required', 'placeholder="'.$this->text->in($date_format, $date_formats).'"'), 'form-date') ?> @@ -21,6 +19,6 @@
- +
\ No newline at end of file diff --git a/app/Template/export/summary.php b/app/Template/export/summary.php index ffbd6ac20..0c2a96fb5 100644 --- a/app/Template/export/summary.php +++ b/app/Template/export/summary.php @@ -1,7 +1,5 @@

@@ -13,7 +11,7 @@ form->hidden('project_id', $values) ?> form->label(t('Start Date'), 'from') ?> - form->text('from', $values, $errors, array('required', 'placeholder="'.$this->text->in($date_format, $date_formats).'"'), 'form-date') ?>
+ form->text('from', $values, $errors, array('required', 'placeholder="'.$this->text->in($date_format, $date_formats).'"'), 'form-date') ?> form->label(t('End Date'), 'to') ?> form->text('to', $values, $errors, array('required', 'placeholder="'.$this->text->in($date_format, $date_formats).'"'), 'form-date') ?> @@ -21,6 +19,6 @@
- +
\ No newline at end of file diff --git a/app/Template/export/tasks.php b/app/Template/export/tasks.php index c74c8f982..c27149d26 100644 --- a/app/Template/export/tasks.php +++ b/app/Template/export/tasks.php @@ -1,7 +1,5 @@

@@ -13,7 +11,7 @@ form->hidden('project_id', $values) ?> form->label(t('Start Date'), 'from') ?> - form->text('from', $values, $errors, array('required', 'placeholder="'.$this->text->in($date_format, $date_formats).'"'), 'form-date') ?>
+ form->text('from', $values, $errors, array('required', 'placeholder="'.$this->text->in($date_format, $date_formats).'"'), 'form-date') ?> form->label(t('End Date'), 'to') ?> form->text('to', $values, $errors, array('required', 'placeholder="'.$this->text->in($date_format, $date_formats).'"'), 'form-date') ?> @@ -21,6 +19,6 @@
- +
\ No newline at end of file diff --git a/app/Template/export/transitions.php b/app/Template/export/transitions.php index bf6ef2491..d935bde17 100644 --- a/app/Template/export/transitions.php +++ b/app/Template/export/transitions.php @@ -1,7 +1,5 @@

@@ -13,7 +11,7 @@ form->hidden('project_id', $values) ?> form->label(t('Start Date'), 'from') ?> - form->text('from', $values, $errors, array('required', 'placeholder="'.$this->text->in($date_format, $date_formats).'"'), 'form-date') ?>
+ form->text('from', $values, $errors, array('required', 'placeholder="'.$this->text->in($date_format, $date_formats).'"'), 'form-date') ?> form->label(t('End Date'), 'to') ?> form->text('to', $values, $errors, array('required', 'placeholder="'.$this->text->in($date_format, $date_formats).'"'), 'form-date') ?> @@ -21,6 +19,6 @@
- +
\ No newline at end of file diff --git a/app/Template/group/associate.php b/app/Template/group/associate.php index dc665bb36..468281e20 100644 --- a/app/Template/group/associate.php +++ b/app/Template/group/associate.php @@ -13,10 +13,10 @@ form->hidden('group_id', $values) ?> form->label(t('User'), 'user_id') ?> - form->select('user_id', $users, $values, $errors, array('required'), 'chosen-select') ?>
+ form->select('user_id', $users, $values, $errors, array('required'), 'chosen-select') ?>
- + url->link(t('cancel'), 'group', 'index') ?>
diff --git a/app/Template/group/create.php b/app/Template/group/create.php index 696e50132..4a935c08a 100644 --- a/app/Template/group/create.php +++ b/app/Template/group/create.php @@ -8,10 +8,10 @@ form->csrf() ?> form->label(t('Name'), 'name') ?> - form->text('name', $values, $errors, array('autofocus', 'required', 'maxlength="100"')) ?>
+ form->text('name', $values, $errors, array('autofocus', 'required', 'maxlength="100"')) ?>
- + url->link(t('cancel'), 'group', 'index') ?>
diff --git a/app/Template/group/edit.php b/app/Template/group/edit.php index 4d7e5e81e..d9646ee84 100644 --- a/app/Template/group/edit.php +++ b/app/Template/group/edit.php @@ -11,10 +11,10 @@ form->hidden('external_id', $values) ?> form->label(t('Name'), 'name') ?> - form->text('name', $values, $errors, array('autofocus', 'required', 'maxlength="100"')) ?>
+ form->text('name', $values, $errors, array('autofocus', 'required', 'maxlength="100"')) ?>
- + url->link(t('cancel'), 'group', 'index') ?>
diff --git a/app/Template/password_reset/change.php b/app/Template/password_reset/change.php index 310f0f977..6d06f442c 100644 --- a/app/Template/password_reset/change.php +++ b/app/Template/password_reset/change.php @@ -4,13 +4,13 @@ form->csrf() ?> form->label(t('New password'), 'password') ?> - form->password('password', $values, $errors) ?>
+ form->password('password', $values, $errors) ?> form->label(t('Confirmation'), 'confirmation') ?> form->password('confirmation', $values, $errors) ?>
- +
\ No newline at end of file diff --git a/app/Template/project_user/sidebar.php b/app/Template/project_user/sidebar.php index 27f1094c1..ff113ebb5 100644 --- a/app/Template/project_user/sidebar.php +++ b/app/Template/project_user/sidebar.php @@ -10,7 +10,7 @@ 'chosen-select select-auto-redirect' ) ?> -

+