Changeset 3475 for extensions/CommentEditor/template/edit.tpl
- Timestamp:
- Jun 30, 2009, 9:05:35 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/CommentEditor/template/edit.tpl
r3462 r3475 1 {* $Id: edit.tpl,v 1. 7 2009/06/26 09:17:01 Criss Exp $ *}2 {if !$comment.DISABLED}1 {* $Id: edit.tpl,v 1.8 2009/06/30 19:01:51 Criss Exp $ *} 2 {if isset($comment_editor.USERS)} 3 3 <script type="text/javascript"> 4 4 function toggleDisabled(aToggle, aList1, aList2) {ldelim} … … 14 14 <div class="titrePage"> 15 15 <ul class="categoryActions"> 16 <li><a href="{$ U_HOME}" title="{'return to homepage'|@translate}"><img src="{$themeconf.icon_dir}/home.png" class="button" alt="{'home'|@translate}"/></a></li>16 <li><a href="{$ce_exit.URL}" title="{$ce_exit.TITLE|@translate}"><img src="{$themeconf.icon_dir}/{$ce_exit.IMG}" class="button" alt="{$ce_exit.ALT|@translate}"/></a></li> 17 17 </ul> 18 <h2>{'c omment_edit'|@translate}</h2>18 <h2>{'ce_edit'|@translate}</h2> 19 19 </div> 20 20 <div id="ce-comments"> 21 <form method="post" action="{$comment .F_ACTION}" class="filter" id="editComment">21 <form method="post" action="{$comment_editor.F_ACTION}" class="filter" id="editComment"> 22 22 <table> 23 23 <tr> 24 <td>{'comment_author'|@translate}</td> 25 {if $comment.DISABLED} 26 <td colspan="3"> 27 <input type="text" name="ce_author" disabled="disabled" value="{$comment.AUTHOR}"> 28 {else} 24 <td>{'ce_author'|@translate}</td> 25 {if isset($comment_editor.USERS)} 29 26 <td> 30 {html_options name=ce_author id=ce_authorlist options=$comment .USERS selected=$comment.AUTHOR}27 {html_options name=ce_author id=ce_authorlist options=$comment_editor.USERS selected=$comment_editor.AUTHOR} 31 28 </td> 32 29 <td align="right"> 33 <input type="checkbox" name="ce_freeauthorck" id="ce_freeauthorck" value="1" onchange="toggleDisabled('ce_freeauthorck', 'ce_authorlist', 'ce_freeauthorfield');" {$comment .FREEAUTHOR}> {'comment_author_free'|@translate}30 <input type="checkbox" name="ce_freeauthorck" id="ce_freeauthorck" value="1" onchange="toggleDisabled('ce_freeauthorck', 'ce_authorlist', 'ce_freeauthorfield');" {$comment_editor.FREEAUTHOR}> {'ce_author_free'|@translate} 34 31 </td> 35 32 <td align="right"> 36 <input type="text" name="ce_freeauthor" id="ce_freeauthorfield" value="{$comment .AUTHOR}" >33 <input type="text" name="ce_freeauthor" id="ce_freeauthorfield" value="{$comment_editor.AUTHOR}" > 37 34 <script type="text/javascript">toggleDisabled('ce_freeauthorck', 'ce_authorlist', 'ce_freeauthorfield');</script> 35 {else} 36 <td colspan="3"> 37 <input type="text" name="ce_author" disabled="disabled" value="{$comment_editor.AUTHOR}"> 38 38 {/if} 39 39 </td> 40 40 </tr> 41 {if isset($comment_editor.TOOLBAR)} 41 42 <tr> 42 <td>{'comment_content'|@translate}</td> 43 <td> </td> 44 <td colspan="4">{$comment_editor.TOOLBAR}</td> 45 </tr> 46 {/if} 47 <tr> 48 <td>{'ce_content'|@translate}</td> 43 49 <td colspan="3"> 44 <textarea name="ce_content" id="ce_contentid" rows="5" cols="80">{$comment .CONTENT}</textarea>50 <textarea name="ce_content" id="ce_contentid" rows="5" cols="80">{$comment_editor.CONTENT}</textarea> 45 51 </td> 46 52 </tr> 47 53 <tr> 48 54 <td colspan="4" align="center"> 49 <input type="hidden" name="ce_imageid" value="{$comment .IMAGE}" />50 <input type="hidden" name="ce_commentid" value="{$comment .KEY}" />55 <input type="hidden" name="ce_imageid" value="{$comment_editor.IMAGE}" /> 56 <input type="hidden" name="ce_commentid" value="{$comment_editor.KEY}" /> 51 57 <input class="submit" type="submit" value="{'Submit'|@translate}"> 52 58 </td>
Note: See TracChangeset
for help on using the changeset viewer.