From c6f5b221885846c5fc77af42179b8bf4b3273fcf Mon Sep 17 00:00:00 2001 From: Will Rossiter Date: Sat, 11 Dec 2010 19:08:06 +1300 Subject: [PATCH] MINOR: moved templates from cms to comments --- templates/Includes/CommentAdmin_left.ss | 25 ++++++++ templates/Includes/CommentTableField.ss | 81 +++++++++++++++++++++++++ 2 files changed, 106 insertions(+) create mode 100644 templates/Includes/CommentAdmin_left.ss create mode 100644 templates/Includes/CommentTableField.ss diff --git a/templates/Includes/CommentAdmin_left.ss b/templates/Includes/CommentAdmin_left.ss new file mode 100644 index 0000000..5c2a800 --- /dev/null +++ b/templates/Includes/CommentAdmin_left.ss @@ -0,0 +1,25 @@ +
+

+ <% _t('COMMENTS', 'Comments') %> +

+ + + +
diff --git a/templates/Includes/CommentTableField.ss b/templates/Includes/CommentTableField.ss new file mode 100644 index 0000000..3cecd72 --- /dev/null +++ b/templates/Includes/CommentTableField.ss @@ -0,0 +1,81 @@ +
+
+ $SearchForm +
+ <% if Print %><% else %> + <% if Markable %> + <% include TableListField_SelectOptions %> + <% end_if %> + <% include TableListField_PageControls %> + <% end_if %> + + + + <% if Markable %><% end_if %> + <% control Headings %> + + <% end_control %> + <% if Can(edit) %><% end_if %> + <% if HasApproveButton %><% end_if %> + <% if HasSpamButton %><% end_if %> + <% if HasHamButton %><% end_if %> + <% if Can(delete) %><% end_if %> + + + + <% if HasSummary %> + + <% if Markable %><% end_if %> + + <% control SummaryFields %> + class="$Function"<% end_if %>>  + <% end_control %> + <% if Can(edit) %><% end_if %> + <% if HasApproveButton %><% end_if %> + <% if HasSpamButton %><% end_if %> + <% if HasHamButtom %><% end_if %> + <% if Can(delete) %><% end_if %> + + <% end_if %> + + + <% if Items %> + <% control Items %> + class="$HighlightClasses"<% end_if %>> + <% if Markable %><% end_if %> + <% control Fields %> + + <% end_control %> + <% if Can(edit) %> + + <% end_if %> + <% if HasApproveButton %> + + <% end_if %> + <% if HasSpamButton %> + + <% end_if %> + <% if HasHamButton %> + + <% end_if %> + <% if Can(delete) %> + + <% end_if %> + + <% end_control %> + <% else %> + + <% if Markable %><% end_if %> + + <% if Can(edit) %><% end_if %> + <% if HasApproveButton %><% end_if %> + <% if HasSpamButton %><% end_if %> + <% if HasHamButtom %><% end_if %> + <% if Can(delete) %><% end_if %> + + <% end_if %> + +
  + $Title +      
 $SummaryTitle     
$MarkingCheckbox$Value<% _t('EDIT', 'edit') %><% _t('APPROVE', 'approve') %><% _t('SPAM', 'spam') %><% _t('HAM', 'ham') %><% _t('DELETE', 'delete') %>
 <% _t('NOITEMSFOUND', 'No items found') %>     
+