Changeset 3452 for trunk/template


Ignore:
Timestamp:
Jun 24, 2009, 9:00:40 PM (15 years ago)
Author:
nikrou
Message:

Fix two problem with Feature 1026 :
use of $confuser_fieldsusername and $confuser_fieldsid instead of username and id
escape comment content before editing it.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/template/yoga/comment_list.tpl

    r3446 r3452  
    4343        <fieldset>
    4444          <legend>{'Edit a comment'|@translate}</legend>
    45           <label>{'comment'|@translate}<textarea name="content" id="contenteditid" rows="5" cols="80">{$comment.CONTENT}</textarea></label>
     45          <label>{'comment'|@translate}<textarea name="content" id="contenteditid" rows="5" cols="80">{$comment.CONTENT|escape}</textarea></label>
    4646          <input type="hidden" name="key" value="{$comment.KEY}">
    4747          <input type="hidden" name="image_id" value="{$comment.IMAGE_ID|default:$current.id}">
Note: See TracChangeset for help on using the changeset viewer.