Changeset 2223 for trunk/template/yoga/comments.tpl
- Timestamp:
- Feb 28, 2008, 3:41:48 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/template/yoga/comments.tpl
r2222 r2223 1 <!-- DEV TAG: not smarty migrated --> 2 <!-- $Id$ --> 1 {* $Id$ *} 3 2 <div id="content"> 4 3 5 4 <div class="titrePage"> 6 5 <ul class="categoryActions"> 7 <li><a href="{ U_HOME}" title="{lang:return to homepage}"><img src="{themeconf:icon_dir}/home.png" class="button" alt="{lang:home}"/></a></li>6 <li><a href="{$U_HOME}" title="{'return to homepage'|@translate}"><img src="{$themeconf.icon_dir}/home.png" class="button" alt="{'home'|@translate}"/></a></li> 8 7 </ul> 9 <h2>{ lang:User comments}</h2>8 <h2>{'User comments'|@translate}</h2> 10 9 </div> 11 10 12 <form class="filter" action="{ F_ACTION}" method="get">11 <form class="filter" action="{$F_ACTION}" method="get"> 13 12 14 13 <fieldset> 15 <legend>{ lang:Filter}</legend>14 <legend>{'Filter'|@translate}</legend> 16 15 17 <label>{ lang:Keyword}<input type="text" name="keyword" value="{F_KEYWORD}" /></label>16 <label>{'Keyword'|@translate}<input type="text" name="keyword" value="{$F_KEYWORD}" /></label> 18 17 19 <label>{ lang:Author}<input type="text" name="author" value="{F_AUTHOR}" /></label>18 <label>{'Author'|@translate}<input type="text" name="author" value="{$F_AUTHOR}" /></label> 20 19 21 20 <label> 22 { lang:Category}21 {'Category'|@translate} 23 22 <select name="cat"> 24 <!-- BEGIN category --> 25 <option {category.SELECTED} value="{category.VALUE}">{category.OPTION}</option> 26 <!-- END category --> 23 <option value="0">------------</option> 24 {html_options options=$categories selected=$categories_selected} 27 25 </select> 28 26 </label> 29 27 30 28 <label> 31 { lang:Since}29 {'Since'|@translate} 32 30 <select name="since"> 33 <!-- BEGIN since_option --> 34 <option {since_option.SELECTED} value="{since_option.VALUE}">{since_option.CONTENT}</option> 35 <!-- END since_option --> 31 {html_options options=$since_options selected=$since_options_selected} 36 32 </select> 37 33 </label> … … 41 37 <fieldset> 42 38 43 <legend>{ lang:Display}</legend>39 <legend>{'Display'|@translate}</legend> 44 40 45 41 <label> 46 { lang:Sort by}42 {'Sort by'|@translate} 47 43 <select name="sort_by"> 48 <!-- BEGIN sort_by_option --> 49 <option value="{sort_by_option.VALUE}" {sort_by_option.SELECTED} >{sort_by_option.CONTENT}</option> 50 <!-- END sort_by_option --> 44 {html_options options=$sort_by_options selected=$sort_by_options_selected} 51 45 </select> 52 46 </label> 53 47 54 48 <label> 55 { lang:Sort order}49 {'Sort order'|@translate} 56 50 <select name="sort_order"> 57 <!-- BEGIN sort_order_option --> 58 <option value="{sort_order_option.VALUE}" {sort_order_option.SELECTED} >{sort_order_option.CONTENT}</option> 59 <!-- END sort_order_option --> 51 {html_options options=$sort_order_options selected=$sort_order_options_selected} 60 52 </select> 61 53 </label> 62 54 63 55 <label> 64 { lang:Number of items}56 {'Number of items'|@translate} 65 57 <select name="items_number"> 66 <!-- BEGIN items_number_option --> 67 <option value="{items_number_option.VALUE}" {items_number_option.SELECTED} >{items_number_option.CONTENT}</option> 68 <!-- END items_option --> 58 {html_options options=$item_number_options selected=$item_number_options_selected} 69 59 </select> 70 60 </label> … … 72 62 </fieldset> 73 63 74 <p><input class="submit" type="submit" value="{ lang:Filter and display}"></p>64 <p><input class="submit" type="submit" value="{'Filter and display'|@translate}"></p> 75 65 76 66 </form> 77 67 78 <div class="navigationBar">{ NAVBAR}</div>68 <div class="navigationBar">{$NAVBAR}</div> 79 69 70 {if isset($comments)} 80 71 <div id="comments"> 81 72 82 <!-- BEGIN comment -->73 {foreach from=$comments item=comment} 83 74 <div class="comment"> 84 <a class="illustration" href="{comment.U_PICTURE}"><img src="{comment.TN_SRC}" alt="{comment.ALT}" /></a> 85 <p class="commentHeader"><span class="author">{comment.AUTHOR}</span> - <span class="date">{comment.DATE}</span> 86 <!-- BEGIN action_delete --> 87 <a href="{comment.action_delete.U_DELETE}" title="{lang:comments_del}"> 88 <img src="{pwg_root}{themeconf:icon_dir}/delete.png" class="button" style="border:none;vertical-align:middle; margin-left:5px;" alt="[{lang:delete}]"/> 75 <a class="illustration" href="{$comment.U_PICTURE}"><img src="{$comment.TN_SRC}" alt="{$comment.ALT}" /></a> 76 <p class="commentHeader"><span class="author">{$comment.AUTHOR}</span> - <span class="date">{$comment.DATE}</span> 77 78 {if isset($comment.U_DELETE)} 79 <a href="{$comment.U_DELETE}" title="{'comments_del'|@translate}"> 80 <img src="{$ROOT_URL}{$themeconf.icon_dir}/delete.png" class="button" style="border:none;vertical-align:middle; margin-left:5px;" alt="[{'delete'|@translate}]"/> 89 81 </a> 90 <!-- END action_delete --> 91 <!-- BEGIN action_validate --> 92 <a href="{comment.action_validate.U_VALIDATE}" title="validate this comment"> 93 <img src="{pwg_root}{themeconf:icon_dir}/validate_s.png" class="button" style="border:none;vertical-align:middle; margin-left:5px;" alt="[validate]"/> 82 {/if} 83 84 {if isset($comment.U_VALIDATE)} 85 <a href="{$comment.U_VALIDATE}" title="validate this comment"> 86 <img src="{$ROOT_URL}{$themeconf.icon_dir}/validate_s.png" class="button" style="border:none;vertical-align:middle; margin-left:5px;" alt="[validate]"/> 94 87 </a> 95 <!-- END action_validate --> 88 {/if} 89 96 90 </p> 97 <blockquote>{ comment.CONTENT}</blockquote>91 <blockquote>{$comment.CONTENT}</blockquote> 98 92 <hr class="separation"> 99 93 </div> 100 101 <!-- END comment --> 102 94 95 {/foreach} 103 96 </div> 97 {/if} 104 98 105 99 </div> <!-- content -->
Note: See TracChangeset
for help on using the changeset viewer.