Changeset 14180 for trunk/themes
- Timestamp:
- Apr 16, 2012, 5:11:43 AM (12 years ago)
- Location:
- trunk/themes/default/template
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/themes/default/template/index.tpl
r13872 r14180 31 31 {/strip}</li> 32 32 {/if} 33 34 33 {if !empty($image_derivatives)} 35 34 <li>{strip}<a id="derivativeSwitchLink" title="{'Photo sizes'|@translate}" class="pwg-state-default pwg-button" rel="nofollow"> … … 42 41 <span>✔ </span>{$image_derivative.DISPLAY} 43 42 {else} 44 <span style="visibility:hidden">✔ </span><a href="{$image_derivative.URL}" class="switchUnselected"rel="nofollow">{$image_derivative.DISPLAY}</a>43 <span style="visibility:hidden">✔ </span><a href="{$image_derivative.URL}" rel="nofollow">{$image_derivative.DISPLAY}</a> 45 44 {/if} 46 45 {/foreach} -
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 -
trunk/themes/default/template/picture_content.tpl
r13474 r14180 1 <img src="{$current.selected_derivative->get_url()}" {$current.selected_derivative->get_size_htm()} alt="{$ALT_IMG}" id="theMainImage" usemap="#map{$current.selected_derivative->get_type()}" 2 {if isset($COMMENT_IMG)} 3 title="{$COMMENT_IMG|@strip_tags:false|@replace:'"':' '}" {else} title="{$current.TITLE|@replace:'"':' '} - {$ALT_IMG}" 4 {/if}> 1 <img src="{$current.selected_derivative->get_url()}" {$current.selected_derivative->get_size_htm()} alt="{$ALT_IMG}" id="theMainImage" usemap="#map{$current.selected_derivative->get_type()}" title="{if isset($COMMENT_IMG)}{$COMMENT_IMG|@strip_tags:false|@replace:'"':' '}{else}{$current.TITLE|@replace:'"':' '} - {$ALT_IMG}{/if}"> 5 2 6 3 {foreach from=$current.unique_derivatives item=derivative key=derivative_type}{strip} 7 <map name="map{$derivative->get_type()}" id="map{$derivative->get_type()}">4 <map name="map{$derivative->get_type()}"> 8 5 {assign var='size' value=$derivative->get_size()} 9 6 {if isset($previous)}
Note: See TracChangeset
for help on using the changeset viewer.