Changeset 14180 for trunk/themes/default/template/picture.tpl
- Timestamp:
- Apr 16, 2012, 5:11:43 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/themes/default/template/picture.tpl
r13870 r14180 19 19 {include file='picture_nav_buttons.tpl'|@get_extent:'picture_nav_buttons'} 20 20 <div class="actionButtons"> 21 22 21 {if count($current.unique_derivatives)>1} 23 22 {footer_script require='jquery'}{literal} … … 35 34 document.cookie = 'picture_deriv='+typeSave+';path={/literal}{$COOKIE_PATH}{literal}'; 36 35 } 37 38 36 jQuery("#derivativeSwitchLink").click(function() { 39 37 var elt = jQuery("#derivativeSwitchBox"); … … 63 61 {/strip} 64 62 {/if} 65 66 63 {strip}{if isset($U_SLIDESHOW_START)} 67 64 <a href="{$U_SLIDESHOW_START}" title="{'slideshow'|@translate}" class="pwg-state-default pwg-button" rel="nofollow"> … … 125 122 <p class="imageComment">{$COMMENT_IMG}</p> 126 123 {/if} 127 128 124 {if isset($U_SLIDESHOW_STOP)} 129 125 <p> … … 338 334 <div id="pictureComments"> 339 335 {if isset($comment_add)} 340 <div id="commentAdd"> 341 <h4>{'Add a comment'|@translate}</h4> 342 <form method="post" action="{$comment_add.F_ACTION}" id="addComment" > 343 {if $comment_add.SHOW_AUTHOR} 344 <p><label>{'Author'|@translate} :</label></p> 345 <p><input type="text" name="author" /></p> 346 <p><label>{'Comment'|@translate} :</label></p> 336 <div id="commentAdd"> 337 <h4>{'Add a comment'|@translate}</h4> 338 <form method="post" action="{$comment_add.F_ACTION}" id="addComment"> 339 {if $comment_add.SHOW_AUTHOR} 340 <p><label>{'Author'|@translate} :</label></p> 341 <p><input type="text" name="author"></p> 342 <p><label>{'Comment'|@translate} :</label></p> 343 {/if} 344 <p><textarea name="content" id="contentid" rows="5" cols="50">{$comment_add.CONTENT}</textarea></p> 345 <p><input type="hidden" name="key" value="{$comment_add.KEY}"> 346 <input type="submit" value="{'Submit'|@translate}"></p> 347 </form> 348 </div> 349 {/if} 350 {if isset($comments)} 351 <div id="pictureCommentList"> 352 {if (($COMMENT_COUNT > 2) || !empty($navbar))} 353 <div id="pictureCommentNavBar"> 354 {if $COMMENT_COUNT > 2} 355 <a href="{$COMMENTS_ORDER_URL}#comments" rel="nofollow" class="commentsOrder">{$COMMENTS_ORDER_TITLE}</a> 347 356 {/if} 348 <p><textarea name="content" id="contentid" rows="5" cols="50">{$comment_add.CONTENT}</textarea></p> 349 <p><input type="hidden" name="key" value="{$comment_add.KEY}" /> 350 <input type="submit" value="{'Submit'|@translate}"></p> 351 </form> 352 </div> 353 {/if} 354 {if isset($comments)} 355 <div id="pictureCommentList"> 356 {if (($COMMENT_COUNT > 2) || !empty($navbar))} 357 <div id="pictureCommentNavBar"> 358 {if $COMMENT_COUNT > 2} 359 <a href="{$COMMENTS_ORDER_URL}#comments" rel="nofollow" class="commentsOrder">{$COMMENTS_ORDER_TITLE}</a> 360 {/if} 361 {if !empty($navbar) }{include file='navigation_bar.tpl'|@get_extent:'navbar'}{/if} 362 </div> 363 {/if} 364 {include file='comment_list.tpl'} 365 </div> 366 {/if} 367 <div style="clear: both;"></div> 357 {if !empty($navbar) }{include file='navigation_bar.tpl'|@get_extent:'navbar'}{/if} 358 </div> 359 {/if} 360 {include file='comment_list.tpl'} 361 </div> 362 {/if} 363 <div style="clear:both"></div> 368 364 </div> 369 365
Note: See TracChangeset
for help on using the changeset viewer.