Changeset 12602
- Timestamp:
- Nov 11, 2011, 3:04:25 PM (13 years ago)
- Location:
- extensions/gally/gally-black-graphite
- Files:
-
- 6 deleted
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/gally/gally-black-graphite/css/theme.css
r8534 r12602 1127 1127 picture page 1128 1128 */ 1129 #thePicturePage #titrePageID { 1130 min-height:0; 1131 padding:0; 1132 border:0; 1133 margin:0; 1134 } 1135 1129 1136 #imageHeaderBar { 1130 1137 border-width: 2px; … … 1135 1142 z-index: 1000; 1136 1143 position: relative; 1144 } 1145 1146 #imageHeaderBar.borderMenu { 1147 border-top: 4px solid; 1137 1148 } 1138 1149 … … 1336 1347 #rateForm input[type="button"].rateButtonStarFull:focus, 1337 1348 #rateForm input[type="submit"].rateButtonStarFull { 1338 background: url('./../icon/ rating-stars.png') no-repeat scroll; background-position:-16px center; width:16px;1349 background: url('./../icon/buttons.png') no-repeat scroll; background-position:-111px 1px; width:16px; height:16px; 1339 1350 outline:none; 1351 -moz-border-radius:0px; 1352 -webkit-border-radius:0px; 1353 -khtml-border-radius:0px; 1354 border-radius:0; 1340 1355 } 1341 1356 … … 1343 1358 #rateForm input[type="button"].rateButtonStarEmpty:focus, 1344 1359 #rateForm input[type="submit"].rateButtonStarEmpty { 1345 background: url('./../icon/ rating-stars.png') no-repeat scroll; background-position:0 center; width:16px;1360 background: url('./../icon/buttons.png') no-repeat scroll; background-position:-89px 1px; width:16px; height:16px; 1346 1361 outline:none; 1362 -moz-border-radius:0px; 1363 -webkit-border-radius:0px; 1364 -khtml-border-radius:0px; 1365 border-radius:0; 1347 1366 } 1348 1367 … … 1595 1614 top:-3px; 1596 1615 } 1597 1616 span.add_tag { 1617 background:transparent url('./../icon/buttons.png') no-repeat scroll; 1618 background-position:-528px 0px; 1619 width:7px; 1620 height:7px; 1621 display:inline-block; 1622 } 1623 span.add_tag:hover { 1624 background-position:-528px -22px; 1625 } 1598 1626 1599 1627 .mandatorystar { … … 1741 1769 height:27px; 1742 1770 line-height:27px; 1743 margin-top:3px; 1744 } 1745 1746 .menuf ul.flag-pan .flags:hover, .menuf a img.flags { 1771 margin-top:-3px; 1772 } 1773 1774 div.content ul.categoryActions li.menuf ul li a, 1775 div.content ul.categoryActions li.menuf ul li.languageSwitchBoxTitle { 1776 color:#c0c0c0; 1777 } 1778 div.content ul.categoryActions li.menuf ul li a:hover { 1779 color:#f0f0f0; 1780 } 1781 1782 1783 div.content ul.categoryActions li.menuf ul.flag-pan .flags:hover, 1784 div.content ul.categoryActions li.menuf a img.flags { 1747 1785 border:1px solid #202020; 1748 1786 } 1749 1787 1750 .menuf ul.flag-pan .flags {1788 div.content ul.categoryActions li.menuf ul.flag-pan .flags { 1751 1789 border:1px solid #202020; 1752 1790 } 1753 1791 1754 .menuf ul.flag-pan {1792 div.content ul.categoryActions li.menuf ul.flag-pan { 1755 1793 -moz-border-radius: 6px; 1756 1794 -webkit-border-radius:6px; … … 1763 1801 margin-top: -4px; 1764 1802 } 1803 1765 1804 1766 1805 /* -
extensions/gally/gally-black-graphite/template/mainpage_categories.tpl
r8534 r12602 1 2 1 <!-- **GBL** >MAINPAGE_CATEGORIES> --> 3 2 … … 17 16 </h3> 18 17 19 20 <div class="illustration"> 21 <img {if isset($cat.EXTRA_CLASS)}class="{$cat.EXTRA_CLASS}"{/if} src="{$cat.TN_SRC}" alt="{$cat.TN_ALT}"> 22 </div> 23 18 <div class="illustration"> 19 <img {if isset($cat.EXTRA_CLASS)}class="{$cat.EXTRA_CLASS}"{/if} src="{$cat.TN_SRC}" alt="{$cat.TN_ALT}" title="{$cat.NAME|@replace:'"':' '|@strip_tags:false} - {'display this album'|@translate}"> 20 </div> 24 21 25 22 <div class="text"> -
extensions/gally/gally-black-graphite/template/picture.tpl
r11031 r12602 1 1 <!-- **GBL** >PICTURE> --> 2 2 3 4 5 6 7 3 8 {include file='dialogs.tpl'} 4 9 5 <div id="content" >10 <div id="content" {if isset($MENUBAR)}class="pictureContent"{/if}> 6 11 7 12 <div id="theImageHigh" style="display:none;"> … … 11 16 <div id="theImgHighZoomButton" class="fit" onclick="gallyPP.switchZoomHigh();"></div> 12 17 <div id="theImgHighContainer2"> 13 <img id="theImgHigh" src="" style="display:none;" alt="{$ALT_IMG}"> 18 <img id="theImgHigh" src="" style="display:none;" alt="{$ALT_IMG}" 19 {if isset($COMMENT_IMG)} 20 title="{$COMMENT_IMG|@strip_tags:false|@replace:'"':' '}" {else} title="{$current.TITLE|@replace:'"':' '} - {$ALT_IMG}" 21 {/if}> 14 22 </div> 15 23 </div> 16 24 </div> 17 25 26 27 {if isset($MENUBAR)} 28 <div id="imageHeaderBar" class="borderMenu"> 29 <div class="titrePage" id='titrePageID'> 30 {if #menuAnimated# == "noswitch"} 31 {$MENUBAR} 32 {else} 33 <div class="titrePage" id='titrePageID'> 34 <div id="menuswitcher"> 35 <a id="icon_menu" class="button" onclick="gallyCP.switchmenu('', '{$ROOT_URL}{$themeconf.icon_dir}/');"> 36 </a> 37 </div> 38 </div> 39 {$MENUBAR} 40 {/if} 41 </div> 42 {else} 18 43 <div id="imageHeaderBar"> 44 {/if} 45 19 46 <div class="imageNumber">{$PHOTO}</div> 20 47 <div class="browsePath"> … … 25 52 </div> <!-- imageHeaderBar --> 26 53 27 28 54 {if !empty($PLUGIN_PICTURE_BEFORE)}{$PLUGIN_PICTURE_BEFORE}{/if} 29 55 … … 38 64 39 65 {if isset($COMMENT_IMG)} 40 <p >{$COMMENT_IMG}</p>66 <p class="imageComment">{$COMMENT_IMG}</p> 41 67 {else} 42 68 <p> </p> … … 261 287 {/if} 262 288 263 {if (isset($rate_summary) or isset($rating)) and $display_info. average_rate}264 <tr >289 {if (isset($rate_summary) or isset($rating)) and $display_info.rating_score} 290 <tr id="rating"> 265 291 {if isset($rate_summary)} 266 <td class="label">{' Average rate'|@translate}</td>267 <td class="value" id="ratingSummary">292 <td class="label">{'Rating score'|@translate}</td> 293 <td class="value"> 268 294 {if $rate_summary.count} 269 {assign var='rate_text' value='%.2f (rated %d times)'|@translate }270 {$pwg->sprintf($rate_text, $rate_summary.average, $rate_summary.count) }295 <span id="ratingScore">{$rate_summary.score}</span> 296 <span id="ratingCount">({assign var='rate_text' value='%d rates'|@translate}{$pwg->sprintf($rate_text, $rate_summary.count)})</span> 271 297 {else} 272 {'no rate'|@translate}298 <span id="ratingScore">{'no rate'|@translate}</span> <span id="ratingCount"></span> 273 299 {/if} 274 300 </td> … … 283 309 284 310 <form action="{$rating.F_ACTION}" method="post" id="rateForm" style="margin:0;"> 285 <div> 286 {foreach from=$rating.marks item=mark name=rate_loop} 287 {if !$smarty.foreach.rate_loop.first} | {/if} 288 {if isset($rating.USER_RATE) && $mark==$rating.USER_RATE} 289 <input type="button" name="rate" value="{$mark}" class="rateButtonSelected" title="{$mark}" /> 290 {else} 291 <input type="submit" name="rate" value="{$mark}" class="rateButton" title="{$mark}" /> 292 {/if} 293 {/foreach} 294 <script type="text/javascript" src="{$ROOT_URL}themes/default/js/rating.js"></script> 295 <script type="text/javascript"> 296 makeNiceRatingForm( {ldelim}rootUrl: '{$ROOT_URL|@escape:"javascript"}', image_id: {$current.id}, 297 updateRateText: "{'Update your rating'|@translate|@escape:'javascript'}", updateRateElement: document.getElementById("updateRate"), 298 ratingSummaryText: "{'%.2f (rated %d times)'|@translate|@escape:'javascript'}", ratingSummaryElement: document.getElementById("ratingSummary") {rdelim} ); 299 </script> 300 </div> 311 <div> 312 {foreach from=$rating.marks item=mark name=rate_loop} 313 {if !$smarty.foreach.rate_loop.first} | {/if} 314 315 {if isset($rating.USER_RATE) && $mark==$rating.USER_RATE} 316 <input type="button" name="rate" value="{$mark}" class="rateButtonSelected" title="{$mark}" /> 317 {else} 318 <input type="submit" name="rate" value="{$mark}" class="rateButton" title="{$mark}" /> 319 {/if} 320 321 {/foreach} 322 323 {combine_script id='core.scripts' load='async' path='themes/default/js/scripts.js'} 324 {combine_script id='rating' load='async' require='core.scripts' path='themes/default/js/rating.js'} 325 326 327 {footer_script} 328 var _pwgRatingAutoQueue = _pwgRatingAutoQueue||[]; 329 _pwgRatingAutoQueue.push( {ldelim}rootUrl: '{$ROOT_URL}', image_id: {$current.id}, 330 onSuccess : function(rating) {ldelim} 331 var e = document.getElementById("updateRate"); 332 if (e) e.innerHTML = "{'Update your rating'|@translate|@escape:'javascript'}"; 333 e = document.getElementById("ratingScore"); 334 if (e) e.innerHTML = rating.score; 335 e = document.getElementById("ratingCount"); 336 if (e) e.innerHTML = "({'%d rates'|@translate|@escape:'javascript'})".replace( "%d", rating.count); 337 {rdelim}{rdelim} ); 338 {/footer_script} 339 340 </div> 301 341 </form> 302 342 </td> -
extensions/gally/gally-black-graphite/template/slideshow.tpl
r8534 r12602 1 1 <!-- **GBL** >SLIDESHOW> --> 2 2 3 <div id="content"> 3 4 <div id="imageHeaderBar" class="slideShow"> -
extensions/gally/gally-black-graphite/template/thumbnails.tpl
r8534 r12602 24 24 <tr> 25 25 <td> 26 <span class="thumbLegend"> 26 {if $SHOW_THUMBNAIL_CAPTION } 27 <span class="thumbLegend"> 27 28 28 {if !empty($thumbnail.icon_ts)} 29 <span class="newImage button id_recent"></span> 29 {if !empty($thumbnail.icon_ts)} 30 <span class="newImage button id_recent"></span> 31 {/if} 32 {if !empty($thumbnail.NAME)}{$thumbnail.NAME}{/if} 33 34 </span> 30 35 {/if} 31 {if !empty($thumbnail.NAME)}{$thumbnail.NAME}{/if}32 33 </span>34 36 </td> 35 37 </tr>
Note: See TracChangeset
for help on using the changeset viewer.