Index: tensions/simple_themes/simple/content.css
===================================================================
--- /extensions/simple_themes/simple/content.css	(revision 19420)
+++ 	(revision )
@@ -1,492 +1,0 @@
-/*
- CSS for all pages
-*/
-
-body {
-  font: 75% "Bitstream Vera Sans", "DejaVu Sans", "Trebuchet MS", Verdana, sans-serif;
-  margin: 0;
-  padding: 0;
-}
-
-img { border: 0; max-width: 100%; }
-a { text-decoration: none; }
-hr { border: 1px #999999 solid; }
-
-h1, h2, h3 {
-  margin: 0;
-  padding: 0;
-  font-size: 1em;
-}
-h1 { font-size: 1.6em; }
-
-#menuswitcher {
-  cursor: pointer;
-}
-
-/* hide javascript stuff */
-
-.js #menubar, .js #theComments > div {
-  display: none;
-}
-
-/* Layout */
-
-#the_page {
-  width: 85%;
-  margin: 0 auto;
-  padding: 0;
-}
-
-#theHeader h1 {
-  padding: 1em 0 0;
-}
-#theHeader p {
-  padding: 0;
-  margin: 0;
-}
-
-.titrePage {
-  margin: 1em 0;
-  line-height: 1.5em;
-}
-
-.titrePage h2 {
-  margin: 1em 0;
-  padding: 0;
-  display: inline;
-}
-.subcontent h2 {
-  margin: 0 0 1em;
-}
-
-.titrePage .button {
-  float: none;
-}
-
-.titrePage img {
-  float: left;
-  max-height: 16px;
-  margin: 0 5px;
-}
-
-.titrePage .categoryActions {
-  float: right;
-  margin: 0;
-  padding: 0;
-  list-style: none;
-  width: auto;
-}
-
-.categoryActions li {
-  display: inline;
-}
-
-#content {
-  margin: 1em 0 0;
-  padding: 1em;
-}
-
-/* tags */
-
-.tagLevel5 { font-size: 130%; }
-.tagLevel4 { font-size: 120%; }
-.tagLevel3 { font-size: 110%; }
-.tagLevel2 { font-size: 100%; }
-.tagLevel1 { font-size: 90%; }
-
-#fullTagCloud {
-  text-align: center;
-  margin: 1em 2em;
-}
-
-#fullTagCloud span {
-  white-space: nowrap;
-  margin: 0 0.5em;
-}
-
-#fullTagCloud a {
-  padding: 2px;
-}
-
-.tagLetterContent {
-  width: 100%;
-}
-
-.tagSelection li {
-  display:  inline;
-}
-
-/* Messages */
-
-.errors, .infos {
-  color: #e04040;
-  border: 1px dashed;
-  margin: 1em;
-}
-
-/* Forms */
-
-form {
-  margin: 0;
-}
-
-#content form li, .subcontent form li {
-  list-style: none;
-  margin: 0.2em 0;
-}
-
-.property {
-  display: inline-block;
-  width: 180px;
-}
-
-#quicksearch {
-  margin: 1em 0 0;
-}
-#quicksearch p {
-  margin: 0;
-}
-#quicksearch #q {
-  width: 150px;
-}
-
-/* Menubar */
-
-#menubar {
-  margin: 0 2em 0 0;
-  padding: 0;
-  float: left;
-  width: 15%;
-}
-
-#menubar ul {
-  margin: 0;
-  padding: 1em 0 1em 2em;
-}
-#menubar dd {
-  margin: 0;
-  padding: 0;
-}
-
-#menubar ul ul {
- margin: 0;
- padding: 0 0 0 1em;
-}
-
-/* images thumbnails */
-
-#thumbnails {
-  width: auto;
-  text-align: center;
-  padding: 1em 0;
-}
-
-#thumbnails ul, .middle_block > ul {
-  margin: 0;
-  padding: 0;
-  overflow: hidden;
-  list-style: none;
-}
-
-#thumbnails li, .middle_block > ul li {
-  margin: 1em;
-  padding: 0;
-  display: inline-block;
-  vertical-align: middle;
-}
-
-.nb-comments, .nb-hits {
-  font-weight: normal;
-}
-.zero {
-  display: none;
-}
-
-/* categories thumbnails */
-
-.thumbnailCategories {
-  margin: 0;
-  padding: 0;
-  overflow: hidden;
-  list-style: none;
-}
-
-.thumbnailCategories li {
-  display: inline-block;
-  overflow: hidden;
-  vertical-align: top;
-  margin: 1em;
-  width: 29%;
-  text-align: center;
-}
-
-.illustration {
-}
-
-.description {
-  overflow: auto;
-}
-
-.description h3 {
-  margin: 0;
-}
-
-.thumbCatDescNfoDate, .thumbCatDescNbImg {
-  margin: 0;
-  font-size: 80%;
-}
-
-.thumbCatDesc {
-  margin: 0;
-  padding-top: 4px;
-  word-wrap: break-word;
-}
-
-/* page : title bar */
-
-#additional_info {
-  margin: 1em 5em;
-}
-
-.navigationBar {
-  padding: 0.5em;
-  text-align: right;
-}
-
-/* pictures pages */
-
-#thePicturePage #theHeader {
-  display: none;
-}
-#thePicturePage #content {
-  padding: 1em 0 0;
-}
-
-.imageNumber {
-  float: right;
-  padding: 0 3px;
-  font-size: 0.9em;
-}
-
-.navButtons {
-  font-size: 1.5em;
-  text-align: center;
-}
-
-#navThumbPrev, #navThumbNext {
-  text-align: center;
-  margin: 1em auto;
-}
-
-#imageToolBar {
-  height: 25px;
-}
-
-#imageInfoBar {
-  float: right;
-  clear: right;
-  width: 25%;
-}
-
-#randomButtons ul {
-  padding: 0;
-  list-style-type: none;
-}
-
-#imageInfos dt, #imageMeta dt {
-  font-weight: bold;
-}
-#imageInfos dd, #imageMeta dd {
-  margin-left: 1em;
-  overflow: hidden;
-}
-
-#theImage {
-  float: left;
-  width: 75%;
-  text-align: center;
-  padding: 1em 0 2em;
-  margin: 0 auto;
-  overflow: hidden;
-}
-
-#rateForm {
-  margin: 0;
-}
-#rateForm input, #rateForm input:active {
-  cursor: pointer;
-  border: none;
-  padding: 0;
-}
-#rateForm input.rateButtonStarFull  {
-  background:  url('icon/rating-stars.png') no-repeat scroll -16px center;
-  width: 16px;
-}
-#rateForm input.rateButtonStarEmpty {
-  background:  url('icon/rating-stars.png') no-repeat scroll 0 center;
-  width: 16px;
-}
-
-/* slideshow */
-
-#slideshow {
-  margin: 1em auto;
-}
-#slideshow .titrePage {
-  width: 600px;
-  margin: 0 auto;
-}
-
-#slideshow .navButtons {
-  display: inline;
-  font-size: 1em;
-  float: right;
-  margin-right: 1em;
-}
-#slideshow #theImage {
-  float: none;
-  width: 100%;
-}
-
-/* comments */
-
-#theComments h3 {
-  height: 25px;
-  line-height: 25px;
-  padding-left: 1em;
-  cursor: pointer;
-}
-
-#commentAdd, #commentList {
-  width: 48%;
-  padding: 1%;
-}
-#commentAdd  { float: left; }
-#commentList { float: right; }
-
-#commentAdd input[type="text"], #commentAdd textarea {
-  width: 400px;
-}
-
-#commentList ul {
-  list-style: none;
-  padding: 0;
-}
-#commentList li {
-  clear: both;
-  display: block;
-  border-top: 1px dotted #606060;
-  padding: 0.5em 0;
-}
-#commentList li ul {
-  list-style-type: none;
-  padding: 4px;
-}
-
-ul.actions {
-  float: right;
-}
-
-#commentList .author {
-  font-weight: bold;
-  font-variant: small-caps;
-}
-#commentList .date {
-  font-style: italic;
-}
-
-#theCommentsPage #comments li {
-  list-style: none;
-  border-top: none;
-  /* display: table-row; */
-  min-height:150px;
-}
-
-#theCommentsPage form label {
-  display: inline-block;
-  line-height: 25px;
-}
-
-#comments .description {
-  vertical-align: top;
-  display: inline-block;
-}
-#comments .illustration {
-  width: auto;
-}
-
-/* calendar */
-
-.calendarViews, .calendarCalBar {
-  margin: 1em 0;
-}
-
-.calCalHead {
-  font-size: 1.1em;
-  font-weight: bold;
-}
-
-.calMonth {
-  width: 80%;
-  margin: 1em auto;
-}
-
-.calendarBar {
-  text-align: center;
-}
-.calendarBar span {
-  margin: 0 0.5em;
-}
-
-/* Footer */
-
-#copyright {
-  padding: 2px;
-  clear: both;
-}
-
-/* PWG stuff */
-
-.personal_block { padding: 0 !important; }
-
-
-/*  */
-
-@media only screen and (max-width: 957px) {
-  #the_page {
-    width: 100%;
-    margin: 0;
-  }
-
-  #thePicturePage #content {
-    position: relative;
-  }
-
-  #theHeader { margin: 0 1em; }
-  .titrePage { margin: 1em; }
-
-  #theImage {
-    width: 100%;
-    float: none;
-  }
-
-  #imageInfoBar {
-    float: none;
-    clear: both;
-    width: 100%;
-    margin: 0 10px;
-  }
-  #navThumbPrev, #navThumbNext {
-    float: left;
-    margin: 1em;
-  }
-  .thumbnailCategories li {
-    width: 45%;
-  }
-}
-
-@media only screen and (max-width: 520px) {
-  .thumbnailCategories li {
-    width: 95%;
-  }
-}
Index: /extensions/simple_themes/simple/js/scripts.js
===================================================================
--- /extensions/simple_themes/simple/js/scripts.js	(revision 19420)
+++ /extensions/simple_themes/simple/js/scripts.js	(revision 19421)
@@ -3,6 +3,6 @@
 
 jQuery(document).ready(function($){
-  $("#theComments h3").click(function () {
-    $("#theComments > div").toggle("slow");
+  jQuery("#comments h3").click(function () {
+    jQuery("#pictureComments").toggle("slow");
   });
 
Index: /extensions/simple_themes/simple/local_head.tpl
===================================================================
--- /extensions/simple_themes/simple/local_head.tpl	(revision 19420)
+++ /extensions/simple_themes/simple/local_head.tpl	(revision 19421)
@@ -4,2 +4,5 @@
   {/if}
 {/if}
+
+{combine_script id='jquery.cookie' path='themes/simple/js/jquery.cookie.min.js'}
+{combine_script id='simple.scripts' load='footer' require='jquery' path='themes/simple/js/scripts.js'}
Index: /extensions/simple_themes/simple/template/footer.tpl
===================================================================
--- /extensions/simple_themes/simple/template/footer.tpl	(revision 19420)
+++ /extensions/simple_themes/simple/template/footer.tpl	(revision 19421)
@@ -4,5 +4,4 @@
     {/if}
     {'Powered by'|@translate} <a href="{$PHPWG_URL}">Piwigo</a>
-     - <a href="{$themeconf.url}">{$themeconf.name}</a>
     {if isset($U_LOGIN)}
     - <a href="{$U_LOGIN}" rel="nofollow">{'Login'|@translate}</a>
Index: tensions/simple_themes/simple/template/header.tpl
===================================================================
--- /extensions/simple_themes/simple/template/header.tpl	(revision 19420)
+++ 	(revision )
@@ -1,93 +1,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
-<html lang="{$lang_info.code}" dir="{$lang_info.direction}">
-<head>
-  <meta http-equiv="Content-Type" content="text/html; charset={$CONTENT_ENCODING}">
-  <meta name="generator" content="Piwigo (aka PWG), see piwigo.org">
-{if isset($meta_ref) }
-  {if isset($INFO_AUTHOR)}
-  <meta name="author" content="{$INFO_AUTHOR|@strip_tags:false|@replace:'"':' '}">
-  {/if}
-  {if isset($related_tags)}
-  <meta name="keywords" content="{foreach from=$related_tags item=tag name=tag_loop}{if !$smarty.foreach.tag_loop.first}, {/if}{$tag.name}{/foreach}">
-  {/if}
-  {if isset($COMMENT_IMG)}
-  <meta name="description" content="{$COMMENT_IMG|@strip_tags:false|@replace:'"':' '}{if isset($INFO_FILE)} - {$INFO_FILE}{/if}">
-  {else}
-  <meta name="description" content="{$PAGE_TITLE}{if isset($INFO_FILE)} - {$INFO_FILE}{/if}">
-  {/if}
-{/if}
-  <title>{$PAGE_TITLE} - {$GALLERY_TITLE}</title>
-  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
-  <link rel="shortcut icon" type="image/x-icon" href="{$ROOT_URL}{$themeconf.icon_dir}/favicon.ico">
-  <link rel="start" title="{'Home'|@translate}" href="{$U_HOME}" >
-  <link rel="search" title="{'Search'|@translate}" href="{$ROOT_URL}search.php" >
-  {if isset($first.U_IMG)}
-  <link rel="first" title="{'First'|@translate}" href="{$first.U_IMG}" >
-  {/if}
-  {if isset($previous.U_IMG)}
-  <link rel="prev" title="{'Previous'|@translate}" href="{$previous.U_IMG}" >
-  {/if}
-  {if isset($next.U_IMG)}
-  <link rel="next" title="{'Next'|@translate}" href="{$next.U_IMG}" >
-  {/if}
-  {if isset($last.U_IMG)}
-  <link rel="last" title="{'Last'|@translate}" href="{$last.U_IMG}" >
-  {/if}
-  {if isset($U_UP)}
-  <link rel="up" title="{'Thumbnails'|@translate}" href="{$U_UP}" >
-  {/if}
-
-{get_combined_css}
-{combine_css path="themes/simple/content.css" order="-10"}
-{foreach from=$themes item=theme}
-{if $theme.load_css}
-{combine_css path="themes/`$theme.id`/theme.css" order=-10}
-{/if}
-{if !empty($theme.local_head)}{include file=$theme.local_head load_css=$theme.load_css}{/if}
-{/foreach}
-
-  <link rel="stylesheet" type="text/css" media="print" href="{$ROOT_URL}themes/simple/print.css">
-
-  {if isset($U_PREFETCH)}<link rel="prefetch" href="{$U_PREFETCH}">{/if}
-  {if not empty($page_refresh)}
-  <meta http-equiv="refresh" content="{$page_refresh.TIME};url={$page_refresh.U_REFRESH}">
-  {/if}
-  {if isset($U_FEED)}
-  <link rel="alternate" type="application/rss+xml" title="{'Image only RSS feed'|@translate}" href="{$U_FEED_IMAGE_ONLY}">
-  <link rel="alternate" type="application/rss+xml" title="{'Complete RSS feed (images, comments)'|@translate}" href="{$U_FEED}">
-  {/if}
-
-  {get_combined_scripts load='header'}
-  {combine_script id='jquery' path='themes/default/js/jquery.min.js'}
-  {combine_script id='jquery.cookie' path='themes/simple/js/jquery.cookie.min.js'}
-  {combine_script id='rating' path='themes/default/js/rating.js'}
-  {combine_script id='core.scripts' path='themes/default/js/scripts.js'}
-  {combine_script id='simple.scripts' path='themes/simple/js/scripts.js'}
-
-  {if not empty($head_elements)}
-    {foreach from=$head_elements item=elt}{$elt}
-    {/foreach}
-  {/if}
-  <script type="text/javascript">
-    document.documentElement.className = 'js';
-  </script>
-</head>
-<body id="{$BODY_ID}">
-<div id="the_page">
-  {if not empty($header_msgs)}
-  <div class="header_msgs">
-    {foreach from=$header_msgs item=elt}
-    <p>{$elt}</p>
-    {/foreach}
-  </div>
-  {/if}
-  <div id="theHeader">{$PAGE_BANNER|@regex_replace:'#<h1>(.*?)</h1>#is':"<h1><a href=\"$U_HOME\">\\1</a></h1>"}</div>
-  <!--  <div id="theHeader">{$PAGE_BANNER}</div>-->
-  {if isset($theSwiftHeader)}{$theSwiftHeader}{/if}
-  {if not empty($header_notes)}
-  <div class="header_notes">
-    {foreach from=$header_notes item=elt}
-    <p>{$elt}</p>
-    {/foreach}
-  </div>
-  {/if}
Index: tensions/simple_themes/simple/template/picture.tpl
===================================================================
--- /extensions/simple_themes/simple/template/picture.tpl	(revision 19420)
+++ 	(revision )
@@ -1,205 +1,0 @@
-<div class="titrePage">
-  <div class="imageNumber">{$PHOTO}</div>
-    {$SECTION_TITLE}
-    {$LEVEL_SEPARATOR} <h2>{$current.TITLE}</h2>
-</div> <!-- imageHeaderBar -->
-{if !empty($PLUGIN_PICTURE_BEFORE)}{$PLUGIN_PICTURE_BEFORE}{/if}
-<div id="content">
-  {if isset($MENUBAR)}{$MENUBAR}{/if}
-
-  {if isset($errors)}
-  <div class="errors">
-    <ul>
-      {foreach from=$errors item=error}
-      <li>{$error}</li>
-      {/foreach}
-    </ul>
-  </div>
-  {/if}
-
-  {if isset($infos)}
-  <div class="infos">
-    <ul>
-      {foreach from=$infos item=info}
-      <li>{$info}</li>
-      {/foreach}
-    </ul>
-  </div>
-  {/if}
-
-  <div id="theImage">
-    {$ELEMENT_CONTENT}
-    {if isset($COMMENT_IMG)}
-    <p>{$COMMENT_IMG}</p>
-    {/if}
-  </div> <!-- theImage -->
-
-  <div id="imageInfoBar">
-    <div id="imageToolBar">
-      {include file='picture_nav_buttons.tpl'|@get_extent:'picture_nav_buttons'}
-    </div>
-	{if $DISPLAY_NAV_THUMB}
-    {if isset($previous) }
-    <div id="navThumbPrev">
-      <a class="navThumb" href="{$previous.U_IMG}" title="{'Previous'|@translate} : {$previous.TITLE}" rel="prev">
-        <img src="{$previous.THUMB_SRC}" alt="{$previous.TITLE}"></a>
-    </div>
-    {/if}
-    {if isset($next) }
-    <div id="navThumbNext">
-      <a class="navThumb" href="{$next.U_IMG}" title="{'Next'|@translate} : {$next.TITLE}" rel="next">
-        <img src="{$next.THUMB_SRC}" alt="{$next.TITLE}"></a>
-    </div>
-    {/if}
-	{/if}
-    <div id="randomButtons">
-      <ul>
-        {if isset($U_SLIDESHOW_START) }
-        <li><a href="{$U_SLIDESHOW_START}" title="{'slideshow'|@translate}" rel="nofollow">{'slideshow'|@translate}</a></li>
-        {/if}
-        {if isset($U_METADATA) }
-        <li><a href="{$U_METADATA}" title="{'Show file metadata'|@translate}" rel="nofollow">{'Show file metadata'|@translate}</a></li>
-        {/if}
-        {if isset($current.U_DOWNLOAD) }
-        <li><a href="{$current.U_DOWNLOAD}" title="{'download this file'|@translate}">{'download'|@translate}</a></li>
-        {/if}
-        {if isset($PLUGIN_PICTURE_ACTIONS)}{$PLUGIN_PICTURE_ACTIONS}{/if}
-        {if isset($favorite)}
-        <li><a href="{$favorite.U_FAVORITE}">{if $favorite.IS_FAVORITE}{'delete this photo from your favorites'|@translate}{else}{'add this photo to your favorites'|@translate}{/if}</a></li>
-        {/if}
-        {if !empty($U_SET_AS_REPRESENTATIVE) }
-        <li><a href="{$U_SET_AS_REPRESENTATIVE}" title="{'set as album representative'|@translate}">{'representative'|@translate}</a></li>
-        {/if}
-        {if isset($U_ADMIN) }
-        <li><a href="{$U_ADMIN}" title="{'Modify information'|@translate}">{'Modify information'|@translate}</a></li>
-        {/if}
-      </ul>
-    </div>
-    {if isset($metadata)}
-    <div id="imageMeta">
-      {foreach from=$metadata item=meta}
-      <h3>{$meta.TITLE}</h3>
-      <dl>
-        {foreach from=$meta.lines item=value key=label}
-        <dt>{$label}</dt>
-        <dd>{$value}</dd>
-        {/foreach}
-      </dl>
-      {/foreach}
-    </div> <!-- imageMeta -->
-    {/if}
-    <div id="imageInfos">
-      <dl>
-        {if $display_info.author and isset($INFO_AUTHOR)}
-        <dt>{'Author'|@translate}</dt>
-        <dd>{$INFO_AUTHOR}</dd>
-        {/if}
-        {if $display_info.created_on and isset($INFO_CREATION_DATE)}
-        <dt>{'Created on'|@translate}</dt>
-        <dd>{$INFO_CREATION_DATE}</dd>
-        {/if}
-        {if $display_info.posted_on}
-        <dt>{'Posted on'|@translate}</dt>
-        <dd>{$INFO_POSTED_DATE}</dd>
-        {/if}
-        {if $display_info.tags and isset($related_tags)}
-        <dt>{'Tags'|@translate}</dt>
-        <dd id="Tags">
-          {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>
-        {/if}
-        {if $display_info.categories and isset($related_categories)}
-        <dt>{'Albums'|@translate}</dt>
-        <dd>
-          {foreach from=$related_categories item=cat name=tag_loop}
-          {if !$smarty.foreach.tag_loop.first}, {/if}
-          {'&nbsp;'|@str_ireplace:'&#32;':$cat}{/foreach}
-        </dd>
-        {/if}
-        {if $display_info.visits}
-        <dt>{'Visits'|@translate}</dt>
-        <dd>{$INFO_VISITS}</dd>
-        {/if}
-
-		{if $display_info.rating_score and isset($rate_summary)}
-		<dt id="Average">{'Rating score'|@translate}</dt>
-		<dd id="ratingSummary">
-		{if $rate_summary.count}
-			<span id="ratingScore">{$rate_summary.score}</span> <span id="ratingCount">({assign var='rate_text' value='%d rates'|@translate}{$pwg->sprintf($rate_text, $rate_summary.count)})</span>
-		{else}
-			<span id="ratingScore">{'no rate'|@translate}</span> <span id="ratingCount"></span>
-		{/if}
-		</dd>
-		{/if}
-
-        {if isset($rating)}
-        <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">
-            <div>&nbsp;
-              {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) e.innerHTML = "({'%d rates'|@translate|@escape:'javascript'})".replace( "%d", rating.count);
-	      {rdelim}{rdelim} );
-	      {/footer_script}
-	      {/strip}
-            </div>
-          </form>
-        </dd>
-        {/if}
-      </dl>
-    </div> <!-- imageInfos -->
-  </div>
-  <div style="clear: both;"></div>
-
-  {if (isset($COMMENT_COUNT) and ($COMMENT_COUNT>0)) or isset($comment_add) }
-  <div id="theComments">
-    <h3 title="{'Add a comment'|@translate}">{$pwg->l10n_dec('%d comment', '%d comments',$COMMENT_COUNT)}</h3>
-      {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">
-          {if $comment_add.SHOW_AUTHOR}
-          <p><label>{'Author'|@translate}&nbsp;:</label></p>
-          <p><input type="text" name="author" /></p>
-          {/if}
-          <p><label>{'Comment'|@translate}&nbsp;:</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>
-  {/if} {*comments*}
-  <div style="clear: both;"></div>
-</div>
-{if !empty($PLUGIN_PICTURE_AFTER)}{$PLUGIN_PICTURE_AFTER}{/if}
Index: tensions/simple_themes/simple/template/picture_nav_buttons.tpl
===================================================================
--- /extensions/simple_themes/simple/template/picture_nav_buttons.tpl	(revision 19420)
+++ 	(revision )
@@ -1,73 +1,0 @@
-{if $DISPLAY_NAV_BUTTONS}
-<div class="navButtons">
-{if isset($U_SLIDESHOW_STOP)}
-  <a href="{$U_SLIDESHOW_STOP}" title="{'stop the slideshow'|@translate}">{'Stop'|@translate}</a>
-{/if}
-{if isset($slideshow.U_START_PLAY)}
-  <a href="{$slideshow.U_START_PLAY}" title="{'Play of slideshow'|@translate}">Play</a>
-{/if}
-{if isset($slideshow)}
-  {if isset($slideshow.U_STOP_PLAY)}
-    <a href="{$slideshow.U_STOP_PLAY}" title="{'Pause of slideshow'|@translate}">Pause</a>
-  {/if}
-  {if isset($slideshow.U_DEC_PERIOD)}
-    <a href="{$slideshow.U_DEC_PERIOD}" title="{'Accelerate diaporama speed'|@translate}">&nbsp;+&nbsp;</a>
-  {/if}
-  {if isset($slideshow.U_INC_PERIOD)}
-    <a href="{$slideshow.U_INC_PERIOD}" title="{'Reduce diaporama speed'|@translate}">&nbsp;-&nbsp;</a>
-  {/if}
-{/if}
-{if isset($first)}
-  <a href="{$first.U_IMG}" title="{'First'|@translate} : {$first.TITLE}" rel="first">&laquo;</a>
-{/if}
-{if isset($previous)}
-  <a href="{$previous.U_IMG}" title="{'Previous'|@translate} : {$previous.TITLE}" rel="prev">&lsaquo;</a>
-{/if}
-{if isset($next)}
-  <a href="{$next.U_IMG}" title="{'Next'|@translate} : {$next.TITLE}" rel="next">&rsaquo;</a>
-{/if}
-{if isset($last)}
-  <a href="{$last.U_IMG}" title="{'Last'|@translate} : {$last.TITLE}" rel="last">&raquo;</a>
-{/if}
-</div>
-{/if}
-
-<script type="text/javascript">// <![CDATA[
-{literal}
-function keyboardNavigation(e)
-{
-        if(!e) e=window.event;
-        if (e.altKey) return true;
-        var target = e.target || e.srcElement;
-        if (target && target.type) return true; //an input editable element
-        var keyCode=e.keyCode || e.which;
-        var docElem = document.documentElement;
-        switch(keyCode) {
-{/literal}
-{if isset($next)}
-        case 63235: case 39: if (e.ctrlKey || docElem.scrollLeft==docElem.scrollWidth-docElem.clientWidth ){ldelim}window.location="{$next.U_IMG}".replace( "&amp;", "&" ); return false; } break;
-{/if}
-{if isset($previous)}
-        case 63234: case 37: if (e.ctrlKey || docElem.scrollLeft==0){ldelim}window.location="{$previous.U_IMG|@escape:jasvascript}".replace("&amp;","&"); return false; } break;
-{/if}
-{if isset($first)}
-        /*Home*/case 36: if (e.ctrlKey){ldelim}window.location="{$first.U_IMG|@escape:jasvascript}".replace("&amp;","&"); return false; } break;
-{/if}
-{if isset($last)}
-        /*End*/case 35: if (e.ctrlKey){ldelim}window.location="{$last.U_IMG|@escape:jasvascript}".replace("&amp;","&"); return false; } break;
-{/if}
-{if isset($U_UP) and !isset($slideshow)}
-        /*Up*/case 38: if (e.ctrlKey){ldelim}window.location="{$U_UP|@escape:jasvascript}".replace("&amp;","&"); return false; } break;
-{/if}
-
-{if isset($slideshow.U_START_PLAY)}
-        /*Pause*/case 32: {ldelim}window.location="{$slideshow.U_START_PLAY|@escape:jasvascript}".replace("&amp;","&"); return false; } break;
-{/if}
-{if isset($slideshow.U_STOP_PLAY)}
-        /*Play*/case 32: {ldelim}window.location="{$slideshow.U_STOP_PLAY|@escape:jasvascript}".replace("&amp;","&"); return false; } break;
-{/if}
-        }
-        return true;
-}
-document.onkeydown=keyboardNavigation;
-// ]]></script>
Index: tensions/simple_themes/simple/template/slideshow.tpl
===================================================================
--- /extensions/simple_themes/simple/template/slideshow.tpl	(revision 19420)
+++ 	(revision )
@@ -1,22 +1,0 @@
-{html_head}
-{literal}
-<style>
-  #copyright { display: none; }
-</style>
-{/literal}
-{/html_head}
-<div id="slideshow">
-  <div class="titrePage">
-    <div class="imageNumber">{$PHOTO}</div>
-    {include file='picture_nav_buttons.tpl'|@get_extent:'picture_nav_buttons'}
-    {if $SHOW_PICTURE_NAME_ON_TITLE }
-    <h2>{$current.TITLE}</h2>
-    {/if}
-  </div>
-  <div id="theImage">
-    {$ELEMENT_CONTENT}
-    {if isset($COMMENT_IMG)}
-    <p class="showlegend">{$COMMENT_IMG}</p>
-    {/if}
-  </div>
-</div>
Index: /extensions/simple_themes/simple/theme.css
===================================================================
--- /extensions/simple_themes/simple/theme.css	(revision 19420)
+++ /extensions/simple_themes/simple/theme.css	(revision 19421)
@@ -131,5 +131,4 @@
   border: 8px #fff solid;
   margin: 0 20px;
