Ignore:
Timestamp:
Apr 2, 2012, 10:49:46 PM (12 years ago)
Author:
rvelices
Message:
  • comment edit form looks ok now with the new comment layout
  • removed unused css / simplify it
  • simplified jquery drop boxes ...
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/themes/default/template/comment_list.tpl

    r13801 r13865  
    4444                {if isset($comment.IN_EDIT)}
    4545                <a name="edit_comment"></a>
    46                 <form  method="post" action="{$comment.U_EDIT}" class="filter" id="editComment">
    47                         <fieldset>
    48                                 <legend>{'Edit a comment'|@translate}</legend>
    49                                 <label>{'Comment'|@translate}<textarea name="content" id="contenteditid" rows="5" cols="80">{$comment.CONTENT|@escape}</textarea></label>
    50                                 <input type="hidden" name="key" value="{$comment.KEY}">
     46                <form method="post" action="{$comment.U_EDIT}" id="editComment">
     47                        <p><label>{'Edit a comment'|@translate} :</label></p>
     48                        <p><textarea name="content" id="contenteditid" rows="5" cols="80">{$comment.CONTENT|@escape}</textarea></p>
     49                        <p><input type="hidden" name="key" value="{$comment.KEY}">
     50                                <input type="hidden" name="pwg_token" value="{$comment.PWG_TOKEN}">
    5151                                <input type="hidden" name="image_id" value="{$comment.IMAGE_ID|@default:$current.id}">
    5252                                <input type="submit" value="{'Submit'|@translate}">
    53                         </fieldset>
     53                        </p>
    5454                </form>
    5555                {else}
Note: See TracChangeset for help on using the changeset viewer.