Changeset 21215 for extensions/stripped/template
- Timestamp:
- Mar 5, 2013, 7:37:03 PM (11 years ago)
- Location:
- extensions/stripped/template
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/stripped/template/comment_list.tpl
r18640 r21215 40 40 </div> 41 41 {/if} 42 <span class="author">{$comment.AUTHOR}</span> - <span class="date">{$comment.DATE}</span> 43 {if isset($comment.IN_EDIT)} 42 <span class="commentAuthor">{if $comment.WEBSITE_URL}<a href="{$comment.WEBSITE_URL}" class="external" target="_blank" rel="nofollow">{$comment.AUTHOR}</a>{else}{$comment.AUTHOR}{/if}</span> 43 {if $comment.EMAIL}- <a href="mailto:{$comment.EMAIL}">{$comment.EMAIL}</a>{/if} 44 - <span class="commentDate">{$comment.DATE}</span> 45 {if isset($comment.IN_EDIT)} 44 46 <a name="edit_comment"></a> 45 47 <form method="post" action="{$comment.U_EDIT}" class="filter" id="editComment"> … … 47 49 <legend>{'Edit a comment'|@translate}</legend> 48 50 <label><textarea name="content" id="contenteditid" rows="4" cols="80">{$comment.CONTENT|@escape}</textarea></label> 51 <p><label for="website_url">{'Website'|@translate} :</label></p> 52 <p><input type="text" name="website_url" id="website_url" value="{$comment.WEBSITE_URL}" size="40"></p> 49 53 <input type="hidden" name="key" value="{$comment.KEY}"> 50 54 <input type="hidden" name="pwg_token" value="{$comment.PWG_TOKEN}"> -
extensions/stripped/template/picture.tpl
r18640 r21215 352 352 <h4>{'Add a comment'|@translate}</h4> 353 353 <form method="post" action="{$comment_add.F_ACTION}" class="filter" id="addComment" > 354 {if $comment_add.SHOW_AUTHOR} 355 <p><label>{'Author'|@translate} :</label></p> 356 <p><input type="text" name="author" /></p> 357 {/if} 358 <p><label>{'Comment'|@translate} :</label></p> 359 <p><textarea name="content" id="contentid" rows="5" cols="50">{$comment_add.CONTENT}</textarea></p> 360 <p><input type="hidden" name="key" value="{$comment_add.KEY}" /> 361 <input class="submit" type="submit" value="{'Submit'|@translate}"></p> 362 </form> 354 {if $comment_add.SHOW_AUTHOR} 355 <p><label for="author">{'Author'|@translate}{if $comment_add.AUTHOR_MANDATORY} ({'mandatory'|@translate}){/if} :</label></p> 356 <p><input type="text" name="author" id="author" value="{$comment_add.AUTHOR}"></p> 357 {/if} 358 {if $comment_add.SHOW_EMAIL} 359 <p><label for="email">{'Email'|@translate}{if $comment_add.EMAIL_MANDATORY} ({'mandatory'|@translate}){/if} :</label></p> 360 <p><input type="text" name="email" id="email" value="{$comment_add.EMAIL}"></p> 361 {/if} 362 <p><label for="website_url">{'Website'|@translate} :</label></p> 363 <p><input type="text" name="website_url" id="website_url" value="{$comment_add.WEBSITE_URL}"></p> 364 <p><label for="contentid">{'Comment'|@translate} ({'mandatory'|@translate}) :</label></p> 365 <p><textarea name="content" id="contentid" rows="5" cols="50">{$comment_add.CONTENT}</textarea></p> 366 <p><input type="hidden" name="key" value="{$comment_add.KEY}"> 367 <input class="submit" type="submit" value="{'Submit'|@translate}"></p> 368 </form> 363 369 </div> 364 370 {/if}
Note: See TracChangeset
for help on using the changeset viewer.