Changeset 3445 for trunk/template/yoga
- Timestamp:
- Jun 23, 2009, 3:44:58 PM (15 years ago)
- Location:
- trunk/template/yoga
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/template/yoga/comment_list.tpl
r3282 r3445 3 3 {foreach from=$comments item=comment name=comment_loop} 4 4 <li> 5 5 <div class="thumbnailCategory {if $smarty.foreach.comment_loop.index is odd}odd{else}even{/if}"> 6 6 {if isset($comment.TN_SRC)} 7 7 <div class="illustration"> … … 11 11 </div> 12 12 {/if} 13 <div class="description" >14 {if isset($comment.U_DELETE) or isset($comment.U_VALIDATE) }13 <div class="description" style="height:{if ($comment.IN_EDIT==1)}200{/if}px"> 14 {if isset($comment.U_DELETE) or isset($comment.U_VALIDATE) or isset($comment.U_EDIT) } 15 15 <ul class="actions" style="float:right"> 16 16 {if isset($comment.U_DELETE)} 17 17 <li> 18 <a href="{$comment.U_DELETE}" title="{'delete this comment'|@translate}" >18 <a href="{$comment.U_DELETE}" title="{'delete this comment'|@translate}" onclick="return confirm('{'Are you sure?'|@translate|@escape:javascript}');"> 19 19 <img src="{$ROOT_URL}{$themeconf.icon_dir}/delete.png" class="button" alt="[delete]"> 20 </a> 21 </li> 22 {/if} 23 {if isset($comment.U_EDIT) and ($comment.IN_EDIT!=1)} 24 <li> 25 <a class="editComment" href="{$comment.U_EDIT}#edit_comment" title="{'edit this comment'|@translate}"> 26 <img src="{$ROOT_URL}{$themeconf.icon_dir}/edit.png" class="button" alt="[edit]"> 20 27 </a> 21 28 </li> … … 31 38 {/if} 32 39 <span class="author">{$comment.AUTHOR}</span> - <span class="date">{$comment.DATE}</span> 40 {if ($comment.IN_EDIT==1)} 41 <a name="edit_comment"></a> 42 <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}</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> 50 </form> 51 {else} 33 52 <blockquote>{$comment.CONTENT}</blockquote> 53 {/if} 34 54 </div> 35 55 </div> 36 </li> 37 {if isset($comment_separator)} 38 <hr> 39 {/if} 56 <li> 40 57 {/foreach} 41 58 </ul> -
trunk/template/yoga/picture.tpl
r3283 r3445 258 258 259 259 {if isset($comments)} 260 {include file='comment_list.tpl' comment_separator=true}260 {include file='comment_list.tpl'} 261 261 {/if} 262 262 -
trunk/template/yoga/theme/Sylvia/theme.css
r3283 r3445 1 1 .content div.thumbnailCategory div.illustration { 2 2 width:165px !important; /* Usable range 162px-360px , optimal : Thumbnail width + 40px */ 3 }4 .content div.thumbnailCategory {5 height: 180px !important; /* Usable range 172px-250px , optimal : Thumbnail height + 30px */6 }7 .content div.thumbnailCategory div.description .text {8 height: 130px !important; /* -42px than previous one */9 3 } 10 4 #comments div.thumbnailCategory div.illustration { … … 222 216 margin: 0; 223 217 padding:15px 10px 3px 0; 224 overflow : hidden !important;218 overflow-x: hidden !important; 225 219 } 226 220 .content .thumbnailCategory div.description .text {
Note: See TracChangeset
for help on using the changeset viewer.