Changeset 9675 for extensions/floOS/OS_glass
- Timestamp:
- Mar 14, 2011, 5:12:07 PM (13 years ago)
- Location:
- extensions/floOS/OS_glass
- Files:
-
- 1 added
- 1 deleted
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/floOS/OS_glass/template/picture.tpl
r9109 r9675 37 37 <div id="imageToolBar"> 38 38 <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} 60 72 {literal}function addToCadie(aElement, rootUrl, id) 61 73 { 62 74 if (aElement.disabled) return; 63 aElement.disabled=true; 75 aElement.disabled=true; 64 76 var y = new PwgWS(rootUrl); 65 66 77 y.callService( 67 68 69 70 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 ); 73 84 }{/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*} 77 90 </div> 78 91 {include file='picture_nav_buttons.tpl'|@get_extent:'picture_nav_buttons'} 79 </div> <!-- imageToolBar -->92 </div>{*<!-- imageToolBar -->*} 80 93 81 94 <div id="theImage"> … … 142 155 </div> 143 156 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} 146 160 <tr id="Author"> 147 161 <td class="label">{'Author'|@translate}</td> … … 228 242 <tr id="rating"> 229 243 <td class="label"> 230 <span id="updateRate">{if isset($rating.USER_RATE)}{'Update your rating'|@translate}{else}{'Rate this p icture'|@translate}{/if}</span>244 <span id="updateRate">{if isset($rating.USER_RATE)}{'Update your rating'|@translate}{else}{'Rate this photo'|@translate}{/if}</span> 231 245 </td> 232 246 <td class="value"> 233 247 <form action="{$rating.F_ACTION}" method="post" id="rateForm" style="margin:0;"> 234 <div> 248 <div> 235 249 {foreach from=$rating.marks item=mark name=rate_loop} 236 {if !$smarty.foreach.rate_loop.first} | {/if}237 250 {if isset($rating.USER_RATE) && $mark==$rating.USER_RATE} 238 251 <input type="button" name="rate" value="{$mark}" class="rateButtonSelected" title="{$mark}"> 239 252 {else} 240 253 <input type="submit" name="rate" value="{$mark}" class="rateButton" title="{$mark}"> 241 254 {/if} 242 255 {/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} 249 265 </div> 250 266 </form> … … 253 269 {/if} 254 270 255 {if $display_info.privacy_level and isset($available_permission_levels) 271 {if $display_info.privacy_level and isset($available_permission_levels)} 256 272 <tr id="Privacy"> 257 273 <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} 260 277 {literal}function setPrivacyLevel(selectElement, rootUrl, id, level) 261 278 { … … 271 288 ); 272 289 }{/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)"> 275 292 {foreach from=$available_permission_levels item=label key=level} 276 293 <option label="{$label}" value="{$level}"{if $level == $current.level} selected="selected"{/if}>{$label}</option> … … 279 296 </td></tr> 280 297 {/if} 281 298 {/strip} 282 299 </table> 283 300 -
extensions/floOS/OS_glass/template/picture_nav_buttons.tpl
r9119 r9675 1 1 <div class="navButtons"> 2 2 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> 5 7 {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"> </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"> </span><span class="pwg-button-text">{'Next'|@translate}</span> 15 </a> 11 16 {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"> </span><span class="pwg-button-text">{'Next'|@translate}</span> 19 </span> 20 {/if}{/strip} 14 21 {if isset($next) } 15 22 <a class="navThumb" id="thumbNext" href="{$next.U_IMG}" title="{'Next'|@translate} : {$next.TITLE}" rel="next"> … … 17 24 </a> 18 25 {/if} 19 26 <img src="{$current.THUMB_SRC}" class="thumbLink" id="thumbCurrent" alt="{$ALT_IMG}"> 20 27 {if isset($previous) } 21 28 <a class="navThumb" id="thumbPrev" href="{$previous.U_IMG}" title="{'Previous'|@translate} : {$previous.TITLE}" rel="prev"> … … 25 32 26 33 {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"> </span><span class="pwg-button-text">{'Play of slideshow'|@translate}</span> 36 </a> 28 37 {/if} 29 30 38 {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"> </span><span class="pwg-button-text">{'Pause of slideshow'|@translate}</span> 41 </a> 32 42 {/if} 33 43 34 44 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"> </span><span class="pwg-button-text">{'Previous'|@translate}</span> 48 </a> 37 49 {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"> </span><span class="pwg-button-text">{'Previous'|@translate}</span> 52 </span> 53 {/if}{/strip} 40 54 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"> </span><span class="pwg-button-text">{'First'|@translate}</span> 58 </a> 43 59 {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"> </span><span class="pwg-button-text">{'First'|@translate}</span> 62 </span> 63 {/if}{/strip} 46 64 47 65 48 66 {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"> </span><span class="pwg-button-text">{'Repeat the slideshow'|@translate}</span> 69 </a> 50 70 {/if} 51 52 71 {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"> </span><span class="pwg-button-text">{'Not repeat the slideshow'|@translate}</span> 74 </a> 54 75 {/if} 55 76 56 77 {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"> </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"> </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"> </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"> </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"> </span><span class="pwg-button-text">{'Thumbnails'|@translate}</span> 100 </a> 101 {/if}{/strip} 102 </div> 103 {strip} 104 {footer_script} 105 document.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; 68 123 {/if} 69 124 {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; 71 126 {/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 element83 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( "&", "&" ); 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("&","&"); 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("&","&"); 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("&","&"); 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("&","&"); return false; } break;101 {/if}102 103 127 {if isset($slideshow.U_START_PLAY)} 104 /*Pause*/case 32: {ldelim}window.location="{$slideshow.U_START_PLAY|@escape:jasvascript}".replace("&","&"); return false; }break;128 {* Pause *}case 32: url="{$slideshow.U_START_PLAY}"; break; 105 129 {/if} 106 130 {if isset($slideshow.U_STOP_PLAY)} 107 /*Play*/case 32: {ldelim}window.location="{$slideshow.U_STOP_PLAY|@escape:jasvascript}".replace("&","&"); return false; }break;131 {* Play *}case 32: url="{$slideshow.U_STOP_PLAY}"; break; 108 132 {/if} 109 133 } 134 if (url) {ldelim}window.location=url.replace("&","&"); return false;} 110 135 return true; 111 136 } 112 document.onkeydown=keyboardNavigation; 113 // ]]></script> 137 {/footer_script} 138 {/strip} -
extensions/floOS/OS_glass/theme.css
r9119 r9675 1 1 /* --------------------------------------------------------------------------- 2 Thème glass 3 4 pour le template floOS 5 6 by flop25 7 2 Thème OS_glass 3 4 theme-enfant de OS_default 5 6 by flop25 http://www.planete-flop.fr/ 8 7 ------------------------------------------------------------------------------ */ 9 8 -
extensions/floOS/OS_glass/themeconf.inc.php
r9121 r9675 2 2 /* 3 3 Theme Name: OS_glass 4 Version: 1.0.04 Version: auto 5 5 Description: 6 6 Theme URI: http://piwigo.org/ext/extension_view.php?eid=498 7 7 Author: flop25 8 Author URI: http://www.planete-flop.fr /site.php?acc=file8 Author URI: http://www.planete-flop.fr 9 9 */ 10 10 … … 21 21 'tab_closed' => array('mbLinks','mbTags','mbSpecials','mbIdentification'), # tabs which are closed when the page is loaded 22 22 ); 23 @include('themeconf_local.inc.php'); 23 @include(PHPWG_ROOT_PATH. 'local/config/OS_glass.inc.php'); 24 if (isset($conf['local_dir_site'])) 25 { 26 @include(PHPWG_ROOT_PATH.PWG_LOCAL_DIR. 'config/OS_glass.inc.php'); 27 } 24 28 25 add_event_handler('init', 'dynamic_tab', 20); 26 27 function dynamic_tab() { 28 global $template, $conf; 29 $template->assign( 30 array( 31 'tab_system' => get_themeconf('tab_system'), 32 'tab_closed' => get_themeconf('tab_closed'), 33 )); 34 } 29 add_event_handler('init', 'dynamic_tab', 20); 30 function dynamic_tab() { 31 global $template, $conf; 32 $template->assign( 33 array( 34 'tab_system' => get_themeconf('tab_system'), 35 'tab_closed' => get_themeconf('tab_closed'), 36 )); 37 } 35 38 ?>
Note: See TracChangeset
for help on using the changeset viewer.