Ignore:
Timestamp:
Mar 14, 2011, 5:12:07 PM (13 years ago)
Author:
flop25
Message:

updating tpl files
delete of picture.css
Theme URI updated

Location:
extensions/floOS/OS_glass_clear
Files:
2 added
1 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • extensions/floOS/OS_glass_clear/template/picture.tpl

    r9673 r9675  
    3737<div id="imageToolBar">
    3838  <div class="randomButtons">
    39     {if isset($U_SLIDESHOW_START) }
    40       <a href="{$U_SLIDESHOW_START}" title="{'slideshow'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/start_slideshow.png" class="button" alt="{'slideshow'|@translate}"></a>
    41     {/if}
    42     {if isset($U_METADATA) }
    43       <a href="{$U_METADATA}" title="{'Show file metadata'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/metadata.png" class="button" alt="metadata"></a>
    44     {/if}
    45     {if isset($current.U_DOWNLOAD) }
    46       <a href="{$current.U_DOWNLOAD}" title="{'download this file'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/save.png" class="button" alt="{'download'|@translate}"></a>
    47     {/if}
    48     {if isset($PLUGIN_PICTURE_ACTIONS)}{$PLUGIN_PICTURE_ACTIONS}{/if}
    49     {if isset($favorite) }
    50       <a href="{$favorite.U_FAVORITE}" title="{if $favorite.IS_FAVORITE}{'delete this image from your favorites'|@translate}{else}{'add this image to your favorites'|@translate}{/if}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/{if $favorite.IS_FAVORITE}del_favorite{else}favorite{/if}.png" class="button" alt="favorite" title="{if $favorite.IS_FAVORITE}{'delete this image from your favorites'|@translate}{else}{'add this image to your favorites'|@translate}{/if}"></a>
    51     {/if}
    52     {if !empty($U_SET_AS_REPRESENTATIVE) }
    53       <a href="{$U_SET_AS_REPRESENTATIVE}" title="{'set as category representative'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/representative.png" class="button" alt="{'representative'|@translate}"></a>
    54     {/if}
    55     {if isset($U_ADMIN) }
    56       <a href="{$U_ADMIN}" title="{'Modify information'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/preferences.png" class="button" alt="{'edit'|@translate}"></a>
    57     {/if}
    58     {if isset($U_CADDIE) }{*caddie management BEGIN*}
    59 <script type="text/javascript">
     39{strip}{if isset($U_SLIDESHOW_START)}
     40        <a href="{$U_SLIDESHOW_START}" title="{'slideshow'|@translate}" class="pwg-state-default pwg-button" rel="nofollow">
     41                <span class="pwg-icon pwg-icon-slideshow"> </span><span class="pwg-button-text">{'slideshow'|@translate}</span>
     42        </a>
     43{/if}{/strip}
     44{strip}{if isset($U_METADATA)}
     45        <a href="{$U_METADATA}" title="{'Show file metadata'|@translate}" class="pwg-state-default pwg-button" rel="nofollow">
     46                <span class="pwg-icon pwg-icon-camera-info"> </span><span class="pwg-button-text">{'Show file metadata'|@translate}</span>
     47        </a>
     48{/if}{/strip}
     49{strip}{if isset($current.U_DOWNLOAD)}
     50        <a href="{$current.U_DOWNLOAD}" title="{'download this file'|@translate}" class="pwg-state-default pwg-button" rel="nofollow">
     51                <span class="pwg-icon pwg-icon-save"> </span><span class="pwg-button-text">{'download'|@translate}</span>
     52        </a>
     53{/if}{/strip}
     54{if isset($PLUGIN_PICTURE_ACTIONS)}{$PLUGIN_PICTURE_ACTIONS}{/if}
     55{strip}{if isset($favorite)}
     56        <a href="{$favorite.U_FAVORITE}" title="{if $favorite.IS_FAVORITE}{'delete this photo from your favorites'|@translate}{else}{'add this photo to your favorites'|@translate}{/if}" class="pwg-state-default pwg-button" rel="nofollow">
     57                <span class="pwg-icon pwg-icon-favorite-{if $favorite.IS_FAVORITE}del{else}add{/if}"> </span><span class="pwg-button-text">{'Favorites'|@translate}</span>
     58        </a>
     59{/if}{/strip}
     60{strip}{if isset($U_SET_AS_REPRESENTATIVE)}
     61        <a href="{$U_SET_AS_REPRESENTATIVE}" title="{'set as album representative'|@translate}" class="pwg-state-default pwg-button" rel="nofollow">
     62                <span class="pwg-icon pwg-icon-representative"> </span><span class="pwg-button-text">{'representative'|@translate}</span>
     63        </a>
     64{/if}{/strip}
     65{strip}{if isset($U_ADMIN)}
     66        <a href="{$U_ADMIN}" title="{'Modify information'|@translate}" class="pwg-state-default pwg-button" rel="nofollow">
     67                <span class="pwg-icon pwg-icon-edit"> </span><span class="pwg-button-text">{'edit'|@translate}</span>
     68        </a>
     69{/if}{/strip}
     70{strip}{if isset($U_CADDIE)}{*caddie management BEGIN*}
     71{footer_script}
    6072{literal}function addToCadie(aElement, rootUrl, id)
    6173{
    6274if (aElement.disabled) return;
    63 aElement.disabled=true; 
     75aElement.disabled=true;
    6476var y = new PwgWS(rootUrl);
    65 
    6677y.callService(
    67   "pwg.caddie.add", {image_id: id} ,
    68   {
    69     onFailure: function(num, text) { alert(num + " " + text); document.location=aElement.href; },
    70     onSuccess: function(result) { aElement.disabled = false; }
    71   }
    72   );
     78        "pwg.caddie.add", {image_id: id} ,
     79        {
     80                onFailure: function(num, text) { alert(num + " " + text); document.location=aElement.href; },
     81                onSuccess: function(result) { aElement.disabled = false; }
     82        }
     83        );
    7384}{/literal}
    74 </script>
    75       <a href="{$U_CADDIE}" onclick="addToCadie(this, '{$ROOT_URL|@escape:'javascript'}', {$current.id}); return false;" title="{'add to caddie'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/caddie_add.png" class="button" alt="{'caddie'|@translate}"></a>
    76     {/if}{*caddie management END*}
     85{/footer_script}
     86        <a href="{$U_CADDIE}" onclick="addToCadie(this, '{$ROOT_URL}', {$current.id}); return false;" title="{'add to caddie'|@translate}" class="pwg-state-default pwg-button" rel="nofollow">
     87                <span class="pwg-icon pwg-icon-caddie-add"> </span><span class="pwg-button-text">{'caddie'|@translate}</span>
     88        </a>
     89{/if}{/strip}{*caddie management END*}
    7790  </div>
    7891  {include file='picture_nav_buttons.tpl'|@get_extent:'picture_nav_buttons'}
    79 </div> <!-- imageToolBar -->
     92</div>{*<!-- imageToolBar -->*}
    8093
    8194<div id="theImage">
     
    142155</div>
    143156
    144 <table id="standard" class="infoTable" summary="{'Some info about this picture'|@translate}">
    145   {if $display_info.author}
     157<table id="standard" class="infoTable">
     158{strip}
     159 {if $display_info.author}
    146160  <tr id="Author">
    147161    <td class="label">{'Author'|@translate}</td>
     
    228242        <tr id="rating">
    229243                <td class="label">
    230                         <span id="updateRate">{if isset($rating.USER_RATE)}{'Update your rating'|@translate}{else}{'Rate this picture'|@translate}{/if}</span>
     244                        <span id="updateRate">{if isset($rating.USER_RATE)}{'Update your rating'|@translate}{else}{'Rate this photo'|@translate}{/if}</span>
    231245                </td>
    232246                <td class="value">
    233247                        <form action="{$rating.F_ACTION}" method="post" id="rateForm" style="margin:0;">
    234                         <div>&nbsp;
     248                        <div>
    235249                        {foreach from=$rating.marks item=mark name=rate_loop}
    236                         {if !$smarty.foreach.rate_loop.first} | {/if}
    237250                        {if isset($rating.USER_RATE) && $mark==$rating.USER_RATE}
    238                           <input type="button" name="rate" value="{$mark}" class="rateButtonSelected" title="{$mark}">
     251                                <input type="button" name="rate" value="{$mark}" class="rateButtonSelected" title="{$mark}">
    239252                        {else}
    240                           <input type="submit" name="rate" value="{$mark}" class="rateButton" title="{$mark}">
     253                                <input type="submit" name="rate" value="{$mark}" class="rateButton" title="{$mark}">
    241254                        {/if}
    242255                        {/foreach}
    243                         <script type="text/javascript" src="{$ROOT_URL}themes/default/js/rating.js"></script>
    244                         <script type="text/javascript">
    245                         makeNiceRatingForm( {ldelim}rootUrl: '{$ROOT_URL|@escape:"javascript"}', image_id: {$current.id},
    246                         updateRateText: "{'Update your rating'|@translate|@escape:'javascript'}", updateRateElement: document.getElementById("updateRate"),
    247                         ratingSummaryText: "{'%.2f (rated %d times)'|@translate|@escape:'javascript'}", ratingSummaryElement: document.getElementById("ratingSummary") {rdelim} );
    248                         </script>
     256                        {strip}{combine_script id='core.scripts' load='async' path='themes/default/js/scripts.js'}
     257                        {combine_script id='rating' load='async' require='core.scripts' path='themes/default/js/rating.js'}
     258                        {footer_script}
     259                                var _pwgRatingAutoQueue = _pwgRatingAutoQueue||[];
     260                                _pwgRatingAutoQueue.push( {ldelim}rootUrl: '{$ROOT_URL}', image_id: {$current.id},
     261                                        updateRateText: "{'Update your rating'|@translate|@escape:'javascript'}", updateRateElement: document.getElementById("updateRate"),
     262                                        ratingSummaryText: "{'%.2f (rated %d times)'|@translate|@escape:'javascript'}", ratingSummaryElement: document.getElementById("ratingSummary"){rdelim} );
     263                        {/footer_script}
     264                        {/strip}
    249265                        </div>
    250266                        </form>
     
    253269{/if}
    254270
    255 {if $display_info.privacy_level and isset($available_permission_levels) }
     271{if $display_info.privacy_level and isset($available_permission_levels)}
    256272        <tr id="Privacy">
    257273                <td class="label">{'Who can see this photo?'|@translate}</td>
    258                 <td class="value">
    259 <script type="text/javascript">
     274                <td class="value">
     275{combine_script id='core.scripts' load='async' path='themes/default/js/scripts.js'}
     276{footer_script}
    260277{literal}function setPrivacyLevel(selectElement, rootUrl, id, level)
    261278{
     
    271288        );
    272289}{/literal}
    273 </script>
    274         <select onchange="setPrivacyLevel(this, '{$ROOT_URL|@escape:'javascript'}', {$current.id}, this.options[selectedIndex].value)">
     290{/footer_script}
     291        <select onchange="setPrivacyLevel(this, '{$ROOT_URL}', {$current.id}, this.options[selectedIndex].value)">
    275292                {foreach from=$available_permission_levels item=label key=level}
    276293                <option label="{$label}" value="{$level}"{if $level == $current.level} selected="selected"{/if}>{$label}</option>
     
    279296        </td></tr>
    280297{/if}
    281 
     298{/strip}
    282299</table>
    283300
  • extensions/floOS/OS_glass_clear/template/picture_nav_buttons.tpl

    r9673 r9675  
    11  <div class="navButtons">
    22 
    3 {if isset($last)}
    4   <a class="navButton prev" href="{$last.U_IMG}" title="{'Last'|@translate} : {$last.TITLE}" rel="last"><img src="{$ROOT_URL}{$themeconf.icon_dir}/last.png" class="button" alt="{'Last'|@translate}"></a>
     3{strip}{if isset($last)}
     4        <a href="{$last.U_IMG}" title="{'Last'|@translate} : {$last.TITLE}" class="pwg-state-default pwg-button pwg-button-icon-right">
     5                <span class="pwg-icon pwg-icon-arrowstop-e"></span><span class="pwg-button-text">{'Last'|@translate}</span>
     6        </a>
    57{else}
    6   <a class="navButton prev"><img src="{$ROOT_URL}{$themeconf.icon_dir}/last_unactive.png" class="button" alt=""></a>
    7 {/if}
    8  
    9 {if isset($next)}
    10   <a class="navButton next" href="{$next.U_IMG}" title="{'Next'|@translate} : {$next.TITLE}" rel="next"><img src="{$ROOT_URL}{$themeconf.icon_dir}/right.png" class="button" alt="{'Next'|@translate}"></a>
     8        <span class="pwg-state-disabled pwg-button pwg-button-icon-right">
     9                <span class="pwg-icon pwg-icon-arrowstop-e">&nbsp;</span><span class="pwg-button-text">{'Last'|@translate}</span>
     10        </span>
     11{/if}{/strip}
     12{strip}{if isset($next)}
     13        <a href="{$next.U_IMG}" title="{'Next'|@translate} : {$next.TITLE}" class="pwg-state-default pwg-button pwg-button-icon-right">
     14                <span class="pwg-icon pwg-icon-arrow-e">&nbsp;</span><span class="pwg-button-text">{'Next'|@translate}</span>
     15        </a>
    1116{else}
    12   <a class="navButton next"><img src="{$ROOT_URL}{$themeconf.icon_dir}/right_unactive.png" class="button" alt=""></a>
    13 {/if}
     17        <span class="pwg-state-disabled pwg-button pwg-button-icon-right">
     18                <span class="pwg-icon pwg-icon-arrow-e">&nbsp;</span><span class="pwg-button-text">{'Next'|@translate}</span>
     19        </span>
     20{/if}{/strip}
    1421{if isset($next) }
    1522<a class="navThumb" id="thumbNext" href="{$next.U_IMG}" title="{'Next'|@translate} : {$next.TITLE}" rel="next">
     
    1724</a>
    1825{/if}
    19     <img src="{$current.THUMB_SRC}" class="thumbLink" id="thumbCurrent" alt="{$ALT_IMG}">
     26        <img src="{$current.THUMB_SRC}" class="thumbLink" id="thumbCurrent" alt="{$ALT_IMG}">
    2027{if isset($previous) }
    2128<a class="navThumb" id="thumbPrev" href="{$previous.U_IMG}" title="{'Previous'|@translate} : {$previous.TITLE}" rel="prev">
     
    2532
    2633{if isset($slideshow.U_START_PLAY)}
    27   <a class="navButton play" href="{$slideshow.U_START_PLAY}" title="{'Play of slideshow'|@translate}" rel="play"><img src="{$ROOT_URL}{$themeconf.icon_dir}/play.png" class="button" alt="{'Play of slideshow'|@translate}"></a>
     34        <a href="{$slideshow.U_START_PLAY}" title="{'Play of slideshow'|@translate}" class="pwg-state-default pwg-button">
     35                <span class="pwg-icon pwg-icon-play">&nbsp;</span><span class="pwg-button-text">{'Play of slideshow'|@translate}</span>
     36        </a>
    2837{/if}
    29 
    3038{if isset($slideshow.U_STOP_PLAY)}
    31   <a class="navButton play" href="{$slideshow.U_STOP_PLAY}" title="{'Pause of slideshow'|@translate}" rel="play"><img src="{$ROOT_URL}{$themeconf.icon_dir}/pause.png" class="button" alt="{'Pause of slideshow'|@translate}"></a>
     39        <a href="{$slideshow.U_STOP_PLAY}" title="{'Pause of slideshow'|@translate}" class="pwg-state-default pwg-button">
     40                <span class="pwg-icon pwg-icon-pause">&nbsp;</span><span class="pwg-button-text">{'Pause of slideshow'|@translate}</span>
     41        </a>
    3242{/if}
    3343
    3444 
    35 {if isset($previous)}
    36   <a class="navButton prev" href="{$previous.U_IMG}" title="{'Previous'|@translate} : {$previous.TITLE}" rel="prev"><img src="{$ROOT_URL}{$themeconf.icon_dir}/left.png" class="button" alt="{'Previous'|@translate}"></a>
     45{strip}{if isset($previous)}
     46        <a href="{$previous.U_IMG}" title="{'Previous'|@translate} : {$previous.TITLE}" class="pwg-state-default pwg-button">
     47                <span class="pwg-icon pwg-icon-arrow-w">&nbsp;</span><span class="pwg-button-text">{'Previous'|@translate}</span>
     48        </a>
    3749{else}
    38   <a class="navButton prev"><img src="{$ROOT_URL}{$themeconf.icon_dir}/left_unactive.png" class="button" alt=""></a>
    39 {/if}
     50        <span class="pwg-state-disabled pwg-button">
     51                <span class="pwg-icon pwg-icon-arrow-w">&nbsp;</span><span class="pwg-button-text">{'Previous'|@translate}</span>
     52        </span>
     53{/if}{/strip}
    4054 
    41 {if isset($first)}
    42   <a class="navButton prev" href="{$first.U_IMG}" title="{'First'|@translate} : {$first.TITLE}" rel="first"><img src="{$ROOT_URL}{$themeconf.icon_dir}/first.png" class="button" alt="{'First'|@translate}"></a>
     55{strip}{if isset($first)}
     56        <a href="{$first.U_IMG}" title="{'First'|@translate} : {$first.TITLE}" class="pwg-state-default pwg-button">
     57                <span class="pwg-icon pwg-icon-arrowstop-w">&nbsp;</span><span class="pwg-button-text">{'First'|@translate}</span>
     58        </a>
    4359{else}
    44   <a class="navButton prev"><img src="{$ROOT_URL}{$themeconf.icon_dir}/first_unactive.png" class="button" alt=""></a>
    45 {/if}
     60        <span class="pwg-state-disabled pwg-button">
     61                <span class="pwg-icon pwg-icon-arrowstop-w">&nbsp;</span><span class="pwg-button-text">{'First'|@translate}</span>
     62        </span>
     63{/if}{/strip}
    4664
    4765
    4866{if isset($slideshow.U_START_REPEAT)}
    49   <a class="navButton repeat" href="{$slideshow.U_START_REPEAT}" title="{'Repeat the slideshow'|@translate}" rel="repeat"><img src="{$ROOT_URL}{$themeconf.icon_dir}/start_repeat.png" class="button" alt="{'Repeat the slideshow'|@translate}"></a>
     67        <a href="{$slideshow.U_START_REPEAT}" title="{'Repeat the slideshow'|@translate}" class="pwg-state-default pwg-button">
     68                <span class="pwg-icon pwg-icon-repeat-play">&nbsp;</span><span class="pwg-button-text">{'Repeat the slideshow'|@translate}</span>
     69        </a>
    5070{/if}
    51 
    5271{if isset($slideshow.U_STOP_REPEAT)}
    53   <a class="navButton repeat" href="{$slideshow.U_STOP_REPEAT}" title="{'Not repeat the slideshow'|@translate}" rel="repeat"><img src="{$ROOT_URL}{$themeconf.icon_dir}/stop_repeat.png" class="button" alt="{'Not repeat the slideshow'|@translate}"></a>
     72        <a href="{$slideshow.U_STOP_REPEAT}" title="{'Not repeat the slideshow'|@translate}" class="pwg-state-default pwg-button">
     73                <span class="pwg-icon pwg-icon-repeat-stop">&nbsp;</span><span class="pwg-button-text">{'Not repeat the slideshow'|@translate}</span>
     74        </a>
    5475{/if}
    5576
    5677{if isset($slideshow)}
    57   {if isset($slideshow.U_DEC_PERIOD)}
    58     <a class="navButton dec_period" href="{$slideshow.U_DEC_PERIOD}" title="{'Accelerate diaporama speed'|@translate}" rel="repeat"><img src="{$ROOT_URL}{$themeconf.icon_dir}/dec_period.png" class="button" alt="{'Accelerate diaporama speed'|@translate}"></a>
    59   {else}
    60     <a class="navButton dec_period"> <img src="{$ROOT_URL}{$themeconf.icon_dir}/dec_period_unactive.png" class="button" alt=""></a>
    61   {/if}
    62 
    63   {if isset($slideshow.U_INC_PERIOD)}
    64     <a class="navButton inc_period" href="{$slideshow.U_INC_PERIOD}" title="{'Reduce diaporama speed'|@translate}" rel="repeat"><img src="{$ROOT_URL}{$themeconf.icon_dir}/inc_period.png" class="button" alt="{'Reduce diaporama speed'|@translate}"></a>
    65   {else}
    66     <a class="navButton inc_period"> <img src="{$ROOT_URL}{$themeconf.icon_dir}/inc_period_unactive.png" class="button" alt=""></a>
    67   {/if}
     78{if isset($slideshow.U_INC_PERIOD)}
     79        <a href="{$slideshow.U_INC_PERIOD}" title="{'Accelerate diaporama speed'|@translate}" class="pwg-state-default pwg-button">
     80                <span class="pwg-icon pwg-icon-clock-minus">&nbsp;</span><span class="pwg-button-text">{'Accelerate diaporama speed'|@translate}</span>
     81        </a>
     82{else}
     83        <span class="pwg-state-disabled pwg-button">
     84                <span class="pwg-icon pwg-icon-clock-minus">&nbsp;</span><span class="pwg-button-text">{'Accelerate diaporama speed'|@translate}</span>
     85        </span>
     86{/if}
     87{if isset($slideshow.U_DEC_PERIOD)}
     88        <a href="{$slideshow.U_DEC_PERIOD}" title="{'Accelerate diaporama speed'|@translate}" class="pwg-state-default pwg-button">
     89                <span class="pwg-icon pwg-icon-clock-plus">&nbsp;</span><span class="pwg-button-text">{'Accelerate diaporama speed'|@translate}</span>
     90        </a>
     91{else}
     92        <span class="pwg-state-disabled pwg-button">
     93                <span class="pwg-icon pwg-icon-clock-plus">&nbsp;</span><span class="pwg-button-text">{'Accelerate diaporama speed'|@translate}</span>
     94        </span>
     95{/if}
     96{/if}
     97{strip}{if isset($U_UP) and !isset($slideshow)}
     98        <a href="{$U_UP}" title="{'Thumbnails'|@translate}" class="pwg-state-default pwg-button">
     99                <span class="pwg-icon pwg-icon-arrow-n">&nbsp;</span><span class="pwg-button-text">{'Thumbnails'|@translate}</span>
     100        </a>
     101{/if}{/strip}
     102</div>
     103{strip}
     104{footer_script}
     105document.onkeydown = function(e){ldelim}
     106        e=e||window.event;
     107        if (e.altKey) return true;
     108        var target=e.target||e.srcElement;
     109        if (target && target.type) return true;{* an input editable element *}
     110        var keyCode=e.keyCode||e.which, docElem=document.documentElement, url;
     111        switch(keyCode){ldelim}
     112{if isset($next)}
     113        case 63235: case 39: if (e.ctrlKey || docElem.scrollLeft==docElem.scrollWidth-docElem.clientWidth)url="{$next.U_IMG}"; break;
     114{/if}
     115{if isset($previous)}
     116        case 63234: case 37: if (e.ctrlKey || docElem.scrollLeft==0)url="{$previous.U_IMG}"; break;
     117{/if}
     118{if isset($first)}
     119        {* Home *}case 36: if (e.ctrlKey)url="{$first.U_IMG}"; break;
     120{/if}
     121{if isset($last)}
     122        {* End *}case 35: if (e.ctrlKey)url="{$last.U_IMG}"; break;
    68123{/if}
    69124{if isset($U_UP) and !isset($slideshow)}
    70   <a class="navButton up" href="{$U_UP}" title="{'thumbnails'|@translate}" rel="up"><img src="{$ROOT_URL}{$themeconf.icon_dir}/up.png" class="button" alt="{'thumbnails'|@translate}"></a>
     125        {* Up *}case 38: if (e.ctrlKey)url="{$U_UP}"; break;
    71126{/if}
    72 
    73   </div>
    74 
    75 <script type="text/javascript">// <![CDATA[
    76 {literal}
    77 function keyboardNavigation(e)
    78 {
    79         if(!e) e=window.event;
    80         if (e.altKey) return true;
    81         var target = e.target || e.srcElement;
    82         if (target && target.type) return true; //an input editable element
    83         var keyCode=e.keyCode || e.which;
    84         var docElem = document.documentElement;
    85         switch(keyCode) {
    86 {/literal}
    87 {if isset($next)}
    88         case 63235: case 39: if (e.ctrlKey || docElem.scrollLeft==docElem.scrollWidth-docElem.clientWidth ){ldelim}window.location="{$next.U_IMG}".replace( "&amp;", "&" ); return false; } break;
    89 {/if}
    90 {if isset($previous)}
    91         case 63234: case 37: if (e.ctrlKey || docElem.scrollLeft==0){ldelim}window.location="{$previous.U_IMG|@escape:jasvascript}".replace("&amp;","&"); return false; } break;
    92 {/if}
    93 {if isset($first)}
    94         /*Home*/case 36: if (e.ctrlKey){ldelim}window.location="{$first.U_IMG|@escape:jasvascript}".replace("&amp;","&"); return false; } break;
    95 {/if}
    96 {if isset($last)}
    97         /*End*/case 35: if (e.ctrlKey){ldelim}window.location="{$last.U_IMG|@escape:jasvascript}".replace("&amp;","&"); return false; } break;
    98 {/if}
    99 {if isset($U_UP) and !isset($slideshow)}
    100         /*Up*/case 38: if (e.ctrlKey){ldelim}window.location="{$U_UP|@escape:jasvascript}".replace("&amp;","&"); return false; } break;
    101 {/if}
    102 
    103127{if isset($slideshow.U_START_PLAY)}
    104         /*Pause*/case 32: {ldelim}window.location="{$slideshow.U_START_PLAY|@escape:jasvascript}".replace("&amp;","&"); return false; } break;
     128        {* Pause *}case 32: url="{$slideshow.U_START_PLAY}"; break;
    105129{/if}
    106130{if isset($slideshow.U_STOP_PLAY)}
    107         /*Play*/case 32: {ldelim}window.location="{$slideshow.U_STOP_PLAY|@escape:jasvascript}".replace("&amp;","&"); return false; } break;
     131        {* Play *}case 32: url="{$slideshow.U_STOP_PLAY}"; break;
    108132{/if}
    109133        }
     134        if (url) {ldelim}window.location=url.replace("&amp;","&"); return false;}
    110135        return true;
    111136}
    112 document.onkeydown=keyboardNavigation;
    113 // ]]></script>
     137{/footer_script}
     138{/strip}
  • extensions/floOS/OS_glass_clear/theme.css

    r9673 r9675  
    281281        background-position: center bottom;
    282282        background-color: #000000;
    283 }
     283}/*
    284284#imageToolBar A:hover {
    285285background-image: url(images/fondMenuSurvol.gif);
     
    287287background-position:center;
    288288background-color:transparent;
    289 }
     289}*/
    290290#action_pict {
    291291        border: 2px solid #FFFFFF;
     
    293293    color:#000;
    294294    font-weight:bold;
     295}
     296#imageToolBar {
     297    height: 60px;
     298}
     299#imageToolBar #thumbPrev, #imageToolBar #thumbNext {
     300        margin-left:5px;
     301        margin-right:5px;
     302        display:inline;
     303        width:auto;
     304}
     305#imageToolBar #thumbCurrent {
     306        margin-left:5px;
     307        margin-right:5px;
     308        display:inline;
     309        width:auto;
     310}
     311#imageToolBar #linkPrev, #imageToolBar #thumbCurrent, #imageToolBar #linkNext {
     312        border:#FFF solid 2px;
     313        width:auto;
    295314}
    296315/*calendar elements*/
  • extensions/floOS/OS_glass_clear/themeconf.inc.php

    r9673 r9675  
    11<?php
    22/*
    3 Theme Name: OS_glass
     3Theme Name: OS_glass_clear
    44Version: auto
    55Description:
    6 Theme URI: http://fr.piwigo.org/ext/extension_view.php?eid=383
     6Theme URI: http://piwigo.org/ext/extension_view.php?eid=514
    77Author: flop25
    88Author URI: http://www.planete-flop.fr
Note: See TracChangeset for help on using the changeset viewer.