- Timestamp:
- Mar 14, 2012, 2:34:13 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/simple_themes/simple/template/comment_list.tpl
r13546 r13549 12 12 {if isset($comment.U_DELETE)} 13 13 <li> 14 15 16 14 <a href="{$comment.U_DELETE}" title="{'delete this comment'|@translate}" onclick="return confirm('{'Are you sure?'|@translate|@escape:javascript}');"> 15 [delete] 16 </a> 17 17 </li> 18 18 {/if} 19 {if isset($comment.U_EDIT) and !isset($comment.IN_EDIT)}20 <li>21 <a class="editComment" href="{$comment.U_EDIT}#edit_comment" title="{'edit this comment'|@translate}">22 [edit]23 </a>24 </li>25 {/if}19 {if isset($comment.U_EDIT) and !isset($comment.IN_EDIT)} 20 <li> 21 <a class="editComment" href="{$comment.U_EDIT}#edit_comment" title="{'edit this comment'|@translate}"> 22 [edit] 23 </a> 24 </li> 25 {/if} 26 26 {if isset($comment.U_VALIDATE)} 27 27 <li> 28 29 30 28 <a href="{$comment.U_VALIDATE}" title="{'validate this comment'|@translate}"> 29 [validate] 30 </a> 31 31 </li> 32 32 {/if} … … 37 37 <a name="edit_comment"></a> 38 38 <form method="post" action="{$comment.U_EDIT}" class="filter" id="editComment"> 39 40 41 42 43 44 45 39 <fieldset> 40 <legend>{'Edit a comment'|@translate}</legend> 41 <label>{'Comment'|@translate}<textarea name="content" id="contenteditid" rows="5" cols="80">{$comment.CONTENT|@escape}</textarea></label> 42 <input type="hidden" name="key" value="{$comment.KEY}"> 43 <input type="hidden" name="image_id" value="{$comment.IMAGE_ID|@default:$current.id}"> 44 <input class="submit" type="submit" value="{'Submit'|@translate}"> 45 </fieldset> 46 46 </form> 47 47 {else}
Note: See TracChangeset
for help on using the changeset viewer.