From e6f547abcfe684658a7498391db72d13b6aa7d9a Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sun, 20 Sep 2015 18:24:15 -0400 Subject: Move timetable to a plugin Plugin repository: https://github.com/kanboard/plugin-timetable --- app/Template/timetable_extra/index.php | 56 --------------------------------- app/Template/timetable_extra/remove.php | 13 -------- 2 files changed, 69 deletions(-) delete mode 100644 app/Template/timetable_extra/index.php delete mode 100644 app/Template/timetable_extra/remove.php (limited to 'app/Template/timetable_extra') diff --git a/app/Template/timetable_extra/index.php b/app/Template/timetable_extra/index.php deleted file mode 100644 index e9982335..00000000 --- a/app/Template/timetable_extra/index.php +++ /dev/null @@ -1,56 +0,0 @@ - - -isEmpty()): ?> - - - - - - - - - - - getCollection() as $slot): ?> - - - - - - - - - -
order(t('Day'), 'Day') ?>order(t('All day'), 'all_day') ?>order(t('Start time'), 'start') ?>order(t('End time'), 'end') ?>
e($slot['comment']) ?> - url->link(t('Remove'), 'timetableextra', 'confirm', array('user_id' => $user['id'], 'slot_id' => $slot['id'])) ?> -
- - - - - -
- - form->hidden('user_id', $values) ?> - form->csrf() ?> - - form->label(t('Day'), 'date') ?> - form->text('date', $values, $errors, array('required'), 'form-date') ?> - - form->checkbox('all_day', t('All day'), 1) ?> - - form->label(t('Start time'), 'start') ?> - form->select('start', $this->dt->getDayHours(), $values, $errors) ?> - - form->label(t('End time'), 'end') ?> - form->select('end', $this->dt->getDayHours(), $values, $errors) ?> - - form->label(t('Comment'), 'comment') ?> - form->text('comment', $values, $errors) ?> - -
- -
-
\ No newline at end of file diff --git a/app/Template/timetable_extra/remove.php b/app/Template/timetable_extra/remove.php deleted file mode 100644 index fc907438..00000000 --- a/app/Template/timetable_extra/remove.php +++ /dev/null @@ -1,13 +0,0 @@ - - -
-

- -
- url->link(t('Yes'), 'timetableextra', 'remove', array('user_id' => $user['id'], 'slot_id' => $slot_id), true, 'btn btn-red') ?> - - url->link(t('cancel'), 'timetableextra', 'index', array('user_id' => $user['id'])) ?> -
-
\ No newline at end of file -- cgit v1.2.3