En effet bien long, mais merci pour ta persévérance.
le petit </a> qui fait tout ^^
\o/
un travail de longue haleine qui paye ^^
en fait, Icy juste oublié un </a> dans son lien
ça semble rouler au poile,
Merci pour tout
je teste dans la soirée
maj de Icy : testez la svp
merci
J'envoie un mail à Icy
Désolé, voici le bon
{assign var=derivative value=$pwg->derivative($stripped.imageSize, $current.src_image)} {assign var='size' value=$derivative->get_size()} {literal} <script type="text/javascript"> var image_w = {/literal}{$size[0]}{literal} var image_h = {/literal}{$size[1]}{literal} </script> {/literal} {include file='infos_errors.tpl'} <div class="titrePage" id="imageHeaderBar"> <div class="browsePath"> {$SECTION_TITLE} {if ($stripped.showTitleOnBrowsePath)}{$LEVEL_SEPARATOR}{$current.TITLE}{/if} </div> <ul class="randomButtons"> <li id="imageToolBar"> {include file='picture_nav_buttons.tpl'|@get_extent:'picture_nav_buttons'} </li> {strip}{if isset($U_SLIDESHOW_START) } <li><a href="{$U_SLIDESHOW_START}" title="{'slideshow'|@translate}" rel="nofollow">{'slideshow'|@translate}</a></li> {/if}{/strip} {strip}{if isset($U_ADMIN) } <li><a href="{$U_ADMIN}" title="{'Modify information'|@translate}">{'edit'|@translate}</a></li> {/if}{/strip} {strip}{if isset($U_CADDIE)} <li><a href="{$U_CADDIE}" onclick="addToCadie(this, '{$ROOT_URL}', {$current.id}); return false;" title="{'add to caddie'|@translate}" rel="nofollow">{'caddie'|@translate}</a></li> {/if}{/strip} {strip}{if isset($favorite) } <li><a href="{$favorite.U_FAVORITE}" title="{$favorite.FAVORITE_HINT}">{'Favorites'|@translate}</a></li> {/if}{/strip} {strip}{if !empty($U_SET_AS_REPRESENTATIVE) } <li><a href="{$U_SET_AS_REPRESENTATIVE}" title="{'set as album representative'|@translate}">{'representative'|@translate}</a></li> {/if}{/strip} {strip}{if isset($current.U_DOWNLOAD)} <li><a href="{$current.U_DOWNLOAD}" title="{'download this file'|@translate}">{'Download'|@translate}</a></li> {/if}{/strip} {strip}{if isset($PLUGIN_PICTURE_ACTIONS)} <li class="plugin_buttons plugin_buttons_group1">{$PLUGIN_PICTURE_ACTIONS}</li> {/if}{/strip} {strip}{if isset($U_CADDIE)}{*caddie management BEGIN*} {footer_script} {literal} function addToCadie(aElement, rootUrl, id) { if (aElement.disabled) return; aElement.disabled=true; var y = new PwgWS(rootUrl); y.callService( "pwg.caddie.add", {image_id: id} , { onFailure: function(num, text) { alert(num + " " + text); document.location=aElement.href; }, onSuccess: function(result) { aElement.disabled = false; } } ); } {/literal} {/footer_script} {/if}{/strip} <li class="plugin_buttons plugin_buttons_group2">{*caddie management END*}</li> </ul> {if ($GMaps_loaded)}<div id="text_gmaps" style="display:none">{'GMap'|@translate}</div>{/if} <div style="clear:both;"></div> </div> <!-- imageHeaderBar --> {if !empty($PLUGIN_PICTURE_BEFORE)}{$PLUGIN_PICTURE_BEFORE}{/if} <div id="content"> <div class="hideTabsZone hideTabs"> </div> <!-- Image HD --> <div id="theImageHigh" style="display:none;"> <div id="theImgHighBg"></div> <div id="theImgHighContainer"> <div id="theImgHighCloseButton" onclick="closeDisplayHigh();"></div> <div id="theImgHighZoomButton" class="fit" onclick="switchZoomHigh();"></div> <div id="theImgHighContainer2"> <img id="theImgHigh" src="" style="display:none;" alt="{$ALT_IMG}"> </div> </div> </div> {assign var='display_description_tab' value=false} {if (($stripped.imageCaption != 'description') && isset($COMMENT_IMG))} {assign var='display_description_tab' value=true} {/if} {assign var='showTitle' value=false} {if isset($COMMENT_IMG) and $stripped.imageCaption == 'description'} {assign var='showTitle' value=true} {/if} {if isset($current.TITLE) and $stripped.imageCaption == 'title'} {assign var='showTitle' value=true} {/if} <div id="theImageAndTitle"> <div id="theImageBox" > <div class="hideTabsZone hideTabs"> </div> {if (isset($previous) && $stripped.navArrows) } <a href="{$previous.U_IMG}" id="imgprev"> </a> {/if} <div id="theImage"> {$ELEMENT_CONTENT} </div> {if (isset($next) && $stripped.navArrows)} <a href="{$next.U_IMG}" id="imgnext"> </a> {/if} </div> {if $showTitle } <div id="imageTitleContainer"><div id="imageTitle"> {if ($stripped.imageCaption == 'description' )} {$COMMENT_IMG} {/if} {if ($stripped.imageCaption == 'title' )} {$current.TITLE} {/if} </div></div> {/if} </div> <!-- theImage --> <div style="clear: both;"></div> <div id="tabZone"> {assign var='display_info_panel' value=false} {assign var='display_count' value='0'} {if $display_info.author}{assign var='display_count' value=$display_count+1}{/if} {if $display_info.created_on}{assign var='display_count' value=$display_count+1}{/if} {if $display_info.posted_on}{assign var='display_count' value=$display_count+1}{/if} {if $display_info.dimensions}{assign var='display_count' value=$display_count+1}{/if} {if $display_info.file}{assign var='display_count' value=$display_count+1}{/if} {if $display_info.filesize}{assign var='display_count' value=$display_count+1}{/if} {if $display_info.categories}{assign var='display_count' value=$display_count+1}{/if} {if $display_info.visits}{assign var='display_count' value=$display_count+1}{/if} {if $display_info.rating_score and isset($rate_summary) }{assign var='display_count' value=$display_count+1}{/if} {if isset($rating)}{assign var='display_count' value=$display_count+1}{/if} {if $display_info.privacy_level and isset($available_permission_levels) }{assign var='display_count' value=$display_count+1}{/if} {if (($display_count > 0) && ((isset($U_ADMIN)) || ($stripped.infoTabAdminOnly == false)))} {assign var='display_info_panel' value=true} {/if} <div id="tabTitleBar"> <ul id="tabTitles"> {if $display_description_tab} <li id="tabTcaption" class="tabTitle" name="caption">{'Description'|@translate}</li> {/if} {if ($display_info.tags && (isset($related_tags) || ($usertags)))} <li id="tabTtags" class="tabTitle" name="tags">{'Tags'|@translate}</li> {/if} {if isset($metadata)} {foreach from=$metadata item=meta key=id} <li id="tabTmeta{$id}" class="tabTitle" name="meta{$id}">{$meta.TITLE}</li> {/foreach} {/if} {if $display_info_panel} <li id="tabTinfo" class="tabTitle" name="info">{'Information'|@translate}</li> {/if} {if (isset($COMMENT_COUNT) and ($COMMENT_COUNT>0)) or isset($comment_add) } <li id="tabTcomments" class="tabTitle" title="{'Add a comment'|@translate}" name="comments">{$pwg->l10n_dec('%d comment', '%d comments',$COMMENT_COUNT)}</li> {/if} </ul> </div> <div id="tabs"> {if $display_description_tab} <div id="Tcaption" class="tabBlock"><div class="tabBlockContent"> {$COMMENT_IMG} </div></div> {/if} {if ($display_info.tags && (isset($related_tags) || ($usertags)))} <div id="Ttags" class="tabBlock"><div class="tabBlockContent"> {if ($usertags)}<table id="TagsTable"><tr id="Tags" ><td class="label"></td><td class="value">{/if} {foreach from=$related_tags item=tag name=tag_loop}{if !$smarty.foreach.tag_loop.first}, {/if} <a href="{$tag.URL}">{$tag.name}</a> {/foreach} {if ($usertags)}</td></tr></table>{/if} </div></div> {/if} {if isset($metadata)} {foreach from=$metadata item=meta key=id} <div id="Tmeta{$id}" class="tabBlock"><div class="tabBlockContent"> {if count($meta.lines)>0 and !array_key_exists('<!--rawContent-->', $meta.lines)} <table id="table_meta{$id}" class="infoTable2"> {foreach from=$meta.lines item=value key=label} <tr> <td class="label">{$label|@translate}</td> <td class="value">{$value}</td> </tr> {/foreach} </table> {else} {assign var='empty' value='<!--rawContent-->'} {$meta.lines.$empty} {/if} </div></div> {/foreach} {/if} {if $display_info_panel} <div id="Tinfo" class="tabBlock"><div class="tabBlockContent"> <dl id="standard" class="imageInfoTable"> {strip} {if $display_info.author and isset($INFO_AUTHOR)} <div id="Author" class="imageInfo"> <dt>{'Author'|@translate}</dt> <dd>{$INFO_AUTHOR}</dd> </div> {/if} {if $display_info.created_on and isset($INFO_CREATION_DATE)} <div id="datecreate" class="imageInfo"> <dt>{'Created on'|@translate}</dt> <dd>{$INFO_CREATION_DATE}</dd> </div> {/if} {if $display_info.posted_on} <div id="datepost" class="imageInfo"> <dt>{'Posted on'|@translate}</dt> <dd>{$INFO_POSTED_DATE}</dd> </div> {/if} {if $display_info.dimensions and isset($INFO_DIMENSIONS)} <div id="Dimensions" class="imageInfo"> <dt>{'Dimensions'|@translate}</dt> <dd>{$INFO_DIMENSIONS}</dd> </div> {/if} {if $display_info.file} <div id="File" class="imageInfo"> <dt>{'File'|@translate}</dt> <dd>{$INFO_FILE}</dd> </div> {/if} {if $display_info.filesize and isset($INFO_FILESIZE)} <div id="Filesize" class="imageInfo"> <dt>{'Filesize'|@translate}</dt> <dd>{$INFO_FILESIZE}</dd> </div> {/if} {if $display_info.tags and isset($related_tags)} <div id="Tags" class="imageInfo"> <dt>{'Tags'|@translate}</dt> <dd> {foreach from=$related_tags item=tag name=tag_loop}{if !$smarty.foreach.tag_loop.first}, {/if}<a href="{$tag.URL}">{$tag.name}</a>{/foreach} </dd> </div> {/if} {if $display_info.categories and isset($related_categories)} <div id="Categories" class="imageInfo"> <dt>{'Albums'|@translate}</dt> <dd> <ul> {foreach from=$related_categories item=cat} <li>{$cat}</li> {/foreach} </ul> </dd> </div> {/if} {if $display_info.visits} <div id="Visits" class="imageInfo"> <dt>{'Visits'|@translate}</dt> <dd>{$INFO_VISITS}</dd> </div> {/if} {if $display_info.rating_score and isset($rate_summary)} <div id="Average" class="imageInfo"> <dt>{'Rating score'|@translate}</dt> <dd> {if $rate_summary.count} {if $rate_summary.count == 1} {assign var='rate_text' value='%d rate'|@translate} {else} {assign var='rate_text' value='%d rates'|@translate} {/if} <span id="ratingScore">{$rate_summary.score}</span> <span id="ratingCount">({$pwg->sprintf($rate_text, $rate_summary.count)})</span> {else} <span id="ratingScore">{'no rate'|@translate}</span> <span id="ratingCount"></span> {/if} </dd> </div> {/if} {if isset($rating)} <div id="rating" class="imageInfo"> <dt> <span id="updateRate">{if isset($rating.USER_RATE)}{'Update your rating'|@translate}{else}{'Rate this photo'|@translate}{/if}</span> </dt> <dd> <form action="{$rating.F_ACTION}" method="post" id="rateForm" style="margin:0;"> <div> {foreach from=$rating.marks item=mark name=rate_loop} {if isset($rating.USER_RATE) && $mark==$rating.USER_RATE} <input type="button" name="rate" value="{$mark}" class="rateButtonSelected" title="{$mark}"> {else} <input type="submit" name="rate" value="{$mark}" class="rateButton" title="{$mark}"> {/if} {/foreach} {strip}{combine_script id='core.scripts' load='async' path='themes/default/js/scripts.js'} {combine_script id='rating' load='async' require='core.scripts' path='themes/default/js/rating.js'} {footer_script} var _pwgRatingAutoQueue = _pwgRatingAutoQueue||[]; _pwgRatingAutoQueue.push( {ldelim}rootUrl: '{$ROOT_URL}', image_id: {$current.id}, updateRateText: "{'Update your rating'|@translate|@escape:'javascript'}", updateRateElement: document.getElementById("updateRate"), ratingSummaryText: "{'%.2f (rated %d times)'|@translate|@escape:'javascript'}", ratingSummaryElement: document.getElementById("ratingSummary"){rdelim} ); {/footer_script} {/strip} </div> </form> </dd> </div> {/if} {/strip} </dl> <table id="standard" class="infoTable"> {if $display_info.privacy_level and isset($available_permission_levels)} <tr id="Privacy"> <td class="label">{'Who can see this photo?'|@translate}</td> <td class="value"> {combine_script id='core.scripts' load='async' path='themes/default/js/scripts.js'} {footer_script} {literal}function setPrivacyLevel(selectElement, rootUrl, id, level) { selectElement.disabled = true; var y = new PwgWS(rootUrl); y.callService( "pwg.images.setPrivacyLevel", {image_id: id, level:level} , { method: "POST", onFailure: function(num, text) { selectElement.disabled = false; alert(num + " " + text); }, onSuccess: function(result) { selectElement.disabled = false; } } ); }{/literal} {/footer_script} <select onchange="setPrivacyLevel(this, '{$ROOT_URL}', {$current.id}, this.options[selectedIndex].value)"> {foreach from=$available_permission_levels item=label key=level} <option label="{$label}" value="{$level}"{if $level == $current.level} selected="selected"{/if}>{$label}</option> {/foreach} </select> </td> </tr> {/if} </table> </div></div> {/if} {if (isset($COMMENT_COUNT) and ($COMMENT_COUNT>0)) or isset($comment_add) } <div id="Tcomments" class="tabBlock"><div id="theComments" class="tabBlockContent"> <div id="theCommentsBlock"> {if !empty($COMMENT_NAV_BAR)} <div class="navigationBar">{$COMMENT_NAV_BAR}</div> {/if} {if isset($comment_add)} <div id="commentAdd"> <h4>{'Add a comment'|@translate}</h4> <form method="post" action="{$comment_add.F_ACTION}" class="filter" id="addComment" > {if $comment_add.SHOW_AUTHOR} <p><label for="author">{'Author'|@translate}{if $comment_add.AUTHOR_MANDATORY} ({'mandatory'|@translate}){/if} :</label></p> <p><input type="text" name="author" id="author" value="{$comment_add.AUTHOR}"></p> {/if} {if $comment_add.SHOW_EMAIL} <p><label for="email">{'Email'|@translate}{if $comment_add.EMAIL_MANDATORY} ({'mandatory'|@translate}){/if} :</label></p> <p><input type="text" name="email" id="email" value="{$comment_add.EMAIL}"></p> {/if} <p><label for="website_url">{'Website'|@translate} :</label></p> <p><input type="text" name="website_url" id="website_url" value="{$comment_add.WEBSITE_URL}"></p> <p><label for="contentid">{'Comment'|@translate} ({'mandatory'|@translate}) :</label></p> <p><textarea name="content" id="contentid" rows="5" cols="50">{$comment_add.CONTENT}</textarea></p> <p><input type="hidden" name="key" value="{$comment_add.KEY}"> <input class="submit" type="submit" value="{'Submit'|@translate}"></p> </form> </div> {/if} {if !empty($navbar) }{include file='navigation_bar.tpl'|@get_extent:'navbar'}{/if} {if isset($comments)} <div id="commentList"> {include file='comment_list.tpl'} </div> {/if} <div style="clear: both;"></div> </div> </div></div> {/if} </div> </div> <div style="clear: both;"></div> </div> {if isset($stripped.imagePreload)} <div id="image_urls" style="display:none;"> {foreach from=$U_IMGNEXT item=u_img key=id} {if isset($u_img)}<div class="next{$id} preload">{$u_img}</div>{/if} {/foreach} </div> {/if} {if !empty($PLUGIN_PICTURE_AFTER)}{$PLUGIN_PICTURE_AFTER}{/if}
C'est celui de default non ? Pas celui de votre thème (stripped si je ne me trompe)
Picture.tpl récupéré dans le dossier défaut du thème, je sais pas si c'est ça que vous vouliez.
{* Example of resizeable {include file='include/autosize.inc.tpl'} *} {if isset($MENUBAR)}{$MENUBAR}{/if} <div id="content"{if isset($MENUBAR)} class="contentWithMenu"{/if}> {if isset($errors) or not empty($infos)} {include file='infos_errors.tpl'} {/if} {if !empty($PLUGIN_PICTURE_BEFORE)}{$PLUGIN_PICTURE_BEFORE}{/if} <div id="imageHeaderBar"> <div class="browsePath"> {$SECTION_TITLE}<span class="browsePathSeparator">{$LEVEL_SEPARATOR}</span><h2>{$current.TITLE}</h2> </div> </div> <div id="imageToolBar"> <div class="imageNumber">{$PHOTO}</div> {include file='picture_nav_buttons.tpl'|@get_extent:'picture_nav_buttons'} <div class="actionButtons"> {if isset($current.unique_derivatives) && count($current.unique_derivatives)>1} {footer_script require='jquery'}{literal} function changeImgSrc(url,typeSave,typeMap) { var theImg = document.getElementById("theMainImage"); if (theImg) { theImg.removeAttribute("width");theImg.removeAttribute("height"); theImg.src = url; theImg.useMap = "#map"+typeMap; } jQuery('#derivativeSwitchBox .switchCheck').css('visibility','hidden'); jQuery('#derivativeChecked'+typeSave).css('visibility','visible'); document.cookie = 'picture_deriv='+typeSave+';path={/literal}{$COOKIE_PATH}{literal}'; } jQuery("#derivativeSwitchLink").click(function() { var elt = jQuery("#derivativeSwitchBox"); elt.css("left", Math.min( jQuery(this).offset().left, jQuery(window).width() - elt.outerWidth(true) - 5)) .css("top", jQuery(this).offset().top + jQuery(this).outerHeight(true)) .toggle(); }); jQuery("#derivativeSwitchBox").on("mouseleave click", function() { jQuery(this).hide(); }); {/literal}{/footer_script} {strip}<a id="derivativeSwitchLink" title="{'Photo sizes'|@translate}" class="pwg-state-default pwg-button" rel="nofollow"> <span class="pwg-icon pwg-icon-sizes"> </span><span class="pwg-button-text">{'Photo sizes'|@translate}</span> </a> <div id="derivativeSwitchBox" class="switchBox"> <div class="switchBoxTitle">{'Photo sizes'|@translate}</div> {foreach from=$current.unique_derivatives item=derivative key=derivative_type} <span class="switchCheck" id="derivativeChecked{$derivative_type}"{if $derivative->get_type() ne $current.selected_derivative->get_type()} style="visibility:hidden"{/if}>✔ </span> <a href="javascript:changeImgSrc('{$derivative->get_url()|@escape:javascript}','{$derivative_type}','{$derivative->get_type()}')"> {$derivative->get_type()|@translate}<span class="derivativeSizeDetails"> ({$derivative->get_size_hr()})</span> </a><br> {/foreach} {if isset($U_ORIGINAL)} {combine_script id='core.scripts' load='async' path='themes/default/js/scripts.js'} <a href="javascript:phpWGOpenWindow('{$U_ORIGINAL}','xxx','scrollbars=yes,toolbar=no,status=no,resizable=yes')" rel="nofollow">{'Original'|@translate}</a> {/if} </div> {/strip} {/if} {strip}{if isset($U_SLIDESHOW_START)} <a href="{$U_SLIDESHOW_START}" title="{'slideshow'|@translate}" class="pwg-state-default pwg-button" rel="nofollow"> <span class="pwg-icon pwg-icon-slideshow"> </span><span class="pwg-button-text">{'slideshow'|@translate}</span> </a> {/if}{/strip} {strip}{if isset($U_METADATA)} <a href="{$U_METADATA}" title="{'Show file metadata'|@translate}" class="pwg-state-default pwg-button" rel="nofollow"> <span class="pwg-icon pwg-icon-camera-info"> </span><span class="pwg-button-text">{'Show file metadata'|@translate}</span> </a> {/if}{/strip} {strip}{if isset($current.U_DOWNLOAD)} <a href="{$current.U_DOWNLOAD}" title="{'Download this file'|@translate}" class="pwg-state-default pwg-button" rel="nofollow"> <span class="pwg-icon pwg-icon-save"> </span><span class="pwg-button-text">{'Download'|@translate}</span> </a> {/if}{/strip} {if isset($PLUGIN_PICTURE_ACTIONS)}{$PLUGIN_PICTURE_ACTIONS}{/if} {strip}{if isset($favorite)} <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"> <span class="pwg-icon pwg-icon-favorite-{if $favorite.IS_FAVORITE}del{else}add{/if}"> </span><span class="pwg-button-text">{'Favorites'|@translate}</span> </a> {/if}{/strip} {strip}{if isset($U_SET_AS_REPRESENTATIVE)} <a href="{$U_SET_AS_REPRESENTATIVE}" title="{'set as album representative'|@translate}" class="pwg-state-default pwg-button" rel="nofollow"> <span class="pwg-icon pwg-icon-representative"> </span><span class="pwg-button-text">{'representative'|@translate}</span> </a> {/if}{/strip} {strip}{if isset($U_PHOTO_ADMIN)} <a href="{$U_PHOTO_ADMIN}" title="{'Modify information'|@translate}" class="pwg-state-default pwg-button" rel="nofollow"> <span class="pwg-icon pwg-icon-edit"> </span><span class="pwg-button-text">{'Edit'|@translate}</span> </a> {/if}{/strip} {strip}{if isset($U_CADDIE)}{*caddie management BEGIN*} {footer_script} {literal}function addToCadie(aElement, rootUrl, id) { if (aElement.disabled) return; aElement.disabled=true; var y = new PwgWS(rootUrl); y.callService( "pwg.caddie.add", {image_id: id} , { onFailure: function(num, text) { alert(num + " " + text); document.location=aElement.href; }, onSuccess: function(result) { aElement.disabled = false; } } ); }{/literal} {/footer_script} <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"> <span class="pwg-icon pwg-icon-caddie-add"> </span><span class="pwg-button-text">{'Caddie'|@translate}</span> </a> {/if}{/strip}{*caddie management END*} </div> </div>{*<!-- imageToolBar -->*} <div id="theImageAndInfos"> <div id="theImage"> {$ELEMENT_CONTENT} {if isset($COMMENT_IMG)} <p class="imageComment">{$COMMENT_IMG}</p> {/if} {if isset($U_SLIDESHOW_STOP)} <p> [ <a href="{$U_SLIDESHOW_STOP}">{'stop the slideshow'|@translate}</a> ] </p> {/if} </div>{*<!-- no significant white space for elegant--> *}<div id="infoSwitcher"></div>{*<!-- no significant white space for elegant--> *}<div id="imageInfos"> {if $DISPLAY_NAV_THUMB} <div class="navThumbs"> {if isset($previous)} <a class="navThumb" id="linkPrev" href="{$previous.U_IMG}" title="{'Previous'|@translate} : {$previous.TITLE|@escape}" rel="prev"> <span class="thumbHover prevThumbHover"></span> <img src="{$previous.derivatives.square->get_url()}" alt="{$previous.TITLE|@escape}"> </a> {/if} {if isset($next)} <a class="navThumb" id="linkNext" href="{$next.U_IMG}" title="{'Next'|@translate} : {$next.TITLE|@escape}" rel="next"> <span class="thumbHover nextThumbHover"></span> <img src="{$next.derivatives.square->get_url()}" alt="{$next.TITLE|@escape}"> </a> {/if} </div> {/if} <dl id="standard" class="imageInfoTable"> {strip} {if $display_info.author and isset($INFO_AUTHOR)} <div id="Author" class="imageInfo"> <dt>{'Author'|@translate}</dt> <dd>{$INFO_AUTHOR}</dd> </div> {/if} {if $display_info.created_on and isset($INFO_CREATION_DATE)} <div id="datecreate" class="imageInfo"> <dt>{'Created on'|@translate}</dt> <dd>{$INFO_CREATION_DATE}</dd> </div> {/if} {if $display_info.posted_on} <div id="datepost" class="imageInfo"> <dt>{'Posted on'|@translate}</dt> <dd>{$INFO_POSTED_DATE}</dd> </div> {/if} {if $display_info.dimensions and isset($INFO_DIMENSIONS)} <div id="Dimensions" class="imageInfo"> <dt>{'Dimensions'|@translate}</dt> <dd>{$INFO_DIMENSIONS}</dd> </div> {/if} {if $display_info.file} <div id="File" class="imageInfo"> <dt>{'File'|@translate}</dt> <dd>{$INFO_FILE}</dd> </div> {/if} {if $display_info.filesize and isset($INFO_FILESIZE)} <div id="Filesize" class="imageInfo"> <dt>{'Filesize'|@translate}</dt> <dd>{$INFO_FILESIZE}</dd> </div> {/if} {if $display_info.tags and isset($related_tags)} <div id="Tags" class="imageInfo"> <dt>{'Tags'|@translate}</dt> <dd> {foreach from=$related_tags item=tag name=tag_loop}{if !$smarty.foreach.tag_loop.first}, {/if}<a href="{$tag.URL}">{$tag.name}</a>{/foreach} </dd> </div> {/if} {if $display_info.categories and isset($related_categories)} <div id="Categories" class="imageInfo"> <dt>{'Albums'|@translate}</dt> <dd> <ul> {foreach from=$related_categories item=cat} <li>{$cat}</li> {/foreach} </ul> </dd> </div> {/if} {if $display_info.visits} <div id="Visits" class="imageInfo"> <dt>{'Visits'|@translate}</dt> <dd>{$INFO_VISITS}</dd> </div> {/if} {if $display_info.rating_score and isset($rate_summary)} <div id="Average" class="imageInfo"> <dt>{'Rating score'|@translate}</dt> <dd> {if $rate_summary.count} {if $rate_summary.count == 1} {assign var='rate_text' value='%d rate'|@translate} {else} {assign var='rate_text' value='%d rates'|@translate} {/if} <span id="ratingScore">{$rate_summary.score}</span> <span id="ratingCount">({$pwg->sprintf($rate_text, $rate_summary.count)})</span> {else} <span id="ratingScore">{'no rate'|@translate}</span> <span id="ratingCount"></span> {/if} </dd> </div> {/if} {if isset($rating)} <div id="rating" class="imageInfo"> <dt> <span id="updateRate">{if isset($rating.USER_RATE)}{'Update your rating'|@translate}{else}{'Rate this photo'|@translate}{/if}</span> </dt> <dd> <form action="{$rating.F_ACTION}" method="post" id="rateForm" style="margin:0;"> <div> {foreach from=$rating.marks item=mark name=rate_loop} {if isset($rating.USER_RATE) && $mark==$rating.USER_RATE} <input type="button" name="rate" value="{$mark}" class="rateButtonSelected" title="{$mark}"> {else} <input type="submit" name="rate" value="{$mark}" class="rateButton" title="{$mark}"> {/if} {/foreach} {strip}{combine_script id='core.scripts' load='async' path='themes/default/js/scripts.js'} {combine_script id='rating' load='async' require='core.scripts' path='themes/default/js/rating.js'} {footer_script} var _pwgRatingAutoQueue = _pwgRatingAutoQueue||[]; _pwgRatingAutoQueue.push( {ldelim}rootUrl: '{$ROOT_URL}', image_id: {$current.id}, onSuccess : function(rating) {ldelim} var e = document.getElementById("updateRate"); if (e) e.innerHTML = "{'Update your rating'|@translate|@escape:'javascript'}"; e = document.getElementById("ratingScore"); if (e) e.innerHTML = rating.score; e = document.getElementById("ratingCount"); if (e) {ldelim} if (rating.count == 1) {ldelim} e.innerHTML = "({'%d rate'|@translate|@escape:'javascript'})".replace( "%d", rating.count); } else {ldelim} e.innerHTML = "({'%d rates'|@translate|@escape:'javascript'})".replace( "%d", rating.count); } {rdelim} {rdelim}{rdelim} ); {/footer_script} {/strip} </div> </form> </dd> </div> {/if} {if $display_info.privacy_level and isset($available_permission_levels)} <div id="Privacy" class="imageInfo"><div class="relSwitchBox"> <dt><a id="privacyLevelLink" href="javascript:togglePrivacyLevelBox()">{'Who can see this photo?'|@translate}</a></dt> <dd> {combine_script id='core.scripts' load='async' path='themes/default/js/scripts.js'} {footer_script require='jquery'} {literal}function setPrivacyLevel(rootUrl, id, level) { var y = new PwgWS(rootUrl); y.callService( "pwg.images.setPrivacyLevel", {image_id: id, level:level} , { method: "POST", onFailure: function(num, text) { alert(num + " " + text); }, onSuccess: function(result) { jQuery('#privacyLevelBox .switchCheck').css('visibility','hidden'); jQuery('#levelCheck'+level).css('visibility','visible'); } } ); } function togglePrivacyLevelBox() { var elt = document.getElementById("privacyLevelBox"), ePos = document.getElementById("privacyLevelLink"); if (elt.style.display == "none") { elt.style.left = (ePos.offsetLeft)+"px"; elt.style.top = (ePos.offsetTop+ePos.offsetHeight)+"px"; elt.style.display="block"; } else elt.style.display="none"; } {/literal} {/footer_script} <div id="privacyLevelBox" class="switchBox" onclick="togglePrivacyLevelBox()" style="display:none" onmouseout="e=event.toElement||event.relatedTarget;e.parentNode==this||e==this||togglePrivacyLevelBox()"> {foreach from=$available_permission_levels item=label key=level} <span id="levelCheck{$level}" class="switchCheck" {if $level != $current.level} style="visibility:hidden"{/if}>✔ </span> <a id="switchLevel{$level}" href="javascript:setPrivacyLevel('{$ROOT_URL}', {$current.id}, {$level})">{$label}</a><br> {/foreach} </div> </dd> </div></div> {/if} {/strip} </dl> {if isset($metadata)} <dl id="Metadata" class="imageInfoTable"> {foreach from=$metadata item=meta} <h3>{$meta.TITLE}</h3> {foreach from=$meta.lines item=value key=label} <div class="imageInfo"> <dt>{$label}</dt> <dd>{$value}</dd> </div> {/foreach} {/foreach} </dl> {/if} </div> </div> {if isset($COMMENT_COUNT)} <div id="comments" {if (!isset($comment_add) && ($COMMENT_COUNT == 0))}class="noCommentContent"{else}class="commentContent"{/if}><div id="commentsSwitcher"></div> <h3>{$pwg->l10n_dec('%d comment', '%d comments',$COMMENT_COUNT)}</h3> <div id="pictureComments"> {if isset($comment_add)} <div id="commentAdd"> <h4>{'Add a comment'|@translate}</h4> <form method="post" action="{$comment_add.F_ACTION}" id="addComment"> {if $comment_add.SHOW_AUTHOR} <p><label for="author">{'Author'|@translate}{if $comment_add.AUTHOR_MANDATORY} ({'mandatory'|@translate}){/if} :</label></p> <p><input type="text" name="author" id="author" value="{$comment_add.AUTHOR}"></p> {/if} {if $comment_add.SHOW_EMAIL} <p><label for="email">{'Email'|@translate}{if $comment_add.EMAIL_MANDATORY} ({'mandatory'|@translate}){/if} :</label></p> <p><input type="text" name="email" id="email" value="{$comment_add.EMAIL}"></p> {/if} <p><label for="website_url">{'Website'|@translate} :</label></p> <p><input type="text" name="website_url" id="website_url" value="{$comment_add.WEBSITE_URL}"></p> <p><label for="contentid">{'Comment'|@translate} ({'mandatory'|@translate}) :</label></p> <p><textarea name="content" id="contentid" rows="5" cols="50">{$comment_add.CONTENT}</textarea></p> <p><input type="hidden" name="key" value="{$comment_add.KEY}"> <input type="submit" value="{'Submit'|@translate}"></p> </form> </div> {/if} {if isset($comments)} <div id="pictureCommentList"> {if (($COMMENT_COUNT > 2) || !empty($navbar))} <div id="pictureCommentNavBar"> {if $COMMENT_COUNT > 2} <a href="{$COMMENTS_ORDER_URL}#comments" rel="nofollow" class="commentsOrder">{$COMMENTS_ORDER_TITLE}</a> {/if} {if !empty($navbar) }{include file='navigation_bar.tpl'|@get_extent:'navbar'}{/if} </div> {/if} {include file='comment_list.tpl'} </div> {/if} <div style="clear:both"></div> </div> </div> {/if}{*comments*} {if !empty($PLUGIN_PICTURE_AFTER)}{$PLUGIN_PICTURE_AFTER}{/if} </div>
je viens -enfin- de comprendre ! En fait le lien d'icy est dans les choux ! Ils e ballade entre random et browsepath ...
vous pourriez me donner le code dans picture.tpl de votre thème, tout le <div id="imageHeaderBar" .... svp
http://achr68.free.fr/piwigo/picture.ph … category/7
"bourges" est sur la 2e lignes et avec le curseur dessus ça renvoi à modifier
Il y a une différence d'affichage entre FF (juste bourges sur la 2e ligne) et Chrome (editer est aussi sur la 2e ligne).
je ne vois pas en ligne la modif pour .randomButtons D'ailleurs plutôt en max-width
un lien svp sur une image à pb
Merci de m'avoir appris ça.
J'ai ajouté:
.randomButtons { width: 55%; } .browsePath { max-width: 45%; }
Mais je ne trouve pas la bonne combinaison, dès qu'il y a une ligne supplémentaire en rundombuttons alors le bug apparait