diff --git a/admin/template/wigo/admin.tpl b/admin/template/wigo/admin.tpl
new file mode 100644
index 000000000..7aba18541
--- /dev/null
+++ b/admin/template/wigo/admin.tpl
@@ -0,0 +1,132 @@
+{* $Id$ *}
+{known_script id="jquery" src=$ROOT_URL|@cat:"template-common/lib/jquery.packed.js"}
+{known_script id="jquery.ui" src=$ROOT_URL|@cat:"template-common/lib/ui/ui.core.packed.js" }
+{known_script id="jquery.ui.accordion" src=$ROOT_URL|@cat:"template-common/lib/ui/ui.accordion.packed.js" }
+
+
+
+
+
+
+
+ {if isset($TABSHEET)}
+ {$TABSHEET}
+ {/if}
+ {if isset($U_HELP)}
+
+
+
+ {/if}
+
+ {if isset($errors)}
+
+
+ {foreach from=$errors item=error}
+ {$error}
+ {/foreach}
+
+
+ {/if}
+
+ {if isset($infos)}
+
+
+ {foreach from=$infos item=info}
+ {$info}
+ {/foreach}
+
+
+ {/if}
+
+ {$ADMIN_CONTENT}
+
diff --git a/admin/template/wigo/admin/advanced_feature.tpl b/admin/template/wigo/admin/advanced_feature.tpl
new file mode 100644
index 000000000..4b9035d27
--- /dev/null
+++ b/admin/template/wigo/admin/advanced_feature.tpl
@@ -0,0 +1,10 @@
+{* $Id$ *}
+
+
{'Advanced_features'|@translate}
+
+
+
diff --git a/admin/template/wigo/admin/cat_list.tpl b/admin/template/wigo/admin/cat_list.tpl
new file mode 100644
index 000000000..b408a5a50
--- /dev/null
+++ b/admin/template/wigo/admin/cat_list.tpl
@@ -0,0 +1,65 @@
+{* $Id$ *}
+{'title_categories'|@translate}
+
+{$CATEGORIES_NAV}
+
+
+
+{if count($categories) }
+
+{/if}
diff --git a/admin/template/wigo/admin/cat_modify.tpl b/admin/template/wigo/admin/cat_modify.tpl
new file mode 100644
index 000000000..b1b46a36f
--- /dev/null
+++ b/admin/template/wigo/admin/cat_modify.tpl
@@ -0,0 +1,227 @@
+{* $Id$ *}
+
+
{'title_edit_cat'|@translate}
+
+
+{$CATEGORIES_NAV}
+
+
+
+ {if isset($U_MANAGE_ELEMENTS) }
+
+
+ {/if}
+
+ {if isset($U_MANAGE_PERMISSIONS) }
+
+ {/if}
+ {if isset($U_DELETE) }
+
+ {/if}
+
+
+
+
+
+
+
+ {'Link all category elements to a new category'|@translate}
+
+
+
+
+
+
+
+
+
+
+
+ {'Link all category elements to some existing categories'|@translate}
+
+
+
+ {'Categories'|@translate}
+
+
+ {html_options options=$category_destination_options }
+
+
+
+
+
+
+
+
+
+
+
+
+{if isset($group_mail_options)}
+
+ {'Send an information email to group members'|@translate}
+
+
+
+ {'Group'|@translate}
+
+
+ {html_options options=$group_mail_options}
+
+
+
+
+ {'mail_content'|@translate}
+
+ {$MAIL_CONTENT}
+
+
+
+
+
+
+
+
+
+
+
+{/if}
+
+
diff --git a/admin/template/wigo/admin/cat_move.tpl b/admin/template/wigo/admin/cat_move.tpl
new file mode 100644
index 000000000..2ca670e20
--- /dev/null
+++ b/admin/template/wigo/admin/cat_move.tpl
@@ -0,0 +1,35 @@
+{* $Id$ *}
+
+
+
{'Move categories'|@translate}
+
+
+
+
+ {'Virtual categories movement'|@translate}
+
+
+ {'Virtual categories to move'|@translate}
+
+
+ {html_options options=$category_to_move_options}
+
+
+
+
+ {'New parent category'|@translate}
+
+
+ ------------
+ {html_options options=$category_parent_options}
+
+
+
+
+
+
+
+
+
+
+
diff --git a/admin/template/wigo/admin/cat_options.tpl b/admin/template/wigo/admin/cat_options.tpl
new file mode 100644
index 000000000..2cad2afed
--- /dev/null
+++ b/admin/template/wigo/admin/cat_options.tpl
@@ -0,0 +1,12 @@
+{* $Id$ *}
+
+
{'cat_options_title'|@translate} {$TABSHEET_TITLE}
+
+
+
+
+ {$L_SECTION}
+ {$DOUBLE_SELECT}
+
+
+
diff --git a/admin/template/wigo/admin/cat_perm.tpl b/admin/template/wigo/admin/cat_perm.tpl
new file mode 100644
index 000000000..858ff3723
--- /dev/null
+++ b/admin/template/wigo/admin/cat_perm.tpl
@@ -0,0 +1,65 @@
+{* $Id$ *}
+
+
{'Manage permissions for a category'|@translate}
+
+
+{$CATEGORIES_NAV}
+
+
+
+ {'Groups'|@translate}
+
+
+ {'Permission granted'|@translate}
+
+
+
+
+
+ {'Permission denied'|@translate}
+
+
+
+
+ {'Users'|@translate}
+
+
+ {'Permission granted'|@translate}
+
+
+
+
+
+ {'Permission granted thanks to a group'|@translate}
+ {if isset($user_granted_indirects) }
+
+ {foreach from=$user_granted_indirects item=user_group}
+ {$user_group.USER} ({$user_group.GROUP})
+ {/foreach}
+
+ {/if}
+
+
+
+ {'Permission denied'|@translate}
+
+
+
+
+
diff --git a/admin/template/wigo/admin/check_integrity.tpl b/admin/template/wigo/admin/check_integrity.tpl
new file mode 100644
index 000000000..3d1bfb5d1
--- /dev/null
+++ b/admin/template/wigo/admin/check_integrity.tpl
@@ -0,0 +1,84 @@
+{* $Id$ *}
+
+ {'c13y_title'|@translate}
+
+
+
+
+
+
+ {if $c13y_show_submit_ignore}
+ {'Check all'|@translate}
+ / {'Uncheck all'|@translate}
+ {/if}
+ {if isset($c13y_do_check)}
+ / {'c13y_check_auto'|@translate}
+ {/if}
+
+
+
+ {if $c13y_show_submit_automatic_correction}
+
+ {/if}
+ {if $c13y_show_submit_ignore}
+
+ {/if}
+
+
+
+
+
+
+
diff --git a/admin/template/wigo/admin/comments.tpl b/admin/template/wigo/admin/comments.tpl
new file mode 100644
index 000000000..5ceef17b1
--- /dev/null
+++ b/admin/template/wigo/admin/comments.tpl
@@ -0,0 +1,32 @@
+{* $Id$ *}
+
+
{'waiting'|@translate} {$TABSHEET_TITLE}
+
+
+{'User comments validation'|@translate}
+
+{if !empty($comments) }
+
+
+ {foreach from=$comments item=comment}
+
+ {/foreach}
+
+
+
+
+
+
+
+
+
+
+{/if}
\ No newline at end of file
diff --git a/admin/template/wigo/admin/configuration.tpl b/admin/template/wigo/admin/configuration.tpl
new file mode 100644
index 000000000..8bd9ecaf6
--- /dev/null
+++ b/admin/template/wigo/admin/configuration.tpl
@@ -0,0 +1,175 @@
+{* $Id$ *}
+
+
{'title_configuration'|@translate} {$TABSHEET_TITLE}
+
+
+
+
+{if isset($main)}
+
+
+
+
+
+
+
+{/if}
+
+{if isset($history)}
+
+
+
+{/if}
+
+
+{if isset($comments)}
+
+{/if}
+
+{if isset($upload)}
+
+
+
+{/if}
+
+{if isset($default)}
+{$PROFILE_CONTENT}
+{/if}
+
+{if !isset($default)}
+
+
+
+
+{/if}
+
\ No newline at end of file
diff --git a/admin/template/wigo/admin/double_select.tpl b/admin/template/wigo/admin/double_select.tpl
new file mode 100644
index 000000000..aeed8500a
--- /dev/null
+++ b/admin/template/wigo/admin/double_select.tpl
@@ -0,0 +1,20 @@
+{* $Id$ *}
+
diff --git a/admin/template/wigo/admin/element_set_global.tpl b/admin/template/wigo/admin/element_set_global.tpl
new file mode 100644
index 000000000..fc5a92e70
--- /dev/null
+++ b/admin/template/wigo/admin/element_set_global.tpl
@@ -0,0 +1,190 @@
+{* $Id$ *}
+
+{'Batch management'|@translate}
+
+{$CATEGORIES_NAV}
+
+{if !empty($thumbnails)}
+
+ {'global mode'|@translate}
+ | {'unit mode'|@translate}
+
+
+
+
+ {'Display options'|@translate}
+
+ {'elements per page'|@translate}:
+ 20
+ | 50
+ | 100
+ | {'all'|@translate}
+
+
+
+
+
+
+
+
+ {'Elements'|@translate}
+
+ {if !empty($NAV_BAR)}{$NAV_BAR}
{/if}
+
+ {if !empty($thumbnails)}
+
+ {/if}
+
+
+
+
+
+ {'Form'|@translate}
+
+
+
+
+ {'target'|@translate}
+ {'all'|@translate}
+ {'selection'|@translate}
+
+
+
+
+
+
+
+
+
+ {'Caddie management'|@translate}
+
+
+
+
+
+
+
+
+
+{else}
+ {'Caddie is currently empty'|@translate}
+{/if}
diff --git a/admin/template/wigo/admin/element_set_ranks.tpl b/admin/template/wigo/admin/element_set_ranks.tpl
new file mode 100644
index 000000000..31e614480
--- /dev/null
+++ b/admin/template/wigo/admin/element_set_ranks.tpl
@@ -0,0 +1,41 @@
+{'Manage image ranks'|@translate}
+
+{$CATEGORIES_NAV}
+
+{if !empty($thumbnails)}
+
+
+
+
+ {'Edit ranks'|@translate}
+
+ {if !empty($thumbnails)}
+
+ {/if}
+
+
+
+
+
+
+
+{else}
+ {'No element in this category'|@translate}
+{/if}
diff --git a/admin/template/wigo/admin/element_set_unit.tpl b/admin/template/wigo/admin/element_set_unit.tpl
new file mode 100644
index 000000000..40e1c1863
--- /dev/null
+++ b/admin/template/wigo/admin/element_set_unit.tpl
@@ -0,0 +1,105 @@
+{* $Id$ *}
+
+{'Batch management'|@translate}
+
+{$CATEGORIES_NAV}
+
+
+ {'global mode'|@translate}
+ | {'unit mode'|@translate}
+
+
+
+
+ {'Display options'|@translate}
+ {'elements per page'|@translate} :
+ 5
+ | 10
+ | 50
+ | {'all'|@translate}
+
+
+
+
+{if !empty($NAV_BAR) }
+{$NAV_BAR}
+{/if}
+
+{if !empty($elements) }
+
+{foreach from=$elements item=element}
+
+ {$element.LEGEND}
+
+
+
+
+
+
+{/foreach}
+
+
+
+
+
+{/if}
+
+
+
+
\ No newline at end of file
diff --git a/admin/template/wigo/admin/extend_for_templates.tpl b/admin/template/wigo/admin/extend_for_templates.tpl
new file mode 100644
index 000000000..2e9c4766b
--- /dev/null
+++ b/admin/template/wigo/admin/extend_for_templates.tpl
@@ -0,0 +1,34 @@
+{* $Id$ *}
+
{'extend_for_templates'|@translate}
+
+{if isset($extents)}
+{'Replacement of original templates'|@translate}
+
+
+
+ {'Replacers'|@translate}
+ {'Original templates'|@translate}
+ {'Optional URL keyword'|@translate}
+
+ {foreach from=$extents item=tpl name=extent_loop}
+
+
+
+ {$tpl.replacer}
+
+
+ {html_options name=original[] output=$tpl.original_tpl values=$tpl.original_tpl selected=$tpl.selected_tpl}
+
+
+ {html_options name=url[] output=$tpl.url_parameter values=$tpl.url_parameter selected=$tpl.selected_url}
+
+
+ {/foreach}
+
+ {if !is_adviser()}
+
+
+
+ {/if}
+
+{/if}
\ No newline at end of file
diff --git a/admin/template/wigo/admin/group_list.tpl b/admin/template/wigo/admin/group_list.tpl
new file mode 100644
index 000000000..a1d9f74f6
--- /dev/null
+++ b/admin/template/wigo/admin/group_list.tpl
@@ -0,0 +1,43 @@
+{* $Id$ *}
+
+
{'title_groups'|@translate}
+
+
+
+
+ {'Add group'|@translate}
+
+
+ {'Group name'|@translate}
+
+
+
+
+
+
+
+
+
+
+
+ {'Group name'|@translate}
+ {'Members'|@translate}
+ {'Actions'|@translate}
+
+ {if not empty($groups)}
+ {foreach from=$groups item=group name=group_loop}
+
+ {$group.NAME}{$group.IS_DEFAULT}
+ {$group.MEMBERS}
+
+
+
+
+
+
+
+
+
+ {/foreach}
+ {/if}
+
diff --git a/admin/template/wigo/admin/group_perm.tpl b/admin/template/wigo/admin/group_perm.tpl
new file mode 100644
index 000000000..1dded1291
--- /dev/null
+++ b/admin/template/wigo/admin/group_perm.tpl
@@ -0,0 +1,8 @@
+{* $Id *}
+{$TITLE}
+
+
+ {$DOUBLE_SELECT}
+
+
+{'Only private categories are listed'|@translate}
diff --git a/admin/template/wigo/admin/history.tpl b/admin/template/wigo/admin/history.tpl
new file mode 100644
index 000000000..f3c3575b6
--- /dev/null
+++ b/admin/template/wigo/admin/history.tpl
@@ -0,0 +1,135 @@
+{* $Id$ *}
+
+
{'History'|@translate} {$TABSHEET_TITLE}
+
+
+
+
+ {'Filter'|@translate}
+
+
+
+
+ {'Element type'|@translate}
+
+ {html_options values=$type_option_values output=$type_option_values|translate selected=$type_option_selected}
+
+
+
+
+ {'User'|@translate}
+
+ ------------
+ {html_options options=$user_options selected=$user_options_selected}
+
+
+
+
+ {'Image id'|@translate}
+
+
+
+
+ {'File name'|@translate}
+
+
+
+
+ {'Thumbnails'|@translate}
+
+ {html_options values=$display_thumbnail_values output=$display_thumbnail_values|translate selected=$display_thumbnail_selected}
+
+
+
+
+
+
+
+{if isset($search_summary)}
+
+ {'Summary'|@translate}
+
+
+ {$search_summary.NB_LINES}, {$search_summary.FILESIZE}
+
+ {$search_summary.USERS}
+
+ {$search_summary.MEMBERS}
+ {$search_summary.GUESTS}
+
+
+
+
+{/if}
+
+
+{if !empty($NAV_BAR)}
+
+ {$NAV_BAR}
+
+{/if}
+
+
+
+
+ {'Date'|@translate}
+ {'time'|@translate}
+ {'user'|@translate}
+ {'IP'|@translate}
+ {'image'|@translate}
+ {'Element type'|@translate}
+ {'section'|@translate}
+ {'category'|@translate}
+ {'tags'|@translate}
+
+{if !empty($search_results) }
+{foreach from=$search_results item=detail name=res_loop}
+
+ {$detail.DATE}
+ {$detail.TIME}
+ {$detail.USER}
+ {$detail.IP}
+ {$detail.IMAGE}
+ {$detail.TYPE}
+ {$detail.SECTION}
+ {$detail.CATEGORY}
+ {$detail.TAGS}
+
+{/foreach}
+{/if}
+
+
+
+{if !empty($NAV_BAR)}
+
+ {$NAV_BAR}
+
+{/if}
diff --git a/admin/template/wigo/admin/index.php b/admin/template/wigo/admin/index.php
new file mode 100644
index 000000000..c15b15795
--- /dev/null
+++ b/admin/template/wigo/admin/index.php
@@ -0,0 +1,30 @@
+
diff --git a/admin/template/wigo/admin/maintenance.tpl b/admin/template/wigo/admin/maintenance.tpl
new file mode 100644
index 000000000..b37ec864e
--- /dev/null
+++ b/admin/template/wigo/admin/maintenance.tpl
@@ -0,0 +1,22 @@
+{* $Id$ *}
+
+
{'Maintenance'|@translate}
+
+
+
+
+
+
+
diff --git a/admin/template/wigo/admin/menubar.tpl b/admin/template/wigo/admin/menubar.tpl
new file mode 100644
index 000000000..29f546e16
--- /dev/null
+++ b/admin/template/wigo/admin/menubar.tpl
@@ -0,0 +1,30 @@
+{* $Id$ *}
+
+
+
Menubar
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/admin/template/wigo/admin/notification_by_mail.tpl b/admin/template/wigo/admin/notification_by_mail.tpl
new file mode 100644
index 000000000..ef11e52d1
--- /dev/null
+++ b/admin/template/wigo/admin/notification_by_mail.tpl
@@ -0,0 +1,120 @@
+{* $Id$ *}
+
+
+
{'nbm_send_mail_to_users'|@translate} {$TABSHEET_TITLE}
+
+
+
+ {if isset($REPOST_SUBMIT_NAME)}
+
+
+
+
+
+ {/if}
+
+ {if isset($param)}
+
+ {'nbm_title_param'|@translate}
+
+
+
+
+
+
+
+ {/if}{* isset $param*}
+
+ {if isset($subscribe)}
+
+ {'nbm_title_subscribe'|@translate}
+ {'nbm_warning_subscribe_unsubscribe'|@translate}
+ {$DOUBLE_SELECT}
+
+ {/if}{* isset $subscribe*}
+
+ {if isset($send)}
+ {if empty($send.users)}
+ {'nbm_no_user_available_to_send_L1'|@translate}
+
+ {'nbm_no_user_available_to_send_L2'|@translate}
+ {'nbm_no_user_available_to_send_L3'|@translate}
+
+ {else}
+
+ {'nbm_title_send'|@translate}
+
+
+ {'Check all'|@translate}
+ / {'Uncheck all'|@translate}
+
+
+
+
+ {'nbm_send_options'|@translate}
+
+
+ {'nbm_send_complementary_mail_content'|@translate}
+ {$send.CUSTOMIZE_MAIL_CONTENT}
+
+
+
+
+
+
+
+ {/if}
+ {/if}{* isset $send*}
+
+
diff --git a/admin/template/wigo/admin/permalinks.tpl b/admin/template/wigo/admin/permalinks.tpl
new file mode 100644
index 000000000..2e28fe538
--- /dev/null
+++ b/admin/template/wigo/admin/permalinks.tpl
@@ -0,0 +1,67 @@
+{* $Id$ *}
+
+
{'Permalinks'|@translate}
+
+
+
+{'Add/delete a permalink'|@translate}
+ {'Category'|@translate}:
+
+ ------
+ {html_options options=$categories selected=$categories_selected}
+
+
+
+ {'Permalink'|@translate}:
+
+
+
+ {'Save to permalink history'|@translate}:
+
+
+
+
+
+
+
+
+
+{'Permalinks'|@translate}
+
+
+ Id {$SORT_ID}
+ {'Category'|@translate} {$SORT_NAME}
+ {'Permalink'|@translate} {$SORT_PERMALINK}
+
+{foreach from=$permalinks item=permalink name="permalink_loop"}
+
+ {$permalink.id}
+ {$permalink.name}
+ {$permalink.permalink}
+
+{/foreach}
+
+
+{'Permalink history'|@translate}
+
+
+ Id {$SORT_OLD_CAT_ID}
+ {'Category'|@translate}
+ {'Permalink'|@translate} {$SORT_OLD_PERMALINK}
+ Deleted on {$SORT_OLD_DATE_DELETED}
+ Last hit {$SORT_OLD_LAST_HIT}
+ Hit {$SORT_OLD_HIT}
+
+
+{foreach from=$deleted_permalinks item=permalink}
+
+ {$permalink.cat_id}
+ {$permalink.name}
+ {$permalink.permalink}
+ {$permalink.date_deleted}
+ {$permalink.last_hit}
+ {$permalink.hit}
+
+
+{/foreach}
+
diff --git a/admin/template/wigo/admin/picture_modify.tpl b/admin/template/wigo/admin/picture_modify.tpl
new file mode 100644
index 000000000..f6243acb9
--- /dev/null
+++ b/admin/template/wigo/admin/picture_modify.tpl
@@ -0,0 +1,190 @@
+{* $Id$ *}
+{'title_picmod'|@translate}
+
+
+
+
+ {if isset($U_JUMPTO) }
+
+ {/if}
+
+
+
+
+
+
+ {'Informations'|@translate}
+
+
+
+
+ {'Path'|@translate}
+ {$PATH}
+
+
+
+ {'Post date'|@translate}
+ {$REGISTRATION_DATE}
+
+
+
+ {'Dimensions'|@translate}
+ {$DIMENSIONS}
+
+
+
+ {'Filesize'|@translate}
+ {$FILESIZE}
+
+
+{if isset($HIGH_FILESIZE) }
+
+ {'High filesize'|@translate}
+ {$HIGH_FILESIZE}
+
+{/if}
+
+
+ {'Storage category'|@translate}
+ {$STORAGE_CATEGORY}
+
+
+ {if isset($related_categories) }
+
+ {'Linked categories'|@translate}
+
+
+ {foreach from=$related_categories item=name}
+ {$name}
+ {/foreach}
+
+
+
+ {/if}
+
+
+
+
+
+
+ {'Properties'|@translate}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {'Association to categories'|@translate}
+
+
+
+
+
+
+
+
+ {'Representation of categories'|@translate}
+
+
+
+
+
diff --git a/admin/template/wigo/admin/plugins_list.tpl b/admin/template/wigo/admin/plugins_list.tpl
new file mode 100644
index 000000000..99d3234c9
--- /dev/null
+++ b/admin/template/wigo/admin/plugins_list.tpl
@@ -0,0 +1,52 @@
+
+
+{'Sort order'|@translate} :
+
+ {html_options options=$order_options selected=$order_selected}
+
+
+
{'Plugins'|@translate}
+
+
+
+{if isset($plugins)}
+
+
+
+ {'Name'|@translate}
+ {'Version'|@translate}
+ {'Description'|@translate}
+ {'Actions'|@translate}
+
+
+{html_head} {*add the style to html head for strict standard compliance*}
+
+{/html_head}
+{foreach from=$plugins item=plugin name=plugins_loop}
+
+
+ {$plugin.NAME}
+
+ {$plugin.VERSION}
+ {$plugin.DESCRIPTION}
+
+ {foreach from=$plugin.actions item=action}
+ {$action.L_ACTION}
+ {/foreach}
+
+
+{/foreach}
+
+{/if}
diff --git a/admin/template/wigo/admin/plugins_new.tpl b/admin/template/wigo/admin/plugins_new.tpl
new file mode 100644
index 000000000..bfa9dde5c
--- /dev/null
+++ b/admin/template/wigo/admin/plugins_new.tpl
@@ -0,0 +1,36 @@
+
+
{'Plugins'|@translate}
+
+
+{'Sort order'|@translate} :
+
+ {html_options options=$order_options selected=$order_selected}
+
+
+{if isset($plugins)}
+
+
+{/if}
diff --git a/admin/template/wigo/admin/plugins_update.tpl b/admin/template/wigo/admin/plugins_update.tpl
new file mode 100644
index 000000000..77173f92e
--- /dev/null
+++ b/admin/template/wigo/admin/plugins_update.tpl
@@ -0,0 +1,70 @@
+
+
{'Plugins'|@translate}
+
+
+{if isset($plugins_not_uptodate)}
+
+{'plugins_need_update'|@translate}
+
+{/if}
+
+
+{if isset($plugins_uptodate)}
+
+{'plugins_dontneed_update'|@translate}
+
+
+
+ {'Name'|@translate}
+ {'Version'|@translate}
+
+
+{foreach from=$plugins_uptodate item=plugin name=plugins_loop}
+
+ {$plugin.NAME}
+ {$plugin.EXT_DESC}
+ {$plugin.VERSION}
+
+{/foreach}
+
+{/if}
+
+
+{if isset($plugins_cant_check)}
+
+{'plugins_cant_check'|@translate}
+
+
+
+ {'Name'|@translate}
+ {'Version'|@translate}
+
+
+{foreach from=$plugins_cant_check item=plugin name=plugins_loop}
+
+ {$plugin.NAME}
+ {$plugin.VERSION}
+
+{/foreach}
+
+{/if}
diff --git a/admin/template/wigo/admin/profile.tpl b/admin/template/wigo/admin/profile.tpl
new file mode 100644
index 000000000..f6326319c
--- /dev/null
+++ b/admin/template/wigo/admin/profile.tpl
@@ -0,0 +1,6 @@
+{* $Id$ *}
+
+
{'Profile'|@translate}
+
+
+{$PROFILE_CONTENT}
diff --git a/admin/template/wigo/admin/rating.tpl b/admin/template/wigo/admin/rating.tpl
new file mode 100644
index 000000000..aa91892dc
--- /dev/null
+++ b/admin/template/wigo/admin/rating.tpl
@@ -0,0 +1,64 @@
+{* $Id$ *}
+{'Rating'|@translate} [{$NB_ELEMENTS} {'elements'|@translate}]
+
+
+
+ {'Filter'|@translate}
+
+
+ {'Sort by'|@translate}
+
+ {html_options options=$order_by_options selected=$order_by_options_selected}
+
+
+
+
+ {'Users'|@translate}
+
+ {html_options options=$user_options selected=$user_options_selected}
+
+
+
+
+ {'Number of items'|@translate}
+
+
+
+
+
+
+
+
+{$NAVBAR}
+
+
+ {'File'|@translate}
+ {'Number of rates'|@translate}
+ {'Average rate'|@translate}
+ {'Controversy'|@translate}
+ {'Sum of rates'|@translate}
+ {'Rate'|@translate}
+ {'Username'|@translate}
+ {'Rate date'|@translate}
+
+
+{foreach from=$images item=image}
+
+
+ {$image.NB_RATES}/{$image.NB_RATES_TOTAL}
+ {$image.AVG_RATE}
+ {$image.STD_RATE}
+ {$image.SUM_RATE}
+
+{foreach from=$image.rates item=rate}
+
+ {$rate.RATE}
+ {$rate.USER}
+ {$rate.DATE}
+
+
+{/foreach} {*rates*}
+{/foreach} {*images*}
+
+
+{$NAVBAR}
diff --git a/admin/template/wigo/admin/site_manager.tpl b/admin/template/wigo/admin/site_manager.tpl
new file mode 100644
index 000000000..eec993b63
--- /dev/null
+++ b/admin/template/wigo/admin/site_manager.tpl
@@ -0,0 +1,70 @@
+{* $Id$ *}
+
+
{'Site manager'|@translate}
+
+
+{if not empty($remote_output)}
+
+
+ {foreach from=$remote_output item=remote_line}
+ {$remote_line.CONTENT}
+ {/foreach}
+
+
+{/if}
+
+{if isset($local_listing)}
+{'remote_site_local_found'|@translate} {$local_listing.URL}
+{if isset($local_listing.CREATE)}
+
+
+ {'remote_site_local_create'|@translate}:
+
+
+
+
+
+{/if}
+{if isset($local_listing.U_SYNCHRONIZE)}
+ {'site_synchronize'|@translate}
+
+{/if}
+{/if}
+
+{if not empty($sites)}
+
+{/if}
+
+
+
+ {'site_create'|@translate}
+
+
+
+
+
+
diff --git a/admin/template/wigo/admin/site_update.tpl b/admin/template/wigo/admin/site_update.tpl
new file mode 100644
index 000000000..ad4f99e0f
--- /dev/null
+++ b/admin/template/wigo/admin/site_update.tpl
@@ -0,0 +1,115 @@
+{* $Id$ *}
+
+
+
{'title_update'|@translate}: {$SITE_URL}
+
+
+{if isset($update_result)}
+{$L_RESULT_UPDATE}
+
+ {$update_result.NB_NEW_CATEGORIES} {'update_nb_new_categories'|@translate}
+ {$update_result.NB_NEW_ELEMENTS} {'update_nb_new_elements'|@translate}
+ {$update_result.NB_DEL_CATEGORIES} {'update_nb_del_categories'|@translate}
+ {$update_result.NB_DEL_ELEMENTS} {'update_nb_del_elements'|@translate}
+ {$update_result.NB_UPD_ELEMENTS} {'update_nb_upd_elements'|@translate}
+ {$update_result.NB_ERRORS} {'update_nb_errors'|@translate}
+
+{/if}
+
+{if isset($metadata_result)}
+{$L_RESULT_METADATA}
+
+ {$metadata_result.NB_ELEMENTS_DONE} {'update_nb_elements_metadata_sync'|@translate}
+ {$metadata_result.NB_ELEMENTS_CANDIDATES} {'update_nb_elements_metadata_available'|@translate}
+ {'update_used_metadata'|@translate} : {$METADATA_LIST}
+
+{/if}
+
+
+{if not empty($sync_errors)}
+{'update_error_list_title'|@translate}
+
+
+ {foreach from=$sync_errors item=error}
+ [{$error.ELEMENT}] {$error.LABEL}
+ {/foreach}
+
+
+{'update_errors_caption'|@translate}
+
+ {foreach from=$sync_error_captions item=caption}
+ {$caption.TYPE} : {$caption.LABEL}
+ {/foreach}
+
+{/if}
+
+{if not empty($sync_infos)}
+{'update_infos_title'|@translate}
+
+
+ {foreach from=$sync_infos item=info}
+ [{$info.ELEMENT}] {$info.LABEL}
+ {/foreach}
+
+
+{/if}
+
+{if isset($introduction)}
+{'update_default_title'|@translate}
+
+
+
+ {'update_sync_files'|@translate}
+
+
+
+
+ {'update_sync_metadata'|@translate}
+ {'synchronize metadata'|@translate} ({$METADATA_LIST})
+
+
+
+
+
+
+
+
+
+ {'update_cats_subset'|@translate}
+
+
+
+
+
+
+
+
+{/if}{*isset $introduction*}
+
+{'Site manager'|@translate}
diff --git a/admin/template/wigo/admin/stats.tpl b/admin/template/wigo/admin/stats.tpl
new file mode 100644
index 000000000..f7556bc2f
--- /dev/null
+++ b/admin/template/wigo/admin/stats.tpl
@@ -0,0 +1,26 @@
+{* $Id$ *}
+
+
+
{'History'|@translate} {$TABSHEET_TITLE}
+
+
+{$L_STAT_TITLE}
+
+
+
+ {$PERIOD_LABEL}
+ {'Pages seen'|@translate}
+
+
+
+{if not empty($statrows)}
+{foreach from=$statrows item=row}
+
+ {$row.VALUE}
+ {$row.PAGES}
+
+
+{/foreach}
+{/if}
+
+
diff --git a/admin/template/wigo/admin/tabsheet.tpl b/admin/template/wigo/admin/tabsheet.tpl
new file mode 100644
index 000000000..61c6f206a
--- /dev/null
+++ b/admin/template/wigo/admin/tabsheet.tpl
@@ -0,0 +1,10 @@
+{* $Id$ *}
+{if isset($tabsheet) and count($tabsheet)}
+
+{foreach from=$tabsheet key=name item=sheet}
+
+ {$sheet.caption}
+
+{/foreach}
+
+{/if}
\ No newline at end of file
diff --git a/admin/template/wigo/admin/tags.tpl b/admin/template/wigo/admin/tags.tpl
new file mode 100644
index 000000000..b2ce57341
--- /dev/null
+++ b/admin/template/wigo/admin/tags.tpl
@@ -0,0 +1,54 @@
+{* $Id$ *}
+
+
{'Manage tags'|@translate}
+
+
+
+
+ {if isset($EDIT_TAGS_LIST)}
+
+ {'Edit tags'|@translate}
+
+
+
+
+
+
+
+
+ {/if}
+
+
+ {'Add a tag'|@translate}
+
+
+ {'New tag'|@translate}
+
+
+
+
+
+
+
+ {'Tag selection'|@translate}
+
+ {$TAG_SELECTION}
+
+
+
+
+
+
+
+
diff --git a/admin/template/wigo/admin/thumbnail.tpl b/admin/template/wigo/admin/thumbnail.tpl
new file mode 100644
index 000000000..fff7b3dff
--- /dev/null
+++ b/admin/template/wigo/admin/thumbnail.tpl
@@ -0,0 +1,120 @@
+{* $Id$ *}
+
+
{'title_thumbnails'|@translate}
+
+
+{if isset($results) }
+{'tn_results_title'|@translate}
+
+
+ {'path'|@translate}
+ {'thumbnail'|@translate}
+ {'tn_results_gen_time'|@translate}
+ {'filesize'|@translate}
+ {'Dimensions'|@translate}
+
+ {foreach from=$results.elements item=elt}
+
+ {$elt.PATH}
+
+ {$elt.GEN_TIME}
+ {$elt.TN_FILESIZE_IMG}
+ {$elt.TN_WIDTH_IMG} x {$elt.TN_HEIGHT_IMG}
+
+ {/foreach}
+
+
+
+
+ {'tn_stats'|@translate}
+
+
+ {'tn_stats_nb'|@translate}
+ {$results.TN_NB}
+
+
+ {'tn_stats_total'|@translate}
+ {$results.TN_TOTAL}
+
+
+ {'tn_stats_max'|@translate}
+ {$results.TN_MAX}
+
+
+ {'tn_stats_min'|@translate}
+ {$results.TN_MIN}
+
+
+ {'tn_stats_mean'|@translate}
+ {$results.TN_AVERAGE}
+
+
+
+{/if}
+
+{if isset($params) }
+
+
+
+ {'tn_params_title'|@translate}
+
+
+
+
+
+
+{/if} {*isset params*}
+
+{if !empty($remainings) }
+{$TOTAL_NB_REMAINING} {'tn_alone_title'|@translate}
+
+
+
+ {'path'|@translate}
+ {'filesize'|@translate}
+ {'Dimensions'|@translate}
+
+ {foreach from=$remainings item=elt name=remain_loop}
+
+ {$smarty.foreach.remain_loop.iteration}
+ {$elt.PATH}
+ {$elt.FILESIZE_IMG}
+ {$elt.WIDTH_IMG} x {$elt.HEIGHT_IMG}
+
+ {/foreach}
+
+{else}
+ [ {'tn_no_missing'|@translate} ]
+{/if}
diff --git a/admin/template/wigo/admin/upload.tpl b/admin/template/wigo/admin/upload.tpl
new file mode 100644
index 000000000..986a2cf93
--- /dev/null
+++ b/admin/template/wigo/admin/upload.tpl
@@ -0,0 +1,52 @@
+{* $Id$ *}
+
+
{'waiting'|@translate} {$TABSHEET_TITLE}
+
+
+{'title_upload'|@translate}
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/admin/template/wigo/admin/user_list.tpl b/admin/template/wigo/admin/user_list.tpl
new file mode 100644
index 000000000..0f6c1ab95
--- /dev/null
+++ b/admin/template/wigo/admin/user_list.tpl
@@ -0,0 +1,327 @@
+{* $Id$ *}
+
+
{'title_liste_users'|@translate}
+
+
+
+
+ {'Add a user'|@translate}
+ {'Username'|@translate}
+ {'Password'|@translate}
+ {'Email address'|@translate}
+
+
+
+
+
+
+ {'Filter'|@translate}
+
+
+ {'Username'|@translate}
+
+
+ {'status'|@translate}
+ {html_options name=status options=$status_options selected=$status_selected}
+
+
+
+ {'group'|@translate}
+ {html_options name=group options=$group_options selected=$group_selected}
+
+
+
+ {'Sort by'|@translate}
+ {html_options name=order_by options=$order_options selected=$order_selected}
+
+
+
+ {'Sort order'|@translate}
+ {html_options name=direction options=$direction_options selected=$direction_selected}
+
+
+
+
+
+
+
+
+
+
+
+
+{$NAVBAR}
+
+{* delete the selected users ? *}
+
+ {'Deletions'|@translate}
+ {'confirm'|@translate}
+
+
+
+
+ {'Status'|@translate}
+
+
+
+
+{* form to set properties for many users at once *}
+
+ {'Groups'|@translate}
+
+
+
+
+ {'associate to group'|@translate}
+
+ {html_options name=associate options=$association_options selected=$associate_selected}
+
+
+
+
+ {'dissociate from group'|@translate}
+
+ {html_options name=dissociate options=$association_options selected=$dissociate_selected}
+
+
+
+
+
+
+
+{* Properties *}
+
+ {'properties'|@translate}
+
+
+
+
+
+{* preference *}
+
+ {'Preferences'|@translate}
+
+
+
+
+
+
+ {'target'|@translate}
+ {'all'|@translate}
+ {'selection'|@translate}
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/admin/template/wigo/admin/user_perm.tpl b/admin/template/wigo/admin/user_perm.tpl
new file mode 100644
index 000000000..3183c82e7
--- /dev/null
+++ b/admin/template/wigo/admin/user_perm.tpl
@@ -0,0 +1,23 @@
+{* $Id$ *}
+{$TITLE}
+
+{if isset($categories_because_of_groups) }
+
+ {'Categories authorized thanks to group associations'|@translate}
+
+
+ {foreach from=$categories_because_of_groups item=cat }
+ {$cat}
+ {/foreach}
+
+
+{/if}
+
+
+
+ {'Other private categories'|@translate}
+
+
+ {$DOUBLE_SELECT}
+
+
diff --git a/admin/template/wigo/content.css b/admin/template/wigo/content.css
new file mode 100644
index 000000000..d9bfedb3a
--- /dev/null
+++ b/admin/template/wigo/content.css
@@ -0,0 +1,27 @@
+/* $Id$ */
+/* .Content is on every pages so it is common and it will no longer be a specific css */
+.content { margin-right: 1em; margin-bottom: 1em; }
+.content h2 { margin-bottom: 3px;}
+.content .navigationBar { margin: 10px 0; text-align: center; }
+.content form { text-align: left; }
+.content dt { margin-bottom: 5px; font-style: italic;
+ font-size: 110%; }
+.content ul.categoryActions a img, ul.categoryActions a {
+border:0; margin-bottom:-5px; }
+ul.categoryActions { margin: 0 2px; width: auto; list-style-position:outside;
+ padding: 0; text-indent: 0; list-style: none; text-align: center; }
+.content div.titrePage ul.categoryActions { float: right; }
+.content div.titrePage { padding: 0 0 3px; }
+.content ul.categoryActions li { display: inline; }
+.content div.comment { margin: 0 0 0.5em 0; padding: 0;
+ overflow: hidden; width: 100%; /* don't ask why. It's a very usefull trick */ }
+.content div.comment a.illustration {
+ display: block; float: left; margin: 0.5em 0 0 0.5em; }
+.content div.comment p.commentHeader {
+ text-align: right; margin: 0.5em 0.5em 0 0; }
+.content div.comment ul.actions { text-align: center; margin: 0.2em; }
+.content div.comment blockquote {
+ margin-right: 0.5em; overflow: visible; /*avoid a very strange margin behaviour (all browsers) */ }
+
+ /* not used but should be */
+body#thePopuphelpPage .content { margin: 1em; }
\ No newline at end of file
diff --git a/admin/template/wigo/default-colors.css b/admin/template/wigo/default-colors.css
new file mode 100644
index 000000000..277454a11
--- /dev/null
+++ b/admin/template/wigo/default-colors.css
@@ -0,0 +1,97 @@
+/* $Id$ */
+
+/* others */
+
+#imageToolBar * {
+ background: inherit;
+}
+
+/* So that non-links are slightly greyed out */
+.content .navigationBar {
+ color: #b0b0b0;
+}
+
+/* Tables & forms */
+
+INPUT.text, INPUT.password, INPUT.button,
+INPUT.submit, INPUT.reset, INPUT.file,
+SELECT, TEXTAREA {
+ color:black;
+ background-color: #d3d3d3; /* lightgrey */
+}
+
+INPUT:focus, SELECT:focus, TEXTAREA:focus, INPUT.focus, FORM .focus {
+ background-color: #f5f5f5; /* whitesmoke */
+}
+
+/* some theme set a border on INPUT which is not pretty for radio/checkbox */
+INPUT[type="radio"], INPUT[type="checkbox"] {
+ border: none; /* <= Opera needs this */
+}
+
+INPUT.radio, INPUT.checkbox {
+ border: none; /* <= IE6 needs this */
+}
+
+/* rate buttons displayed like links */
+INPUT.rateButton, INPUT.rateButtonSelected, INPUT.rateButtonStarFull, INPUT.rateButtonStarEmpty {
+ color:inherit;
+ background-color:transparent; /* Konqueror doesn't accept transparent here */
+}
+
+.errors { /* Errors display */
+ color: red;
+ background-color: #ffe1e1;
+ font-weight: bold;
+ text-align: left;
+ margin: 5px;
+ border: 1px solid red;
+ background-image: url(icon/admin/errors.png);
+ background-repeat: no-repeat;
+ background-position: top right;
+ padding: 10px 50px 10px 10px;
+}
+
+/**
+ * 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: 5px;
+ 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;
+}
+
+/**
+ * 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;
+ padding: 5px 00px 0px 0px;
+}
+
+LEGEND {
+ font-style: italic;
+}
\ No newline at end of file
diff --git a/admin/template/wigo/default-layout.css b/admin/template/wigo/default-layout.css
new file mode 100644
index 000000000..ac2388bdb
--- /dev/null
+++ b/admin/template/wigo/default-layout.css
@@ -0,0 +1,533 @@
+/* $Id$ */
+/* $Id: */
+BODY #theHeader P { display: none; }
+
+/* History tables */
+TABLE.table2 {
+ border: 1px solid black;
+ margin: 1em auto;
+ padding: 0;
+}
+
+TABLE.table2 TD {
+ padding: 0 20px;
+}
+
+TABLE.table2 TR {
+ text-align: left;
+}
+
+table.table2 thead td { padding:7px 20px 3px 20px; }
+table.table2 tr.throw { text-align: center; }
+table.table2 { margin:0pt auto; }
+.sort { display:block; padding:8px 5px 0px 1px; }
+
+
+.hour {
+ white-space: pre;
+}
+
+.number {
+ text-align: right;
+}
+
+TABLE#dailyStats {
+ width: 60%;
+}
+
+TABLE#detailedStats {
+ width: 99%;
+}
+
+/* categoryOrdering */
+SELECT.categoryList {
+ width: 100%;
+}
+
+FORM#categoryOrdering {
+ padding-left: 1em; /* same as FIELDSET margin (there is no fieldset in this form) */
+ padding-right: 1em; /* same as FIELDSET margin (there is no fieldset in this form) */
+}
+FORM#categoryOrdering p {
+ text-align: left;
+ margin-top: 1em;
+ margin-bottom: 1em;
+}
+UL.categoryUl {
+ list-style: none;
+ padding: 0;
+ margin: 0;
+}
+
+LI.categoryLi {
+ border: 1px solid gray;
+ padding: 0px 5px;
+ margin-bottom: 5px;
+}
+
+FORM#categoryOrdering UL.categoryActions {
+ float: right;
+ margin-top: 5px;
+}
+/* */
+
+FORM#catModify TABLE { width: auto; }
+
+FIELDSET.elementEdit A {
+ display: block;
+ float: right;
+}
+
+TABLE.doubleSelect {
+ text-align: center;
+ margin: 0 auto;
+ width: 100%;
+}
+
+TABLE.doubleSelect TD {
+ padding: 0 5px;
+ width: 50%;
+}
+
+TABLE.doubleSelect SELECT.categoryList {
+ width: 100%;
+}
+
+FORM#categoryPermissions LI {
+ display:inline;
+ white-space: nowrap;
+}
+
+FIELDSET#mainConfCheck SPAN.property,
+FIELDSET#historyConf SPAN.property,
+FIELDSET#commentsConf SPAN.property,
+FIELDSET#uploadConf SPAN.property {
+ float: right;
+ text-align: left;
+}
+FIELDSET#mainConfCheck INPUT,
+FIELDSET#historyConf INPUT,
+FIELDSET#commentsConf INPUT,
+FIELDSET#uploadConf INPUT {
+ float: none;
+}
+
+FIELDSET#mainConf SPAN.property {
+ width: 25%;
+}
+FIELDSET#mainConf TEXTAREA.description {
+ width: 70%;
+}
+
+FIELDSET#mainConfCheck SPAN.property,
+FIELDSET#historyConf SPAN.property {
+ width: 90%;
+}
+FIELDSET#mainConfCheck INPUT,
+FIELDSET#historyConf INPUT,
+FIELDSET#commentsConf INPUT,
+FIELDSET#uploadConf SELECT,
+FIELDSET#uploadConf INPUT {
+ margin-left: 5%;
+}
+
+FIELDSET#commentsConf SPAN.property {
+ width: 85%;
+}
+
+FIELDSET#uploadConf SPAN.property {
+ width: 73%;
+}
+
+.statBar {
+ height: 10px;
+ background-color: #66f;
+ border: 1px solid black;
+}
+
+/* Tabsheet */ /*
+.tabsheet {
+ list-style: none;
+ white-space: nowrap;
+ text-decoration: none;
+ border-bottom: 1px solid #fff;
+ margin-left: 5px; margin-right: 5px;
+ padding: 3px 5px;
+}
+
+.tabsheet LI {
+ display: inline;
+ margin: 0px 6px;
+ font-size: 120%;
+ font-weight: normal;
+ border: 1px solid #fff;
+ border-bottom: none;
+ padding: 3px 2em;
+}
+
+.tabsheet LI.selected_tab {
+ font-weight: bold;
+ position: relative;
+ top: 1px;
+ padding-top: 4px;
+} */
+
+.over{
+position: relative;
+z-index: 0;
+}
+
+.over:hover{
+background-color: transparent;
+z-index: 50;
+}
+
+.over SPAN{ /*CSS for enlarged image*/
+position: absolute;
+background-color: #eee;
+padding: 5px;
+left: -1000px;
+border: 1px solid #69c;
+visibility: hidden;
+color: black;
+text-decoration: none;
+}
+
+.over SPAN IMG{ /*CSS for enlarged image*/
+border-width: 0;
+padding: 2px;
+}
+
+.over:hover SPAN{ /*CSS for enlarged image on hover*/
+visibility: visible;
+top: 0;
+left: 60px; /*position where enlarged image should offset horizontally */
+}
+
+
+/* Tooltips*/
+.tooltip {
+ position: relative;
+}
+
+.tooltip SPAN {
+ display: none;
+}
+
+.tooltip:hover {
+ cursor: pointer;
+ z-index: 500;
+}
+
+.tooltip:hover SPAN {
+ display: inline;
+ position: absolute;
+ top: 30px;
+ left: -50px;
+ width: 400px;
+
+ font-size: 11px;
+ text-decoration: none;
+ text-align: justify;
+ background-color: #FFFFCC;
+ color: #444444;
+
+ padding: 10px;
+ border: 1px solid Black;
+}
+
+BODY {
+ margin: 5px;
+ padding: 0;
+ font-size: 0.8em;
+ font-family: Univers, Helvetica, Optima, "Bitstream Vera Sans", sans-serif;
+ text-align: center; /* be nice to IE5 */
+}
+
+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 #005e89;
+}
+A:hover {
+ border-bottom: 1px solid #858460;
+}
+A.button, A.button:hover {
+ border: 0;
+}
+IMG {
+ border: 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, OL { 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: 12em;
+ 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 {
+ margin-bottom: 0.5em;
+}
+
+/* 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 LI {
+ display: inline;
+ 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;
+}
+
+BODY#thePopuphelpPage .content P {
+ text-align: justify;
+ padding: 0.5em;
+}
+
+BODY#thePopuphelpPage .content OL LI,
+BODY#thePopuphelpPage .content UL LI
+{
+ margin-bottom: 0.5em;
+}
+
+
+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;
+ color: #555;
+ font-style: normal;
+}
+
+TABLE.tagLetterContent {
+ width:100%;
+ font-size:80%;
+ border-collapse : collapse;
diff --git a/admin/template/wigo/fix-ie5-ie6.css b/admin/template/wigo/fix-ie5-ie6.css
new file mode 100644
index 000000000..0ff151542
--- /dev/null
+++ b/admin/template/wigo/fix-ie5-ie6.css
@@ -0,0 +1,37 @@
+/* $Id$ */
+/* Issues in IE from 5 to 6 only not to be used with IE7 */
+
+@import "thumbnails-fix-ie5-ie6.css";
+
+/* to avoid vanishing objects in IE6 */
+H1, #theHeader {
+ width: 100%; /* <- useless but seems to make IE6 happy */
+}
+.content {
+ height: 1em; /* for IE6 it's like min-height */
+}
+
+/* fix quickconnect layout */
+FORM#quickconnect FIELDSET {
+ width: 99%; /* correct an ugly 1 or 2 px misalignement with IE */
+}
+
+/* fix IE with another layout for thumbnails */
+.content UL.thumbnails SPAN.wrap2 {
+ display: block;
+ position: relative;
+ text-align: left;
+}
+
+.content UL.thumbnails IMG.thumbnail {
+ position: relative;
+ top: -50%; /* Is this following hacking technic required ? */
+ /*\*//*/
+ margin-top: -40%;
+ /**/
+}
+.content UL.thumbnails INPUT {
+ position: absolute;
+ left: 2px;
+ top: 2px; /* same as other browsers but not so pretty */
+}
diff --git a/admin/template/wigo/footer.tpl b/admin/template/wigo/footer.tpl
new file mode 100644
index 000000000..0ae5dde2c
--- /dev/null
+++ b/admin/template/wigo/footer.tpl
@@ -0,0 +1,42 @@
+{* $Id$ *}
+{*
+
+
+ Warning : This is the admin pages footer only
+ don't be confusing with the public page footer
+
+*}
+
+
+ {if isset($debug.TIME) }
+ {'generation_time'|@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}
+
+ Piwigo
+ {$VERSION}
+ {if isset($CONTACT_MAIL)}
+ - {'send_mail'|@translate}
+
{'Webmaster'|@translate}
+ {/if}
+
+
+{if isset($footer_elements)}
+{foreach from=$footer_elements item=v}
+{$v}
+{/foreach}
+{/if}
+{if isset($debug.QUERIES_LIST)}
+
+{$debug.QUERIES_LIST}
+
+{/if}
+
+