source: extensions/UserCollections/template/themes/default.tpl @ 20090

Last change on this file since 20090 was 20090, checked in by mistic100, 11 years ago
  • add webservices
  • add mail function
  • add admin list
  • add admin export function
  • try to deal with Gthumb+
  • activate multisize dropdown menu of collection page

TODO : use webservices instead of toggle_image.php

File size: 1.5 KB
Line 
1{$MENUBAR}
2
3<div id="content" class="content{if isset($MENUBAR)} contentWithMenu{/if}">
4
5<div class="titrePage">
6        <ul class="categoryActions">
7  {if !empty($image_derivatives)}
8                <li>{strip}<a id="derivativeSwitchLink" title="{'Photo sizes'|@translate}" class="pwg-state-default pwg-button" rel="nofollow">
9                        <span class="pwg-icon pwg-icon-sizes">&nbsp;</span><span class="pwg-button-text">{'Photo sizes'|@translate}</span>
10                </a>
11                <div id="derivativeSwitchBox" class="switchBox">
12                        <div class="switchBoxTitle">{'Photo sizes'|@translate}</div>
13                        {foreach from=$image_derivatives item=image_derivative name=loop}{if !$smarty.foreach.loop.first}<br>{/if}
14                        {if $image_derivative.SELECTED}
15                        <span>&#x2714; </span>{$image_derivative.DISPLAY}
16                        {else}
17                        <span style="visibility:hidden">&#x2714; </span><a href="{$image_derivative.URL}" rel="nofollow">{$image_derivative.DISPLAY}</a>
18                        {/if}
19                        {/foreach}
20                </div>
21                {footer_script require='jquery'}{literal}
22    jQuery("#derivativeSwitchLink").click(function() {
23      var elt = jQuery("#derivativeSwitchBox");
24      elt.css("left", Math.min( jQuery(this).offset().left, jQuery(window).width() - elt.outerWidth(true) - 5))
25        .css("top", jQuery(this).offset().top + jQuery(this).outerHeight(true))
26        .toggle();
27    });
28    jQuery("#derivativeSwitchBox").on("mouseleave", function() {
29      jQuery(this).hide();
30    });
31                {/literal}{/footer_script}
32                {/strip}</li>
33  {/if}
34
35  {if !empty($COLLECTION_ACTIONS)}
36    {$COLLECTION_ACTIONS}
37  {/if}
38        </ul>
39
40  <h2>{$TITLE}</h2>
41</div>
Note: See TracBrowser for help on using the repository browser.