Changeset 5682 for trunk/themes


Ignore:
Timestamp:
Apr 5, 2010, 10:49:32 PM (14 years ago)
Author:
grum
Message:

bug 1580 - remove some hard coded markup (move them to the template)

File:
1 edited

Legend:

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

    r5207 r5682  
    4141      <a name="edit_comment"></a>
    4242      <form  method="post" action="{$comment.U_EDIT}" class="filter" id="editComment">
    43         <fieldset>
    44           <legend>{'Edit a comment'|@translate}</legend>
    45           <label>{'Comment'|@translate}<textarea name="content" id="contenteditid" rows="5" cols="80">{$comment.CONTENT|@escape}</textarea></label>
    46           <input type="hidden" name="key" value="{$comment.KEY}">
    47           <input type="hidden" name="image_id" value="{$comment.IMAGE_ID|@default:$current.id}">
    48           <input class="submit" type="submit" value="{'Submit'|@translate}">
    49         </fieldset>
     43  <fieldset>
     44    <legend>{'Edit a comment'|@translate}</legend>
     45    <label>{'Comment'|@translate}<textarea name="content" id="contenteditid" rows="5" cols="80">{$comment.CONTENT|@escape}</textarea></label>
     46    <input type="hidden" name="key" value="{$comment.KEY}">
     47    <input type="hidden" name="image_id" value="{$comment.IMAGE_ID|@default:$current.id}">
     48    <input class="submit" type="submit" value="{'Submit'|@translate}">
     49  </fieldset>
    5050      </form>
    51       {else}     
    52       <blockquote>{$comment.CONTENT}</blockquote>
     51      {else}
     52      <blockquote><div>{$comment.CONTENT}</div></blockquote>
    5353      {/if}
    5454    </div>
Note: See TracChangeset for help on using the changeset viewer.