Changeset 25994
- Timestamp:
- Dec 17, 2013, 11:11:17 PM (10 years ago)
- Location:
- extensions/PwgCarbon_dft
- Files:
-
- 1 added
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/PwgCarbon_dft/local_head.tpl
r21058 r25994 1 1 {combine_script id='reflection' load='header' require='jquery' path='themes/PwgCarbon_dft/js/reflection.js'} 2 {combine_script id='menu' load='header' require='jquery' path='themes/PwgCarbon_dft/js/menu.js'} 3 {combine_script id='hoverIntent' load='header' require='jquery' path='themes/PwgCarbon_dft/js/jquery.hoverIntent.minified.js'} 4 {combine_script id='columnizer' load='footer' require='jquery' path='themes/PwgCarbon_dft/js/jquery.columnizer.js'} -
extensions/PwgCarbon_dft/template/header.tpl
r22310 r25994 57 57 {/foreach} 58 58 {/if} 59 {combine_script id='menu' load='header' require='jquery' path='themes/PwgCarbon_dft/js/menu.js'}60 {combine_script id='hoverIntent' load='header' require='jquery' path='themes/PwgCarbon_dft/js/jquery.hoverIntent.minified.js'}61 {combine_script id='columnizer' load='header' require='jquery' path='themes/PwgCarbon_dft/js/columnizer.js'}62 59 </head> 63 60 -
extensions/PwgCarbon_dft/template/index.tpl
r22309 r25994 1 {combine_script id='core.switchbox' load='async' require='jquery' path='themes/default/js/switchbox.js'} 1 2 {$MENUBAR} 2 3 … … 10 11 {if !empty($image_orders)} 11 12 <li>{strip}<a id="sortOrderLink" title="{'Sort order'|@translate}" class="pwg-state-default pwg-button" rel="nofollow"> 12 <span class="pwg-icon pwg-icon-sort"> </span><span class="pwg-button-text">{'Sort order'|@translate}</span>13 <span class="pwg-icon pwg-icon-sort"></span><span class="pwg-button-text">{'Sort order'|@translate}</span> 13 14 </a> 14 15 <div id="sortOrderBox" class="switchBox"> … … 23 24 </div> 24 25 26 {footer_script}(SwitchBox=window.SwitchBox||[]).push("#sortOrderLink", "#sortOrderBox");{/footer_script} 25 27 {/strip}</li> 26 28 {/if} 27 29 {if !empty($image_derivatives)} 28 30 <li>{strip}<a id="derivativeSwitchLink" title="{'Photo sizes'|@translate}" class="pwg-state-default pwg-button" rel="nofollow"> 29 <span class="pwg-icon pwg-icon-sizes"> </span><span class="pwg-button-text">{'Photo sizes'|@translate}</span>31 <span class="pwg-icon pwg-icon-sizes"></span><span class="pwg-button-text">{'Photo sizes'|@translate}</span> 30 32 </a> 31 33 <div id="derivativeSwitchBox" class="switchBox"> … … 40 42 </div> 41 43 44 {footer_script}(SwitchBox=window.SwitchBox||[]).push("#derivativeSwitchLink", "#derivativeSwitchBox");{/footer_script} 42 45 {/strip}</li> 43 46 {/if} 44 47 45 48 {if isset($favorite)} 46 <li ><a href="{$favorite.U_FAVORITE}" title="{'delete all photos from your favorites'|@translate}" class="pwg-state-default pwg-button" rel="nofollow">47 <span class="pwg-icon pwg-icon-favorite-del"> </span><span class="pwg-button-text">{'delete all photos from your favorites'|@translate}</span>49 <li id="cmdFavorite"><a href="{$favorite.U_FAVORITE}" title="{'delete all photos from your favorites'|@translate}" class="pwg-state-default pwg-button" rel="nofollow"> 50 <span class="pwg-icon pwg-icon-favorite-del"></span><span class="pwg-button-text">{'delete all photos from your favorites'|@translate}</span> 48 51 </a></li> 49 52 {/if} 50 53 {if isset($U_CADDIE)} 51 <li ><a href="{$U_CADDIE}" title="{'Add to caddie'|@translate}" class="pwg-state-default pwg-button">52 <span class="pwg-icon pwg-icon-caddie-add"> </span><span class="pwg-button-text">{'Caddie'|@translate}</span>54 <li id="cmdCaddie"><a href="{$U_CADDIE}" title="{'Add to caddie'|@translate}" class="pwg-state-default pwg-button"> 55 <span class="pwg-icon pwg-icon-caddie-add"></span><span class="pwg-button-text">{'Caddie'|@translate}</span> 53 56 </a></li> 54 57 {/if} 55 58 {if isset($U_EDIT)} 56 <li ><a href="{$U_EDIT}" title="{'Edit album'|@translate}" class="pwg-state-default pwg-button">57 <span class="pwg-icon pwg-icon-category-edit"> </span><span class="pwg-button-text">{'Edit'|@translate}</span>59 <li id="cmdEditAlbum"><a href="{$U_EDIT}" title="{'Edit album'|@translate}" class="pwg-state-default pwg-button"> 60 <span class="pwg-icon pwg-icon-category-edit"></span><span class="pwg-button-text">{'Edit'|@translate}</span> 58 61 </a></li> 59 62 {/if} … … 61 64 {combine_script id='core.scripts' load='async' path='themes/default/js/scripts.js'} 62 65 <li><a href="{$U_SEARCH_RULES}" onclick="popuphelp(this.href); return false;" title="{'Search rules'|@translate}" class="pwg-state-default pwg-button" rel="nofollow"> 63 <span class="pwg-icon pwg-icon-help"> </span><span class="pwg-button-text">(?)</span>66 <span class="pwg-icon pwg-icon-help"></span><span class="pwg-button-text">(?)</span> 64 67 </a></li> 65 68 {/if} 66 69 {if isset($U_SLIDESHOW)} 67 <li >{strip}<a href="{$U_SLIDESHOW}" title="{'slideshow'|@translate}" class="pwg-state-default pwg-button" rel="nofollow">68 <span class="pwg-icon pwg-icon-slideshow"> </span><span class="pwg-button-text">{'slideshow'|@translate}</span>70 <li id="cmdSlideshow">{strip}<a href="{$U_SLIDESHOW}" title="{'slideshow'|@translate}" class="pwg-state-default pwg-button" rel="nofollow"> 71 <span class="pwg-icon pwg-icon-slideshow"></span><span class="pwg-button-text">{'slideshow'|@translate}</span> 69 72 </a>{/strip}</li> 70 73 {/if} 71 74 {if isset($U_MODE_FLAT)} 72 75 <li>{strip}<a href="{$U_MODE_FLAT}" title="{'display all photos in all sub-albums'|@translate}" class="pwg-state-default pwg-button" rel="nofollow"> 73 <span class="pwg-icon pwg-icon-category-view-flat"> </span><span class="pwg-button-text">{'display all photos in all sub-albums'|@translate}</span>76 <span class="pwg-icon pwg-icon-category-view-flat"></span><span class="pwg-button-text">{'display all photos in all sub-albums'|@translate}</span> 74 77 </a>{/strip}</li> 75 78 {/if} 76 79 {if isset($U_MODE_NORMAL)} 77 80 <li>{strip}<a href="{$U_MODE_NORMAL}" title="{'return to normal view mode'|@translate}" class="pwg-state-default pwg-button"> 78 <span class="pwg-icon pwg-icon-category-view-normal"> </span><span class="pwg-button-text">{'return to normal view mode'|@translate}</span>81 <span class="pwg-icon pwg-icon-category-view-normal"></span><span class="pwg-button-text">{'return to normal view mode'|@translate}</span> 79 82 </a>{/strip}</li> 80 83 {/if} 81 84 {if isset($U_MODE_POSTED)} 82 85 <li>{strip}<a href="{$U_MODE_POSTED}" title="{'display a calendar by posted date'|@translate}" class="pwg-state-default pwg-button" rel="nofollow"> 83 <span class="pwg-icon pwg-icon-calendar"> </span><span class="pwg-button-text">{'Calendar'|@translate}</span>86 <span class="pwg-icon pwg-icon-calendar"></span><span class="pwg-button-text">{'Calendar'|@translate}</span> 84 87 </a>{/strip}</li> 85 88 {/if} 86 89 {if isset($U_MODE_CREATED)} 87 90 <li>{strip}<a href="{$U_MODE_CREATED}" title="{'display a calendar by creation date'|@translate}" class="pwg-state-default pwg-button" rel="nofollow"> 88 <span class="pwg-icon pwg-icon-camera-calendar"> </span><span class="pwg-button-text">{'Calendar'|@translate}</span>91 <span class="pwg-icon pwg-icon-camera-calendar"></span><span class="pwg-button-text">{'Calendar'|@translate}</span> 89 92 </a>{/strip}</li> 90 93 {/if} 94 95 {if !empty($PLUGIN_INDEX_BUTTONS)}{foreach from=$PLUGIN_INDEX_BUTTONS item=button}<li>{$button}</li>{/foreach}{/if} 91 96 {if !empty($PLUGIN_INDEX_ACTIONS)}{$PLUGIN_INDEX_ACTIONS}{/if} 92 97 </ul> … … 98 103 {if isset($chronology_views)} 99 104 <div class="calendarViews">{'View'|@translate}: 100 <select onchange="document.location = this.options[this.selectedIndex].value;"> 101 {foreach from=$chronology_views item=view} 102 <option value="{$view.VALUE}"{if $view.SELECTED} selected="selected"{/if}>{$view.CONTENT}</option> 105 106 <a id="calendarViewSwitchLink" href="#"> 107 {foreach from=$chronology_views item=view}{if $view.SELECTED}{$view.CONTENT}{/if}{/foreach} 108 </a> 109 <div id="calendarViewSwitchBox" class="switchBox"> 110 {foreach from=$chronology_views item=view name=loop}{if !$smarty.foreach.loop.first}<br>{/if} 111 <span{if !$view.SELECTED} style="visibility:hidden"{/if}>✔ </span><a href="{$view.VALUE}">{$view.CONTENT}</a> 103 112 {/foreach} 104 </select> 113 114 </div> 115 {footer_script}(SwitchBox=window.SwitchBox||[]).push("#calendarViewSwitchLink", "#calendarViewSwitchBox");{/footer_script} 105 116 </div> 106 117 {/if} … … 118 129 119 130 {if !empty($category_search_results)} 120 <div style="font-size:16px;margin:10px 16px">{'Album results for'|@translate} <strong>{$QUERY_SEARCH}</strong> :131 <div class="category_search_results" style="font-size:16px;margin:10px 16px">{'Album results for'|@translate} <strong>{$QUERY_SEARCH}</strong> : 121 132 <em><strong> 122 133 {foreach from=$category_search_results item=res name=res_loop} … … 129 140 130 141 {if !empty($tag_search_results)} 131 <div style="font-size:16px;margin:10px 16px">{'Tag results for'|@translate} <strong>{$QUERY_SEARCH}</strong> :142 <div class="tag_search_results" style="font-size:16px;margin:10px 16px">{'Tag results for'|@translate} <strong>{$QUERY_SEARCH}</strong> : 132 143 <em><strong> 133 144 {foreach from=$tag_search_results item=res name=res_loop} … … 149 160 {/if} 150 161 162 {if !empty($CONTENT)}{$CONTENT}{/if} 151 163 {if !empty($CATEGORIES)}{$CATEGORIES}{/if} 152 164 {if !empty($cats_navbar)} … … 155 167 156 168 {if !empty($THUMBNAILS)} 169 <div class="loader"><img src="{$ROOT_URL}{$themeconf.img_dir}/ajax_loader.gif"></div> 157 170 <ul class="thumbnails" id="thumbnails"> 158 171 {$THUMBNAILS} -
extensions/PwgCarbon_dft/template/menubar_categories.tpl
r19209 r25994 1 <span class="dd_wrapper">{'Categories'|@translate}</span>1 <span class="dd_wrapper">{'Albums'|@translate}</span> 2 2 3 <div class="sub" style="width:700px"> 4 {assign var='ref_level' value=0} 5 <div id="menu_cat_act"> 6 <div id="nbImg"> 7 <p class="totalImages">{$pwg->l10n_dec('%d image', '%d images', $block->data.NB_PICTURE)}</p> 8 </div> 9 <div id="filter"> 10 {if isset($U_START_FILTER)} 11 <a href="{$U_START_FILTER}" class="pwg-state-default pwg-button menubarFilter" title="{'display only recently posted photos'|@translate}" rel="nofollow"> 12 <span class="pwg-icon pwg-icon-filter"> </span> 13 </a> 14 {/if} 15 {if isset($U_STOP_FILTER)} 16 <a href="{$U_STOP_FILTER}" class="pwg-state-default pwg-button menubarFilter" title="{'return to the display of all photos'|@translate}"><span 17 class="pwg-icon pwg-icon-filter-del"> </span></a> 18 {/if} 19 </div> 20 21 </div> 3 <div class="sub" style="width:700px"> 4 <div id="menu_cat_act"> 5 <div id="nbImg"> 6 <p class="totalImages">{$block->data.NB_PICTURE|@translate_dec:'%d photo':'%d photos'}</p> 7 </div> 8 <div id="filter"> 9 {if isset($U_START_FILTER)} 10 <a href="{$U_START_FILTER}" class="pwg-state-default pwg-button menubarFilter" title="{'display only recently posted photos'|@translate}" rel="nofollow"> 11 <span class="pwg-icon pwg-icon-filter"> </span> 12 </a> 13 {/if} 14 15 {if isset($U_STOP_FILTER)} 16 <a href="{$U_STOP_FILTER}" class="pwg-state-default pwg-button menubarFilter" title="{'return to the display of all photos'|@translate}"> 17 <span class="pwg-icon pwg-icon-filter-del"> </span> 18 </a> 19 {/if} 20 </div> 21 </div> 22 <div class="mcol"> 23 {assign var='ref_level' value=0} 24 {foreach from=$block->data.MENU_CATEGORIES item=cat} 25 {if $cat.LEVEL > $ref_level} 26 <ul> 27 {else} 28 </li> 29 {'</ul></li>'|@str_repeat:($ref_level-$cat.LEVEL)} 30 {/if} 31 <li {if $cat.SELECTED}class="selected dontsplit"{/if}class="level{$cat.LEVEL} dontsplit"> 32 <a href="{$cat.URL}" {if $cat.IS_UPPERCAT}rel="up"{/if} title="{$cat.TITLE}" >{$cat.NAME}</a> 33 {if $cat.count_images > 0} 34 <span class="{if $cat.nb_images > 0}menuInfoCat{else}menuInfoCatByChild{/if}" title="{$cat.TITLE}">[{$cat.count_images}]</span> 35 {/if} 22 36 23 24 {foreach from=$block->data.MENU_CATEGORIES item=cat} 25 {if $cat.LEVEL > $ref_level} 26 <ul class="mcol"> 27 {else} 28 29 </li> 30 {'</ul></li>'|@str_repeat:$ref_level-$cat.LEVEL} 31 {/if} 32 <li {if $cat.SELECTED}class="selected"{/if}class="level{$cat.LEVEL}"> 33 <a href="{$cat.URL}" {if $cat.IS_UPPERCAT}rel="up"{/if} title="{$cat.TITLE}" >{$cat.NAME} [{$cat.count_images}] </a> 34 {assign var='ref_level' value=$cat.LEVEL} 35 {/foreach} 36 {'</li></ul>'|@str_repeat:$ref_level} 37 38 {if isset($block->data.U_UPLOAD)} 39 40 <ul> 41 42 <li> 43 <a href="{$block->data.U_UPLOAD}">{'Upload a picture'|@translate}</a> 44 </li> 45 46 </ul> 47 48 {/if} 49 50 51 </div> 37 {if !empty($cat.icon_ts)} 38 <img title="{$cat.icon_ts.TITLE}" src="{$ROOT_URL}{$themeconf.icon_dir}/recent{if $cat.icon_ts.IS_CHILD_DATE}_by_child{/if}.png" class="icon" alt="(!)"> 39 {/if} 40 {assign var='ref_level' value=$cat.LEVEL} 41 {/foreach} 42 {'</li></ul>'|@str_repeat:$ref_level} 43 </div> 44 </div> -
extensions/PwgCarbon_dft/template/picture.tpl
r21058 r25994 1 {* Example of resizeable *} 2 {* 3 {include file='include/autosize.inc.tpl'} 4 *} 5 1 {combine_script id='core.switchbox' load='async' require='jquery' path='themes/default/js/switchbox.js'} 6 2 {combine_script id='tinyscrollbar' load='header' require='jquery' path='themes/PwgCarbon_dft/js/tinyscrollbar.js'} 7 3 8 9 10 {if isset($MENUBAR)}{$MENUBAR}{/if} 11 {if isset($errors)} 12 <div class="errors"> 13 <ul> 14 {foreach from=$errors item=error} 15 <li>{$error}</li> 16 {/foreach} 17 </ul> 18 </div> 19 {/if} 20 21 22 23 {if isset($infos)} 24 <div class="infos"> 25 <ul> 26 {foreach from=$infos item=info} 27 <li>{$info}</li> 28 {/foreach} 29 </ul> 30 </div> 4 {if isset($MENUBAR)}{$MENUBAR}{/if} 5 6 {if isset($errors) or not empty($infos)} 7 {include file='infos_errors.tpl'} 31 8 {/if} 32 9 … … 34 11 35 12 <div id="imageHeaderBar"> 36 <div class="browsePath"> 37 {$SECTION_TITLE} 38 {$LEVEL_SEPARATOR}{$current.TITLE} 39 </div> 13 <div class="browsePath"> 14 {$SECTION_TITLE}<span class="browsePathSeparator">{$LEVEL_SEPARATOR}</span>{$current.TITLE} 15 </div> 40 16 <div class="imageNumber"> {$PHOTO}</div> 41 17 42 18 </div> 43 19 44 45 46 20 <div id="theImage"> 47 48 49 21 <div id="imgContainer"> 50 22 … … 75 47 76 48 {if $comment_add.SHOW_AUTHOR} 77 <label>{'Author'|@translate}<input type="text" name="author"></label> 78 {/if} 79 <label class="addcom"><textarea name="content" id="contentid" rows="6" cols="100">{$comment_add.CONTENT}</textarea></label> 80 <input type="hidden" name="key" value="{$comment_add.KEY}"> 81 <input type="submit" value="{'Submit'|@translate}"> 49 <p><label for="author">{'Author'|@translate}{if $comment_add.AUTHOR_MANDATORY} ({'mandatory'|@translate}){/if} :</label></p> 50 <p><input type="text" name="author" id="author" value="{$comment_add.AUTHOR}"></p> 51 {/if} 52 {if $comment_add.SHOW_EMAIL} 53 <p><label for="email">{'Email'|@translate}{if $comment_add.EMAIL_MANDATORY} ({'mandatory'|@translate}){/if} :</label></p> 54 <p><input type="text" name="email" id="email" value="{$comment_add.EMAIL}"></p> 55 {/if} 56 <p><label for="website_url">{'Website'|@translate} :</label></p> 57 <p><input type="text" name="website_url" id="website_url" value="{$comment_add.WEBSITE_URL}"></p> 58 <p><label for="contentid">{'Comment'|@translate} ({'mandatory'|@translate}) :</label></p> 59 <p><textarea name="content" id="contentid" rows="5" cols="50">{$comment_add.CONTENT}</textarea></p> 60 <p><input type="hidden" name="key" value="{$comment_add.KEY}"> 61 <input type="submit" value="{'Submit'|@translate}"></p> 82 62 </fieldset> 83 63 </form> … … 120 100 </p> 121 101 {/if} 122 123 124 125 126 127 128 129 130 102 <div class="panel"> 131 103 132 104 <div id="imageToolBar"> 105 133 106 <div class="actionButtons"> 134 {if count($current.unique_derivatives)>1}107 {if isset($current.unique_derivatives) && count($current.unique_derivatives)>1} 135 108 {footer_script require='jquery'}{literal} 136 109 function changeImgSrc(url,typeSave,typeMap) … … 144 117 } 145 118 jQuery('#derivativeSwitchBox .switchCheck').css('visibility','hidden'); 146 jQuery('#derivativeChecked'+type Save).css('visibility','visible');119 jQuery('#derivativeChecked'+typeMap).css('visibility','visible'); 147 120 document.cookie = 'picture_deriv='+typeSave+';path={/literal}{$COOKIE_PATH}{literal}'; 148 121 } 149 jQuery("#derivativeSwitchLink").click(function() { 150 var elt = jQuery("#derivativeSwitchBox"); 151 elt.css("left", Math.min( jQuery(this).offset().left, jQuery(window).width() - elt.outerWidth(true) - 5)) 152 .toggle(); 153 }); 154 jQuery("#derivativeSwitchBox").on("mouseleave click", function() { 155 jQuery(this).hide(); 156 }); 122 (SwitchBox=window.SwitchBox||[]).push("#derivativeSwitchLink", "#derivativeSwitchBox"); 157 123 {/literal}{/footer_script} 158 124 {strip}<a id="derivativeSwitchLink" title="{'Photo sizes'|@translate}" class="pwg-state-default pwg-button" rel="nofollow"> 159 <span class="pwg-icon pwg-icon-sizes"> </span><span class="pwg-button-text">{'Photo sizes'|@translate}</span>125 <span class="pwg-icon pwg-icon-sizes"></span><span class="pwg-button-text">{'Photo sizes'|@translate}</span> 160 126 </a> 161 127 <div id="derivativeSwitchBox" class="switchBox"> 162 128 <div class="switchBoxTitle">{'Photo sizes'|@translate}</div> 163 129 {foreach from=$current.unique_derivatives item=derivative key=derivative_type} 164 <span class="switchCheck" id="derivativeChecked{$derivative _type}"{if $derivative->get_type() ne $current.selected_derivative->get_type()} style="visibility:hidden"{/if}>✔ </span>130 <span class="switchCheck" id="derivativeChecked{$derivative->get_type()}"{if $derivative->get_type() ne $current.selected_derivative->get_type()} style="visibility:hidden"{/if}>✔ </span> 165 131 <a href="javascript:changeImgSrc('{$derivative->get_url()|@escape:javascript}','{$derivative_type}','{$derivative->get_type()}')"> 166 132 {$derivative->get_type()|@translate}<span class="derivativeSizeDetails"> ({$derivative->get_size_hr()})</span> … … 168 134 {/foreach} 169 135 {if isset($U_ORIGINAL)} 136 {combine_script id='core.scripts' load='async' path='themes/default/js/scripts.js'} 170 137 <a href="javascript:phpWGOpenWindow('{$U_ORIGINAL}','xxx','scrollbars=yes,toolbar=no,status=no,resizable=yes')" rel="nofollow">{'Original'|@translate}</a> 171 138 {/if} … … 175 142 {strip}{if isset($U_SLIDESHOW_START)} 176 143 <a href="{$U_SLIDESHOW_START}" title="{'slideshow'|@translate}" class="pwg-state-default pwg-button" rel="nofollow"> 177 <span class="pwg-icon pwg-icon-slideshow"> 144 <span class="pwg-icon pwg-icon-slideshow"></span><span class="pwg-button-text">{'slideshow'|@translate}</span> 178 145 </a> 179 146 {/if}{/strip} 180 147 {strip}{if isset($U_METADATA)} 181 148 <a href="{$U_METADATA}" title="{'Show file metadata'|@translate}" class="pwg-state-default pwg-button" rel="nofollow"> 182 <span class="pwg-icon pwg-icon-camera-info"> 149 <span class="pwg-icon pwg-icon-camera-info"></span><span class="pwg-button-text">{'Show file metadata'|@translate}</span> 183 150 </a> 184 151 {/if}{/strip} 185 152 {strip}{if isset($current.U_DOWNLOAD)} 186 153 <a href="{$current.U_DOWNLOAD}" title="{'Download this file'|@translate}" class="pwg-state-default pwg-button" rel="nofollow"> 187 <span class="pwg-icon pwg-icon-save"> </span><span class="pwg-button-text">{'Download'|@translate}</span> 188 </a> 189 {/if}{/strip} 154 <span class="pwg-icon pwg-icon-save"></span><span class="pwg-button-text">{'Download'|@translate}</span> 155 </a> 156 {/if}{/strip} 157 {if isset($PLUGIN_PICTURE_BUTTONS)}{foreach from=$PLUGIN_PICTURE_BUTTONS item=button}{$button}{/foreach}{/if} 190 158 {if isset($PLUGIN_PICTURE_ACTIONS)}{$PLUGIN_PICTURE_ACTIONS}{/if} 191 159 {strip}{if isset($favorite)} 192 160 <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"> 193 <span class="pwg-icon pwg-icon-favorite-{if $favorite.IS_FAVORITE}del{else}add{/if}"> 161 <span class="pwg-icon pwg-icon-favorite-{if $favorite.IS_FAVORITE}del{else}add{/if}"></span><span class="pwg-button-text">{'Favorites'|@translate}</span> 194 162 </a> 195 163 {/if}{/strip} 196 164 {strip}{if isset($U_SET_AS_REPRESENTATIVE)} 197 <a href="{$U_SET_AS_REPRESENTATIVE}" title="{'set as album representative'|@translate}" class="pwg-state-default pwg-button" rel="nofollow">198 <span class="pwg-icon pwg-icon-representative"> 199 </a> 200 {/if}{/strip} 201 {strip}{if isset($U_ ADMIN)}202 <a href="{$U_ADMIN}" title="{'Modify information'|@translate}" class="pwg-state-default pwg-button" rel="nofollow">203 <span class="pwg-icon pwg-icon-edit"> 165 <a id="cmdSetRepresentative" href="{$U_SET_AS_REPRESENTATIVE}" title="{'set as album representative'|@translate}" class="pwg-state-default pwg-button" rel="nofollow"> 166 <span class="pwg-icon pwg-icon-representative"></span><span class="pwg-button-text">{'representative'|@translate}</span> 167 </a> 168 {/if}{/strip} 169 {strip}{if isset($U_PHOTO_ADMIN)} 170 <a id="cmdEditPhoto" href="{$U_PHOTO_ADMIN}" title="{'Modify information'|@translate}" class="pwg-state-default pwg-button" rel="nofollow"> 171 <span class="pwg-icon pwg-icon-edit"></span><span class="pwg-button-text">{'Edit'|@translate}</span> 204 172 </a> 205 173 {/if}{/strip} -
extensions/PwgCarbon_dft/theme.css
r22310 r25994 37 37 H2{color:#FFF;background-image:url(images/border_dt.png);background-repeat:repeat-x;background-position:center bottom;height:25px;margin:0 5px 5px;padding:5px 0 0} 38 38 #fullTagCloud{background:url(images/bg_content.png) repeat scroll 0 0 transparent;min-height:500px} 39 .switchBox{background-color:gray;z-index:1000;margin-top: 30px}39 .switchBox{background-color:gray;z-index:1000;margin-top:4px} 40 40 #sortOrderBox{width:250px} 41 41 … … 76 76 #topnav{margin:0;padding:0 2px 0 0;list-style:none;height:30px;position:relative;z-index:999;display:inline-block} 77 77 #topnav .liSub{float:left;position:relative;background:url(images/menu/li_border.png) no-repeat right top;padding-right:2px} 78 #topnav .sub, #topnav #loger{position:absolute;top:30px;margin-left:0;background:#FFF;padding:5px 8px 10px 5px;float:left;max-width:100em;min-width:200px;display:none;max-height:500px;overflow:auto;border-bottom-right-radius:10px;border-bottom-left-radius:10px;box-shadow:0px 0px 5px #5A5A5A;z-index:100}78 ul#topnav li .sub,ul#topnav li #loger{background:#FFF;position:absolute;top:30px;margin-left:0;padding:5px 8px 10px;float:left;max-width:100em;min-width:200px;max-height:500px;overflow:auto;border-bottom-right-radius:10px;border-bottom-left-radius:10px;box-shadow:0px 0px 5px #5A5A5A;z-index:0} 79 79 #topnav #loger{z-index:50} 80 80 .sub{z-index:100;max-width:600px} … … 85 85 ul#topnav .sub ul li.selected a{background:url(images/menu/navlist_arrow_hover.png) no-repeat 0 5px;color:#4C4C4C;text-decoration:none;border:none} 86 86 ul#topnav .sub ul .level1 li,ul#topnav .sub ul .level1 li .selected{border:none;background:none} 87 ul#topnav .sub ul li a,ul#topnav #loger ul li a{float:none;text-indent:0;height:auto;background:url(images/menu/navlist_arrow.png) no-repeat 0 5px;margin:0 8px;display: block;text-decoration:none;color:#757575;font-size:1.1em;text-shadow:none;text-transform:none;line-height:17px;padding:0 0 0 12px}87 ul#topnav .sub ul li a,ul#topnav #loger ul li a{float:none;text-indent:0;height:auto;background:url(images/menu/navlist_arrow.png) no-repeat 0 5px;margin:0 8px;display:inline;text-decoration:none;color:#757575;font-size:1.1em;text-shadow:none;text-transform:none;line-height:17px;padding:0 0 0 12px} 88 88 ul#topnav .sub ul li a:hover,ul#topnav .sub #menuTagCloud div a:hover{color:#c4c4c4;background:url(images/menu/navlist_arrow_hover.png) no-repeat 0 5px} 89 89 ul#topnav li .sub ul,ul#topnav #loger ul{list-style:none outside none;margin:0 5px 0 8px;padding:0} … … 123 123 #imageHeaderBar{margin:0 0 20px;padding:50px 0 0} 124 124 #groupbuttons{margin:auto;width:200px} 125 #slideshow #groupbuttons{width: 30px}125 #slideshow #groupbuttons{width:auto} 126 126 #imgContainer{position:relative;margin-left:auto;margin-right:auto;text-align:left} 127 127 #imgContent{position:relative;display:table;margin:auto} … … 137 137 .linkNext{position:absolute;right:-80px;top:40%} 138 138 .imageNumber{text-align:right;margin-right:20px} 139 .showtitle{background:none} 139 140 140 141 /*=========================================comment on picture page======================================================*/ … … 184 185 .infoTable .value a,.infoTable .value,.infoTable2 .value a,.infoTable2 .value{color:silver} 185 186 TABLE#Metadata th{font-size:120%;color:#FFF;padding-bottom:10px;text-align:left} 186 .panel .switchBox{top: 60px}187 .panel .switchBox{top:30px} 187 188 188 189 /*======================================================plugin======================================================*/ 189 190 .contact-form-content{background:url(images/bg_content.png) repeat scroll 0 0 transparent} 190 191 #mbContact dd{padding:0!important} 192 193 -
extensions/PwgCarbon_dft/themeconf.inc.php
r19825 r25994 2 2 /* 3 3 Theme Name: PwgCarbon_dft 4 Version: auto4 Version: 1.5 5 5 Description: theme PwgCarbon_dft pour Piwigo. 6 6 Theme URI: http://piwigo.org/ext/extension_view.php?eid=639
Note: See TracChangeset
for help on using the changeset viewer.