1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280
|
<mt:setvarblock name="page_title"><__trans phrase="Edit Comment"></mt:setvarblock>
<$mt:setvar name="position_actions_bottom" value="1"$>
<mt:setvarblock name="system_msg">
<mt:if name="saved">
<mtapp:statusmsg
id="saved"
class="success">
<__trans phrase="Your changes have been saved.">
</mtapp:statusmsg>
</mt:if>
<mt:if name="approved">
<mtapp:statusmsg
id="approved"
class="success">
<__trans phrase="The comment has been approved.">
</mtapp:statusmsg>
</mt:if>
</mt:setvarblock>
<mt:setvartemplate name="action_buttons">
<button
type="submit"
accesskey="s"
title="<__trans phrase="Save changes to this comment (s)">"
class="primary-button"
><__trans phrase="Save Changes"></button>
<button
onclick="doRemoveItems(this.form, '<__trans phrase="comment">', '<__trans phrase="comments">', 'id', {'return_args' : '__mode=list_comments&blog_id=<mt:var name="blog_id">'})"
type="submit"
accesskey="x"
title="<__trans phrase="Delete this comment (x)">"
><__trans phrase="Delete"></button>
<mt:if name="is_ip_filter">
<mt:if name="blog_id">
<button
onclick="doBanIP('<mt:var name="filter_val" escape="js">', '<mt:var name="blog_id">', '<mt:var name="magic_token">')"
><__trans phrase="Ban This IP"></button>
</mt:if>
</mt:if>
</mt:setvartemplate>
<mt:setvarblock name="related_content">
<mtapp:widget
id="useful-links"
label="<__trans phrase="Useful links">">
<ul>
<mt:if name="previous_comment_id">
<li><a href="<mt:var name="script_url">?__mode=view&_type=comment&id=<mt:var name="previous_comment_id" escape="url">&blog_id=<mt:var name="blog_id" escape="url">"><__trans phrase="Previous Comment"></a></li>
</mt:if>
<mt:if name="next_comment_id">
<li><a href="<mt:var name="script_url">?__mode=view&_type=comment&id=<mt:var name="next_comment_id" escape="url">&blog_id=<mt:var name="blog_id" escape="url">"><__trans phrase="Next Comment"></a></li>
</mt:if>
<li><a href="<mt:var name="script_url">?__mode=list_comments&blog_id=<mt:var name="blog_id" escape="url">"><__trans phrase="Manage Comments"></a></li>
<li><mt:if name="entry_permalink"><a href="<mt:var name="entry_permalink">" target="<__trans phrase="_external_link_target">"><__trans phrase="View entry comment was left on"></a></mt:if></li>
<mt:if name="comment_approved">
<li><a href="javascript:void(0)" onclick="return openDialog(this.form, 'dialog_post_comment', 'reply_to=<mt:var name="id" escape="url">&magic_token=<mt:var name="magic_token" escape="url">&blog_id=<mt:var name="blog_id" escape="url">&return_args=<mt:var name="return_args" escape="url">')"><__trans phrase="Reply to this comment"></a></li>
</mt:if>
</ul>
</mtapp:widget>
<$mtapp:PageActions$>
</mt:setvarblock>
<mt:include name="include/header.tmpl">
<form method="post" action="<mt:var name="script_url">">
<input type="hidden" name="id" value="<mt:var name="id" escape="html">" />
<input type="hidden" name="blog_id" value="<mt:var name="blog_id" escape="html">" />
<input type="hidden" name="__mode" value="save" />
<input type="hidden" name="action_name" value="" />
<input type="hidden" name="itemset_action_input" value="" />
<input type="hidden" name="_type" value="comment" />
<input type="hidden" name="return_args" value="<mt:var name="return_args" escape="html">" />
<input type="hidden" name="magic_token" value="<mt:var name="magic_token">" />
<mt:if name="position_actions_top">
<mt:include name="include/actions_bar.tmpl" bar_position="top" hide_pager="1">
</mt:if>
<mt:if name="comment_pending">
<$mt:setvar name="comment_status" value="comment-status-unapproved"$>
<mt:else>
<mt:if name="is_junk">
<$mt:setvar name="comment_status" value="comment-status-spam"$>
<mt:else>
<$mt:setvar name="comment_status" value="comment-status-approved"$>
</mt:if>
</mt:if>
<mtapp:setting
id="status"
label="<__trans phrase="Status">"
label_class="left-label <$mt:var name="comment_status"$>"
hint="<__trans phrase="Update the status of this comment">"
show_hint="0">
<mt:if name="has_publish_access">
<select id="status" name="status" class="width90 comment-status">
<option value="publish" <mt:if name="comment_approved">selected="selected"</mt:if>><__trans phrase="Approved"></option>
<option value="moderate" <mt:if name="comment_pending">selected="selected"</mt:if>><__trans phrase="Unapproved"></option>
<option value="junk" <mt:if name="is_junk">selected="selected"</mt:if>><__trans phrase="Reported as Spam"></option>
</select>
<mt:else>
<mt:if name="comment_approved">
<span><__trans phrase="Approved"></span><input type="hidden" name="status" value="publish" />
<mt:else>
<mt:if name="comment_pending">
<span><__trans phrase="Unapproved"></span><input type="hidden" name="status" value="moderate" />
<mt:else>
<mt:if name="is_junk">
<span><__trans phrase="Reported as Spam"></span><input type="hidden" name="status" value="junk" />
</mt:if>
</mt:if>
</mt:if>
</mt:if>
<a title="<__trans phrase="View all comments with this status">" href="<mt:var name="script_url">?__mode=list_comments&blog_id=<mt:var name="blog_id">&filter=status&filter_val=<mt:if name="comment_approved">approved</mt:if><mt:if name="comment_pending">pending</mt:if><mt:if name="is_junk">junk</mt:if>"><img alt="" src="<mt:var name="static_uri">images/filter.gif" width="8" height="8" border="0" /></a>
<mt:if name="junk_log_loop">
<div class="width90 comment-spam-info">
<a href="javascript:void(0)" onclick="toggleHidden('comment-feedback-rating'); toggleActive('spam-details-toggle'); return true" id="spam-details-toggle"><__trans phrase="Spam Details"></a>
</div>
<div id="comment-feedback-rating" class="hidden">
<strong><__trans phrase="Total Feedback Rating: [_1]" params="<$mt:var name="junk_score"$>"></strong>
<div id="spam-log-listing" class="listing width90">
<table class="spam-log-listing-table" cellspacing="0">
<thead>
<tr>
<th id="jl-test"><__trans phrase="Test"></th>
<th id="jl-score"><__trans phrase="Score"></th>
<th id="jl-results"><__trans phrase="Results"></th>
</tr>
</thead>
<tbody>
<mt:loop name="junk_log_loop">
<tr valign="top" class="<mt:if name="__odd__">odd<mt:else>even</mt:if>">
<td><mt:var name="test" escape="html"></td>
<td><mt:var name="score"></td>
<td><mt:var name="log"></td>
</tr>
</mt:loop>
</tbody>
</table>
</div>
</div>
</mt:if>
</mtapp:setting>
<mtapp:setting
id="author"
label="<__trans phrase="Commenter">"
content_class="field-content-text"
hint="<__trans phrase="The name of the person who posted the comment">"
show_hint="0">
<mt:if name="commenter_id">
<mt:if name="commenter_approved">
<mt:if name="commenter_url"><a href="<mt:var name="commenter_url">"><mt:var name="author" escape="html"></a><mt:else><mt:var name="nickname" escape="html"><mt:var name="author" escape="html"></mt:if>
<img src="<mt:var name="static_uri">images/status_icons/trusted.gif" alt="<__trans phrase="Trusted">" width="13" height="9" />
<span class="hint"><__trans phrase="(Trusted)"></span>
<mt:if name="can_edit_commenters"><mt:unless name="is_mine">
<span class="commenter-actions">
<a href="<mt:var name="script_url">?__mode=save_commenter_perm&action=ban&blog_id=<mt:var name="blog_id">&commenter_id=<mt:var name="commenter_id">&return_args=<mt:var name="return_args" escape="url">&magic_token=<mt:var name="magic_token">" class="commenter-ban"><__trans phrase="Ban Commenter"></a>
<mt:unless name="type_author"><a href="<mt:var name="script_url">?__mode=save_commenter_perm&action=untrust&blog_id=<mt:var name="blog_id">&commenter_id=<mt:var name="commenter_id">&return_args=<mt:var name="return_args" escape="url">&magic_token=<mt:var name="magic_token">" class="commenter-neutral"><__trans phrase="Untrust Commenter"></a></mt:unless>
</span>
</mt:if></mt:unless>
<mt:else>
<mt:if name="commenter_banned">
<mt:if name="commenter_url"><a href="<mt:var name="commenter_url">"><mt:var name="author" escape="html"></a><mt:else><mt:var name="nickname" escape="html"><mt:var name="author" escape="html"></mt:if>
<img src="<mt:var name="static_uri">images/status_icons/banned.gif" alt="<__trans phrase="Banned">" width="13" height="9" />
<span class="hint"><__trans phrase="(Banned)"></span>
<mt:if name="can_edit_commenters"><mt:unless name="is_mine">
<span class="commenter-actions">
<mt:unless name="type_author"><a href="<mt:var name="script_url">?__mode=save_commenter_perm&action=trust&blog_id=<mt:var name="blog_id">&commenter_id=<mt:var name="commenter_id">&return_args=<mt:var name="return_args" escape="url">&magic_token=<mt:var name="magic_token">" class="commenter-trust"><__trans phrase="Trust Commenter"></a></mt:unless>
<a href="<mt:var name="script_url">?__mode=save_commenter_perm&action=unban&blog_id=<mt:var name="blog_id">&commenter_id=<mt:var name="commenter_id">&return_args=<mt:var name="return_args" escape="url">&magic_token=<mt:var name="magic_token">" class="commenter-neutral"><__trans phrase="Unban Commenter"></a>
</span>
</mt:if></mt:unless>
<mt:else>
<mt:if name="commenter_url"><a href="<mt:var name="commenter_url">"><mt:var name="author" escape="html"></a><mt:else><mt:var name="nickname" escape="html"><mt:var name="author" escape="html"></mt:if>
<img src="<mt:var name="static_uri">images/status_icons/authenticated.gif" alt="<__trans phrase="Pending">" width="7" height="9" />
<mt:if name="can_edit_commenters"><mt:unless name="is_mine">
<span class="commenter-actions">
<a href="<mt:var name="script_url">?__mode=save_commenter_perm&action=trust&blog_id=<mt:var name="blog_id">&commenter_id=<mt:var name="commenter_id">&return_args=<mt:var name="return_args" escape="url">&magic_token=<mt:var name="magic_token">" class="commenter-trust"><__trans phrase="Trust Commenter"></a>
<a href="<mt:var name="script_url">?__mode=save_commenter_perm&action=ban&blog_id=<mt:var name="blog_id">&commenter_id=<mt:var name="commenter_id">&return_args=<mt:var name="return_args" escape="url">&magic_token=<mt:var name="magic_token">" class="commenter-ban"><__trans phrase="Ban Commenter"></a>
</span>
</mt:if></mt:unless>
</mt:if>
</mt:if>
<mt:else>
<input name="author" id="author" value="<mt:var name="author" escape="html">" />
</mt:if>
<mt:if name="commenter_id">
<a title="<__trans phrase="View all comments by this commenter">" href="<mt:var name="script_url">?__mode=list&_type=comment&filter_key=_comments_by_user&blog_id=<mt:var name="blog_id">&filter_val=<mt:var name="commenter_id" escape="html">"><img src="<mt:var name="static_uri">images/filter.gif" alt="" width="8" height="8" /></a>
<mt:else>
<a title="<__trans phrase="View all comments by this commenter">" href="<mt:var name="script_url">?__mode=search_replace&_type=comment&blog_id=<mt:var name="blog_id">&is_limited=1&search_cols=author&search=<mt:var name="author" escape="html">&do_search=1"><img src="<mt:var name="static_uri">images/filter.gif" alt="" width="8" height="8" /></a>
</mt:if>
</mtapp:setting>
<mtapp:setting
id="email"
label="<__trans phrase="Email">"
hint="<__trans phrase="Email address of commenter">"
show_hint="0">
<mt:if name="commenter_id">
<mt:if name="email_withheld">
<__trans phrase="None given">
<mt:else>
<mt:if name="email">
<input name="email" id="email" value="<mt:var name="email" escape="html">" disabled="disabled" class="width90" />
<a href="mailto:<mt:var name="email" escape="html">" title="<mt:var name="email" escape="html">"><img src="<mt:var name="static_uri">images/status_icons/email.gif" alt="<__trans phrase="Email">" width="16" height="9" /></a>
<mt:else>
<__trans phrase="None given">
</mt:if>
</mt:if>
<mt:else>
<input name="email" id="email" value="<mt:var name="email" escape="html">" class="width90" />
<mt:if name="email">
<a href="mailto:<mt:var name="email" escape="html">" title="<mt:var name="email" escape="html">"><img src="<mt:var name="static_uri">images/status_icons/email.gif" alt="<__trans phrase="Email">" width="16" height="9" /></a>
</mt:if>
</mt:if>
<mt:if name="email_withheld"> <mt:else><mt:if name="email"><a title="<__trans phrase="View all comments with this email address">" href="<mt:var name="script_url">?__mode=search_replace&_type=comment&blog_id=<mt:var name="blog_id">&search=<mt:var name="email" escape="url">&do_search=1"><img alt="" src="<mt:var name="static_uri">images/filter.gif" width="8" height="8" border="0" /></a><mt:else> </mt:if></mt:if>
</mtapp:setting>
<mtapp:setting
id="url"
label="<__trans phrase="URL">"
hint="<__trans phrase="URL of commenter">"
show_hint="0">
<input name="url" id="url" value="<mt:var name="url" escape="html">" class="width90" />
<mt:if name="url">
<a href="<mt:var name="url" escape="html">" title="<mt:var name="url" escape="html">"><img src="<mt:var name="static_uri">images/status_icons/link.gif" alt="<__trans phrase="Link">" width="16" height="9" /></a>
</mt:if>
<a title="<__trans phrase="View all comments with this URL">" href="<mt:var name="script_url">?__mode=search_replace&blog_id=<mt:var name="blog_id" escape="url">&_type=comment&search=<mt:var name="url" escape="url">&do_search=1"><img alt="" src="<mt:var name="static_uri">images/filter.gif" width="8" height="8" border="0" /></a>
</mtapp:setting>
<mtapp:setting
id="entry"
label="$entry_class_label"
content_class="field-content-text"
hint="<__trans phrase="[_1] this comment was made on" params="$entry_class_label">"
show_hint="0">
<mt:if name="no_entry">[<__trans phrase="[_1] no longer exists" params="<mt:var name="entry_class_label">">]<mt:else><a href="<mt:var name="script_url">?__mode=view&_type=<mt:var name="entry_class" escape="url">&id=<mt:var name="entry_id" escape="url">&blog_id=<mt:var name="blog_id" escape="url">"><mt:var name="entry_title" escape="html"></a></mt:if>
<a title="<__trans phrase="View all comments on this [_1]" params="<mt:var name="entry_class_label" lower_case="1">">" href="<mt:var name="script_url">?__mode=list&_type=comment&blog_id=<mt:var name="blog_id">&filter_key=_comments_by_entry&filter_val=<mt:var name="entry_id" escape="url">"><img alt="" src="<mt:var name="static_uri">images/filter.gif" width="8" height="8" border="0" /></a>
</mtapp:setting>
<mtapp:setting
id="date"
label="<__trans phrase="Date">"
content_class="field-content-text"
hint="<__trans phrase="Date this comment was made">"
show_hint="0">
<mt:var name="created_on_time_formatted">
<a title="<__trans phrase="View all comments created on this day">" href="<mt:var name="script_url">?__mode=search_replace&_type=comment&from=<mt:date ts="$created_on" format="%Y%m%d">&to=<mt:date ts="$created_on" format="%Y%m%d">&show_all=1&blog_id=<mt:var name="blog_id">&do_search=1"><img alt="" src="<mt:var name="static_uri">images/filter.gif" width="8" height="8" border="0" /></a>
</mtapp:setting>
<mtapp:setting
id="ip"
label="<__trans phrase="IP">"
content_class="field-content-text"
hint="<__trans phrase="IP Address of the commenter">"
show_hint="0">
<mt:var name="ip" escape="html">
<a title="<__trans phrase="View all comments from this IP address">" href="<mt:var name="script_url">?__mode=search_replace&_type=comment&blog_id=<mt:var name="blog_id">&is_limited=1&search_cols=ip&search=<mt:var name="ip" escape="html">&do_search=1"><img alt="" src="<mt:var name="static_uri">images/filter.gif" width="8" height="8" border="0" /></a>
</mtapp:setting>
<mtapp:setting
id="text"
label="<__trans phrase="Comment Text">"
hint="<__trans phrase="Fulltext of the comment entry">"
show_hint="0">
<textarea rows="" cols="" name="text" id="text" class="full-width medium"><mt:var name="text" escape="html"></textarea>
</mtapp:setting>
<mt:if name="position_actions_bottom">
<mt:include name="include/actions_bar.tmpl" bar_position="bottom" hide_pager="1">
</mt:if>
</form>
<mt:ignore>
<mt:if name="object_loop">
<h2><__trans phrase="Responses to this comment"></h2>
<mt:include name="include/comment_table.tmpl">
</mt:if>
</mt:ignore>
<mt:include name="include/footer.tmpl">
|