Changeset 8025 for extensions/stripped
- Timestamp:
- Dec 7, 2010, 9:02:11 PM (13 years ago)
- Location:
- extensions/stripped
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/stripped/js/scripts-tcp.js
r7989 r8025 104 104 } 105 105 106 // bug with MSIE6 & language switch 107 108 if ((jQuery.browser.msie) && (jQuery.browser.version.substr(0,1) == "6")) { 109 var lswitch = jQuery(".menuf > div > ul"); 110 if (lswitch.length==1) { 111 var flags = lswitch.children("li").children("a"); 112 if (flags.length==2) { 113 flags.first().remove(); 114 } 115 } 116 } 117 106 118 }); 107 119 -
extensions/stripped/template/index.tpl
r7989 r8025 1 1 <div class="titrePage"> 2 <span id="menuswitcher" title="{'Show/hide menu'|@translate}">Menu</span><span class="arrow"> »</span> 3 {if isset($U_EDIT) or isset($U_SLIDESHOW) or !empty($PLUGIN_INDEX_ACTIONS)} 4 <ul class="categoryActions"> 5 {if !empty($PLUGIN_INDEX_ACTIONS)}{$PLUGIN_INDEX_ACTIONS}{/if} 6 {if isset($U_EDIT)} 7 <div id="text_gmaps" style="display:none">{'GMap'|@translate}</div> 8 <li><a href="{$U_EDIT}" title="{'edit category informations'|@translate}">{'edit'|@translate}</a></li> 9 {/if} 10 {if isset($U_CADDIE) } 11 <li><a href="{$U_CADDIE}" title="{'add to caddie'|@translate}">{'caddie'|@translate}</a></li> 12 {/if} 13 {if isset($U_SLIDESHOW)} 14 <li><a href="{$U_SLIDESHOW}" title="{'slideshow'|@translate}" rel="nofollow">{'slideshow'|@translate}</a></li> 15 {/if} 16 </ul> 17 {/if} 18 <h2>{$TITLE}</h2> 2 <div class="browsePath"> 3 <span id="menuswitcher" title="{'Show/hide menu'|@translate}">Menu</span><span class="arrow"> »</span> 4 <h2>{$TITLE}</h2> 5 </div> 6 {if isset($U_EDIT) or isset($U_SLIDESHOW) or !empty($PLUGIN_INDEX_ACTIONS)} 7 <ul class="categoryActions"> 8 {if !empty($PLUGIN_INDEX_ACTIONS)}{$PLUGIN_INDEX_ACTIONS}{/if} 9 {if isset($U_EDIT)} 10 <li><a href="{$U_EDIT}" title="{'edit category informations'|@translate}">{'edit'|@translate}</a></li> 11 {/if} 12 {if isset($U_CADDIE) } 13 <li><a href="{$U_CADDIE}" title="{'add to caddie'|@translate}">{'caddie'|@translate}</a></li> 14 {/if} 15 {if isset($U_SLIDESHOW)} 16 <li><a href="{$U_SLIDESHOW}" title="{'slideshow'|@translate}" rel="nofollow">{'slideshow'|@translate}</a></li> 17 {/if} 18 </ul> 19 {/if} 20 {php} 21 global $pwg_loaded_plugins; 22 $this->assign('GMaps_loaded', isset($pwg_loaded_plugins[ 'GMaps' ])); 23 {/php} 24 {if ($GMaps_loaded)}<div id="text_gmaps" style="display:none">{'GMap'|@translate}</div>{/if} 19 25 </div> 20 26 <div id="content"> -
extensions/stripped/template/picture.tpl
r7989 r8025 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 {if isset($errors)} 2 <div class="errors"> 3 <ul> 4 {foreach from=$errors item=error} 5 <li>{$error}</li> 6 {/foreach} 7 </ul> 8 </div> 9 {/if} 10 {if isset($infos)} 11 <div class="infos"> 12 <ul> 13 {foreach from=$infos item=info} 14 <li>{$info}</li> 15 {/foreach} 16 </ul> 17 </div> 18 {/if} 19 20 <div class="titrePage" id="imageHeaderBar"> 21 21 <div class="browsePath"> 22 {$SECTION_TITLE} 23 {if ($smarty.config.showTitleOnBrowsePath)}{$LEVEL_SEPARATOR}{$current.TITLE}{/if} 24 22 {$SECTION_TITLE} 23 {if ($smarty.config.showTitleOnBrowsePath)}{$LEVEL_SEPARATOR}{$current.TITLE}{/if} 25 24 </div> 26 25 <ul class="randomButtons"> 27 26 {if isset($PLUGIN_PICTURE_ACTIONS)}{$PLUGIN_PICTURE_ACTIONS}{/if} 28 <div id="text_gmaps" style="display:none">{'GMap'|@translate}</div> 29 {if isset($favorite) } 30 <li><a href="{$favorite.U_FAVORITE}" title="{$favorite.FAVORITE_HINT}">{'Favorites'|@translate}</a></li> 27 {if isset($favorite) } 28 <li><a href="{$favorite.U_FAVORITE}" title="{$favorite.FAVORITE_HINT}">{'Favorites'|@translate}</a></li> 31 29 {/if} 32 30 {if !empty($U_SET_AS_REPRESENTATIVE) } 33 31 <li><a href="{$U_SET_AS_REPRESENTATIVE}" title="{'set as category representative'|@translate}">{'representative'|@translate}</a></li> 34 32 {/if} 35 33 {if isset($U_ADMIN) } 36 34 <li><a href="{$U_ADMIN}" title="{'Modify information'|@translate}">{'edit'|@translate}</a></li> 37 35 {/if} 38 36 {if isset($U_CADDIE) }{*caddie management BEGIN*} … … 56 54 {/if}{*caddie management END*} 57 55 {if isset($U_SLIDESHOW_START) } 58 56 <li><a href="{$U_SLIDESHOW_START}" title="{'slideshow'|@translate}" rel="nofollow">{'slideshow'|@translate}</a></li> 59 57 {/if} 60 <li><div class="imageNumber">{$PHOTO}</div></li> 58 <li><div class="imageNumber">{$PHOTO}</div></li> 59 {php} 60 global $pwg_loaded_plugins; 61 $this->assign('GMaps_loaded', isset($pwg_loaded_plugins[ 'GMaps' ])); 62 {/php} 63 {if ($GMaps_loaded)}<div id="text_gmaps" style="display:none">{'GMap'|@translate}</div>{/if} 61 64 </ul> 62 63 64 </div> <!-- imageHeaderBar --> 65 <div style="clear:both;"></div> 66 </div> <!-- imageHeaderBar --> 67 65 68 {if !empty($PLUGIN_PICTURE_BEFORE)}{$PLUGIN_PICTURE_BEFORE}{/if} 66 69 <div id="content"> -
extensions/stripped/theme.css
r7989 r8025 12 12 #thePicturePage .middle_block, 13 13 #content { 14 background -color: #202020;14 background: #202020; 15 15 border: 2px #555 solid; 16 16 border-width: 2px 0; … … 198 198 } 199 199 200 .categoryActions >li {200 .categoryActions li { 201 201 display: inline; 202 202 vertical-align:top; … … 606 606 .browsePath { 607 607 display:inline; 608 float:left; 608 609 } 609 610 … … 667 668 668 669 #theImage > img, 669 #theImage > a > img, 670 #theImage > a > img { 671 border: 1px #999 solid; 672 padding:2px; 673 } 674 670 675 #theImg img { 671 676 border: 1px #999 solid; … … 1382 1387 } 1383 1388 1389 .categoryActions .selector select { 1390 position:relative; 1391 top:-2px; 1392 } 1393 1384 1394 /* Language Switch Plugin ----------------------------------------------------------------------- */ 1385 1395 1386 1396 .categoryActions .menuf { 1387 padding:0 3px 0 0; 1388 float:left; 1397 padding:0 0 0 2px; 1398 float:right; 1399 } 1400 1401 .categoryActions .menuf ul li{ 1402 padding:0; 1389 1403 } 1390 1404 … … 1442 1456 -moz-border-radius:10px; 1443 1457 -webkit-border-radius:10px; 1458 -khtml-border-radius:10px; 1444 1459 border-radius:10px; 1445 1460 }
Note: See TracChangeset
for help on using the changeset viewer.