Index: /extensions/PaysonsPlaces/template.php
===================================================================
--- /extensions/PaysonsPlaces/template.php	(revision 11283)
+++ /extensions/PaysonsPlaces/template.php	(revision 11283)
@@ -0,0 +1,296 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>Title</title>
+
+<style>
+#navigation-1 {
+	background-color: #666666;
+
+	padding:1px 0;
+	margin:0px;
+	list-style:none;
+	width:100%;
+	height:21px;
+	border-top:1px solid #FFFFFF;
+	border-bottom:1px solid #FFFFFF;
+	font:normal 8pt verdana, arial, helvetica;
+}
+
+#navigation-1 li {
+	margin:0;
+	padding:0;
+	display:block;
+	float:left;
+	position:relative;
+	/*width:148px;*/
+}
+
+#navigation-1 li a:link, #navigation-1 li a:visited {
+	padding:4px 0;
+	display:block;
+	text-align:center;
+	text-decoration:none;
+	color:#ffffff;
+	width:148px;
+	height:13px;
+	background-color: #666666;
+}
+
+#navigation-1 li:hover a, #navigation-1 li a:hover, #navigation-1 li a:active {
+	padding:4px 0;
+	display:block;
+	text-align:center;
+	text-decoration:none;
+	color:#ffffff;
+	width:146px;
+	height:13px;
+	border-left:1px solid #ffffff;
+	border-right:1px solid #ffffff;
+	background-color: #999999;
+}
+
+#navigation-1 li ul.navigation-2 {
+	margin:0;
+	padding:1px 1px 0;
+	list-style:none;
+	display:none;
+	width:146px;
+	position:absolute;
+	top:21px;
+	left:-1px;
+	border:1px solid #000000;
+	border-top:none;
+	background-color: #FFFFFF;
+}
+
+#navigation-1 li:hover ul.navigation-2 {
+	display:block;
+}
+
+#navigation-1 li ul.navigation-2 li {
+	width:146px;
+	clear:left;
+	width:146px;
+}
+
+#navigation-1 li ul.navigation-2 li a:link, #navigation-1 li ul.navigation-2 li a:visited {
+	clear:left;
+	padding:4px 0;
+	width:146px;
+	border:none;
+	border-bottom:1px solid #ffffff;
+	position:relative;
+	z-index:1000;
+	background-color: #666666;
+}
+
+#navigation-1 li ul.navigation-2 li:hover a, #navigation-1 li ul.navigation-2 li a:active, #navigation-1 li ul.navigation-2 li a:hover {
+	clear:left;
+	padding:4px 0;
+	width:146px;
+	border:none;
+	border-bottom:1px solid #ffffff;
+	position:relative;
+	z-index:1000;
+	background-color: #666666;
+}
+
+#navigation-1 li ul.navigation-2 li ul.navigation-3 {
+	display:none;
+	margin:0;
+	padding:0;
+	list-style:none;
+	position:absolute;
+	left:145px;
+	top:-2px;
+	padding:1px 1px 0 1px;
+	border:1px solid #000000;
+	border-left:1px solid #000000;
+	z-index:900;
+	background-color: #FFFFFF;
+}
+
+#navigation-1 li ul.navigation-2 li:hover ul.navigation-3 {
+	display:block;
+}
+
+#navigation-1 li ul.navigation-2 li ul.navigation-3 li a:link, #navigation-1 li ul.navigation-2 li ul.navigation-3 li a:visited {
+	background-color: #666666;
+}
+
+#navigation-1 li ul.navigation-2 li ul.navigation-3 li:hover a, #navigation-1 li ul.navigation-2 li ul.navigation-3 li a:hover, #navigation-1 li ul.navigation-2 li ul.navigation-3 li a:active {
+	background-color: #666666;
+}
+
+#navigation-1 li ul.navigation-2 li a span {
+	position:absolute;
+	top:0;
+	left:132px;
+	font-size:12pt;
+	color:#999999;
+}
+
+#navigation-1 li ul.navigation-2 li:hover a span, #navigation-1 li ul.navigation-2 li a:hover span {
+	position:absolute;
+	top:0;
+	left:132px;
+	font-size:12pt;
+	color:#ffffff;
+}
+
+/*  */
+    #footer {
+	text-align: center;
+	padding: 10px;
+}
+
+	body {
+	height: 100%;
+	width: 100%;
+	background-attachment: fixed;
+	background-repeat: no-repeat;
+	background-image: url(images/bg_c.JPG);
+	margin: 0px;
+	padding: 0px;
+}
+	table {
+	position: relative;
+	height: 100%;
+	width: 100%;
+	padding-left: 25px;
+	padding-right: 25px;
+	padding-bottom: 20px;
+}
+
+	html {
+
+	width: 100%;
+	height: 100%;
+
+	}
+	
+
+	#container {
+	width: 100%;
+	-moz-border-radius: 18px;
+	border-radius: 8px;
+	-webkit-box-shadow: 1px 1px 2px;
+	-moz-box-shadow: 1px 1px 2px;
+	box-shadow: 1px 1px 2px;
+	background-image: url(images/bg.gif);
+	background-attachment: fixed;
+	background-repeat: no-repeat;
+	padding: 10px;
+	padding-left: 0px;
+	padding-right: 0px;
+ }
+#float_r  {
+	letter-spacing: normal;
+	text-align: left;
+	text-indent: 5px;
+	word-spacing: normal;
+	margin: 0;
+	width: 10px;
+	padding: 0;
+}
+	
+
+	
+	#shadow {
+	-moz-border-radius: 18px;
+	border-radius: 8px;
+	-webkit-box-shadow: 1px 1px 2px;
+	-moz-box-shadow: 1px 1px 2px;
+	box-shadow: 1px 1px 2px;
+	background-image: url(images/bg.gif);
+	background-attachment: fixed;
+	background-repeat: no-repeat;
+	height: 100%;
+}
+	#banner    {
+	text-align: center;
+	padding: 5px;
+}
+/* */
+/** 
+* Generated by www.formstylegenerator.com 
+**/
+
+/** You can use this style for your INPUT, TEXTAREA, SELECT elements **/
+.myinputstyle {
+	border: 1px solid #FFFFFF;
+	/** remember to change image path **/
+	background: url(bg3218635145) repeat-x #FFFFFF;
+	font-family: tahoma, helvetica, sans-serif;
+	font-style: normal;
+	font-size: 14px;
+	color: #454743;
+}
+
+/** You can use this style for your LABEL elements **/
+.mylabelstyle {
+	font-family: tahoma, helvetica, sans-serif;
+	font-style: bold;
+	font-size: 13px;
+	color: #82983e;
+}
+
+
+
+</style>
+</head>
+
+<body>
+<table cellspacing="20">
+		<tbody><tr>
+		  <td id="container">
+	<div id="banner">
+<img src="template2.php_files/Banner.png">
+	</div>
+<ul id="navigation-1">
+   
+   
+<li><input name="myname" style="" value="Search" type="text"></li>
+
+<li><a href="#" title="menu" target="_self">menu</a></li>
+   <li><a href="#" title="menu" target="_self">menu</a>
+      <ul class="navigation-2">
+         <li><a href="#" title="menu" target="_self">menu</a></li>
+         <li><a href="#" title="menu" target="_self">menu</a></li>
+      </ul>
+   </li>
+   <li><a href="#" title="menu" target="_self">menu</a>
+      <ul class="navigation-2">
+         <li><a href="#" title="menu" target="_self">menu</a></li>
+         <li><a href="#" title="menu" target="_self">menu</a></li>
+      </ul>
+   </li>
+
+</ul>
+ 
+
+		  </td>
+		</tr>
+		<tr>
+			<td id="shadow">
+	<div>
+
+	</div>
+			</td>
+		</tr>
+  <tr>
+	<td id="shadow">
+	<div id="footer">
+		Footer
+	</div>
+			</td>
+	</tr>
+</tbody></table>
+
+
+
+
+
+
+</body></html>
Index: /extensions/PaysonsPlaces/template/footer.tpl
===================================================================
--- /extensions/PaysonsPlaces/template/footer.tpl	(revision 11283)
+++ /extensions/PaysonsPlaces/template/footer.tpl	(revision 11283)
@@ -0,0 +1,40 @@
+<link rel="stylesheet" type="text/css" href="../theme.css">
+</td>
+		</tr>
+  <tr><td id="footer">
+{if isset($debug.TIME)}
+	{'Page generated in'|@translate} {$debug.TIME} ({$debug.NB_QUERIES} {'SQL queries in'|@translate} {$debug.SQL_TIME}) -
+{/if}
+{*
+	Please, do not remove this copyright. If you really want to,
+			contact us on http://piwigo.org to find a solution on how
+			to show the origin of the script...
+*}
+	{'Powered by'|@translate}	<a href="{$PHPWG_URL}" class="Piwigo">Piwigo</a>
+	{$VERSION}
+	{if isset($CONTACT_MAIL)}
+	- {'Contact'|@translate}
+	<a href="mailto:{$CONTACT_MAIL}?subject={'A comment on your site'|@translate|@escape:url}">{'Webmaster'|@translate}</a>
+	{/if}
+
+{get_combined_scripts load='footer'}
+
+{if isset($footer_elements)}
+{foreach from=$footer_elements item=v}
+{$v}
+{/foreach}
+{/if}
+{* copyright *}
+{if isset($debug.QUERIES_LIST)}
+<div id="debug">
+{$debug.QUERIES_LIST}
+</div>
+{/if}
+</div>
+
+			</td>
+	</tr>
+</tbody></table>
+{* the_page *}
+</body>
+</html>
Index: /extensions/PaysonsPlaces/template/header.tpl
===================================================================
--- /extensions/PaysonsPlaces/template/header.tpl	(revision 11283)
+++ /extensions/PaysonsPlaces/template/header.tpl	(revision 11283)
@@ -0,0 +1,85 @@
+<!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}
+
+{if (isset($REVERSE) and $REVERSE and $PAGE_TITLE == l10n('Home'))}
+<title>{$GALLERY_TITLE} | {$PAGE_TITLE}</title>{else}
+<title>{$PAGE_TITLE} | {$GALLERY_TITLE}</title>{/if}
+<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}
+{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}
+
+
+{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}
+
+{get_combined_scripts load='header'}
+<!--[if lt IE 7]>
+<script type="text/javascript" src="{$ROOT_URL}themes/default/js/pngfix.js"></script>
+<![endif]-->
+
+{if not empty($head_elements)}
+	{foreach from=$head_elements item=elt}{$elt}
+	{/foreach}
+{/if}
+<link rel="stylesheet" type="text/css" href="../theme.css">
+</head>
+
+<body id="{$BODY_ID}">
+<div id="the_page">
+<table cellspacing="20" >
+		<tbody><tr>
+		  <td id="banner">
+          
+{if not empty($header_msgs)}
+<div class="header_msgs">
+	{foreach from=$header_msgs item=elt}
+	{$elt}<br>
+	{/foreach}
+</div>
+{/if}
+
+<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}
+<div><img src="themes/paysonsplaces/images/banner.png"></div>
+{$MENUBAR}</td>
+		</tr>
+		<tr>
+			<td id="main_box">
Index: /extensions/PaysonsPlaces/template/index.tpl
===================================================================
--- /extensions/PaysonsPlaces/template/index.tpl	(revision 11283)
+++ /extensions/PaysonsPlaces/template/index.tpl	(revision 11283)
@@ -0,0 +1,127 @@
+
+{if !empty($PLUGIN_INDEX_CONTENT_BEFORE)}{$PLUGIN_INDEX_CONTENT_BEFORE}{/if}
+
+
+	<ul class="categoryActions">
+{if !empty($image_orders)}
+		<li>{'Sort order'|@translate}: {strip}
+		<select onchange="document.location = this.options[this.selectedIndex].value;">
+			{foreach from=$image_orders item=image_order}
+			<option value="{$image_order.URL}"{if $image_order.SELECTED} selected="selected"{/if}>{$image_order.DISPLAY}</option>
+			{/foreach}
+		</select>
+{/strip}</li>
+{/if}
+{if isset($favorite)}
+		<li><a href="{$favorite.U_FAVORITE}" title="{'delete all photos from your favorites'|@translate}" class="pwg-state-default pwg-button" rel="nofollow">
+			<span class="pwg-icon pwg-icon-favorite-del"> </span><span class="pwg-button-text">{'delete all photos from your favorites'|@translate}</span>
+		</a></li>
+{/if}
+{if isset($U_CADDIE)}
+		<li><a href="{$U_CADDIE}" title="{'add to caddie'|@translate}" class="pwg-state-default pwg-button">
+			<span class="pwg-icon pwg-icon-caddie-add"> </span><span class="pwg-button-text">{'caddie'|@translate}</span>
+		</a></li>
+{/if}
+{if isset($U_EDIT)}
+		<li><a href="{$U_EDIT}" title="{'edit'|@translate}" class="pwg-state-default pwg-button">
+			<span class="pwg-icon pwg-icon-category-edit"> </span><span class="pwg-button-text">{'edit'|@translate}</span>
+		</a></li>
+{/if}
+{if isset($U_SEARCH_RULES)}
+		{combine_script id='core.scripts' load='async' path='themes/default/js/scripts.js'}
+		<li><a href="{$U_SEARCH_RULES}" onclick="popuphelp(this.href); return false;" title="{'Search rules'|@translate}" class="pwg-state-default pwg-button" rel="nofollow">
+			<span class="pwg-icon pwg-icon-help"> </span><span class="pwg-button-text">(?)</span>
+		</a></li>
+{/if}
+{if isset($U_SLIDESHOW)}
+		<li>{strip}<a href="{$U_SLIDESHOW}" 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>{/strip}</li>
+{/if}
+{if isset($U_MODE_FLAT)}
+		<li>{strip}<a href="{$U_MODE_FLAT}" title="{'display all photos in all sub-albums'|@translate}" class="pwg-state-default pwg-button" rel="nofollow">
+			<span class="pwg-icon pwg-icon-category-view-flat"> </span><span class="pwg-button-text">{'display all photos in all sub-albums'|@translate}</span>
+		</a>{/strip}</li>
+{/if}
+{if isset($U_MODE_NORMAL)}
+		<li>{strip}<a href="{$U_MODE_NORMAL}" title="{'return to normal view mode'|@translate}" class="pwg-state-default pwg-button">
+			<span class="pwg-icon pwg-icon-category-view-normal"> </span><span class="pwg-button-text">{'return to normal view mode'|@translate}</span>
+		</a>{/strip}</li>
+{/if}
+{if isset($U_MODE_POSTED)}
+		<li>{strip}<a href="{$U_MODE_POSTED}" title="{'display a calendar by posted date'|@translate}" class="pwg-state-default pwg-button" rel="nofollow">
+			<span class="pwg-icon pwg-icon-calendar"> </span><span class="pwg-button-text">{'Calendar'|@translate}</span>
+		</a>{/strip}</li>
+{/if}
+{if isset($U_MODE_CREATED)}
+		<li>{strip}<a href="{$U_MODE_CREATED}" title="{'display a calendar by creation date'|@translate}" class="pwg-state-default pwg-button" rel="nofollow">
+			<span class="pwg-icon pwg-icon-camera-calendar"> </span><span class="pwg-button-text">{'Calendar'|@translate}</span>
+		</a>{/strip}</li>
+{/if}
+{if !empty($PLUGIN_INDEX_ACTIONS)}{$PLUGIN_INDEX_ACTIONS}{/if}
+	</ul>
+
+<div id="navigation-1">{$TITLE}</div>
+
+{if isset($chronology_views)}
+<div class="calendarViews">{'View'|@translate}:
+	<select onchange="document.location = this.options[this.selectedIndex].value;">
+		{foreach from=$chronology_views item=view}
+		<option value="{$view.VALUE}"{if $view.SELECTED} selected="selected"{/if}>{$view.CONTENT}</option>
+		{/foreach}
+	</select>
+</div>
+{/if}
+
+{if isset($chronology.TITLE)}
+<h2>{$chronology.TITLE}</h2>
+{/if}
+
+</div>{* <!-- titrePage --> *}
+
+{if !empty($PLUGIN_INDEX_CONTENT_BEGIN)}{$PLUGIN_INDEX_CONTENT_BEGIN}{/if}
+
+{if !empty($category_search_results)}
+<div style="font-size:16px;margin:10px 16px">{'Album results for'|@translate} <strong>{$QUERY_SEARCH}</strong> :
+	<em><strong>
+	{foreach from=$category_search_results item=res name=res_loop}
+	{if !$smarty.foreach.res_loop.first} &mdash; {/if}
+	{$res}
+	{/foreach}
+	</strong></em>
+</div>
+{/if}
+
+{if !empty($tag_search_results)}
+<div style="font-size:16px;margin:10px 16px">{'Tag results for'|@translate} <strong>{$QUERY_SEARCH}</strong> :
+	<em><strong>
+	{foreach from=$tag_search_results item=res name=res_loop}
+	{if !$smarty.foreach.res_loop.first} &mdash; {/if}
+	{$res}
+	{/foreach}
+	</strong></em>
+</div>
+{/if}
+
+{if isset($FILE_CHRONOLOGY_VIEW)}
+{include file=$FILE_CHRONOLOGY_VIEW}
+{/if}
+
+{if !empty($CONTENT_DESCRIPTION)}
+<div class="additional_info">
+	{$CONTENT_DESCRIPTION}
+</div>
+{/if}
+
+{if !empty($CATEGORIES)}{$CATEGORIES}{/if}
+{if !empty($THUMBNAILS)}
+<ul class="thumbnails" id="thumbnails">
+{$THUMBNAILS}
+</ul>
+{/if}
+
+{if !empty($navbar)}{include file='navigation_bar.tpl'|@get_extent:'navbar'}{/if}
+
+{if !empty($PLUGIN_INDEX_CONTENT_END)}{$PLUGIN_INDEX_CONTENT_END}{/if}
+</div>{* <!-- content --> *}
+{if !empty($PLUGIN_INDEX_CONTENT_AFTER)}{$PLUGIN_INDEX_CONTENT_AFTER}{/if}
Index: /extensions/PaysonsPlaces/template/menubar.tpl
===================================================================
--- /extensions/PaysonsPlaces/template/menubar.tpl	(revision 11283)
+++ /extensions/PaysonsPlaces/template/menubar.tpl	(revision 11283)
@@ -0,0 +1,20 @@
+{if !empty($blocks) }
+<ul id="navigation-1"><li id="search_box">
+	<form action="{$ROOT_URL}qsearch.php" method="get" id="quicksearch" onsubmit="return this.q.value!='' && this.q.value!=qsearch_prompt;">
+		<p style="margin:0;padding:0"{*this <p> is for html validation only - does not affect positioning*}>
+			<input type="text" name="q" id="qsearchInput" onfocus="if (value==qsearch_prompt) value='';" onblur="if (value=='') value=qsearch_prompt;" style="width:90%">
+		</p>
+	</form>
+	<script type="text/javascript">var qsearch_prompt="{'Quick search'|@translate|@escape:'javascript'}"; document.getElementById('qsearchInput').value=qsearch_prompt;</script>
+</li>
+	{foreach from=$blocks key=id item=block}
+	<li>
+		{if not empty($block->template)}
+		{include file=$block->template|@get_extent:$id }
+		{else}
+		{$block->raw_content}
+		{/if}
+	</li>
+	{/foreach}
+</ul>
+{/if}
Index: /extensions/PaysonsPlaces/template/menubar_categories.tpl
===================================================================
--- /extensions/PaysonsPlaces/template/menubar_categories.tpl	(revision 11283)
+++ /extensions/PaysonsPlaces/template/menubar_categories.tpl	(revision 11283)
@@ -0,0 +1,19 @@
+<a href="{$block->data.U_CATEGORIES}">{'Albums'|@translate}</a>
+     {assign var='ref_level' value=0}
+{foreach from=$block->data.MENU_CATEGORIES item=cat}
+  {if $cat.LEVEL > $ref_level}
+   <ul class="navigation-2">
+     {else}
+    </li>
+    {'</ul></li>'|@str_repeat:$ref_level-$cat.LEVEL}
+  {/if}
+         <li><a href="{$cat.URL}" {if $cat.IS_UPPERCAT}rel="up"{/if} title="{$cat.TITLE}">{$cat.NAME}</a>
+      {if $cat.count_images > 0}
+      <span class="{if $cat.nb_images > 0}menuInfoCat{else}menuInfoCatByChild{/if}" title="{$cat.TITLE}">[{$cat.count_images}]</span>
+      {/if}
+      {if !empty($cat.icon_ts)}
+      <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="(!)">
+      {/if}
+  {assign var='ref_level' value=$cat.LEVEL}
+{/foreach}
+{'</li></ul>'|@str_repeat:$ref_level}
Index: /extensions/PaysonsPlaces/template/menubar_identification.tpl
===================================================================
--- /extensions/PaysonsPlaces/template/menubar_identification.tpl	(revision 11283)
+++ /extensions/PaysonsPlaces/template/menubar_identification.tpl	(revision 11283)
@@ -0,0 +1,26 @@
+{strip}
+	{if isset($USERNAME)}
+<a href="#">{'Hello'|@translate} {$USERNAME} !</a>
+
+	
+    {else}
+<a href="{$U_LOGIN}" rel="nofollow">{'Login'|@translate}</a>
+
+{/if}      
+      <ul class="navigation-2">
+	
+    {if isset($U_LOGOUT)}
+	<li><a href="{$U_LOGOUT}">{'Logout'|@translate}</a></li>
+	{/if}
+    
+	{if isset($U_PROFILE)}
+	<li><a href="{$U_PROFILE}" title="{'customize the appareance of the gallery'|@translate}">{'Customize'|@translate}</a></li>
+	{/if}
+    
+	{if isset($U_ADMIN)}
+	<li><a href="{$U_ADMIN}" title="{'available for administrators only'|@translate}">{'Administration'|@translate}</a></li>
+	{/if}
+    
+	</ul>
+{/strip}
+	
Index: /extensions/PaysonsPlaces/template/menubar_links.tpl
===================================================================
--- /extensions/PaysonsPlaces/template/menubar_links.tpl	(revision 11283)
+++ /extensions/PaysonsPlaces/template/menubar_links.tpl	(revision 11283)
@@ -0,0 +1,12 @@
+<dt>{'Links'|@translate}</dt>
+<dd>
+	<ul>{strip}
+		{foreach from=$block->data item=link}
+			<li>
+				<a href="{$link.URL}" class="external"{if isset($link.new_window)} onclick="window.open(this.href, '{$link.new_window.NAME}','{$link.new_window.FEATURES}'); return false;"{/if}>
+				{$link.LABEL}
+				</a>
+			</li>
+		{/foreach}
+	{/strip}</ul>
+</dd>
Index: /extensions/PaysonsPlaces/template/menubar_menu.tpl
===================================================================
--- /extensions/PaysonsPlaces/template/menubar_menu.tpl	(revision 11283)
+++ /extensions/PaysonsPlaces/template/menubar_menu.tpl	(revision 11283)
@@ -0,0 +1,11 @@
+<a href="#">{'Menu'|@translate}</a>
+      <ul class="navigation-2">
+         {strip}
+	{foreach from=$block->data item=link}
+		{if is_array($link)}
+			<li><a href="{$link.URL}" title="{$link.TITLE}"{if isset($link.REL)} {$link.REL}{/if}>{$link.NAME}</a></li>
+		{/if}
+	{/foreach}
+	{/strip}
+      </ul>
+
Index: /extensions/PaysonsPlaces/template/menubar_specials.tpl
===================================================================
--- /extensions/PaysonsPlaces/template/menubar_specials.tpl	(revision 11283)
+++ /extensions/PaysonsPlaces/template/menubar_specials.tpl	(revision 11283)
@@ -0,0 +1,7 @@
+<a href="#">{'Specials'|@translate}</a>
+      <ul class="navigation-2">{strip}
+		{foreach from=$block->data item=link}
+		<li><a href="{$link.URL}" title="{$link.TITLE}"{if isset($link.REL)} {$link.REL}{/if}>{$link.NAME}</a></li>
+		{/foreach}
+	{/strip}</ul>
+
Index: /extensions/PaysonsPlaces/template/menubar_tags.tpl
===================================================================
--- /extensions/PaysonsPlaces/template/menubar_tags.tpl	(revision 11283)
+++ /extensions/PaysonsPlaces/template/menubar_tags.tpl	(revision 11283)
@@ -0,0 +1,20 @@
+<dt>{'Related tags'|@translate}</dt>
+<dd>
+	<div id="menuTagCloud">
+		{foreach from=$block->data item=tag}
+		<span>{strip}
+			<a class="tagLevel{$tag.level}" href=
+			{if isset($tag.U_ADD)}
+				"{$tag.U_ADD}" title="{$pwg->l10n_dec('%d photo is also linked to current tags', '%d photos are also linked to current tags', $tag.counter)}" rel="nofollow">+
+			{else}
+				"{$tag.URL}" title="{'display photos linked to this tag'|@translate}">
+			{/if}
+				{$tag.name}</a></span>{/strip}
+{* ABOVE there should be no space between text, </a> and </span> elements to avoid IE8 bug https://connect.microsoft.com/IE/feedback/ViewFeedback.aspx?FeedbackID=366567 *}
+		{/foreach}
+	</div>
+</dd>
+<a href="#" title="menu" target="_self">menu</a>
+      <ul class="navigation-2">
+         <li><a href="#" title="menu" target="_self">menu</a></li>
+      </ul>
Index: /extensions/PaysonsPlaces/template2.php
===================================================================
--- /extensions/PaysonsPlaces/template2.php	(revision 11283)
+++ /extensions/PaysonsPlaces/template2.php	(revision 11283)
@@ -0,0 +1,27 @@
+
+<ul id="navigation-1">
+   
+   
+<li><input name="myname" style="" value="Search" type="text"></li>
+
+<li><a href="#" title="menu" target="_self">menu</a></li>
+   <li><a href="#" title="menu" target="_self">menu</a>
+      <ul class="navigation-2">
+         <li><a href="#" title="menu" target="_self">menu</a></li>
+         <li><a href="#" title="menu" target="_self">menu</a></li>
+      </ul>
+   </li>
+   <li><a href="#" title="menu" target="_self">menu</a>
+      <ul class="navigation-2">
+         <li><a href="#" title="menu" target="_self">menu</a></li>
+         <li><a href="#" title="menu" target="_self">menu</a></li>
+      </ul>
+   </li>
+
+</ul>
+ 
+
+
+
+
+
Index: /extensions/PaysonsPlaces/theme.css
===================================================================
--- /extensions/PaysonsPlaces/theme.css	(revision 11283)
+++ /extensions/PaysonsPlaces/theme.css	(revision 11283)
@@ -0,0 +1,211 @@
+#navigation-1 {
+	background-color: #666666;
+	padding:1px 0;
+	margin:0px;
+	list-style:none;
+	width:100%;
+	height:21px;
+	border-top:1px solid #FFFFFF;
+	border-bottom:1px solid #FFFFFF;
+	font:normal 8pt verdana, arial, helvetica;
+}
+
+#navigation-1 li {
+	margin:0;
+	padding:0;
+	display:block;
+	float:left;
+	position:relative;
+	color: #FFFFFF;	/*width:148px;*/
+}
+
+#navigation-1 li a:link, #navigation-1 li a:visited {
+	padding:4px 0;
+	display:block;
+	text-align:center;
+	text-decoration:none;
+	color:#ffffff;
+	width:148px;
+	height:13px;
+	background-color: #666666;
+}
+
+#navigation-1 li:hover a, #navigation-1 li a:hover, #navigation-1 li a:active {
+	padding:4px 0;
+	display:block;
+	text-align:center;
+	text-decoration:none;
+	color:#ffffff;
+	width:146px;
+	height:13px;
+	border-left:1px solid #ffffff;
+	border-right:1px solid #ffffff;
+	background-color: #999999;
+}
+
+#navigation-1 li ul.navigation-2 {
+	margin:0;
+	padding:1px 1px 0;
+	list-style:none;
+	display:none;
+	width:146px;
+	position:absolute;
+	top:21px;
+	left:-1px;
+	border:1px solid #000000;
+	border-top:none;
+	background-color: #FFFFFF;
+}
+
+#navigation-1 li:hover ul.navigation-2 {
+	display:block;
+}
+
+#navigation-1 li ul.navigation-2 li {
+	width:146px;
+	clear:left;
+	width:146px;
+}
+
+#navigation-1 li ul.navigation-2 li a:link, #navigation-1 li ul.navigation-2 li a:visited {
+	clear:left;
+	padding:4px 0;
+	width:146px;
+	border:none;
+	border-bottom:1px solid #ffffff;
+	position:relative;
+	z-index:1000;
+	background-color: #666666;
+}
+
+#navigation-1 li ul.navigation-2 li:hover a, #navigation-1 li ul.navigation-2 li a:active, #navigation-1 li ul.navigation-2 li a:hover {
+	clear:left;
+	padding:4px 0;
+	width:146px;
+	border:none;
+	border-bottom:1px solid #ffffff;
+	position:relative;
+	z-index:1000;
+	background-color: #666666;
+}
+
+#navigation-1 li ul.navigation-2 li ul.navigation-3 {
+	display:none;
+	margin:0;
+	padding:0;
+	list-style:none;
+	position:absolute;
+	left:145px;
+	top:-2px;
+	padding:1px 1px 0 1px;
+	border:1px solid #000000;
+	border-left:1px solid #000000;
+	z-index:900;
+	background-color: #FFFFFF;
+}
+
+#navigation-1 li ul.navigation-2 li:hover ul.navigation-3 {
+	display:block;
+}
+
+#navigation-1 li ul.navigation-2 li ul.navigation-3 li a:link, #navigation-1 li ul.navigation-2 li ul.navigation-3 li a:visited {
+	background-color: #666666;
+}
+
+#navigation-1 li ul.navigation-2 li ul.navigation-3 li:hover a, #navigation-1 li ul.navigation-2 li ul.navigation-3 li a:hover, #navigation-1 li ul.navigation-2 li ul.navigation-3 li a:active {
+	background-color: #666666;
+}
+
+#navigation-1 li ul.navigation-2 li a span {
+	position:absolute;
+	top:0;
+	left:132px;
+	font-size:12pt;
+	color:#999999;
+}
+
+#navigation-1 li ul.navigation-2 li:hover a span, #navigation-1 li ul.navigation-2 li a:hover span {
+	position:absolute;
+	top:0;
+	left:132px;
+	font-size:12pt;
+	color:#ffffff;
+}
+
+/*  */
+    #footer {
+	padding: 10px;
+	-moz-border-radius: 18px;
+	border-radius: 8px;
+	-webkit-box-shadow: 1px 1px 2px;
+	-moz-box-shadow: 1px 1px 2px;
+	box-shadow: 1px 1px 2px;
+	background-image: url(images/bg.gif);
+	background-attachment: fixed;
+	background-repeat: no-repeat;
+	height: 100%;
+	padding: 10px;
+}
+
+	body {
+	height: 100%;
+	width: 100%;
+	background-attachment: fixed;
+	background-repeat: no-repeat;
+	background-image: url(images/bg_c.JPG);
+	margin: 0px;
+	padding: 0px;
+}
+	table {
+	position: relative;
+	width: 100%;
+	padding-left: 25px;
+	padding-right: 25px;
+	padding-bottom: 20px;
+}
+
+	html {
+
+	width: 100%;
+	height: 100%;
+
+	}
+	#banner    {
+	text-align: center;
+	padding: 5px;
+	width: 100%;
+	-moz-border-radius: 18px;
+	border-radius: 8px;
+	-webkit-box-shadow: 1px 1px 2px;
+	-moz-box-shadow: 1px 1px 2px;
+	box-shadow: 1px 1px 2px;
+	background-image: url(images/bg.gif);
+	background-attachment: fixed;
+	background-repeat: no-repeat;
+	padding: 10px;
+	padding-left: 0px;
+	padding-right: 0px;
+ }
+
+	
+
+	
+	#main_box {
+	text-align: center;
+	padding: 5px;
+	width: 100%;
+	-moz-border-radius: 18px;
+	border-radius: 8px;
+	-webkit-box-shadow: 1px 1px 2px;
+	-moz-box-shadow: 1px 1px 2px;
+	box-shadow: 1px 1px 2px;
+	background-image: url(images/bg.gif);
+	background-attachment: fixed;
+	background-repeat: no-repeat;
+	padding: 10px;
+	padding-left: 0px;
+	padding-right: 0px;
+}
+#search_box {
+	left: 10px;
+}
Index: /extensions/PaysonsPlaces/themeconf.inc.php
===================================================================
--- /extensions/PaysonsPlaces/themeconf.inc.php	(revision 11283)
+++ /extensions/PaysonsPlaces/themeconf.inc.php	(revision 11283)
@@ -0,0 +1,14 @@
+<?php
+/*
+Theme Name: paysonsplaces
+Version: 1.2.0
+Description: 
+Theme URI: http://piwigo.org/ext/extension_view.php?eid=384
+Author: flop25
+Author URI: http://www.planete-flop.fr
+*/
+$themeconf = array(
+  'name'  => 'paysonsplaces',
+  'parent' => 'default',
+);
+?>
