Changeset 18995 for trunk/themes


Ignore:
Timestamp:
Nov 11, 2012, 4:01:09 PM (11 years ago)
Author:
mistic100
Message:

feature:2786 Allow to edit website url in user comments + improve "user experience" on comment edition

File:
1 edited

Legend:

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

    r18748 r18995  
    66
    77.content .commentElement .description{ldelim}
    8         height: {$comment_derivative_params->max_height()+5}px
     8        min-height: {$comment_derivative_params->max_height()+5}px
    99}
    1010{/html_style}{/strip}
     
    2929        </div>
    3030        {/if}
    31         <div class="description"{if isset($comment.IN_EDIT)} style="height:200px"{/if}>
     31        <div class="description">
    3232                {if isset($comment.U_DELETE) or isset($comment.U_VALIDATE) or isset($comment.U_EDIT)}
    3333                <div class="actions" style="float:right;font-size:90%">
     
    4040                        <a href="{$comment.U_CANCEL}">
    4141                                {'Cancel'|@translate}
    42                         </a>{if isset($comment.U_VALIDATE) or isset($comment.U_EDIT)} | {/if}
     42                        </a>{if isset($comment.U_VALIDATE)} | {/if}
    4343                {/if}
    4444                {if isset($comment.U_EDIT) and !isset($comment.IN_EDIT)}
     
    6161                <a name="edit_comment"></a>
    6262                <form method="post" action="{$comment.U_EDIT}" id="editComment">
    63                         <p><label>{'Edit a comment'|@translate} :</label></p>
     63                        <p><label for="contenteditid">{'Edit a comment'|@translate} :</label></p>
    6464                        <p><textarea name="content" id="contenteditid" rows="5" cols="80">{$comment.CONTENT|@escape}</textarea></p>
     65                        <p><label for="website_url">{'Website'|@translate} :</label></p>
     66                        <p><input type="text" name="website_url" id="website_url" value="{$comment.WEBSITE_URL}" size="40"></p>
    6567                        <p><input type="hidden" name="key" value="{$comment.KEY}">
    6668                                <input type="hidden" name="pwg_token" value="{$comment.PWG_TOKEN}">
Note: See TracChangeset for help on using the changeset viewer.