Index: extensions/floOS/OS_default/icon/index.php
===================================================================
--- extensions/floOS/OS_default/icon/index.php	(revision 9108)
+++ extensions/floOS/OS_default/icon/index.php	(revision 9108)
@@ -0,0 +1,30 @@
+<?php
+// +-----------------------------------------------------------------------+
+// | Piwigo - a PHP based picture gallery                                  |
+// +-----------------------------------------------------------------------+
+// | Copyright(C) 2008      Piwigo Team                  http://piwigo.org |
+// | Copyright(C) 2003-2008 PhpWebGallery Team    http://phpwebgallery.net |
+// | Copyright(C) 2002-2003 Pierrick LE GALL   http://le-gall.net/pierrick |
+// +-----------------------------------------------------------------------+
+// | This program is free software; you can redistribute it and/or modify  |
+// | it under the terms of the GNU General Public License as published by  |
+// | the Free Software Foundation                                          |
+// |                                                                       |
+// | This program is distributed in the hope that it will be useful, but   |
+// | WITHOUT ANY WARRANTY; without even the implied warranty of            |
+// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU      |
+// | General Public License for more details.                              |
+// |                                                                       |
+// | You should have received a copy of the GNU General Public License     |
+// | along with this program; if not, write to the Free Software           |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA.                                                                  |
+// +-----------------------------------------------------------------------+
+
+// Recursive call
+$url = '../';
+header( 'Request-URI: '.$url );
+header( 'Content-Location: '.$url );
+header( 'Location: '.$url );
+exit();
+?>
Index: extensions/floOS/OS_default/icon/mimetypes/index.php
===================================================================
--- extensions/floOS/OS_default/icon/mimetypes/index.php	(revision 9108)
+++ extensions/floOS/OS_default/icon/mimetypes/index.php	(revision 9108)
@@ -0,0 +1,30 @@
+<?php
+// +-----------------------------------------------------------------------+
+// | Piwigo - a PHP based picture gallery                                  |
+// +-----------------------------------------------------------------------+
+// | Copyright(C) 2008      Piwigo Team                  http://piwigo.org |
+// | Copyright(C) 2003-2008 PhpWebGallery Team    http://phpwebgallery.net |
+// | Copyright(C) 2002-2003 Pierrick LE GALL   http://le-gall.net/pierrick |
+// +-----------------------------------------------------------------------+
+// | This program is free software; you can redistribute it and/or modify  |
+// | it under the terms of the GNU General Public License as published by  |
+// | the Free Software Foundation                                          |
+// |                                                                       |
+// | This program is distributed in the hope that it will be useful, but   |
+// | WITHOUT ANY WARRANTY; without even the implied warranty of            |
+// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU      |
+// | General Public License for more details.                              |
+// |                                                                       |
+// | You should have received a copy of the GNU General Public License     |
+// | along with this program; if not, write to the Free Software           |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA.                                                                  |
+// +-----------------------------------------------------------------------+
+
+// Recursive call
+$url = '../';
+header( 'Request-URI: '.$url );
+header( 'Content-Location: '.$url );
+header( 'Location: '.$url );
+exit();
+?>
Index: extensions/floOS/OS_default/identification.tpl
===================================================================
--- extensions/floOS/OS_default/identification.tpl	(revision 9108)
+++ extensions/floOS/OS_default/identification.tpl	(revision 9108)
@@ -0,0 +1,71 @@
+{* $Id: identification.tpl 2352 2008-05-20 00:27:26Z patdenice $ *}
+<div id="content" class="content">
+
+  <div class="titrePage">
+    <ul class="categoryActions">
+      <li><a href="{$U_LOST_PASSWORD}" title="{'Forgot your password?'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/lost_password.png" class="button" alt="{'Forgot your password?'|@translate}"></a></li>
+      {if isset($U_REGISTER) }
+      <li><a href="{$U_REGISTER}" title="{'Create a new account'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/register.png" class="button" alt="{'Register'|@translate}"/></a></li>
+      {/if}
+      <li><a href="{$U_HOME}" title="{'Go through the gallery as a visitor'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/home.png" class="button" alt="{'home'|@translate}"/></a></li>
+    </ul>
+    <h2>{'Identification'|@translate}</h2>
+  </div>
+
+  {if isset($errors) }
+  <div class="errors">
+    <ul>
+      {foreach from=$errors item=error}
+      <li>{$error}</li>
+      {/foreach}
+    </ul>
+  </div>
+  {/if}
+
+<form action="{$F_LOGIN_ACTION}" method="post" name="login_form" class="properties">
+  <fieldset>
+    <legend>{'Connection settings'|@translate}</legend>
+
+    <input type="hidden" name="redirect" value="{$U_REDIRECT}">
+
+    <ul>
+      <li>
+        <span class="property">
+          <label for="username">{'Username'|@translate}</label>
+        </span>
+        <input tabindex="1" class="login" type="text" name="username" id="username" size="25" maxlength="40" />
+      </li>
+
+      <li>
+        <span class="property">
+          <label for="password">{'Password'|@translate}</label>
+        </span>
+        <input tabindex="2" class="login" type="password" name="password" id="password" size="25" maxlength="25" />
+      </li>
+
+      {if $authorize_remembering }
+      <li>
+        <span class="property">
+          <label for="remember_me">{'remember_me'|@translate}</label>
+        </span>
+        <input tabindex="3" type="checkbox" name="remember_me" id="remember_me" value="1">
+      </li>
+      {/if}
+    </ul>
+  </fieldset>
+
+  <p><input class="submit" tabindex="4" type="submit" name="login" value="{'Submit'|@translate}"></p>
+
+  <p>
+    {if isset($U_REGISTER) }
+    <a href="{$U_REGISTER}" title="{'Create a new account'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/register.png" class="button" alt="{'Register'|@translate}"> {'Register'|@translate}</a>
+    {/if}
+    <a href="{$U_LOST_PASSWORD}" title="{'Forgot your password?'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/lost_password.png" class="button" alt="{'Forgot your password?'|@translate}"> {'Forgot your password?'|@translate}</a>
+  </p>
+</form>
+
+<script type="text/javascript"><!--
+document.login_form.username.focus();
+//--></script>
+
+</div> <!-- content -->
Index: extensions/floOS/OS_default/template/add_menu_on_public_pages.tpl
===================================================================
--- extensions/floOS/OS_default/template/add_menu_on_public_pages.tpl	(revision 9108)
+++ extensions/floOS/OS_default/template/add_menu_on_public_pages.tpl	(revision 9108)
@@ -0,0 +1,12 @@
+<!-- Menu has been provided by the "Spread menus" -->
+
+{html_head}
+{if !empty($themeconf.spread_menus)}
+<link rel="stylesheet" type="text/css" href="{$ROOT_URL}themes/{$themeconf.id}/css/{$themeconf.spread_menus}.css">
+{else}
+<link rel="stylesheet" type="text/css" href="{$SPREADM.Path}css/spread_menus_with_{$themeconf.id}.css">
+{/if}
+{/html_head}
+
+{$MENUBAR}
+{assign var='MENUBAR' value=''}
Index: extensions/floOS/OS_default/template/index.tpl
===================================================================
--- extensions/floOS/OS_default/template/index.tpl	(revision 9108)
+++ extensions/floOS/OS_default/template/index.tpl	(revision 9108)
@@ -0,0 +1,136 @@
+{$MENUBAR}
+{if !empty($PLUGIN_INDEX_CONTENT_BEFORE)}{$PLUGIN_INDEX_CONTENT_BEFORE}{/if}
+<div id="content" class="content">
+  <table id="table_content" border="0" cellspacing="0" cellpadding="0">
+    <tr>
+      <td id="section_up_left">&nbsp;</td>
+      <td id="section_up">
+	  	  <div class="titrePage">
+		<ul class="categoryActions">
+		  {if !empty($image_orders) }
+		  <li>
+		  {'Sort order'|@translate}:
+		  <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>
+		  </li>
+		  {/if}
+	
+		  {if isset($U_CADDIE) }
+		  <li><a href="{$U_CADDIE}" title="{'add to caddie'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/caddie_add.png" class="button" alt="{'caddie'|@translate}"/></a></li>
+		  {/if}
+	
+		  {if isset($U_EDIT) }
+		  <li><a href="{$U_EDIT}" title="{'edit category informations'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/category_edit.png" class="button" alt="{'edit'|@translate}"/></a></li>
+		  {/if}
+	
+		  {if isset($U_SEARCH_RULES) }
+		  <li><a href="{$U_SEARCH_RULES}" onclick="popuphelp(this.href); return false;" title="{'Search rules'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/search_rules.png" class="button" alt="(?)" /></a></li>
+		  {/if}
+	
+		  {if isset($U_SLIDESHOW) }
+		  <li><a href="{$U_SLIDESHOW}" title="{'slideshow'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/start_slideshow.png" class="button" alt="{'slideshow'|@translate}"/></a></li>
+		  {/if}
+	
+		  {if isset($U_MODE_FLAT) }
+		  <li><a href="{$U_MODE_FLAT}" title="{'mode_flat_hint'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/flat.png" class="button" alt="{'mode_flat_hint'|@translate}" /></a></li>
+		  {/if}
+	
+		  {if isset($U_MODE_NORMAL) }
+		  <li><a href="{$U_MODE_NORMAL}" title="{'mode_normal_hint'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/normal_mode.png" class="button" alt="{'mode_normal_hint'|@translate}" /></a></li>
+		  {/if}
+	
+		  {if isset($U_MODE_POSTED) }
+		  <li><a href="{$U_MODE_POSTED}" title="{'mode_posted_hint'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/calendar.png" class="button" alt="{'mode_posted_hint'|@translate}" /></a></li>
+		  {/if}
+		  
+		  {if isset($U_MODE_CREATED) }
+		  <li><a href="{$U_MODE_CREATED}" title="{'mode_created_hint'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/calendar_created.png" class="button" alt="{'mode_created_hint'|@translate}" /></a></li>
+		  {/if}
+		  
+		  {if !empty($PLUGIN_INDEX_ACTIONS)}{$PLUGIN_INDEX_ACTIONS}{/if}
+		</ul>
+	
+	  <h2>{$TITLE}</h2>
+	
+	  {if isset($chronology_views) }
+	  <div class="calendarViews">{'calendar_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 -->
+
+	  </td>
+      <td id="section_up_right">&nbsp;</td>
+    </tr>
+    <tr>
+      <td id="section_left">&nbsp;</td>
+      <td id="section_in">
+		{if !empty($PLUGIN_INDEX_CONTENT_BEGIN)}{$PLUGIN_INDEX_CONTENT_BEGIN}{/if}
+		
+		{if !empty($category_search_results) }
+		<div style="font-size:16px;text-align:left;margin:10px">{'Category 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($CATEGORIES) }{$CATEGORIES}{/if}
+		{if !empty($THUMBNAILS) }{$THUMBNAILS}{/if}
+		
+		
+		{if !empty($NAV_BAR) }
+		<div class="navigationBar">
+		  {$NAV_BAR}
+		</div>
+		{/if}
+		
+		{if !empty($CONTENT_DESCRIPTION) }
+		<div class="additional_info">
+		  {$CONTENT_DESCRIPTION}
+		</div>
+		{/if}
+		
+		{if !empty($PLUGIN_INDEX_CONTENT_END) }{$PLUGIN_INDEX_CONTENT_END}{/if}
+      </td>
+	  <td id="section_right">&nbsp;</td>
+    </tr>
+    <tr>
+      <td id="section_bottom_left">&nbsp;</td>
+      <td id="section_bottom" >&nbsp;</td>
+      <td id="section_bottom_right" >&nbsp;</td>
+    </tr>
+  </table>
+</div> <!-- content -->
+
+{if !empty($PLUGIN_INDEX_CONTENT_AFTER)}{$PLUGIN_INDEX_CONTENT_AFTER}{/if}
Index: extensions/floOS/OS_default/template/local_head.tpl
===================================================================
--- extensions/floOS/OS_default/template/local_head.tpl	(revision 9108)
+++ extensions/floOS/OS_default/template/local_head.tpl	(revision 9108)
@@ -0,0 +1,7 @@
+<!--[if lt IE 7]>
+	<link rel="stylesheet" type="text/css" href="{$ROOT_URL}themes/default/fix-ie5-ie6.css">
+<![endif]-->
+<!--[if IE 7]>
+	<link rel="stylesheet" type="text/css" href="{$ROOT_URL}themes/default/fix-ie7.css">
+<![endif]-->
+<link rel="stylesheet" type="text/css" media="print" href="{$ROOT_URL}themes/default/print.css">
Index: extensions/floOS/OS_default/template/menubar.tpl
===================================================================
--- extensions/floOS/OS_default/template/menubar.tpl	(revision 9108)
+++ extensions/floOS/OS_default/template/menubar.tpl	(revision 9108)
@@ -0,0 +1,38 @@
+{if !empty($blocks) }
+
+{if isset($blocks.mbMenu)}
+{assign var='block' value=$blocks.mbMenu}
+{assign var='myblock' value=$blocks.mbCategories } 
+{include file=$block->template|@get_extent:'mbMenu' }
+{/if}
+<div id="menubar">
+  <table id="table_menu" cellspacing="0" cellpadding="0" border="0" >
+    <tr id="up">
+      <td class="mb_left">&nbsp;</td>
+      <td class="mb_middle">&nbsp;</td>
+      <td class="mb_right">&nbsp;</td>
+    </tr>
+    {foreach from=$blocks key=id item=block}
+    {if ( not empty($block->template) or not empty($block->raw_content) ) and $id != 'mbMenu'}
+    <tr id="tr_{$id}" class="middle">
+      <td class="mb_left">&nbsp;</td>
+      <td class="mb_middle">
+        <dl id="{$id}">
+          {if not empty($block->template)}
+          {include file=$block->template|@get_extent:$id }
+          {else}
+          {$block->raw_content|@default}
+          {/if}
+        </dl></td>
+      <td class="mb_right">&nbsp;</td>
+    </tr>
+    {/if}
+    {/foreach}
+    <tr id="bottom">
+      <td class="mb_left">&nbsp;</td>
+      <td class="mb_middle">&nbsp;</td>
+      <td class="mb_right">&nbsp;</td>
+    </tr>
+  </table>
+</div>
+{/if} 
Index: extensions/floOS/OS_default/template/menubar_calendar.tpl
===================================================================
--- extensions/floOS/OS_default/template/menubar_calendar.tpl	(revision 9108)
+++ extensions/floOS/OS_default/template/menubar_calendar.tpl	(revision 9108)
@@ -0,0 +1,85 @@
+{if !empty($chronology_navigation_bars) }
+{foreach from=$chronology_navigation_bars item=bar}
+<div class="calendarBar">
+	{if isset($bar.previous)}
+		<div style="float:left">&laquo; <a href="{$bar.previous.URL}">{$bar.previous.LABEL}</a></div>
+	{/if}
+	{if isset($bar.next)}
+		<div style="float:right"><a href="{$bar.next.URL}">{$bar.next.LABEL}</a> &raquo;</div>
+	{/if}
+	{if empty($bar.items)}
+		&nbsp;
+	{else}
+		{foreach from=$bar.items item=item}
+		<span class="calItem{if !isset($item.URL)}Empty{/if}" {if isset($item.NB_IMAGES)}title="{$pwg->l10n_dec('%d image', '%d images', $item.NB_IMAGES)}"{/if}>
+		{if isset($item.URL)}
+		<a href="{$item.URL}">{$item.LABEL}</a>
+		{else}
+		{$item.LABEL}
+		{/if}
+		</span>
+		{/foreach}
+	{/if}
+</div>
+{/foreach}
+{/if}
+
+{if !empty($chronology_calendar.calendar_bars) }
+{foreach from=$chronology_calendar.calendar_bars item=bar}
+<div class="calendarCalBar">
+	<span class="calCalHead"><a href="{$bar.U_HEAD}">{$bar.HEAD_LABEL}</a>  ({$bar.NB_IMAGES})</span><br>
+	{foreach from=$bar.items item=item}
+	<span class="calCal{if !isset($item.URL)}Empty{/if}">
+	{if isset($item.URL)}
+	<a href="{$item.URL}">{$item.LABEL}</a>
+	{else}
+	{$item.LABEL}
+	{/if}
+	{if isset($item.NB_IMAGES)}({$item.NB_IMAGES}){/if}
+	</span>
+	{/foreach}
+</div>
+{/foreach}
+{/if}
+
+{if isset($chronology_calendar.month_view) }
+<table class="calMonth">
+ <thead>
+ <tr>
+ {foreach from=$chronology_calendar.month_view.wday_labels item=wday}
+	<td class="calDayHead">{$wday}</td>
+ {/foreach}
+ </tr>
+ </thead>
+{html_head} {*add the style to html head for strict standard compliance*}
+<style type="text/css">
+TABLE.calMonth TBODY TD, TABLE.calMonth TBODY TD DIV.calImg {ldelim}
+  width:{$chronology_calendar.month_view.CELL_WIDTH}px;height:{$chronology_calendar.month_view.CELL_HEIGHT}px;
+}
+</style>
+{/html_head}
+ {foreach from=$chronology_calendar.month_view.weeks item=week}
+ <tr>
+ 	{foreach from=$week item=day}
+ 	{if !empty($day)}
+ 		{if isset($day.IMAGE)}
+ 			<td class="calDayCellFull">
+	 			<div class="calBackDate">{$day.DAY}</div><div class="calForeDate">{$day.DAY}</div>
+	 			<div class="calImg">
+					<a href="{$day.U_IMG_LINK}">
+			  			<img style="{$day.IMAGE_STYLE}" src="{$day.IMAGE}" alt="{$day.IMAGE_ALT}" title="{$pwg->l10n_dec('%d image','%d images', $day.NB_ELEMENTS)}">
+					</a>
+				</div>
+ 		{else}
+ 			<td class="calDayCellEmpty">{$day.DAY}
+ 		{/if}
+ 	{else}{*blank cell first or last row only*}
+ 		<td>
+ 	{/if}
+ 	</td>
+ 	{/foreach} {*day in week*}
+ </tr>
+ {/foreach}  {*week in month*}
+</table>
+{/if}
+
Index: extensions/floOS/OS_default/template/menubar_categories.tpl
===================================================================
--- extensions/floOS/OS_default/template/menubar_categories.tpl	(revision 9108)
+++ extensions/floOS/OS_default/template/menubar_categories.tpl	(revision 9108)
@@ -0,0 +1,38 @@
+{if isset($U_START_FILTER)} 
+	<a href="{$U_START_FILTER}" title="{'start_filter_hint'|@translate}" rel="nofollow">
+	<img src="{$ROOT_URL}{$themeconf.icon_dir}/start_filter.png" class="button" alt="start filter"></a>
+{/if}
+{if isset($U_STOP_FILTER)}
+	<a href="{$U_STOP_FILTER}" title="{'stop_filter_hint'|@translate}">	
+	<img src="{$ROOT_URL}{$themeconf.icon_dir}/stop_filter.png" class="button" alt="stop filter"></a>
+{/if}
+<dt class="{$tab_cat}titre_acordeon_0">
+	<a href="javascript:void(0);"><img src="{$ROOT_URL}{$themeconf.icon_dir}/menu/small_resizable.png" class="button_res" alt="[_]">{'Categories'|@translate}</a>
+</dt>
+<dd>
+{assign var='ref_level' value=0}
+{foreach from=$block->data.MENU_CATEGORIES item=cat}
+  {if $cat.LEVEL > $ref_level}
+  <ul>
+  {else}
+    </li>
+    {'</ul></li>'|@str_repeat:$ref_level-$cat.LEVEL}
+  {/if}
+    <li {if $cat.SELECTED}class="selected"{/if}>
+      <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}
+	{if isset($block->data.U_UPLOAD)}
+		<ul>
+			<li> <a href="{$block->data.U_UPLOAD}">{'Upload_picture'|@translate}</a> </li>
+		</ul>
+	{/if}
+	<p class="totalImages">{$pwg->l10n_dec('%d image', '%d images', $block->data.NB_PICTURE)}</p>
+</dd>
Index: extensions/floOS/OS_default/template/menubar_identification.tpl
===================================================================
--- extensions/floOS/OS_default/template/menubar_identification.tpl	(revision 9108)
+++ extensions/floOS/OS_default/template/menubar_identification.tpl	(revision 9108)
@@ -0,0 +1,65 @@
+
+<dt class="{$tab_identif}titre_acordeon"><a href="javascript:void(0);"><img src="{$ROOT_URL}{$themeconf.icon_dir}/menu/small_resizable.png" class="button_res" alt="[_]">{'Identification'|@translate}</a></dt>
+<dd>
+	{if isset($USERNAME)}
+	<p>{'Hello'|@translate}&nbsp;{$USERNAME}&nbsp;!</p>
+	{/if}
+
+	<ul>
+	{if isset($U_REGISTER)}
+	<li><a href="{$U_REGISTER}" title="{'Create a new account'|@translate}" rel="nofollow">{'Register'|@translate}</a></li>
+	{/if}
+
+	{if isset($U_LOGIN)}
+	<li><a href="{$U_LOGIN}" rel="nofollow">{'Login'|@translate}</a></li>
+	{/if}
+
+	{if isset($U_LOGOUT)}
+	<li><a href="{$U_LOGOUT}">{'Logout'|@translate}</a></li>
+	{/if}
+
+	{if isset($U_PROFILE)}
+	<li><a href="{$U_PROFILE}" title="{'hint_customize'|@translate}">{'Customize'|@translate}</a></li>
+	{/if}
+
+	{if isset($U_ADMIN)}
+	<li><a href="{$U_ADMIN}" title="{'hint_admin'|@translate}">{'Administration'|@translate}</a></li>
+	{/if}
+	</ul>
+
+	{if isset($U_LOGIN)}
+	<form method="post" action="{$U_LOGIN}" id="quickconnect">
+	<fieldset>
+	<legend>{'Quick connect'|@translate}</legend>
+	<div>
+	<label for="username">{'Username'|@translate}</label><br/>
+	<input type="text" name="username" id="username" value="" style="width:99%">
+	</div>
+
+	<div><label for="password">{'Password'|@translate}</label>
+	<br/>
+	<input type="password" name="password" id="password" style="width:99%">
+	</div>
+
+{if $AUTHORIZE_REMEMBERING}
+	<div><label for="remember_me">
+	{'Auto login'|@translate}
+	<input type="checkbox" name="remember_me" id="remember_me" value="1">
+	</label></div>
+	{/if}
+
+	<div>
+  <input type="hidden" name="redirect" value="{$smarty.server.REQUEST_URI|@urlencode}">
+	<input class="submit" type="submit" name="login" value="{'Submit'|@translate}">
+	<ul class="actions">
+		<li><a href="{$U_LOST_PASSWORD}" title="{'Forgot your password?'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/lost_password.png" class="button" alt="{'Forgot your password?'|@translate}"></a></li>
+		{if isset($U_REGISTER)}
+		<li><a href="{$U_REGISTER}" title="{'Create a new account'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/register.png" class="button" alt="{'Register'|@translate}"/></a></li>
+		{/if}
+	</ul>
+	</div>
+
+	</fieldset>
+	</form>
+	{/if}
+</dd>
Index: extensions/floOS/OS_default/template/menubar_links.tpl
===================================================================
--- extensions/floOS/OS_default/template/menubar_links.tpl	(revision 9108)
+++ extensions/floOS/OS_default/template/menubar_links.tpl	(revision 9108)
@@ -0,0 +1,14 @@
+<dt class="{$tab_links}titre_acordeon"><a href="javascript:void(0);"><img src="{$ROOT_URL}{$themeconf.icon_dir}/menu/small_resizable.png" class="button_res" alt="[_]">{'Links'|@translate}</a></dt>
+<dd>
+	<ul>
+		{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}
+	</ul>
+</dd>
Index: extensions/floOS/OS_default/template/menubar_menu.tpl
===================================================================
--- extensions/floOS/OS_default/template/menubar_menu.tpl	(revision 9108)
+++ extensions/floOS/OS_default/template/menubar_menu.tpl	(revision 9108)
@@ -0,0 +1,22 @@
+<div id="div_Menu">
+    <ul id="Menu">
+	{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}><img src="{$ROOT_URL}{$themeconf.icon_dir}/menu/{cycle values="tag.png,search.png,chat.png,apropos.png,rss.png"}" alt="[*]"/>{$link.NAME}</a></li>
+		{/if}
+    {/foreach}
+      <li>
+        {if isset($block->data.qsearch) and  $block->data.qsearch==true}
+    <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>
+  {/if}
+	</li>
+      <li><a href="{$myblock->data.U_CATEGORIES}" title="{'return to homepage'|@translate}"><img src="{$themeconf.icon_dir}/home.png" class="button" alt="{'home'|@translate}"/></a></li>
+
+	</ul>
+</div>
+
Index: extensions/floOS/OS_default/template/menubar_specials.tpl
===================================================================
--- extensions/floOS/OS_default/template/menubar_specials.tpl	(revision 9108)
+++ extensions/floOS/OS_default/template/menubar_specials.tpl	(revision 9108)
@@ -0,0 +1,9 @@
+
+<dt class="{$tab_spe}titre_acordeon"><a href="javascript:void(0);"><img src="{$ROOT_URL}{$themeconf.icon_dir}/menu/small_resizable.png" class="button_res" alt="[_]">{'Specials'|@translate}</a></dt>
+<dd>
+  <ul>
+    {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}
+  </ul>
+</dd>
Index: extensions/floOS/OS_default/template/menubar_tags.tpl
===================================================================
--- extensions/floOS/OS_default/template/menubar_tags.tpl	(revision 9108)
+++ extensions/floOS/OS_default/template/menubar_tags.tpl	(revision 9108)
@@ -0,0 +1,18 @@
+dt class="{$tab_tag}titre_acordeon"><a href="javascript:void(0);"><img src="{$ROOT_URL}{$themeconf.icon_dir}/menu/small_resizable.png" class="button_res" alt="[_]">{'Related tags'|@translate}</a></dt><dd>
+	<div id="menuTagCloud">
+		{foreach from=$block->data item=tag}
+		<span>
+			<a class="tagLevel{$tag.level}"
+			{if isset($tag.U_ADD)}
+				href="{$tag.U_ADD}"
+				title="{$pwg->l10n_dec('%d image is also linked to current tags', '%d images are also linked to current tags', $tag.counter)}"
+				rel="nofollow">+
+			{else}
+				href="{$tag.URL}"
+				title="{'See images linked to this tag only'|@translate}">
+			{/if}
+				{$tag.name}</a></span>
+{* 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>
Index: extensions/floOS/OS_default/theme.css
===================================================================
--- extensions/floOS/OS_default/theme.css	(revision 9108)
+++ extensions/floOS/OS_default/theme.css	(revision 9108)
@@ -0,0 +1,632 @@
+
+BODY {
+  margin: 0px;
+  padding: 0;
+  font-size: 0.8em;
+  font-family:  Univers, Helvetica, Optima, "Bitstream Vera Sans", sans-serif;
+  text-align: center; /* be nice to IE5 */
+}
+body div.content {
+  margin-left: 20em !important;
+	margin-bottom: 1em !important;
+	margin-right: 1em !important;
+}
+#the_page {
+	height:100%;
+	margin: 0px;
+}
+
+H1 {
+  text-align: center;
+  font-size: 150%;
+  font-weight: bold;
+  padding: 0;
+  margin: 0.5em 0 1em 0;
+}
+
+H2 {
+	margin: 0;
+	padding: 5px 0.5em 5px 0.5em;
+	text-align: left;
+	font-size: 120%;
+}
+
+A {
+	text-decoration:none;
+	border-bottom: 1px dotted #000;
+}
+A:hover {
+	border-bottom: 1px solid #fff;
+}
+A.button, A.button:hover { 
+	border: 0; 
+}
+IMG {
+	border:none;
+}
+.illustration A, .titre_acordeon A, .titre_acordeon_0 A{
+	border-bottom:none;
+}
+
+HR.separation {
+  visibility: hidden;
+  clear: both;
+}
+
+#copyright {
+    clear: both;
+    font-size: 83%;
+    text-align: center;
+    margin: 0 0 10px 0;
+}
+
+/** General defaults **/
+INPUT, SELECT {
+  margin: 0;
+  font-size: 1em;	/* <= some browsers don't set it correctly */
+}
+UL, DL, LI { text-align: left;}
+TABLE {			/* horizontaly centered */
+  margin-left: auto;
+  margin-right: auto;
+}
+/* for debugging purpose */
+PRE { text-align:left; }
+
+/** forms **/
+
+FORM { padding: 0em; }
+
+FORM P {
+	text-align: center;
+	margin-top: 2em;
+	margin-bottom: 2em;
+}
+
+FORM FIELDSET P {
+	margin-top: 1em;
+	margin-bottom: 0;
+}
+
+.small {
+	font-size: 80%;
+}
+
+TEXTAREA.description {
+  height: 6em;
+  width: 40em;
+  overflow: auto;
+}
+
+SELECT.categoryList {
+  height: 20em;
+  width: auto;
+}
+
+DIV.comment BLOCKQUOTE {
+  padding: 0.5em;
+  overflow: auto;	/* no solution for IE6 */
+  min-height: 2.75em;	/* fix a Gecko bug whith scrollbar and 1 line only */
+}
+
+
+/**
+ * Filter forms are displayed label by label with the input (or select...)
+ * below the label. Use an UL to make a group (radiobox for instance).
+ * Use a SPAN to group objects in line
+ */
+FIELDSET {
+  padding: 1em;
+  margin: 1em;
+  overflow: hidden; /* <- makes Opera happy */
+}
+
+FORM.filter FIELDSET UL {
+  margin: 0;
+}
+FORM.filter FIELDSET UL,
+FORM.filter FIELDSET LABEL {
+  display: block;
+  float: left;
+  margin-right: 1em;
+  padding: 0;
+}
+
+FORM.filter FIELDSET LI {
+  list-style: none;
+  margin-bottom: 0.5em;
+}
+
+FORM.filter FIELDSET LI LABEL {
+  display: inline;
+  float: none;
+}
+
+FORM.filter FIELDSET UL.tagSelection LABEL {
+  display: inline;
+  float: none;
+  margin-right:0.5em;/*reduce from above*/
+}
+
+/* cannot use FIELDSET>LABEL because of IE<=6 */
+FORM.filter FIELDSET LABEL INPUT,
+FORM.filter FIELDSET LABEL SELECT,
+FORM.filter FIELDSET LABEL SPAN,
+FORM.filter FIELDSET LABEL TEXTAREA {
+  display: block;
+  margin: 0.5em 0;
+}
+FORM.filter FIELDSET * LABEL INPUT,
+FORM.filter FIELDSET * LABEL SELECT,
+FORM.filter FIELDSET * LABEL TEXTAREA,
+FORM.filter FIELDSET LABEL SPAN INPUT,
+FORM.filter FIELDSET LABEL SPAN SELECT,
+FORM.filter FIELDSET LABEL SPAN TEXTAREA {
+  display: inline;
+  vertical-align: top;
+  margin: 0 0.5em 0 0;
+}
+
+FORM.filter FIELDSET UL.tagSelection LI LABEL INPUT {
+  margin-right:0;
+}
+
+/* following declaration is important to avoid strange FF behaviour */
+FORM.filter FIELDSET LABEL SPAN SELECT {
+  margin: 0;
+}
+
+FORM.filter FIELDSET P
+{
+  clear: left;
+  display: block;
+}
+
+FORM.filter INPUT[type="submit"] {
+  margin-top: 1em;
+}
+
+FORM.properties UL, FORM#update UL {
+  list-style-type: none;
+  margin: 0;
+  padding: 0;
+}
+
+FORM.properties LI, FORM#update UL  {
+  margin-bottom: 0.5em;
+  padding: 0;
+  line-height: 1.8em;
+  clear: left;
+}
+
+FORM.properties SPAN.property {
+  font-weight: bold;
+  float: left;
+  width: 50%;
+  text-align: right;
+  margin: 0;
+  padding: 0 0.5em 0 0;
+}
+
+#theHeader H1 {
+	padding-top: 1em;
+	padding-bottom: 0.5em;
+	margin: 0px;
+}
+
+/* button tools */
+UL.actions {
+  text-indent: 0;
+  list-style: none;
+}
+UL.actions  LI {
+  display: inline;
+}
+UL.actions  A {
+  border: none;
+}
+
+UL.tagSelection {
+  width: 99%;
+  margin: 1em 0 1em 0;
+  padding: 0;
+}
+
+UL.tagSelection LI {
+  display: inline;
+  white-space: nowrap;
+}
+
+#fullTagCloud {
+  font-size: 120%;
+  text-align: justify;
+  padding: 0;
+  margin: 1em 2em 1em 2em;
+}
+
+#fullTagCloud SPAN {
+	white-space: nowrap;
+	margin: 0 2px;
+}
+
+.tagLevel5 { font-size: 150%; }
+.tagLevel4 { font-size: 140%; }
+.tagLevel3 { font-size: 120%; }
+.tagLevel2 { font-size: 100%; }
+.tagLevel1 { font-size: 90%; }
+
+
+/* Popup help page */
+BODY#thePopuphelpPage #copyright {
+  display: none;
+}
+#theNotificationPage p { padding: 0.5em; }
+
+BODY#thePopuphelpPage .content P {
+  text-align: justify;
+  padding: 0.5em;
+}
+
+BODY#thePopuphelpPage .content OL LI,
+BODY#thePopuphelpPage .content UL LI
+{
+  margin-bottom: 0.5em;
+}
+
+BODY#thePopuphelpPage P#pageBottomActions A {
+  border: none;
+}
+
+TR.tagLine {
+  border-bottom: 1px solid #ddd;
+  text-align: left;
+}
+TR.tagLine:hover {
+  background-color: #fff;
+}
+TD.nbEntries {
+  text-align: right;
+  font-style: italic;
+  font-size: 90%;
+}
+
+FIELDSET.tagLetter {
+  border: 1px solid #d3d3d3;
+  width: 200px;
+  margin: 0.5em;
+  padding: 10px;
+}
+
+LEGEND.tagLetterLegend {
+  border: 1px solid #d3d3d3;
+  font-size:120%;
+  font-weight: bold;
+  padding: 0 5px;
+  font-style: normal;
+}
+
+TABLE.tagLetterContent {
+  width:100%;
+  font-size:80%;
+  border-collapse : collapse;
+}
+
+#theNotificationPage DL,
+#thePopuphelpPage DL { margin: 0 25px 25px; }
+.content #comments UL.thumbnailCategories LI { width:99%; }
+/* jQuery datepicker */
+IMG.ui-datepicker-trigger {
+	cursor : pointer;
+}
+
+/*--------menu--------------*/
+#table_content, #table_menu {
+width:100%;
+height:100%;
+border:0;
+padding:0;
+margin:0;
+}
+#theHeader {
+	margin: 0px;
+	padding: 0px;
+	height:100px;
+}
+#menubar .button_res {
+	margin: 0 2px;
+	width: auto;
+	padding: 0;
+	text-indent: 0;
+	list-style: none;
+	text-align: center;
+	float: left;
+}
+.mb_left, .mb_right {
+	width:0px;
+}
+#theNotificationPage #menubar dl {
+	margin:0;
+}
+/* menu en haut */
+#div_Menu
+{
+	padding: 0px;
+	clear:both;
+	margin-right: 0px;
+	margin-bottom: 10px;
+	margin-left: 0px;
+	height:25px;
+}
+
+ul#Menu
+{
+	height:22px;
+	margin: 0;
+	list-style-type: none;
+	padding-top: 0;
+	padding-right: 0;
+	padding-bottom: 0;
+	padding-left: 8px;
+}
+ul#Menu li
+{
+	float: left;
+	text-align: center;
+	display: block;
+	margin:0 10px;
+	height:22px;
+}
+ul#Menu li a
+{
+	width: auto;
+	line-height: 30px;
+	font-size: 1em;
+	text-decoration: none;
+}
+
+input#qsearchInput {
+width: 150px;
+text-align:left;
+}
+
+
+/**
+ * Informations box in administration
+ */
+.infos {
+  text-align: left;
+  color: #002000;
+  background-color: #98fb98; /* palegreen */
+  background-image: url(icon/admin/infos.png);
+  background-repeat: no-repeat;
+  background-position: top right;
+  margin: 0px;
+  padding: 10px 50px 10px 10px;
+}
+
+/**
+ * Header message like upgrade or adviser mode
+ */
+.header_msgs {
+  text-align:center;
+  font-weight: bold;
+  color:#696969;	/* dimgray */
+  background-color: #d3d3d3;
+  margin: 1px;
+  padding: 1px;
+	float:right;
+	position: absolute;
+	top: 1px;
+	right: 1px;
+	width:20%;
+	padding-top: 5px;
+	padding-right: 0px;
+	padding-bottom: 0px;
+	padding-left: 30px;
+}
+
+/**
+ * Header notes box in public/administration
+ */
+.header_notes {
+	border: 1px solid #aaaaaa; /* border color and style */
+	text-align: center;
+	background-image: url(icon/note.png);
+	background-repeat: no-repeat;
+	background-position: top left;
+	font-weight: bold;
+	margin: 14px;
+	float:right;
+	color:#000000;
+	position: absolute;
+	top: 1px;
+	right: 1px;
+	width:20%;
+	padding-top: 5px;
+	padding-right: 0px;
+	padding-bottom: 0px;
+	padding-left: 30px;
+}
+
+/* form picture.css */
+#imageHeaderBar {
+	padding-top: 2px;
+	padding-bottom: 2px;
+	overflow: hidden;
+	width: 100%;
+		margin-top:0px;
+
+}
+
+#imageHeaderBar .browsePath {
+  float: left;
+  margin-left: 10px;
+}
+
+#imageHeaderBar .imageNumber {
+  float: right;
+  margin-right: 10px;
+}
+
+#imageHeaderBar H2 {
+  text-align: center;
+  padding: 0;
+  clear: both;
+}
+
+#imageToolBar {
+  text-align: center;
+  position: relative;
+  clear: both;
+  margin-bottom: 4px;
+  padding: 0;
+}
+
+#imageToolBar {
+    height: 50px;
+}
+#imageToolBar A, #imageToolBar IMG {
+    display: inline;
+    margin: 0; padding: 0;
+}
+#imageToolBar A {
+	margin-right: 3px;
+	margin-left: 5px;
+}
+#imageToolBar IMG { margin: 2px auto; }
+#imageToolBar .randomButtons A { float: left; }
+#imageToolBar .navButtons    A { float: right;  }
+
+
+
+#theImage {
+    clear: left;
+}
+
+#theImage>IMG {
+    display: block;
+    margin: 0 auto;
+}
+
+#theImage IMG {
+  border-width: 3px;
+  border-style: solid;
+}
+
+/**               les miniatures */
+.thumbLink {
+height:45px;
+width:auto;
+}
+.navThumb {
+    margin-top: 2px;
+}
+#thumbPrev {
+    float: right;
+	margin-right:0px;
+}
+
+#thumbNext {
+    float: right;
+	margin-left:0px;
+}
+#thumbCurrent {
+    float: right;
+	border:1px solid #FF0000;
+}
+#linkPrev {
+    margin-right: 10px;
+    margin-left: 5px;
+}
+
+#linkNext {
+    margin-right: 5px;
+    margin-left: 10px;
+}
+#action_pict {
+/*	float:left;
+	position: absolute;
+	left: 5px;
+	top: 300px;
+    width:150px;*/
+	width:600px;
+	margin-left:auto;
+	margin-right:auto;
+	padding:0;
+}
+#action_pict A, #action_pict IMG{
+	border: none;
+	margin-right: 2px;
+	margin-left: 2px;	
+}
+
+TABLE.infoTable .value {
+    text-align: left;
+}
+
+TABLE.infoTable .label {
+    font-weight: bold;
+    text-align: right;
+    padding-right: 0.5em;
+}
+
+TABLE.infoTable TD.value UL {
+  margin: 0;
+  padding: 0 0 0 1.5em;
+  list-style-type: square;
+}
+
+#rateForm {
+	display:block;
+	height:20px;
+	overflow:visible;
+}
+.rateButton, .rateButtonSelected, .rateButtonStarFull, .rateButtonStarEmpty  {
+  padding:0;
+  border:0;
+  height:16px;
+  width:16px;
+}
+
+.rateButton, .rateButtonStarFull, .rateButtonStarEmpty {
+  cursor: pointer;
+}
+
+.rateButtonSelected {
+  font-weight:bold;
+  font-size:120%;
+}
+
+.rateButtonStarFull {
+	background: url('icon/rating-stars.gif') no-repeat scroll; background-position:-16px center; width:16px;
+}
+
+.rateButtonStarEmpty {
+	background: url('icon/rating-stars.gif') no-repeat scroll; background-position:0 center; width:16px;
+}
+
+#comments {
+	text-align: left;
+	margin:20px 30px 2em;
+}
+
+#comments .comment {
+  margin: 1em 0;
+}
+
+#comments P {
+  margin: 0 0.5em 0 1em;
+}
+
+#comments .author {
+  font-weight: bold;
+}
+
+#thePicturePage #comments BLOCKQUOTE {
+  margin: 0.5em 1em 1em 4em;
+}
+
+#comments P.userCommentDelete {
+  float: right;
+  margin: 0 0.5em 0 0;
+}
Index: extensions/floOS/OS_default/themeconf.inc.php
===================================================================
--- extensions/floOS/OS_default/themeconf.inc.php	(revision 9108)
+++ extensions/floOS/OS_default/themeconf.inc.php	(revision 9108)
@@ -0,0 +1,39 @@
+<?php
+$themeconf = array(
+  'name'         => 'OS_default',
+  'parent'        => 'default',
+  'icon_dir'      => 'themes/OS_default/icon',
+  'mime_icon_dir' => 'themes/OS_default/icon/mimetypes/',
+  'local_head'    => 'local_head.tpl',
+  'activable' => false,
+	'Exclude'			=> array('theNBMPage','thePicturePage','thePopuphelpPage',),	# Excluded pages
+);
+// thx to Vdigital and his plugin spreadmenus
+if ( !function_exists( 'add_menu_on_public_pages' ) ) {
+	if ( defined('IN_ADMIN') and IN_ADMIN ) return false;
+	add_event_handler('loc_after_page_header', 'add_menu_on_public_pages', 20);
+
+	function  add_menu_on_public_pages() {
+	  if ( function_exists( 'initialize_menu') ) return false; # The current page has already the menu 
+	  global $template, $page, $conf;
+	  if ( isset($page['body_id']) and in_array($page['body_id'], get_themeconf('Exclude')) ) return false;
+
+	  $template->set_filenames(array(
+		'add_menu_on_public_pages' => dirname(__FILE__) . '/template/add_menu_on_public_pages.tpl',
+	  ));
+	  include_once(PHPWG_ROOT_PATH.'include/menubar.inc.php');
+	  $template->parse('add_menu_on_public_pages');
+	  
+	  if (is_admin())
+		{
+	  $template->assign(
+        'U_ADMIN', get_root_url().'admin.php?page=picture_modify'
+      .'&amp;cat_id='.(isset($page['category']) ? $page['category']['id'] : '')
+      .( isset($page['image_id']) ? '&amp;image_id='.$page['image_id'] : '')
+      );
+		}
+	  
+	}
+}
+
+?>
