{$current.TITLE}
+ {$SECTION_TITLE}{$LEVEL_SEPARATOR}{$current.TITLE}
{$COMMENT_IMG}
{/if}diff --git a/themes/clear/theme.css b/themes/clear/theme.css index 1630bbdd6..c30adead9 100644 --- a/themes/clear/theme.css +++ b/themes/clear/theme.css @@ -14,12 +14,12 @@ H2, #menubar DT, #imageHeaderBar, #imageToolBar A:hover { background-color: #d3d3d3; } -#menubar DL, .content, #imageToolBar, #derivativeSwitchLink, #derivativeSwitchBox, #sortOrderBox, .header_notes { +#menubar DL, .content, #imageToolBar, #derivativeSwitchBox, #sortOrderBox, .header_notes { background-color: #eeeeee; } /* borders */ -#menubar DL, .content, #imageToolBar, #derivativeSwitchLink, #derivativeSwitchBox, #sortOrderBox { +#menubar DL, .content, #imageToolBar, #derivativeSwitchBox, #sortOrderBox { border: 1px solid #d3d3d3; } diff --git a/themes/dark/theme.css b/themes/dark/theme.css index 80cf96b53..3236afc09 100644 --- a/themes/dark/theme.css +++ b/themes/dark/theme.css @@ -17,7 +17,7 @@ BODY, H3, #imageToolBar A:hover { background-color: #2f2f2f; } -#menubar DL, .content, #imageToolBar, #imageHeaderBar, #derivativeSwitchLink, #derivativeSwitchBox, #sortOrderBox, .header_notes { +#menubar DL, .content, #imageToolBar, #imageHeaderBar, #derivativeSwitchBox, #sortOrderBox, .header_notes { background-color: #505050; } @@ -30,7 +30,7 @@ BODY, H3, #imageToolBar A:hover { } /* borders */ -#menubar DL, .content, #derivativeSwitchLink, #derivativeSwitchBox, #sortOrderBox{ +#menubar DL, .content, #derivativeSwitchBox, #sortOrderBox{ border: 1px solid #000; } diff --git a/themes/default/template/picture.tpl b/themes/default/template/picture.tpl index 2dfa597f0..98ca6cf5d 100644 --- a/themes/default/template/picture.tpl +++ b/themes/default/template/picture.tpl @@ -1,10 +1,8 @@ {* Example of resizeable {include file='include/autosize.inc.tpl'} *} -{if isset($MENUBAR)} -{$MENUBAR} -
{$COMMENT_IMG}
{/if}
{$pwg->l10n_dec('%d comment', '%d comments',$COMMENT_COUNT)}
- {if $COMMENT_COUNT > 2} - {$COMMENTS_ORDER_TITLE} - {/if} + {if $COMMENT_COUNT > 2} + {$COMMENTS_ORDER_TITLE} + {/if} + {else} +{$pwg->l10n_dec('%d comment', '%d comments',$COMMENT_COUNT)}
{/if} {if !empty($navbar)}{include file='navigation_bar.tpl'|@get_extent:'navbar'}{/if} diff --git a/themes/default/template/picture_content.tpl b/themes/default/template/picture_content.tpl index 37c9a0a2e..abf3766c6 100644 --- a/themes/default/template/picture_content.tpl +++ b/themes/default/template/picture_content.tpl @@ -2,47 +2,6 @@ {if isset($COMMENT_IMG)} title="{$COMMENT_IMG|@strip_tags:false|@replace:'"':' '}" {else} title="{$current.TITLE|@replace:'"':' '} - {$ALT_IMG}" {/if}> -{if count($current.unique_derivatives)>1} -{footer_script}{literal} -function changeImgSrc(url,typeSave,typeMap,typeDisplay) -{ - var theImg = document.getElementById("theMainImage"); - if (theImg) - { - theImg.removeAttribute("width");theImg.removeAttribute("height"); - theImg.src = url; - var elt = document.getElementById("derivativeSwitchLink"); - if (elt) elt.innerHTML = typeDisplay; - theImg.useMap = "#map"+typeMap; - } - document.cookie = 'picture_deriv='+typeSave+';path={/literal}{$COOKIE_PATH}{literal}'; -} - -function toggleDerivativeSwitchBox() -{ - var elt = document.getElementById("derivativeSwitchBox"), - ePos = document.getElementById("derivativeSwitchLink"); - if (elt.style.display==="none") - { - elt.style.position = "absolute"; - elt.style.left = (ePos.offsetLeft+10)+"px"; - elt.style.top = (ePos.offsetTop+ePos.offsetHeight)+"px"; - elt.style.display=""; - } - else - elt.style.display="none"; -} -{/literal}{/footer_script} -{$current.selected_derivative->get_type()|@translate} - -{/if} {foreach from=$current.unique_derivatives item=derivative key=derivative_type}{strip}