-  max-width: 90%;
 }
 #theImage p {
@@ -209,4 +208,22 @@
   color: #00FF00;
   font-weight: bold;
+}
+
+#thePicturePage #comments h3 {
+  cursor:pointer;
+}
+
+.commentsList .commentElement {
+  list-style:none;
+  padding:0.5em 0;
+}
+
+#thePicturePage #comments .description {
+  padding:0;
+  border:none;
+}
+
+#theCommentsPage .commentElement .description {
+  border-top:1px dotted #555;
 }
 
@@ -220,10 +237,4 @@
   padding:5px;
   border-top: 1px dotted #606060;
-}
-
-#comments .description {
-  border-top: 1px dotted #606060;
-  display: block;
-  padding: 10px 0;
 }
 
@@ -244,2 +255,754 @@
   width: 26px;
 }
+
+/*
+ CSS for all pages
+*/
+
+body {
+  font: 75% "Bitstream Vera Sans", "DejaVu Sans", "Trebuchet MS", Verdana, sans-serif;
+  margin: 0;
+  padding: 0;
+}
+
+img { border: 0; }
+a { text-decoration: none; }
+hr { border: 1px #999999 solid; }
+
+h1, h2, h3 {
+  margin: 0;
+  padding: 0;
+  font-size: 1em;
+}
+h1 { font-size: 1.6em; }
+
+#menuswitcher {
+  cursor: pointer;
+}
+
+/* hide javascript stuff */
+
+.js #menubar, .js #theComments > div {
+  display: none;
+}
+
+/* Layout */
+
+#the_page {
+  width: 85%;
+  margin: 0 auto;
+  padding: 0;
+}
+
+#theHeader h1 {
+  padding: 1em 0 0;
+}
+#theHeader p {
+  padding: 0;
+  margin: 0;
+}
+
+.titrePage {
+  margin: 1em 0;
+  line-height: 1.5em;
+}
+
+.titrePage h2 {
+  margin: 1em 0;
+  padding: 0;
+  display: inline;
+}
+.subcontent h2 {
+  margin: 0 0 1em;
+}
+
+.titrePage .button {
+  float: none;
+}
+
+.titrePage img {
+  float: left;
+  max-height: 16px;
+  margin: 0 5px;
+}
+
+.titrePage .categoryActions {
+  float: right;
+  margin: 0;
+  padding: 0;
+  list-style: none;
+  width: auto;
+}
+
+.categoryActions li {
+  display: inline;
+}
+
+#content {
+  margin: 1em 0 0;
+  padding: 1em;
+}
+
+/* tags */
+
+.tagLevel5 { font-size: 130%; }
+.tagLevel4 { font-size: 120%; }
+.tagLevel3 { font-size: 110%; }
+.tagLevel2 { font-size: 100%; }
+.tagLevel1 { font-size: 90%; }
+
+#fullTagCloud {
+  text-align: center;
+  margin: 1em 2em;
+}
+
+#fullTagCloud span {
+  white-space: nowrap;
+  margin: 0 0.5em;
+}
+
+#fullTagCloud a {
+  padding: 2px;
+}
+
+.tagLetterContent {
+  width: 100%;
+}
+
+.tagSelection li {
+  display:  inline;
+}
+
+/* Messages */
+
+.errors, .infos {
+  color: #e04040;
+  border: 1px dashed;
+  margin: 1em;
+}
+
+/* Forms */
+
+form {
+  margin: 0;
+}
+
+#content form li, .subcontent form li {
+  list-style: none;
+  margin: 0.2em 0;
+}
+
+.property {
+  display: inline-block;
+  width: 180px;
+}
+
+#quicksearch {
+  margin: 1em 0 0;
+}
+#quicksearch p {
+  margin: 0;
+}
+#quicksearch #q {
+  width: 150px;
+}
+
+/* Menubar */
+
+#menubar {
+  margin: 0 2em 0 0;
+  padding: 0;
+  float: left;
+  width: 15%;
+}
+
+#menubar ul {
+  margin: 0;
+  padding: 1em 0 1em 2em;
+}
+#menubar dd {
+  margin: 0;
+  padding: 0;
+}
+
+#menubar ul ul {
+ margin: 0;
+ padding: 0 0 0 1em;
+}
+
+/* images thumbnails */
+
+#thumbnails {
+  width: auto;
+  text-align: center;
+  padding: 1em 0;
+}
+
+#thumbnails ul, .middle_block > ul {
+  margin: 0;
+  padding: 0;
+  overflow: hidden;
+  list-style: none;
+}
+
+#thumbnails li, .middle_block > ul li {
+  margin: 1em;
+  padding: 0;
+  display: inline-block;
+  vertical-align: middle;
+}
+
+.nb-comments, .nb-hits {
+  font-weight: normal;
+}
+.zero {
+  display: none;
+}
+
+/* categories thumbnails */
+
+.thumbnailCategories {
+  margin: 0;
+  padding: 0;
+  overflow: hidden;
+  list-style: none;
+}
+
+.thumbnailCategories li {
+  display: inline-block;
+  overflow: hidden;
+  vertical-align: top;
+  margin: 1em;
+  width: 29%;
+  text-align: center;
+}
+
+.illustration {
+}
+
+.description {
+  overflow: auto;
+}
+
+.description h3 {
+  margin: 0;
+}
+
+.thumbCatDescNfoDate, .thumbCatDescNbImg {
+  margin: 0;
+  font-size: 80%;
+}
+
+.thumbCatDesc {
+  margin: 0;
+  padding-top: 4px;
+  word-wrap: break-word;
+}
+
+/* page : title bar */
+
+#additional_info {
+  margin: 1em 5em;
+}
+
+.navigationBar {
+  padding: 0.5em;
+  text-align: right;
+}
+
+/* pictures pages */
+
+#thePicturePage #content {
+  background-color:transparent;
+  border-top:none;
+  margin:none;
+  padding:none;
+}
+
+#thePicturePage #theHeader {
+  display: none;
+}
+#thePicturePage #content {
+  padding: 1em 0 0;
+}
+
+.imageNumber {
+  float: right;
+  padding: 0 3px;
+  font-size: 0.9em;
+}
+
+.navButtons {
+  font-size: 1.5em;
+  text-align: center;
+}
+
+#navThumbPrev, #navThumbNext {
+  text-align: center;
+  margin: 1em auto;
+}
+
+#imageToolBar {
+  height: 25px;
+}
+/*
+#imageInfoBar {
+  float: right;
+  clear: right;
+  width: 25%;
+}
+
+#randomButtons ul {
+  padding: 0;
+  list-style-type: none;
+}
+
+#imageInfos dt, #imageMeta dt {
+  font-weight: bold;
+}
+#imageInfos dd, #imageMeta dd {
+  margin-left: 1em;
+  overflow: hidden;
+}
+
+#theImage {
+  float: left;
+  width: 75%;
+  text-align: center;
+  padding: 1em 0 2em;
+  margin: 0 auto;
+  overflow: hidden;
+}
+*/
+#rateForm {
+  margin: 0;
+}
+#rateForm input, #rateForm input:active {
+  cursor: pointer;
+  border: none;
+  padding: 0;
+}
+#rateForm input.rateButtonStarFull  {
+  background:  url('icon/rating-stars.png') no-repeat scroll -16px center;
+  width: 16px;
+}
+#rateForm input.rateButtonStarEmpty {
+  background:  url('icon/rating-stars.png') no-repeat scroll 0 center;
+  width: 16px;
+}
+
+
+/* slideshow */
+
+#slideshow {
+  margin: 1em auto;
+}
+#slideshow .titrePage {
+  width: 600px;
+  margin: 0 auto;
+}
+
+#slideshow .navButtons {
+  display: inline;
+  font-size: 1em;
+  float: right;
+  margin-right: 1em;
+}
+#slideshow #theImage {
+  float: none;
+  width: 100%;
+}
+
+#slideshow #copyright {display:none;}
+#slideshow #content {border:none;}
+
+/* comments */
+
+#theComments h3 {
+  height: 25px;
+  line-height: 25px;
+  padding-left: 1em;
+  cursor: pointer;
+}
+
+#commentAdd, #commentList {
+  width: 48%;
+  padding: 1%;
+}
+#commentAdd  { float: left; }
+#commentList { float: right; }
+
+#commentAdd input[type="text"], #commentAdd textarea {
+  width: 400px;
+}
+
+#commentList ul {
+  list-style: none;
+  padding: 0;
+}
+#commentList li {
+  clear: both;
+  display: block;
+  border-top: 1px dotted #606060;
+  padding: 0.5em 0;
+}
+#commentList li ul {
+  list-style-type: none;
+  padding: 4px;
+}
+
+ul.actions {
+  float: right;
+}
+
+#commentList .author {
+  font-weight: bold;
+  font-variant: small-caps;
+}
+#commentList .date {
+  font-style: italic;
+}
+
+#theCommentsPage #comments li {
+  list-style: none;
+  border-top: none;
+  /* display: table-row; */
+  min-height:150px;
+}
+
+#theCommentsPage form label {
+  display: inline-block;
+  line-height: 25px;
+}
+
+#comments .illustration {
+  width: auto;
+}
+
+/* calendar */
+
+.calendarViews, .calendarCalBar {
+  margin: 1em 0;
+}
+
+.calCalHead {
+  font-size: 1.1em;
+  font-weight: bold;
+}
+
+.calMonth {
+  width: 80%;
+  margin: 1em auto;
+}
+
+.calendarBar {
+  text-align: center;
+}
+.calendarBar span {
+  margin: 0 0.5em;
+}
+
+/* Footer */
+
+#copyright {
+  padding: 2px;
+  clear: both;
+}
+
+/* PWG stuff */
+
+.personal_block { padding: 0 !important; }
+
+
+/*  */
+
+@media only screen and (max-width: 957px) {
+  #the_page {
+    width: 100%;
+    margin: 0;
+  }
+
+  #thePicturePage #content {
+    position: relative;
+  }
+
+  #theHeader { margin: 0 1em; }
+  .titrePage { margin: 1em; }
+
+  #theImage {
+    width: 100%;
+    float: none;
+  }
+
+  #imageInfoBar {
+    float: none;
+    clear: both;
+    width: 100%;
+    margin: 0 10px;
+  }
+  #navThumbPrev, #navThumbNext {
+    float: left;
+    margin: 1em;
+  }
+  .thumbnailCategories li {
+    width: 45%;
+  }
+}
+
+@media only screen and (max-width: 520px) {
+  .thumbnailCategories li {
+    width: 95%;
+  }
+}
+
+/* (from elegant) picture page */
+
+.contentWithMenu #imageHeaderBar 	{ padding: 0;}
+/*
+#imageHeaderBar 						{ padding: 0 0 0 10px;}
+*/
+#imageHeaderBar 						{ width: auto;}
+#imageHeaderBar h2 					{ font-size: 100%; font-weight: inherit;}
+#imageHeaderBar .browsePath {
+	display:inline-block;
+	float:left;
+	font-size:100%;
+        text-transform:uppercase;
+	line-height:20px;
+	padding: 0;
+	font-weight:bold;
+	margin:0;
+}
+#imageToolBar .imageNumber 			{ display: inline-block; float: right; line-height: 26px; margin: 0 2px 0 0; min-width: 40px; text-align: center;}
+#imageToolBar 						{ margin-top: -38px; margin-bottom: 0; float: right;}
+#thePicturePage .pwg-button 			{ width: 26px;}
+#thePicturePage .actionButtons 		{ margin-right: 26px;}
+
+#theImageAndInfos {
+ background-color:#3f3f3f;
+ padding:15px 0;
+ border-top: 2px solid #606060;
+	display: block;
+	width: 100%;
+	position: relative;
+}
+#theImage {
+	display: inline-block;
+	width: 70%;
+	vertical-align: top;
+	overflow: auto;
+	padding: 10px 0 5px 0;
+text-align:center;
+}
+
+.rateButtonStarFull 					{ background: url('icon/rating-stars.png') no-repeat -16px center; width:16px;}
+.rateButtonStarEmpty 				{ background: url('icon/rating-stars.png') no-repeat 0 center; width:16px;}
+
+
+/* image infos */
+
+#imageInfos {
+	display: inline-block;
+	width: 29.5%;
+	vertical-align: top;
+	padding-top: 0;
+	padding-bottom: 5px;
+	margin: 10px 0 10px 0.5%;
+	word-wrap:break-word;
+}
+
+#imageInfos .navThumbs 				{ width: 260px; height: 130px; margin: auto; padding: 0 5px;}
+#imageInfos .navThumb 				{ position: relative; /* width: 120px; height: 120px; */ margin: 0; overflow: hidden;}
+#imageInfos #linkPrev 				{ float: left;}
+#imageInfos #linkNext				{ float: right;} 
+#imageInfos .thumbHover 				{ position: absolute; width: 100%; height: 100%;}
+#imageInfos .prevThumbHover 			{ background: transparent url(icon/none.png) no-repeat center center;}
+#imageInfos .prevThumbHover:hover 	{ background: transparent url(icon/img_prev.png) no-repeat center center;}
+#imageInfos .nextThumbHover 			{ background: transparent url(icon/none.png) no-repeat center center;}
+#imageInfos .nextThumbHover:hover 	{ background: transparent url(icon/img_next.png) no-repeat center center;}
+
+#imageInfos dl.imageInfoTable		{ display: block; padding: 0 15px; margin: 12px auto;}
+#imageInfos .imageInfo 				{ display: block; line-height: 16px;}
+#imageInfos .imageInfo dt				{ display: block; font-weight: bold; text-align: left; padding: 0;}
+#imageInfos .imageInfo dd			{ display: block; text-align: left; margin: 0 0 5px 20px;}
+#imageInfos h3						{ margin: 20px 0 10px;}
+#imageInfos .navThumbs a img {border:2px solid #606060;}
+#imageInfos .navThumbs a:hover img {border-color:#ccc;}
+
+/* image comments */
+
+#thePicturePage #comments 			{ padding: 2px 5px; background-color:#3f3f3f; border-top:2px solid #606060;}
+#thePicturePage #comments h3 			{ margin: 10px 0;}
+#thePicturePage #comments form 		{ margin: 10px 0;}
+#thePicturePage #comments fieldset		{ margin: 0 1em;}
+
+.commentshidden #pictureComments		{ display: none;}
+.commentContent .comments_toggle 	{ cursor: pointer;}
+
+#commentAdd, #pictureCommentList 	{ width: 48%; padding: 0 1%;}
+#commentAdd  						{ float: left; }
+#pictureCommentList 					{ float: right; }
+
+#commentAdd input[type="text"],
+#commentAdd textarea {
+	width: 95%;
+	font-family: Arial,Helvetica,sans-serif;
+	font-size: 100%;
+}
+
+#pictureCommentList .commentsOrder	{ float: left; margin-bottom: 5px;}
+#pictureCommentList .navigationBar	{ float: right; margin-bottom: 5px;}
+#pictureComments h4					{ margin: 0;}
+#pictureComments form p				{ margin: 5px 0;}
+#pictureComments form p textarea		{ margin: 10px 0;}
+#pictureComments INPUT				{ margin: 10px;}
+#pictureComments INPUT[type=submit]	{ margin: 0;}
+.commentElement .description 		{ padding: 5px;} 
+
+/* icons */
+.pwg-icon {
+	display: inline-block; /*IE6 does not get this correctly*/
+	text-indent: -9999px; overflow: hidden; background-repeat: no-repeat;
+	width: 26px; height: 26px; background-image: url(s26/outline_808080.png);
+	vertical-align: bottom;
+}
+.pwg-button-text { display:none; }
+
+.pwg-state-disabled .pwg-icon {
+	opacity: .5;
+	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
+	filter: alpha(opacity=50);
+}
+
+.pwg-button {
+	display: inline-block;
+	vertical-align: top;
+  cursor:pointer;
+}
+
+.pwg-icon-home {background-position: -26px 0}
+.pwg-icon-camera {background-position: -52px 0}
+.pwg-icon-save {background-position: -78px 0}
+.pwg-icon-cloud {background-position: -104px 0}
+.pwg-icon-letters {background-position: -130px 0}
+.pwg-icon-calendar {background-position: -156px 0}
+.pwg-icon-camera-calendar {background-position: -182px 0}
+
+.pwg-icon-arrow-n {background-position: 0 -26px}
+.pwg-icon-arrow-e {background-position: -26px -26px}
+/*.pwg-icon-arrow-s {background-position: -52px -26px}*/
+.pwg-icon-arrow-w {background-position: -78px -26px}
+/*.pwg-icon-arrowstop-n {background-position: -104px -26px}*/
+.pwg-icon-arrowstop-e {background-position: -130px -26px}
+/*.pwg-icon-arrowstop-s {background-position: -156px -26px}*/
+.pwg-icon-arrowstop-w {background-position: -182px -26px}
+
+.pwg-icon-close {background-position: 0 -52px}
+.pwg-icon-category-edit {background-position: -26px -52px}
+.pwg-icon-sort {background-position: -52px -52px}
+.pwg-icon-sizes {background-position: -78px -52px}
+.pwg-icon-category-view-normal {background-position: -156px -52px}
+.pwg-icon-category-view-flat {background-position: -182px -52px}
+
+.pwg-icon-caddie {background-position: 0 -78px}
+.pwg-icon-caddie-add {background-position: -26px -78px}
+.pwg-icon-caddie-del {background-position: -52px -78px}
+.pwg-icon-favorite {background-position: -78px -78px}
+.pwg-icon-favorite-add {background-position: -104px -78px}
+.pwg-icon-favorite-del {background-position: -130px -78px}
+.pwg-icon-filter {background-position: -156px -78px}
+.pwg-icon-filter-del {background-position: -182px -78px}
+
+.pwg-icon-camera-info {background-position: 0 -104px}
+.pwg-icon-representative {background-position: -26px -104px}
+.pwg-icon-edit {background-position: -52px -104px}
+.pwg-icon-register {background-position: -78px -104px}
+.pwg-icon-lost-password {background-position: -104px -104px}
+
+.pwg-icon-slideshow {background-position: 0 -130px}
+.pwg-icon-play {background-position: -26px -130px}
+.pwg-icon-pause {background-position: -52px -130px}
+.pwg-icon-stop {background-position: -78px -130px}
+.pwg-icon-clock-plus {background-position: -104px -130px}
+.pwg-icon-clock-minus {background-position: -130px -130px}
+.pwg-icon-repeat-play {background-position: -156px -130px}
+.pwg-icon-repeat-stop {background-position: -182px -130px}
+
+.pwg-icon-map {background-position: 0 -156px}
+.pwg-icon-globe {background-position: -26px -156px}
+
+.pwg-icon									{ background-image: url(../default/s26/outline_808080.png);}
+A:hover .pwg-icon 							{ background-image: url(../default/s26/outline_ffffff.png);}
+
+/**
+ * Picture
+ */
+#imageHeaderBar {
+	padding-top: 2px;
+	padding-bottom: 2px;
+        margin-bottom:10px;
+	overflow: hidden;
+	width: 100%;
+}
+
+#imageHeaderBar .browsePath {
+	float: left;
+}
+
+#imageToolBar .imageNumber {
+	float: right;
+	margin:0 0 0 10px;
+}
+
+#imageHeaderBar H2 {
+	display: inline;
+	text-align: center;
+	padding: 0;
+}
+
+#imageToolBar {
+	text-align: center;
+	clear: both;
+	margin-bottom: 2px;
+	padding: 0;
+	height: 28px;
+}
+
+#imageToolBar .actionButtons { float: left; }
+#imageToolBar .navigationButtons   { float: right; }
+
+.switchBox {
+	padding: 0.5em 5px;
+	border-radius: 4px;
+	z-index: 100;
+	text-align:left;
+	display: none;
+	position: absolute;
+	left: 0; top: 0; /*left, right set through js*/
+}
+
+.switchBoxTitle {
+  border-bottom:1px solid #ccc;
+  padding-bottom:5px;
+  margin-bottom:5px;
+}
+
+.switchBox {
+  border: none;
+  background-color: #222;
+  color:#aaa;
+  font-size:14px;
+}
+
+.switchBoxTitle {
+  border-bottom: 1px solid #444444;
+}
+
+
+.relSwitchBox {
+	position: relative;
+}
+
+#infoSwitcher {display:none;}
+#pictureComments {display: none;}
+.derivativeSizeDetails {display: none;}
Index: /extensions/simple_themes/simple/themeconf.inc.php
===================================================================
--- /extensions/simple_themes/simple/themeconf.inc.php	(revision 19420)
+++ /extensions/simple_themes/simple/themeconf.inc.php	(revision 19421)
@@ -5,5 +5,5 @@
 Description: Simple Grey
 Theme URI: http://piwigo.org/ext/extension_view.php?eid=308
-Author: Saïmon
+Author: Saïmon, plg
 Author URI: http://saimon.org/
 */
