From 5fb686dd9c5474aba3e274bbe7917e8259aa27e3 Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Tue, 25 Nov 2014 21:28:29 -0500 Subject: Move comment templates to a subfolder --- app/Template/comment/create.php | 36 +++++++++++++++++++++++++++++++++ app/Template/comment/edit.php | 35 ++++++++++++++++++++++++++++++++ app/Template/comment/forbidden.php | 7 +++++++ app/Template/comment/remove.php | 17 ++++++++++++++++ app/Template/comment/show.php | 41 ++++++++++++++++++++++++++++++++++++++ app/Template/comment_create.php | 36 --------------------------------- app/Template/comment_edit.php | 35 -------------------------------- app/Template/comment_forbidden.php | 9 --------- app/Template/comment_remove.php | 16 --------------- app/Template/comment_show.php | 41 -------------------------------------- app/Template/task_comments.php | 4 ++-- 11 files changed, 138 insertions(+), 139 deletions(-) create mode 100644 app/Template/comment/create.php create mode 100644 app/Template/comment/edit.php create mode 100644 app/Template/comment/forbidden.php create mode 100644 app/Template/comment/remove.php create mode 100644 app/Template/comment/show.php delete mode 100644 app/Template/comment_create.php delete mode 100644 app/Template/comment_edit.php delete mode 100644 app/Template/comment_forbidden.php delete mode 100644 app/Template/comment_remove.php delete mode 100644 app/Template/comment_show.php (limited to 'app/Template') diff --git a/app/Template/comment/create.php b/app/Template/comment/create.php new file mode 100644 index 00000000..d72fa627 --- /dev/null +++ b/app/Template/comment/create.php @@ -0,0 +1,36 @@ + + +
+ + + + +
+
    +
  • + +
  • +
  • + +
  • +
+
+ +
+
+
+
+
+ +
+ +
+ + + + $task['id'])) ?> + +
+
diff --git a/app/Template/comment/edit.php b/app/Template/comment/edit.php new file mode 100644 index 00000000..386dd9b1 --- /dev/null +++ b/app/Template/comment/edit.php @@ -0,0 +1,35 @@ + + +
+ + + + + +
+
    +
  • + +
  • +
  • + +
  • +
+
+ +
+
+
+
+
+ +
+ +
+ + + $task['id'])) ?> +
+
diff --git a/app/Template/comment/forbidden.php b/app/Template/comment/forbidden.php new file mode 100644 index 00000000..1e306d45 --- /dev/null +++ b/app/Template/comment/forbidden.php @@ -0,0 +1,7 @@ + + +

+ +

\ No newline at end of file diff --git a/app/Template/comment/remove.php b/app/Template/comment/remove.php new file mode 100644 index 00000000..50382369 --- /dev/null +++ b/app/Template/comment/remove.php @@ -0,0 +1,17 @@ + + +
+

+ +

+ + $comment, 'task' => $task, 'preview' => true)) ?> + +
+ $task['id'], 'comment_id' => $comment['id']), true, 'btn btn-red') ?> + + $task['id'])) ?> +
+
\ No newline at end of file diff --git a/app/Template/comment/show.php b/app/Template/comment/show.php new file mode 100644 index 00000000..5e1e9337 --- /dev/null +++ b/app/Template/comment/show.php @@ -0,0 +1,41 @@ +
+ +

+ @ +

+ +
+ + +
    +
  • + +
  • + $task['id'], 'comment_id' => $comment['id'])) ?> +
  • +
  • + $task['id'], 'comment_id' => $comment['id'])) ?> +
  • + +
+ + +
+ + 'task', + 'action' => 'readonly', + 'params' => array( + 'token' => $project['token'] + ) + ) + ) ?> + + + +
+ +
+
\ No newline at end of file diff --git a/app/Template/comment_create.php b/app/Template/comment_create.php deleted file mode 100644 index 5590b77d..00000000 --- a/app/Template/comment_create.php +++ /dev/null @@ -1,36 +0,0 @@ - - -
- - - - -
-
    -
  • - -
  • -
  • - -
  • -
-
- -
-
-
-
-
- -
- -
- - - - - -
-
diff --git a/app/Template/comment_edit.php b/app/Template/comment_edit.php deleted file mode 100644 index 96b7a872..00000000 --- a/app/Template/comment_edit.php +++ /dev/null @@ -1,35 +0,0 @@ - - -
- - - - - -
-
    -
  • - -
  • -
  • - -
  • -
-
- -
-
-
-
-
- -
- -
- - - -
-
diff --git a/app/Template/comment_forbidden.php b/app/Template/comment_forbidden.php deleted file mode 100644 index eeea8404..00000000 --- a/app/Template/comment_forbidden.php +++ /dev/null @@ -1,9 +0,0 @@ -
- - -

- -

-
\ No newline at end of file diff --git a/app/Template/comment_remove.php b/app/Template/comment_remove.php deleted file mode 100644 index 7b117781..00000000 --- a/app/Template/comment_remove.php +++ /dev/null @@ -1,16 +0,0 @@ - - -
-

- -

- - $comment, 'task' => $task, 'preview' => true)) ?> - -
- - -
-
\ No newline at end of file diff --git a/app/Template/comment_show.php b/app/Template/comment_show.php deleted file mode 100644 index b2ccc25a..00000000 --- a/app/Template/comment_show.php +++ /dev/null @@ -1,41 +0,0 @@ -
- -

- @ -

- -
- - -
    -
  • - -
  • - -
  • -
  • - -
  • - -
- - -
- - 'task', - 'action' => 'readonly', - 'params' => array( - 'token' => $project['token'] - ) - ) - ) ?> - - - -
- -
-
\ No newline at end of file diff --git a/app/Template/task_comments.php b/app/Template/task_comments.php index 5cfa99ce..343e66c5 100644 --- a/app/Template/task_comments.php +++ b/app/Template/task_comments.php @@ -5,7 +5,7 @@ - $comment, 'task' => $task, 'project' => $project, @@ -15,7 +15,7 @@ - true, 'values' => array( 'user_id' => Helper\get_user_id(), -- cgit v1.2.3