diff options
Diffstat (limited to 'themes/elegant')
65 files changed, 2414 insertions, 271 deletions
diff --git a/themes/elegant/admin/admin.inc.php b/themes/elegant/admin/admin.inc.php new file mode 100644 index 000000000..bbb03c1c7 --- /dev/null +++ b/themes/elegant/admin/admin.inc.php @@ -0,0 +1,30 @@ +<?php + +// Need upgrade? +global $conf; +include(PHPWG_THEMES_PATH.'elegant/admin/upgrade.inc.php'); + +load_language('theme.lang', PHPWG_THEMES_PATH.'elegant/'); + +$config_send= array(); + +if(isset($_POST['submit_elegant'])) +{ + $config_send['p_main_menu']=(isset($_POST['p_main_menu']) and !empty($_POST['p_main_menu'])) ? $_POST['p_main_menu'] : 'on'; + $config_send['p_pict_descr']=(isset($_POST['p_pict_descr']) and !empty($_POST['p_pict_descr'])) ? $_POST['p_pict_descr'] : 'on'; + $config_send['p_pict_comment']=(isset($_POST['p_pict_comment']) and !empty($_POST['p_pict_comment'])) ? $_POST['p_pict_comment'] : 'off'; + + $conf['elegant'] = serialize($config_send); + conf_update_param('elegant', pwg_db_real_escape_string($conf['elegant'])); + + array_push($page['infos'], l10n('Information data registered in database')); +} + +$template->set_filenames(array( + 'theme_admin_content' => dirname(__FILE__) . '/admin.tpl')); + +$template->assign('options', unserialize($conf['elegant'])); + +$template->assign_var_from_handle('ADMIN_CONTENT', 'theme_admin_content'); + +?>
\ No newline at end of file diff --git a/themes/elegant/admin/admin.tpl b/themes/elegant/admin/admin.tpl new file mode 100644 index 000000000..2cbad5e21 --- /dev/null +++ b/themes/elegant/admin/admin.tpl @@ -0,0 +1,44 @@ +{combine_css path="themes/default/js/ui/theme/jquery.ui.button.css"} +{combine_css path="themes/elegant/admin/jquery.ui.button.css"} +{footer_script require='jquery.ui.button'} +{literal} +jQuery(document).ready(function(){ + jQuery( ".radio" ).buttonset(); +}); +{/literal} +{/footer_script} + +<div class="titrePage"> + <h2>{'Elegant, Configuration Page'|@translate}</h2> +</div> +<form method="post" class="properties" action="" ENCTYPE="multipart/form-data" name="form" class="properties"> +<div id="configContent"> + <fieldset> + <legend>{'Panels options'|@translate}</legend> + <p>{'Choose what should be the default state for each panel, or disable the animation:'|@translate}</p> + <ul> + <li class="radio" > + <label for="p_main_menu"><span class="property">{'Main Menu Panel'|@translate}</span> </label> + <input type="radio" id="p_main_menu_on" name="p_main_menu" value="on" {if $options.p_main_menu=="on"}checked="checked"{/if}><label for="p_main_menu_on">{'Displayed'|@translate}</label> + <input type="radio" id="p_main_menu_off" name="p_main_menu" value="off" {if $options.p_main_menu=="off"}checked="checked"{/if}><label for="p_main_menu_off">{'Hidden'|@translate}</label> + <input type="radio" id="p_main_menu_disabled" name="p_main_menu" value="disabled" {if $options.p_main_menu=="disabled"}checked="checked"{/if}><label for="p_main_menu_disabled">{'Disable the animation'|@translate}</label> + </li> + <li class="radio" > + <label for="p_pict_descr"><span class="property">{'Photo Description Panel'|@translate}</span> </label> + <input type="radio" id="p_pict_descr_on" name="p_pict_descr" value="on" {if $options.p_pict_descr=="on"}checked="checked"{/if}><label for="p_pict_descr_on">{'Displayed'|@translate}</label> + <input type="radio" id="p_pict_descr_off" name="p_pict_descr" value="off" {if $options.p_pict_descr=="off"}checked="checked"{/if}><label for="p_pict_descr_off">{'Hidden'|@translate}</label> + <input type="radio" id="p_pict_descr_disabled" name="p_pict_descr" value="disabled" {if $options.p_pict_descr=="disabled"}checked="checked"{/if}><label for="p_pict_descr_disabled">{'Disable the animation'|@translate}</label> + </li> + <li class="radio" > + <label for="p_pict_comment"><span class="property">{'Comments Panel'|@translate}</span> </label> + <input type="radio" id="p_pict_comment_on" name="p_pict_comment" value="on" {if $options.p_pict_comment=="on"}checked="checked"{/if}><label for="p_pict_comment_on">{'Displayed'|@translate}</label> + <input type="radio" id="p_pict_comment_off" name="p_pict_comment" value="off" {if $options.p_pict_comment=="off"}checked="checked"{/if}><label for="p_pict_comment_off">{'Hidden'|@translate}</label> + <input type="radio" id="p_pict_comment_disabled" name="p_pict_comment" value="disabled" {if $options.p_pict_comment=="disabled"}checked="checked"{/if}><label for="p_pict_comment_disabled">{'Disable the animation'|@translate}</label> + </li> + </ul> + </fieldset> +</div> +<p> + <input class="submit" type="submit" value="{'Submit'|@translate}" name="submit_elegant" /> +</p> +</form> diff --git a/themes/elegant/admin/index.php b/themes/elegant/admin/index.php new file mode 100644 index 000000000..e3365959c --- /dev/null +++ b/themes/elegant/admin/index.php @@ -0,0 +1,30 @@ +<?php
+// +-----------------------------------------------------------------------+
+// | Piwigo - a PHP based photo gallery |
+// +-----------------------------------------------------------------------+
+// | Copyright(C) 2008-2014 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();
+?>
diff --git a/themes/elegant/admin/jquery.ui.button.css b/themes/elegant/admin/jquery.ui.button.css new file mode 100644 index 000000000..4bc0491e3 --- /dev/null +++ b/themes/elegant/admin/jquery.ui.button.css @@ -0,0 +1,571 @@ +/*! jQuery UI - v1.10.3 - 2013-06-16
+* http://jqueryui.com
+* Includes: jquery.ui.core.css, jquery.ui.button.css
+* To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Verdana%2CArial%2Csans-serif&fwDefault=normal&fsDefault=1.1em&cornerRadius=4px&bgColorHeader=cccccc&bgTextureHeader=highlight_soft&bgImgOpacityHeader=75&borderColorHeader=aaaaaa&fcHeader=222222&iconColorHeader=222222&bgColorContent=ffffff&bgTextureContent=flat&bgImgOpacityContent=75&borderColorContent=aaaaaa&fcContent=222222&iconColorContent=222222&bgColorDefault=e6e6e6&bgTextureDefault=glass&bgImgOpacityDefault=75&borderColorDefault=d3d3d3&fcDefault=555555&iconColorDefault=888888&bgColorHover=dadada&bgTextureHover=glass&bgImgOpacityHover=75&borderColorHover=999999&fcHover=212121&iconColorHover=454545&bgColorActive=ffffff&bgTextureActive=glass&bgImgOpacityActive=65&borderColorActive=aaaaaa&fcActive=212121&iconColorActive=454545&bgColorHighlight=fbf9ee&bgTextureHighlight=glass&bgImgOpacityHighlight=55&borderColorHighlight=fcefa1&fcHighlight=363636&iconColorHighlight=2e83ff&bgColorError=fef1ec&bgTextureError=glass&bgImgOpacityError=95&borderColorError=cd0a0a&fcError=cd0a0a&iconColorError=cd0a0a&bgColorOverlay=aaaaaa&bgTextureOverlay=flat&bgImgOpacityOverlay=0&opacityOverlay=30&bgColorShadow=aaaaaa&bgTextureShadow=flat&bgImgOpacityShadow=0&opacityShadow=30&thicknessShadow=8px&offsetTopShadow=-8px&offsetLeftShadow=-8px&cornerRadiusShadow=8px
+* Copyright 2013 jQuery Foundation and other contributors Licensed MIT */
+
+/* Layout helpers
+----------------------------------*/
+#content .ui-helper-hidden {
+ display: none;
+}
+#content .ui-helper-hidden-accessible {
+ border: 0;
+ clip: rect(0 0 0 0);
+ height: 1px;
+ margin: -1px;
+ overflow: hidden;
+ padding: 0;
+ position: absolute;
+ width: 1px;
+}
+#content .ui-helper-reset {
+ margin: 0;
+ padding: 0;
+ border: 0;
+ outline: 0;
+ line-height: 1.3;
+ text-decoration: none;
+ font-size: 100%;
+ list-style: none;
+}
+#content .ui-helper-clearfix:before,
+#content .ui-helper-clearfix:after {
+ content: "";
+ display: table;
+ border-collapse: collapse;
+}
+#content .ui-helper-clearfix:after {
+ clear: both;
+}
+#content .ui-helper-clearfix {
+ min-height: 0; /* support: IE7 */
+}
+#content .ui-helper-zfix {
+ width: 100%;
+ height: 100%;
+ top: 0;
+ left: 0;
+ position: absolute;
+ opacity: 0;
+ filter:Alpha(Opacity=0);
+}
+
+#content .ui-front {
+ z-index: 100;
+}
+
+
+/* Interaction Cues
+----------------------------------*/
+#content .ui-state-disabled {
+ cursor: default !important;
+}
+
+
+/* Icons
+----------------------------------*/
+
+/* states and images */
+#content .ui-icon {
+ display: block;
+ text-indent: -99999px;
+ overflow: hidden;
+ background-repeat: no-repeat;
+}
+
+
+/* Misc visuals
+----------------------------------*/
+
+/* Overlays */
+#content .ui-widget-overlay {
+ position: fixed;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%;
+}
+#content .ui-button {
+ display: inline-block;
+ position: relative;
+ padding: 0;
+ line-height: normal;
+ margin-right: .1em;
+ cursor: pointer;
+ vertical-align: middle;
+ text-align: center;
+ overflow: visible; /* removes extra width in IE */
+}
+#content .ui-button,
+#content .ui-button:link,
+#content .ui-button:visited,
+#content .ui-button:hover,
+#content .ui-button:active {
+ text-decoration: none;
+}
+/* to make room for the icon, a width needs to be set here */
+#content .ui-button-icon-only {
+ width: 2.2em;
+}
+/* button elements seem to need a little more width */
+#content button.ui-button-icon-only {
+ width: 2.4em;
+}
+#content .ui-button-icons-only {
+ width: 3.4em;
+}
+#content button.ui-button-icons-only {
+ width: 3.7em;
+}
+
+/* button text element */
+#content .ui-button .ui-button-text {
+ display: block;
+ line-height: normal;
+}
+#content .ui-button-text-only .ui-button-text {
+ padding: .4em 1em;
+}
+#content .ui-button-icon-only .ui-button-text,
+#content .ui-button-icons-only .ui-button-text {
+ padding: .4em;
+ text-indent: -9999999px;
+}
+#content .ui-button-text-icon-primary .ui-button-text,
+#content .ui-button-text-icons .ui-button-text {
+ padding: .4em 1em .4em 2.1em;
+}
+#content .ui-button-text-icon-secondary .ui-button-text,
+#content .ui-button-text-icons .ui-button-text {
+ padding: .4em 2.1em .4em 1em;
+}
+#content .ui-button-text-icons .ui-button-text {
+ padding-left: 2.1em;
+ padding-right: 2.1em;
+}
+/* no icon support for input elements, provide padding by default */
+#content input.ui-button {
+ padding: .4em 1em;
+}
+
+/* button icon element(s) */
+#content .ui-button-icon-only .ui-icon,
+#content .ui-button-text-icon-primary .ui-icon,
+#content .ui-button-text-icon-secondary .ui-icon,
+#content .ui-button-text-icons .ui-icon,
+#content .ui-button-icons-only .ui-icon {
+ position: absolute;
+ top: 50%;
+ margin-top: -8px;
+}
+#content .ui-button-icon-only .ui-icon {
+ left: 50%;
+ margin-left: -8px;
+}
+#content .ui-button-text-icon-primary .ui-button-icon-primary,
+#content .ui-button-text-icons .ui-button-icon-primary,
+#content .ui-button-icons-only .ui-button-icon-primary {
+ left: .5em;
+}
+#content .ui-button-text-icon-secondary .ui-button-icon-secondary,
+#content .ui-button-text-icons .ui-button-icon-secondary,
+#content .ui-button-icons-only .ui-button-icon-secondary {
+ right: .5em;
+}
+
+/* button sets */
+#content .ui-buttonset {
+ margin-right: 7px;
+}
+#content .ui-buttonset .ui-button {
+ margin-left: 0;
+ margin-right: -.3em;
+}
+
+/* workarounds */
+/* reset extra padding in Firefox, see h5bp.com/l */
+#content input.ui-button::-moz-focus-inner,
+#content button.ui-button::-moz-focus-inner {
+ border: 0;
+ padding: 0;
+}
+
+/* Component containers
+----------------------------------*/
+#content .ui-widget-content {
+ border: 1px solid #aaaaaa;
+ background: #ffffff url(images/ui-bg_flat_75_ffffff_40x100.png) 50% 50% repeat-x;
+ color: #222222;
+}
+#content .ui-widget-content a {
+ color: #222222;
+}
+#content .ui-widget-header {
+ border: 1px solid #aaaaaa;
+ background: #cccccc url(images/ui-bg_highlight-soft_75_cccccc_1x100.png) 50% 50% repeat-x;
+ color: #222222;
+ font-weight: bold;
+}
+#content .ui-widget-header a {
+ color: #222222;
+}
+
+/* Interaction states
+----------------------------------*/
+#content .ui-state-default,
+#content .ui-widget-content .ui-state-default,
+#content .ui-widget-header .ui-state-default {
+ border: 1px solid #d3d3d3;
+ background: #e6e6e6 url(images/ui-bg_glass_75_e6e6e6_1x400.png) 50% 50% repeat-x;
+ font-weight: normal;
+ color: #555555;
+}
+#content .ui-state-default a,
+#content .ui-state-default a:link,
+#content .ui-state-default a:visited {
+ color: #555555;
+ text-decoration: none;
+}
+#content .ui-state-hover,
+#content .ui-widget-content .ui-state-hover,
+#content .ui-widget-header .ui-state-hover,
+#content .ui-state-focus,
+#content .ui-widget-content .ui-state-focus,
+#content .ui-widget-header .ui-state-focus {
+ border: 1px solid #999999;
+ background: #dadada url(images/ui-bg_glass_75_dadada_1x400.png) 50% 50% repeat-x;
+ font-weight: normal;
+ color: #212121;
+}
+#content .ui-state-hover a,
+#content .ui-state-hover a:hover,
+#content .ui-state-hover a:link,
+#content .ui-state-hover a:visited {
+ color: #212121;
+ text-decoration: none;
+}
+#content .ui-state-active,
+#content .ui-widget-content .ui-state-active,
+#content .ui-widget-header .ui-state-active {
+ border: 1px solid #aaaaaa;
+ background: #ffffff url(images/ui-bg_glass_65_ffffff_1x400.png) 50% 50% repeat-x;
+ font-weight: normal;
+ color: #212121;
+}
+#content .ui-state-active a,
+#content .ui-state-active a:link,
+#content .ui-state-active a:visited {
+ color: #212121;
+ text-decoration: none;
+}
+
+/* Interaction Cues
+----------------------------------*/
+#content .ui-state-highlight,
+#content .ui-widget-content .ui-state-highlight,
+#content .ui-widget-header .ui-state-highlight {
+ border: 1px solid #fcefa1;
+ background: #fbf9ee url(images/ui-bg_glass_55_fbf9ee_1x400.png) 50% 50% repeat-x;
+ color: #363636;
+}
+#content .ui-state-highlight a,
+#content .ui-widget-content .ui-state-highlight a,
+#content .ui-widget-header .ui-state-highlight a {
+ color: #363636;
+}
+#content .ui-state-error,
+#content .ui-widget-content .ui-state-error,
+#content .ui-widget-header .ui-state-error {
+ border: 1px solid #cd0a0a;
+ background: #fef1ec url(images/ui-bg_glass_95_fef1ec_1x400.png) 50% 50% repeat-x;
+ color: #cd0a0a;
+}
+#content .ui-state-error a,
+#content .ui-widget-content .ui-state-error a,
+#content .ui-widget-header .ui-state-error a {
+ color: #cd0a0a;
+}
+#content .ui-state-error-text,
+#content .ui-widget-content .ui-state-error-text,
+#content .ui-widget-header .ui-state-error-text {
+ color: #cd0a0a;
+}
+#content .ui-priority-primary,
+#content .ui-widget-content .ui-priority-primary,
+#content .ui-widget-header .ui-priority-primary {
+ font-weight: bold;
+}
+#content .ui-priority-secondary,
+#content .ui-widget-content .ui-priority-secondary,
+#content .ui-widget-header .ui-priority-secondary {
+ opacity: .7;
+ filter:Alpha(Opacity=70);
+ font-weight: normal;
+}
+#content .ui-state-disabled,
+#content .ui-widget-content .ui-state-disabled,
+#content .ui-widget-header .ui-state-disabled {
+ opacity: .35;
+ filter:Alpha(Opacity=35);
+ background-image: none;
+}
+#content .ui-state-disabled .ui-icon {
+ filter:Alpha(Opacity=35); /* For IE8 - See #6059 */
+}
+
+/* Icons
+----------------------------------*/
+
+/* states and images */
+#content .ui-icon {
+ width: 16px;
+ height: 16px;
+}
+#content .ui-icon,
+#content .ui-widget-content .ui-icon {
+ background-image: url(images/ui-icons_222222_256x240.png);
+}
+#content .ui-widget-header .ui-icon {
+ background-image: url(images/ui-icons_222222_256x240.png);
+}
+#content .ui-state-default .ui-icon {
+ background-image: url(images/ui-icons_888888_256x240.png);
+}
+#content .ui-state-hover .ui-icon,
+#content .ui-state-focus .ui-icon {
+ background-image: url(images/ui-icons_454545_256x240.png);
+}
+#content .ui-state-active .ui-icon {
+ background-image: url(images/ui-icons_454545_256x240.png);
+}
+#content .ui-state-highlight .ui-icon {
+ background-image: url(images/ui-icons_2e83ff_256x240.png);
+}
+#content .ui-state-error .ui-icon,
+#content .ui-state-error-text .ui-icon {
+ background-image: url(images/ui-icons_cd0a0a_256x240.png);
+}
+
+/* positioning */
+#content .ui-icon-blank { background-position: 16px 16px; }
+#content .ui-icon-carat-1-n { background-position: 0 0; }
+#content .ui-icon-carat-1-ne { background-position: -16px 0; }
+#content .ui-icon-carat-1-e { background-position: -32px 0; }
+#content .ui-icon-carat-1-se { background-position: -48px 0; }
+#content .ui-icon-carat-1-s { background-position: -64px 0; }
+#content .ui-icon-carat-1-sw { background-position: -80px 0; }
+#content .ui-icon-carat-1-w { background-position: -96px 0; }
+#content .ui-icon-carat-1-nw { background-position: -112px 0; }
+#content .ui-icon-carat-2-n-s { background-position: -128px 0; }
+#content .ui-icon-carat-2-e-w { background-position: -144px 0; }
+#content .ui-icon-triangle-1-n { background-position: 0 -16px; }
+#content .ui-icon-triangle-1-ne { background-position: -16px -16px; }
+#content .ui-icon-triangle-1-e { background-position: -32px -16px; }
+#content .ui-icon-triangle-1-se { background-position: -48px -16px; }
+#content .ui-icon-triangle-1-s { background-position: -64px -16px; }
+#content .ui-icon-triangle-1-sw { background-position: -80px -16px; }
+#content .ui-icon-triangle-1-w { background-position: -96px -16px; }
+#content .ui-icon-triangle-1-nw { background-position: -112px -16px; }
+#content .ui-icon-triangle-2-n-s { background-position: -128px -16px; }
+#content .ui-icon-triangle-2-e-w { background-position: -144px -16px; }
+#content .ui-icon-arrow-1-n { background-position: 0 -32px; }
+#content .ui-icon-arrow-1-ne { background-position: -16px -32px; }
+#content .ui-icon-arrow-1-e { background-position: -32px -32px; }
+#content .ui-icon-arrow-1-se { background-position: -48px -32px; }
+#content .ui-icon-arrow-1-s { background-position: -64px -32px; }
+#content .ui-icon-arrow-1-sw { background-position: -80px -32px; }
+#content .ui-icon-arrow-1-w { background-position: -96px -32px; }
+#content .ui-icon-arrow-1-nw { background-position: -112px -32px; }
+#content .ui-icon-arrow-2-n-s { background-position: -128px -32px; }
+#content .ui-icon-arrow-2-ne-sw { background-position: -144px -32px; }
+#content .ui-icon-arrow-2-e-w { background-position: -160px -32px; }
+#content .ui-icon-arrow-2-se-nw { background-position: -176px -32px; }
+#content .ui-icon-arrowstop-1-n { background-position: -192px -32px; }
+#content .ui-icon-arrowstop-1-e { background-position: -208px -32px; }
+#content .ui-icon-arrowstop-1-s { background-position: -224px -32px; }
+#content .ui-icon-arrowstop-1-w { background-position: -240px -32px; }
+#content .ui-icon-arrowthick-1-n { background-position: 0 -48px; }
+#content .ui-icon-arrowthick-1-ne { background-position: -16px -48px; }
+#content .ui-icon-arrowthick-1-e { background-position: -32px -48px; }
+#content .ui-icon-arrowthick-1-se { background-position: -48px -48px; }
+#content .ui-icon-arrowthick-1-s { background-position: -64px -48px; }
+#content .ui-icon-arrowthick-1-sw { background-position: -80px -48px; }
+#content .ui-icon-arrowthick-1-w { background-position: -96px -48px; }
+#content .ui-icon-arrowthick-1-nw { background-position: -112px -48px; }
+#content .ui-icon-arrowthick-2-n-s { background-position: -128px -48px; }
+#content .ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; }
+#content .ui-icon-arrowthick-2-e-w { background-position: -160px -48px; }
+#content .ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; }
+#content .ui-icon-arrowthickstop-1-n { background-position: -192px -48px; }
+#content .ui-icon-arrowthickstop-1-e { background-position: -208px -48px; }
+#content .ui-icon-arrowthickstop-1-s { background-position: -224px -48px; }
+#content .ui-icon-arrowthickstop-1-w { background-position: -240px -48px; }
+#content .ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; }
+#content .ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; }
+#content .ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; }
+#content .ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; }
+#content .ui-icon-arrowreturn-1-w { background-position: -64px -64px; }
+#content .ui-icon-arrowreturn-1-n { background-position: -80px -64px; }
+#content .ui-icon-arrowreturn-1-e { background-position: -96px -64px; }
+#content .ui-icon-arrowreturn-1-s { background-position: -112px -64px; }
+#content .ui-icon-arrowrefresh-1-w { background-position: -128px -64px; }
+#content .ui-icon-arrowrefresh-1-n { background-position: -144px -64px; }
+#content .ui-icon-arrowrefresh-1-e { background-position: -160px -64px; }
+#content .ui-icon-arrowrefresh-1-s { background-position: -176px -64px; }
+#content .ui-icon-arrow-4 { background-position: 0 -80px; }
+#content .ui-icon-arrow-4-diag { background-position: -16px -80px; }
+#content .ui-icon-extlink { background-position: -32px -80px; }
+#content .ui-icon-newwin { background-position: -48px -80px; }
+#content .ui-icon-refresh { background-position: -64px -80px; }
+#content .ui-icon-shuffle { background-position: -80px -80px; }
+#content .ui-icon-transfer-e-w { background-position: -96px -80px; }
+#content .ui-icon-transferthick-e-w { background-position: -112px -80px; }
+#content .ui-icon-folder-collapsed { background-position: 0 -96px; }
+#content .ui-icon-folder-open { background-position: -16px -96px; }
+#content .ui-icon-document { background-position: -32px -96px; }
+#content .ui-icon-document-b { background-position: -48px -96px; }
+#content .ui-icon-note { background-position: -64px -96px; }
+#content .ui-icon-mail-closed { background-position: -80px -96px; }
+#content .ui-icon-mail-open { background-position: -96px -96px; }
+#content .ui-icon-suitcase { background-position: -112px -96px; }
+#content .ui-icon-comment { background-position: -128px -96px; }
+#content .ui-icon-person { background-position: -144px -96px; }
+#content .ui-icon-print { background-position: -160px -96px; }
+#content .ui-icon-trash { background-position: -176px -96px; }
+#content .ui-icon-locked { background-position: -192px -96px; }
+#content .ui-icon-unlocked { background-position: -208px -96px; }
+#content .ui-icon-bookmark { background-position: -224px -96px; }
+#content .ui-icon-tag { background-position: -240px -96px; }
+#content .ui-icon-home { background-position: 0 -112px; }
+#content .ui-icon-flag { background-position: -16px -112px; }
+#content .ui-icon-calendar { background-position: -32px -112px; }
+#content .ui-icon-cart { background-position: -48px -112px; }
+#content .ui-icon-pencil { background-position: -64px -112px; }
+#content .ui-icon-clock { background-position: -80px -112px; }
+#content .ui-icon-disk { background-position: -96px -112px; }
+#content .ui-icon-calculator { background-position: -112px -112px; }
+#content .ui-icon-zoomin { background-position: -128px -112px; }
+#content .ui-icon-zoomout { background-position: -144px -112px; }
+#content .ui-icon-search { background-position: -160px -112px; }
+#content .ui-icon-wrench { background-position: -176px -112px; }
+#content .ui-icon-gear { background-position: -192px -112px; }
+#content .ui-icon-heart { background-position: -208px -112px; }
+#content .ui-icon-star { background-position: -224px -112px; }
+#content .ui-icon-link { background-position: -240px -112px; }
+#content .ui-icon-cancel { background-position: 0 -128px; }
+#content .ui-icon-plus { background-position: -16px -128px; }
+#content .ui-icon-plusthick { background-position: -32px -128px; }
+#content .ui-icon-minus { background-position: -48px -128px; }
+#content .ui-icon-minusthick { background-position: -64px -128px; }
+#content .ui-icon-close { background-position: -80px -128px; }
+#content .ui-icon-closethick { background-position: -96px -128px; }
+#content .ui-icon-key { background-position: -112px -128px; }
+#content .ui-icon-lightbulb { background-position: -128px -128px; }
+#content .ui-icon-scissors { background-position: -144px -128px; }
+#content .ui-icon-clipboard { background-position: -160px -128px; }
+#content .ui-icon-copy { background-position: -176px -128px; }
+#content .ui-icon-contact { background-position: -192px -128px; }
+#content .ui-icon-image { background-position: -208px -128px; }
+#content .ui-icon-video { background-position: -224px -128px; }
+#content .ui-icon-script { background-position: -240px -128px; }
+#content .ui-icon-alert { background-position: 0 -144px; }
+#content .ui-icon-info { background-position: -16px -144px; }
+#content .ui-icon-notice { background-position: -32px -144px; }
+#content .ui-icon-help { background-position: -48px -144px; }
+#content .ui-icon-check { background-position: -64px -144px; }
+#content .ui-icon-bullet { background-position: -80px -144px; }
+#content .ui-icon-radio-on { background-position: -96px -144px; }
+#content .ui-icon-radio-off { background-position: -112px -144px; }
+#content .ui-icon-pin-w { background-position: -128px -144px; }
+#content .ui-icon-pin-s { background-position: -144px -144px; }
+#content .ui-icon-play { background-position: 0 -160px; }
+#content .ui-icon-pause { background-position: -16px -160px; }
+#content .ui-icon-seek-next { background-position: -32px -160px; }
+#content .ui-icon-seek-prev { background-position: -48px -160px; }
+#content .ui-icon-seek-end { background-position: -64px -160px; }
+#content .ui-icon-seek-start { background-position: -80px -160px; }
+/* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */
+#content .ui-icon-seek-first { background-position: -80px -160px; }
+#content .ui-icon-stop { background-position: -96px -160px; }
+#content .ui-icon-eject { background-position: -112px -160px; }
+#content .ui-icon-volume-off { background-position: -128px -160px; }
+#content .ui-icon-volume-on { background-position: -144px -160px; }
+#content .ui-icon-power { background-position: 0 -176px; }
+#content .ui-icon-signal-diag { background-position: -16px -176px; }
+#content .ui-icon-signal { background-position: -32px -176px; }
+#content .ui-icon-battery-0 { background-position: -48px -176px; }
+#content .ui-icon-battery-1 { background-position: -64px -176px; }
+#content .ui-icon-battery-2 { background-position: -80px -176px; }
+#content .ui-icon-battery-3 { background-position: -96px -176px; }
+#content .ui-icon-circle-plus { background-position: 0 -192px; }
+#content .ui-icon-circle-minus { background-position: -16px -192px; }
+#content .ui-icon-circle-close { background-position: -32px -192px; }
+#content .ui-icon-circle-triangle-e { background-position: -48px -192px; }
+#content .ui-icon-circle-triangle-s { background-position: -64px -192px; }
+#content .ui-icon-circle-triangle-w { background-position: -80px -192px; }
+#content .ui-icon-circle-triangle-n { background-position: -96px -192px; }
+#content .ui-icon-circle-arrow-e { background-position: -112px -192px; }
+#content .ui-icon-circle-arrow-s { background-position: -128px -192px; }
+#content .ui-icon-circle-arrow-w { background-position: -144px -192px; }
+#content .ui-icon-circle-arrow-n { background-position: -160px -192px; }
+#content .ui-icon-circle-zoomin { background-position: -176px -192px; }
+#content .ui-icon-circle-zoomout { background-position: -192px -192px; }
+#content .ui-icon-circle-check { background-position: -208px -192px; }
+#content .ui-icon-circlesmall-plus { background-position: 0 -208px; }
+#content .ui-icon-circlesmall-minus { background-position: -16px -208px; }
+#content .ui-icon-circlesmall-close { background-position: -32px -208px; }
+#content .ui-icon-squaresmall-plus { background-position: -48px -208px; }
+#content .ui-icon-squaresmall-minus { background-position: -64px -208px; }
+#content .ui-icon-squaresmall-close { background-position: -80px -208px; }
+#content .ui-icon-grip-dotted-vertical { background-position: 0 -224px; }
+#content .ui-icon-grip-dotted-horizontal { background-position: -16px -224px; }
+#content .ui-icon-grip-solid-vertical { background-position: -32px -224px; }
+#content .ui-icon-grip-solid-horizontal { background-position: -48px -224px; }
+#content .ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; }
+#content .ui-icon-grip-diagonal-se { background-position: -80px -224px; }
+
+
+/* Misc visuals
+----------------------------------*/
+
+/* Corner radius */
+#content .ui-corner-all,
+#content .ui-corner-top,
+#content .ui-corner-left,
+#content .ui-corner-tl {
+ border-top-left-radius: 4px;
+}
+#content .ui-corner-all,
+#content .ui-corner-top,
+#content .ui-corner-right,
+#content .ui-corner-tr {
+ border-top-right-radius: 4px;
+}
+#content .ui-corner-all,
+#content .ui-corner-bottom,
+#content .ui-corner-left,
+#content .ui-corner-bl {
+ border-bottom-left-radius: 4px;
+}
+#content .ui-corner-all,
+#content .ui-corner-bottom,
+#content .ui-corner-right,
+#content .ui-corner-br {
+ border-bottom-right-radius: 4px;
+}
+
+/* Overlays */
+#content .ui-widget-overlay {
+ background: #aaaaaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x;
+ opacity: .3;
+ filter: Alpha(Opacity=30);
+}
+#content .ui-widget-shadow {
+ margin: -8px 0 0 -8px;
+ padding: 8px;
+ background: #aaaaaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x;
+ opacity: .3;
+ filter: Alpha(Opacity=30);
+ border-radius: 8px;
+}
diff --git a/themes/elegant/admin/upgrade.inc.php b/themes/elegant/admin/upgrade.inc.php new file mode 100644 index 000000000..6cda1318a --- /dev/null +++ b/themes/elegant/admin/upgrade.inc.php @@ -0,0 +1,31 @@ +<?php + +if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!'); + +global $prefixeTable, $conf; + +if (!isset($conf['elegant'])) +{ + $config = array( + 'p_main_menu' => 'on',//on - off - disabled + 'p_pict_descr' => 'on',//on - off - disabled + 'p_pict_comment' => 'off',//on - off - disabled + ); + $query = " +INSERT INTO " . CONFIG_TABLE . " (param,value,comment) +VALUES ('elegant' , '".pwg_db_real_escape_string(serialize($config))."' , 'p_main_menu#');"; + pwg_query($query); + load_conf_from_db(); +} +elseif (count(unserialize( $conf['elegant'] ))!=3) +{ + $conff=unserialize($conf['elegant']); + $config = array( + 'p_main_menu' => (isset($conff['p_main_menu'])) ? $conff['p_main_menu'] :'on', + 'p_pict_descr' => (isset($conff['p_pict_descr'])) ? $conff['p_pict_descr'] :'on', + 'p_pict_comment' => (isset($conff['p_pict_comment'])) ? $conff['p_pict_comment'] :'off', + ); + conf_update_param('elegant', pwg_db_real_escape_string(serialize($config))); + load_conf_from_db(); +} +?>
\ No newline at end of file diff --git a/themes/elegant/icon/icons_sprite-hover.png b/themes/elegant/icon/icons_sprite-hover.png Binary files differindex 49f135b75..f181301af 100644 --- a/themes/elegant/icon/icons_sprite-hover.png +++ b/themes/elegant/icon/icons_sprite-hover.png diff --git a/themes/elegant/icon/icons_sprite.png b/themes/elegant/icon/icons_sprite.png Binary files differindex 992f7279d..af96ffedc 100644 --- a/themes/elegant/icon/icons_sprite.png +++ b/themes/elegant/icon/icons_sprite.png diff --git a/themes/elegant/icon/icons_sprite.xcf b/themes/elegant/icon/icons_sprite.xcf Binary files differindex 620462b08..e9dfe623f 100644 --- a/themes/elegant/icon/icons_sprite.xcf +++ b/themes/elegant/icon/icons_sprite.xcf diff --git a/themes/elegant/index.php b/themes/elegant/index.php index 41732f2fd..c8de97f60 100644 --- a/themes/elegant/index.php +++ b/themes/elegant/index.php @@ -2,7 +2,7 @@ // +-----------------------------------------------------------------------+ // | Piwigo - a PHP based photo gallery | // +-----------------------------------------------------------------------+ -// | Copyright(C) 2008-2013 Piwigo Team http://piwigo.org | +// | Copyright(C) 2008-2014 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 | // +-----------------------------------------------------------------------+ diff --git a/themes/elegant/language/ar_SA/theme.lang.php b/themes/elegant/language/ar_SA/theme.lang.php new file mode 100755 index 000000000..7d9d1e000 --- /dev/null +++ b/themes/elegant/language/ar_SA/theme.lang.php @@ -0,0 +1,32 @@ +<?php +// +-----------------------------------------------------------------------+
+// | Piwigo - a PHP based photo gallery |
+// +-----------------------------------------------------------------------+
+// | Copyright(C) 2008-2014 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. |
+// +-----------------------------------------------------------------------+ +$lang['Choose what should be the default state for each panel, or disable the animation:'] = 'اختيار ما ينبغي أن تكون علية الحالة الافتراضية لكل لوحة، أو تعطيل الرسوم المتحركة:'; +$lang['Comments Panel'] = 'لوحة التعليقات'; +$lang['Disable the animation'] = 'تعطيل الرسوم المتحركة'; +$lang['Displayed'] = 'عرض'; +$lang['Elegant, Configuration Page'] = 'الأنيق، صفحة التكوين'; +$lang['Hidden'] = 'مخفي'; +$lang['Main Menu Panel'] = 'لوحة القائمة الرئيسية '; +$lang['Panels options'] = 'خيارات اللوحات'; +$lang['Photo Description Panel'] = 'لوحة وصف الصورة'; +?>
\ No newline at end of file diff --git a/themes/elegant/language/bg_BG/theme.lang.php b/themes/elegant/language/bg_BG/theme.lang.php new file mode 100755 index 000000000..b698af481 --- /dev/null +++ b/themes/elegant/language/bg_BG/theme.lang.php @@ -0,0 +1,32 @@ +<?php +// +-----------------------------------------------------------------------+
+// | Piwigo - a PHP based photo gallery |
+// +-----------------------------------------------------------------------+
+// | Copyright(C) 2008-2014 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. |
+// +-----------------------------------------------------------------------+ +$lang['Choose what should be the default state for each panel, or disable the animation:'] = 'Изберете какъв ще бъде по подразбиране всеки панел или забранете анимирането:'; +$lang['Photo Description Panel'] = 'Панел с описание на снимки'; +$lang['Panels options'] = 'Панел опции'; +$lang['Main Menu Panel'] = 'Панел на основното меню'; +$lang['Hidden'] = 'Скрито'; +$lang['Elegant, Configuration Page'] = 'Elegant, конфигурационна страница'; +$lang['Disable the animation'] = 'Забрана на анимация'; +$lang['Displayed'] = 'Показани'; +$lang['Comments Panel'] = 'Панел с коментари'; +?>
\ No newline at end of file diff --git a/themes/elegant/language/br_FR/theme.lang.php b/themes/elegant/language/br_FR/theme.lang.php new file mode 100755 index 000000000..1224acfa8 --- /dev/null +++ b/themes/elegant/language/br_FR/theme.lang.php @@ -0,0 +1,32 @@ +<?php +// +-----------------------------------------------------------------------+ +// | Piwigo - a PHP based photo gallery | +// +-----------------------------------------------------------------------+ +// | Copyright(C) 2008-2014 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. | +// +-----------------------------------------------------------------------+ +$lang['Comments Panel'] = 'Panell an evezhiadennoù'; +$lang['Main Menu Panel'] = 'Panell ar penn-lañser'; +$lang['Panels options'] = 'Dibarzhioù ar banelloù'; +$lang['Photo Description Panel'] = 'Panell deskrivadur al luc\'hskeudennoù'; +$lang['Choose what should be the default state for each panel, or disable the animation:'] = 'Dibabit peseurt stad a rank bezañ an hini dre ziouer evit pep skramm, pe diweredekait ar skeudenn-vev:'; +$lang['Hidden'] = 'Kuzhet'; +$lang['Elegant, Configuration Page'] = 'Cheuc\'h, Pajenn kefluniañ'; +$lang['Disable the animation'] = 'Diweredekaat ar skeudenn-vev'; +$lang['Displayed'] = 'Diskouezet'; +?>
\ No newline at end of file diff --git a/themes/elegant/language/ca_ES/theme.lang.php b/themes/elegant/language/ca_ES/theme.lang.php new file mode 100755 index 000000000..3689300d5 --- /dev/null +++ b/themes/elegant/language/ca_ES/theme.lang.php @@ -0,0 +1,32 @@ +<?php +// +-----------------------------------------------------------------------+
+// | Piwigo - a PHP based photo gallery |
+// +-----------------------------------------------------------------------+
+// | Copyright(C) 2008-2014 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. |
+// +-----------------------------------------------------------------------+ +$lang['Choose what should be the default state for each panel, or disable the animation:'] = 'Escolliu l\'estat per defecte de cada panell, o deshabiliteu l\'animació:'; +$lang['Comments Panel'] = 'Panell de comentaris'; +$lang['Disable the animation'] = 'Deshabilitar l\'animació'; +$lang['Displayed'] = 'Visualitzat'; +$lang['Elegant, Configuration Page'] = 'Elegant, Pàgina de configuració'; +$lang['Hidden'] = 'Amagat'; +$lang['Main Menu Panel'] = 'Panell del menú principal'; +$lang['Panels options'] = 'Opcions dels panells'; +$lang['Photo Description Panel'] = 'Panell de descripció de la foto'; +?>
\ No newline at end of file diff --git a/themes/elegant/language/cs_CZ/index.php b/themes/elegant/language/cs_CZ/index.php new file mode 100644 index 000000000..8572fdb35 --- /dev/null +++ b/themes/elegant/language/cs_CZ/index.php @@ -0,0 +1,30 @@ +<?php
+// +-----------------------------------------------------------------------+
+// | Piwigo - a PHP based photo 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();
+?>
diff --git a/themes/elegant/language/cs_CZ/theme.lang.php b/themes/elegant/language/cs_CZ/theme.lang.php new file mode 100644 index 000000000..b5e534976 --- /dev/null +++ b/themes/elegant/language/cs_CZ/theme.lang.php @@ -0,0 +1,11 @@ +<?php +$lang['Elegant, Configuration Page'] = 'Elegant, stránka s konfigurací'; +$lang['Panels options'] = 'Nastavení panelů'; +$lang['Choose what should be the default state for each panel, or disable the animation:'] = 'Nastavte výchozí stav pro každý panel nebo deaktivujte animaci:'; +$lang['Main Menu Panel'] = 'Hlavní menu panel'; +$lang['Displayed'] = 'Zobrazen'; +$lang['Hidden'] = 'Skryt'; +$lang['Disable the animation'] = 'Deaktivovat animaci'; +$lang['Photo Description Panel'] = 'Panel s popisem fotografií'; +$lang['Comments Panel'] = 'Panel komentářů'; +?>
\ No newline at end of file diff --git a/themes/elegant/language/da_DK/theme.lang.php b/themes/elegant/language/da_DK/theme.lang.php new file mode 100755 index 000000000..b225664a2 --- /dev/null +++ b/themes/elegant/language/da_DK/theme.lang.php @@ -0,0 +1,32 @@ +<?php +// +-----------------------------------------------------------------------+
+// | Piwigo - a PHP based photo gallery |
+// +-----------------------------------------------------------------------+
+// | Copyright(C) 2008-2014 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. |
+// +-----------------------------------------------------------------------+ +$lang['Choose what should be the default state for each panel, or disable the animation:'] = 'Hvad hvad der skal være hvert panels standardtilstand, eller deaktiver animationen:'; +$lang['Comments Panel'] = 'Kommentarpanel'; +$lang['Disable the animation'] = 'Deaktiver animationen'; +$lang['Displayed'] = 'Vist'; +$lang['Elegant, Configuration Page'] = 'Elegant, Opsætningspanel'; +$lang['Hidden'] = 'Skjult'; +$lang['Main Menu Panel'] = 'Panelets hovedmenu'; +$lang['Panels options'] = 'Panelindstillinger'; +$lang['Photo Description Panel'] = 'Fotobeskrivelsespanel'; +?>
\ No newline at end of file diff --git a/themes/elegant/language/de_DE/theme.lang.php b/themes/elegant/language/de_DE/theme.lang.php new file mode 100755 index 000000000..b6295283d --- /dev/null +++ b/themes/elegant/language/de_DE/theme.lang.php @@ -0,0 +1,32 @@ +<?php +// +-----------------------------------------------------------------------+
+// | Piwigo - a PHP based photo gallery |
+// +-----------------------------------------------------------------------+
+// | Copyright(C) 2008-2014 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. |
+// +-----------------------------------------------------------------------+ +$lang['Choose what should be the default state for each panel, or disable the animation:'] = 'Wählen Sie den default Status eines jeden Panels aus, oder deaktivieren Sie die Animation'; +$lang['Comments Panel'] = 'Kommentar Panel'; +$lang['Disable the animation'] = 'Animation deaktivieren'; +$lang['Displayed'] = 'angezeigt'; +$lang['Elegant, Configuration Page'] = 'Elegant ,Konfigurationsseite'; +$lang['Hidden'] = 'versteckt'; +$lang['Main Menu Panel'] = 'Hauptmenü Panel'; +$lang['Panels options'] = 'Panel Optionen'; +$lang['Photo Description Panel'] = 'Panel Fotobeschreibung'; +?>
\ No newline at end of file diff --git a/themes/elegant/language/el_GR/theme.lang.php b/themes/elegant/language/el_GR/theme.lang.php new file mode 100755 index 000000000..d44726885 --- /dev/null +++ b/themes/elegant/language/el_GR/theme.lang.php @@ -0,0 +1,32 @@ +<?php +// +-----------------------------------------------------------------------+
+// | Piwigo - a PHP based photo gallery |
+// +-----------------------------------------------------------------------+
+// | Copyright(C) 2008-2014 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. |
+// +-----------------------------------------------------------------------+ +$lang['Photo Description Panel'] = 'Πάνελ Περιγραφής Φωτογραφίας '; +$lang['Panels options'] = 'επιλογές πάνελ'; +$lang['Main Menu Panel'] = 'Πάνελ Κύριου μενού'; +$lang['Hidden'] = 'Κρυφό'; +$lang['Elegant, Configuration Page'] = 'Elegant, διαμόρφωσης σελίδας'; +$lang['Displayed'] = 'Εμφανιζόμενο'; +$lang['Choose what should be the default state for each panel, or disable the animation:'] = 'Επιλέξτε αυτό που θα θέλατε να είναι η προεπιλεγμένη κατάσταση για κάθε πάνελ, ή απενεργοποιήσετε τα κινούμενα σχέδια:'; +$lang['Disable the animation'] = 'Απενεργοποιήστε τα κινούμενα σχέδια'; +$lang['Comments Panel'] = 'Πάνελ Σχολίων'; +?>
\ No newline at end of file diff --git a/themes/elegant/language/en_UK/index.php b/themes/elegant/language/en_UK/index.php new file mode 100644 index 000000000..e3365959c --- /dev/null +++ b/themes/elegant/language/en_UK/index.php @@ -0,0 +1,30 @@ +<?php
+// +-----------------------------------------------------------------------+
+// | Piwigo - a PHP based photo gallery |
+// +-----------------------------------------------------------------------+
+// | Copyright(C) 2008-2014 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();
+?>
diff --git a/themes/elegant/language/en_UK/theme.lang.php b/themes/elegant/language/en_UK/theme.lang.php new file mode 100644 index 000000000..c2eb97e86 --- /dev/null +++ b/themes/elegant/language/en_UK/theme.lang.php @@ -0,0 +1,11 @@ +<?php +$lang['Elegant, Configuration Page'] = 'Elegant, Configuration Page'; +$lang['Panels options'] = 'Panels options'; +$lang['Choose what should be the default state for each panel, or disable the animation:'] = 'Choose what should be the default state for each panel, or disable the animation:'; +$lang['Main Menu Panel'] = 'Main Menu Panel'; +$lang['Displayed'] = 'Displayed'; +$lang['Hidden'] = 'Hidden'; +$lang['Disable the animation'] = 'Disable the animation'; +$lang['Photo Description Panel'] = 'Photo Description Panel'; +$lang['Comments Panel'] = 'Comments Panel'; +?>
\ No newline at end of file diff --git a/themes/elegant/language/eo_EO/theme.lang.php b/themes/elegant/language/eo_EO/theme.lang.php new file mode 100755 index 000000000..8d0b4c456 --- /dev/null +++ b/themes/elegant/language/eo_EO/theme.lang.php @@ -0,0 +1,32 @@ +<?php +// +-----------------------------------------------------------------------+
+// | Piwigo - a PHP based photo gallery |
+// +-----------------------------------------------------------------------+
+// | Copyright(C) 2008-2014 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. |
+// +-----------------------------------------------------------------------+ +$lang['Photo Description Panel'] = 'Fotopriskriba panelo'; +$lang['Panels options'] = 'Panelaj opcioj'; +$lang['Main Menu Panel'] = 'Panelo de la ĉefa menuo'; +$lang['Choose what should be the default state for each panel, or disable the animation:'] = 'Elektu, kion estu la apriora stato de ĉiu panelo, aŭ malŝaltu la animacio:'; +$lang['Elegant, Configuration Page'] = 'Agordopaĝo de Elegant'; +$lang['Comments Panel'] = 'Panelo por komentoj'; +$lang['Disable the animation'] = 'Malŝalti la animacion'; +$lang['Displayed'] = 'Montrita'; +$lang['Hidden'] = 'Kaŝita'; +?>
\ No newline at end of file diff --git a/themes/elegant/language/es_ES/theme.lang.php b/themes/elegant/language/es_ES/theme.lang.php new file mode 100755 index 000000000..3c593a306 --- /dev/null +++ b/themes/elegant/language/es_ES/theme.lang.php @@ -0,0 +1,32 @@ +<?php +// +-----------------------------------------------------------------------+
+// | Piwigo - a PHP based photo gallery |
+// +-----------------------------------------------------------------------+
+// | Copyright(C) 2008-2014 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. |
+// +-----------------------------------------------------------------------+ +$lang['Choose what should be the default state for each panel, or disable the animation:'] = 'Elija lo que debería ser el estado por defecto para cada panel o desactivar la animación:'; +$lang['Comments Panel'] = 'Panel de comentarios '; +$lang['Disable the animation'] = 'Desactivar la animación'; +$lang['Displayed'] = 'Mostrado'; +$lang['Elegant, Configuration Page'] = 'Pagina de configuración de Elegant'; +$lang['Hidden'] = 'Esconder'; +$lang['Main Menu Panel'] = 'Panel del menú principal'; +$lang['Panels options'] = 'Opciones del panel'; +$lang['Photo Description Panel'] = 'Descripción de la foto del panel'; +?>
\ No newline at end of file diff --git a/themes/elegant/language/et_EE/theme.lang.php b/themes/elegant/language/et_EE/theme.lang.php new file mode 100755 index 000000000..95b08e911 --- /dev/null +++ b/themes/elegant/language/et_EE/theme.lang.php @@ -0,0 +1,32 @@ +<?php +// +-----------------------------------------------------------------------+
+// | Piwigo - a PHP based photo gallery |
+// +-----------------------------------------------------------------------+
+// | Copyright(C) 2008-2014 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. |
+// +-----------------------------------------------------------------------+ +$lang['Choose what should be the default state for each panel, or disable the animation:'] = 'Vali vaikimisi oleks igale paneelile või lülita animatsioon välja:'; +$lang['Comments Panel'] = 'Kommentaaride paneel'; +$lang['Disable the animation'] = 'Lülita animatsioon välja'; +$lang['Displayed'] = 'Näidatakse'; +$lang['Elegant, Configuration Page'] = 'Elegant, seadistuspaneel'; +$lang['Hidden'] = 'Peidetud'; +$lang['Main Menu Panel'] = 'Peamenüü paneel'; +$lang['Panels options'] = 'Paneeli seaded'; +$lang['Photo Description Panel'] = 'Pildi kirjelduste paneel'; +?>
\ No newline at end of file diff --git a/themes/elegant/language/fa_IR/theme.lang.php b/themes/elegant/language/fa_IR/theme.lang.php new file mode 100755 index 000000000..6fd310c70 --- /dev/null +++ b/themes/elegant/language/fa_IR/theme.lang.php @@ -0,0 +1,32 @@ +<?php +// +-----------------------------------------------------------------------+
+// | Piwigo - a PHP based photo gallery |
+// +-----------------------------------------------------------------------+
+// | Copyright(C) 2008-2014 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. |
+// +-----------------------------------------------------------------------+ +$lang['Choose what should be the default state for each panel, or disable the animation:'] = 'وضعیت پیشفرضِ هر پنل را انتخاب کنید، یا حالت انیمیشن آنها را غیر فعال کنید:'; +$lang['Comments Panel'] = 'پنلِ توضیحات'; +$lang['Disable the animation'] = 'غیر فعال کردنِ انیمیشن'; +$lang['Displayed'] = 'نمایش داده شود'; +$lang['Elegant, Configuration Page'] = 'پیکربندیِ Elegant'; +$lang['Hidden'] = 'پنهان'; +$lang['Main Menu Panel'] = 'پنلِ منوی اصلی'; +$lang['Panels options'] = 'گزینههای پنلها'; +$lang['Photo Description Panel'] = 'پنلِ توضیحاتِ عکس'; +?>
\ No newline at end of file diff --git a/themes/elegant/language/fi_FI/theme.lang.php b/themes/elegant/language/fi_FI/theme.lang.php new file mode 100755 index 000000000..dbe296a51 --- /dev/null +++ b/themes/elegant/language/fi_FI/theme.lang.php @@ -0,0 +1,32 @@ +<?php +// +-----------------------------------------------------------------------+
+// | Piwigo - a PHP based photo gallery |
+// +-----------------------------------------------------------------------+
+// | Copyright(C) 2008-2014 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. |
+// +-----------------------------------------------------------------------+ +$lang['Choose what should be the default state for each panel, or disable the animation:'] = 'Valitse kunkin paneelin oletustila, tai poista animaatio käytöstä:'; +$lang['Comments Panel'] = 'Kommenttipaneeli'; +$lang['Disable the animation'] = 'Poista animaatio käytöstä'; +$lang['Displayed'] = 'Näkyvissä'; +$lang['Elegant, Configuration Page'] = 'Aistikas, asetussivu'; +$lang['Hidden'] = 'Piilotettu'; +$lang['Main Menu Panel'] = 'Päävalikkopaneeli'; +$lang['Panels options'] = 'Paneelien asetukset'; +$lang['Photo Description Panel'] = 'Kuvan tiedot -paneeli'; +?>
\ No newline at end of file diff --git a/themes/elegant/language/fr_CA/index.php b/themes/elegant/language/fr_CA/index.php new file mode 100644 index 000000000..e3365959c --- /dev/null +++ b/themes/elegant/language/fr_CA/index.php @@ -0,0 +1,30 @@ +<?php
+// +-----------------------------------------------------------------------+
+// | Piwigo - a PHP based photo gallery |
+// +-----------------------------------------------------------------------+
+// | Copyright(C) 2008-2014 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();
+?>
diff --git a/themes/elegant/language/fr_CA/theme.lang.php b/themes/elegant/language/fr_CA/theme.lang.php new file mode 100644 index 000000000..46b8a3bcc --- /dev/null +++ b/themes/elegant/language/fr_CA/theme.lang.php @@ -0,0 +1,12 @@ +<?php + +$lang['Elegant, Configuration Page'] = 'Élégant, Page de Configuration'; +$lang['Panels options'] = 'Options des panneaux'; +$lang['Choose what should be the default state for each panel, or disable the animation:'] = 'Choisissez le comportement par défaut des panneaux rétractables, ou désactivez leur animation'; +$lang['Main Menu Panel'] = 'Panneau du menu principal'; +$lang['Displayed'] = 'Affiché'; +$lang['Hidden'] = 'Caché'; +$lang['Disable the animation'] = 'Désactiver l\'animation'; +$lang['Photo Description Panel'] = 'Panneau de description de la photo'; +$lang['Comments Panel'] = 'Panneau des commentaires'; +?>
\ No newline at end of file diff --git a/themes/elegant/language/fr_FR/index.php b/themes/elegant/language/fr_FR/index.php new file mode 100644 index 000000000..e3365959c --- /dev/null +++ b/themes/elegant/language/fr_FR/index.php @@ -0,0 +1,30 @@ +<?php
+// +-----------------------------------------------------------------------+
+// | Piwigo - a PHP based photo gallery |
+// +-----------------------------------------------------------------------+
+// | Copyright(C) 2008-2014 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();
+?>
diff --git a/themes/elegant/language/fr_FR/theme.lang.php b/themes/elegant/language/fr_FR/theme.lang.php new file mode 100644 index 000000000..5b5ad5b2e --- /dev/null +++ b/themes/elegant/language/fr_FR/theme.lang.php @@ -0,0 +1,12 @@ +<?php + +$lang['Elegant, Configuration Page'] = 'Elegant, Page de Configuration'; +$lang['Panels options'] = 'Options des panneaux'; +$lang['Choose what should be the default state for each panel, or disable the animation:'] = 'Choisissez le comportement par défaut des panneaux rétractables, ou désactivez leur animation'; +$lang['Main Menu Panel'] = 'Panneau du menu principal'; +$lang['Displayed'] = 'Affiché'; +$lang['Hidden'] = 'Caché'; +$lang['Disable the animation'] = 'Désactiver l\'animation'; +$lang['Photo Description Panel'] = 'Panneau de la description de la photo'; +$lang['Comments Panel'] = 'Panneau des commentaires'; +?>
\ No newline at end of file diff --git a/themes/elegant/language/hu_HU/theme.lang.php b/themes/elegant/language/hu_HU/theme.lang.php new file mode 100755 index 000000000..2546f2541 --- /dev/null +++ b/themes/elegant/language/hu_HU/theme.lang.php @@ -0,0 +1,32 @@ +<?php +// +-----------------------------------------------------------------------+
+// | Piwigo - a PHP based photo gallery |
+// +-----------------------------------------------------------------------+
+// | Copyright(C) 2008-2014 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. |
+// +-----------------------------------------------------------------------+ +$lang['Choose what should be the default state for each panel, or disable the animation:'] = 'Állítsa be milyen legyen a panel alapértelmezett állapotban, vagy tiltsa le az animációt:'; +$lang['Panels options'] = 'Panelek lehetőségei'; +$lang['Comments Panel'] = 'Hozzászólások panel'; +$lang['Disable the animation'] = 'Animáció kikapcsolása'; +$lang['Displayed'] = 'Megjelenítés'; +$lang['Elegant, Configuration Page'] = 'Elegant, beállítás oldal'; +$lang['Hidden'] = 'Rejtett'; +$lang['Main Menu Panel'] = 'Főmenü panel'; +$lang['Photo Description Panel'] = 'Kép leírás panel'; +?>
\ No newline at end of file diff --git a/themes/elegant/language/index.php b/themes/elegant/language/index.php new file mode 100644 index 000000000..8572fdb35 --- /dev/null +++ b/themes/elegant/language/index.php @@ -0,0 +1,30 @@ +<?php
+// +-----------------------------------------------------------------------+
+// | Piwigo - a PHP based photo 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();
+?>
diff --git a/themes/elegant/language/it_IT/theme.lang.php b/themes/elegant/language/it_IT/theme.lang.php new file mode 100755 index 000000000..db7d23340 --- /dev/null +++ b/themes/elegant/language/it_IT/theme.lang.php @@ -0,0 +1,32 @@ +<?php +// +-----------------------------------------------------------------------+ +// | Piwigo - a PHP based photo gallery | +// +-----------------------------------------------------------------------+ +// | Copyright(C) 2008-2014 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. | +// +-----------------------------------------------------------------------+ +$lang['Photo Description Panel'] = 'Pannello Descrizione Foto'; +$lang['Panels options'] = 'Pannelli opzioni'; +$lang['Main Menu Panel'] = 'Pannello Menu Principale'; +$lang['Hidden'] = 'Nascosto'; +$lang['Elegant, Configuration Page'] = 'Elegante, Pagina di configurazione'; +$lang['Displayed'] = 'Visualizza'; +$lang['Disable the animation'] = 'Disabilita l\'animazione'; +$lang['Comments Panel'] = 'Pannello Commenti'; +$lang['Choose what should be the default state for each panel, or disable the animation:'] = 'Scegli quello che dovrebbe essere lo stato predefinito per ogni pannello, o disattiva l\'animazione:'; +?>
\ No newline at end of file diff --git a/themes/elegant/language/ja_JP/index.php b/themes/elegant/language/ja_JP/index.php new file mode 100644 index 000000000..ec6605317 --- /dev/null +++ b/themes/elegant/language/ja_JP/index.php @@ -0,0 +1,7 @@ +<?php +$url = '../'; +header( 'Request-URI: '.$url ); +header( 'Content-Location: '.$url ); +header( 'Location: '.$url ); +exit(); +?> diff --git a/themes/elegant/language/ja_JP/theme.lang.php b/themes/elegant/language/ja_JP/theme.lang.php new file mode 100755 index 000000000..d6e6543ac --- /dev/null +++ b/themes/elegant/language/ja_JP/theme.lang.php @@ -0,0 +1,30 @@ +<?php +// +-----------------------------------------------------------------------+ +// | Piwigo - a PHP based photo gallery | +// +-----------------------------------------------------------------------+ +// | Copyright(C) 2008-2014 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. | +// +-----------------------------------------------------------------------+ +$lang['Comments Panel'] = 'コメント一覧'; +$lang['Disable the animation'] = 'アニメーションを使用しない'; +$lang['Photo Description Panel'] = '詳細'; +$lang['Panels options'] = 'オプション'; +$lang['Main Menu Panel'] = 'メインメニュー'; +$lang['Hidden'] = '隠す'; +$lang['Displayed'] = '表示する'; +?>
\ No newline at end of file diff --git a/themes/elegant/language/kn_IN/theme.lang.php b/themes/elegant/language/kn_IN/theme.lang.php new file mode 100755 index 000000000..8ec80779c --- /dev/null +++ b/themes/elegant/language/kn_IN/theme.lang.php @@ -0,0 +1,32 @@ +<?php +// +-----------------------------------------------------------------------+
+// | Piwigo - a PHP based photo gallery |
+// +-----------------------------------------------------------------------+
+// | Copyright(C) 2008-2014 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. |
+// +-----------------------------------------------------------------------+ +$lang['Elegant, Configuration Page'] = 'ಎಲಿಗ್ಯಾಂಟ್, ಕಾನ್ಫಿಗರೇಶನ್ ಪುಟ'; +$lang['Hidden'] = 'ಬಚ್ಚಿಟ್ಟದ್ದು'; +$lang['Main Menu Panel'] = 'ಮುಖ್ಯ ಆಯ್ಕೆಪಟ್ಟಿ ಪ್ಯಾನೆಲ್'; +$lang['Panels options'] = 'ಪ್ಯಾನೆಲ್ ಗಳ ಆಯ್ಕೆಗಳು'; +$lang['Photo Description Panel'] = 'ಚಿತ್ರದ ವಿವರಣೆ ಪ್ಯಾನೆಲ್'; +$lang['Displayed'] = 'ಪ್ರದರ್ಶಿಸಲಾಗಿದೆ'; +$lang['Disable the animation'] = 'ಅನಿಮೇಶನ್ ಅನ್ನು ನಿಷ್ಕ್ರಿಯಗೊಳಿಸಿ'; +$lang['Comments Panel'] = 'ಟಿಪ್ಪಣಿಗಳ ಪ್ಯಾನೆಲ್'; +$lang['Choose what should be the default state for each panel, or disable the animation:'] = 'ಪ್ರತಿಯೊಂದು ಪ್ಯಾನೆಲ್ ನ ಪೂರ್ವನಿಯೋಜಿತ ಸ್ಥಿತಿ ಏನಿರಬೇಕೆಂದು ಆರಿಸಿ, ಅಥವಾ ಅನಿಮೇಶನ್ ಅನ್ನು ನಿಷ್ಕ್ರಿಯಗೊಳಿಸಿ.'; +?>
\ No newline at end of file diff --git a/themes/elegant/language/ko_KR/theme.lang.php b/themes/elegant/language/ko_KR/theme.lang.php new file mode 100755 index 000000000..143ce22f6 --- /dev/null +++ b/themes/elegant/language/ko_KR/theme.lang.php @@ -0,0 +1,32 @@ +<?php +// +-----------------------------------------------------------------------+
+// | Piwigo - a PHP based photo gallery |
+// +-----------------------------------------------------------------------+
+// | Copyright(C) 2008-2014 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. |
+// +-----------------------------------------------------------------------+ +$lang['Choose what should be the default state for each panel, or disable the animation:'] = '각 패널의 기본 상태와 애니메이션을 비활성화 할 지 선택하십시오.'; +$lang['Comments Panel'] = '댓글 패널'; +$lang['Disable the animation'] = '애니메이션 비활성화'; +$lang['Displayed'] = '보임'; +$lang['Elegant, Configuration Page'] = 'Elegant, 설정 페이지'; +$lang['Hidden'] = '숨김'; +$lang['Main Menu Panel'] = '메인 메뉴 패널'; +$lang['Panels options'] = '패널 옵션'; +$lang['Photo Description Panel'] = '사진 설명 패널'; +?>
\ No newline at end of file diff --git a/themes/elegant/language/lt_LT/theme.lang.php b/themes/elegant/language/lt_LT/theme.lang.php new file mode 100755 index 000000000..b3a39bfee --- /dev/null +++ b/themes/elegant/language/lt_LT/theme.lang.php @@ -0,0 +1,32 @@ +<?php +// +-----------------------------------------------------------------------+
+// | Piwigo - a PHP based photo gallery |
+// +-----------------------------------------------------------------------+
+// | Copyright(C) 2008-2014 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. |
+// +-----------------------------------------------------------------------+ +$lang['Elegant, Configuration Page'] = 'Elegant konfigūracijos puslapis'; +$lang['Choose what should be the default state for each panel, or disable the animation:'] = 'Pasirinkite kokia turėtų būti kiekvieno skydelio būsena arba išjunkite animaciją'; +$lang['Comments Panel'] = 'Komentarų skydelis'; +$lang['Disable the animation'] = 'Išjungti animaciją'; +$lang['Displayed'] = 'Rodoma'; +$lang['Hidden'] = 'Paslėpta'; +$lang['Main Menu Panel'] = 'Pagrindinio meniu skydelis'; +$lang['Panels options'] = 'Skydelių parinktys'; +$lang['Photo Description Panel'] = 'Foto aprašymo skydelis'; +?>
\ No newline at end of file diff --git a/themes/elegant/language/lv_LV/theme.lang.php b/themes/elegant/language/lv_LV/theme.lang.php new file mode 100755 index 000000000..8b54fe3d4 --- /dev/null +++ b/themes/elegant/language/lv_LV/theme.lang.php @@ -0,0 +1,32 @@ +<?php +// +-----------------------------------------------------------------------+ +// | Piwigo - a PHP based photo gallery | +// +-----------------------------------------------------------------------+ +// | Copyright(C) 2008-2014 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. | +// +-----------------------------------------------------------------------+ +$lang['Main Menu Panel'] = 'Galvenās Izvēlnes Panelis'; +$lang['Hidden'] = 'Paslēpts'; +$lang['Disable the animation'] = 'atslēgt animāciju'; +$lang['Comments Panel'] = 'Komentāru panelis'; +$lang['Choose what should be the default state for each panel, or disable the animation:'] = 'Izvēlēties, kas būtu katra paneļa noklusējuma stāvoklis vai atspējot animācijas:'; +$lang['Elegant, Configuration Page'] = 'Elegants, Konfigurācijas Lapa'; +$lang['Displayed'] = 'Attēlots'; +$lang['Photo Description Panel'] = 'Fotogrāfiju Apraksta Panelis'; +$lang['Panels options'] = 'Paneļa opcijas'; +?>
\ No newline at end of file diff --git a/themes/elegant/language/mn_MN/index.php b/themes/elegant/language/mn_MN/index.php new file mode 100644 index 000000000..ec6605317 --- /dev/null +++ b/themes/elegant/language/mn_MN/index.php @@ -0,0 +1,7 @@ +<?php +$url = '../'; +header( 'Request-URI: '.$url ); +header( 'Content-Location: '.$url ); +header( 'Location: '.$url ); +exit(); +?> diff --git a/themes/elegant/language/mn_MN/theme.lang.php b/themes/elegant/language/mn_MN/theme.lang.php new file mode 100755 index 000000000..fe6cb3384 --- /dev/null +++ b/themes/elegant/language/mn_MN/theme.lang.php @@ -0,0 +1,32 @@ +<?php +// +-----------------------------------------------------------------------+ +// | Piwigo - a PHP based photo gallery | +// +-----------------------------------------------------------------------+ +// | Copyright(C) 2008-2014 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. | +// +-----------------------------------------------------------------------+ +$lang['Elegant, Configuration Page'] = 'Тохиргооны хуудас'; +$lang['Comments Panel'] = 'Сэтгэгдэлийн талбар'; +$lang['Disable the animation'] = 'Анимейшнийг хаах '; +$lang['Hidden'] = 'Нуугдмал'; +$lang['Displayed'] = 'Харуулах'; +$lang['Choose what should be the default state for each panel, or disable the animation:'] = 'Хэсэг тус бүрийн тохиргоог сонгох буюу анимейшнийг хаах:'; +$lang['Main Menu Panel'] = 'Үндсэн цэсийн хэсэг'; +$lang['Panels options'] = 'Талбарын тохиргоо'; +$lang['Photo Description Panel'] = 'Зургын тайлбар хэсэг'; +?>
\ No newline at end of file diff --git a/themes/elegant/language/nb_NO/theme.lang.php b/themes/elegant/language/nb_NO/theme.lang.php new file mode 100755 index 000000000..b2c8f7b02 --- /dev/null +++ b/themes/elegant/language/nb_NO/theme.lang.php @@ -0,0 +1,32 @@ +<?php +// +-----------------------------------------------------------------------+
+// | Piwigo - a PHP based photo gallery |
+// +-----------------------------------------------------------------------+
+// | Copyright(C) 2008-2014 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. |
+// +-----------------------------------------------------------------------+ +$lang['Choose what should be the default state for each panel, or disable the animation:'] = 'Velg hva som skal være standard tilstand på hvert panel, eller slå av animasjon'; +$lang['Comments Panel'] = 'Kommentarpanel'; +$lang['Disable the animation'] = 'Slå av animasjon'; +$lang['Displayed'] = 'Sett'; +$lang['Elegant, Configuration Page'] = 'Elegant, konfigurasjonspanel'; +$lang['Hidden'] = 'Skult'; +$lang['Main Menu Panel'] = 'Hovedmenypanel'; +$lang['Panels options'] = 'Paneltilpassinger'; +$lang['Photo Description Panel'] = 'Bildebeskrivelesespanel'; +?>
\ No newline at end of file diff --git a/themes/elegant/language/nl_NL/theme.lang.php b/themes/elegant/language/nl_NL/theme.lang.php new file mode 100755 index 000000000..821ee31a0 --- /dev/null +++ b/themes/elegant/language/nl_NL/theme.lang.php @@ -0,0 +1,32 @@ +<?php +// +-----------------------------------------------------------------------+
+// | Piwigo - a PHP based photo gallery |
+// +-----------------------------------------------------------------------+
+// | Copyright(C) 2008-2014 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. |
+// +-----------------------------------------------------------------------+ +$lang['Choose what should be the default state for each panel, or disable the animation:'] = 'Geef de standaardtoestand van elk paneel, of schakel de animatie uit:'; +$lang['Comments Panel'] = 'Commentaar-paneel'; +$lang['Disable the animation'] = 'Schakel de animatie uit'; +$lang['Displayed'] = 'Weergegeven'; +$lang['Elegant, Configuration Page'] = 'Elegant, Configuratiepagina'; +$lang['Main Menu Panel'] = 'Hoofdmenu-paneel'; +$lang['Panels options'] = 'Paneel-opties'; +$lang['Photo Description Panel'] = 'Afbeeldingenbeschrijvings-paneel'; +$lang['Hidden'] = 'Verborgen'; +?>
\ No newline at end of file diff --git a/themes/elegant/language/nn_NO/theme.lang.php b/themes/elegant/language/nn_NO/theme.lang.php new file mode 100755 index 000000000..dd7d1db5c --- /dev/null +++ b/themes/elegant/language/nn_NO/theme.lang.php @@ -0,0 +1,32 @@ +<?php +// +-----------------------------------------------------------------------+
+// | Piwigo - a PHP based photo gallery |
+// +-----------------------------------------------------------------------+
+// | Copyright(C) 2008-2014 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. |
+// +-----------------------------------------------------------------------+ +$lang['Comments Panel'] = 'Panel for kommentarar'; +$lang['Choose what should be the default state for each panel, or disable the animation:'] = 'Vel kva som skal vera standard for kvart panel, eller ikkje vis animering:'; +$lang['Disable the animation'] = 'Ikkje vis animasjonar'; +$lang['Elegant, Configuration Page'] = 'Elegant - innstillingsside'; +$lang['Main Menu Panel'] = 'Panel for hovudmeny'; +$lang['Panels options'] = 'Panelinnstillingar'; +$lang['Photo Description Panel'] = 'Panel for biletskildring'; +$lang['Displayed'] = 'Vist'; +$lang['Hidden'] = 'Gøymd'; +?>
\ No newline at end of file diff --git a/themes/elegant/language/pl_PL/theme.lang.php b/themes/elegant/language/pl_PL/theme.lang.php new file mode 100755 index 000000000..e742cd47c --- /dev/null +++ b/themes/elegant/language/pl_PL/theme.lang.php @@ -0,0 +1,32 @@ +<?php +// +-----------------------------------------------------------------------+
+// | Piwigo - a PHP based photo gallery |
+// +-----------------------------------------------------------------------+
+// | Copyright(C) 2008-2014 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. |
+// +-----------------------------------------------------------------------+ +$lang['Choose what should be the default state for each panel, or disable the animation:'] = 'Wybierz domyślny stan dla każdego panelu lub wyłącz animację:'; +$lang['Comments Panel'] = 'Panel komentarzy'; +$lang['Disable the animation'] = 'Wyłącz animację'; +$lang['Displayed'] = 'Wyświetlane'; +$lang['Elegant, Configuration Page'] = 'Strona konfiguracyjna Elegant'; +$lang['Hidden'] = 'Ukryte'; +$lang['Main Menu Panel'] = 'Panel głównego menu'; +$lang['Panels options'] = 'Opcje panelu'; +$lang['Photo Description Panel'] = 'Panel opisu zdjęć'; +?>
\ No newline at end of file diff --git a/themes/elegant/language/pt_BR/theme.lang.php b/themes/elegant/language/pt_BR/theme.lang.php new file mode 100755 index 000000000..915d64975 --- /dev/null +++ b/themes/elegant/language/pt_BR/theme.lang.php @@ -0,0 +1,32 @@ +<?php +// +-----------------------------------------------------------------------+
+// | Piwigo - a PHP based photo gallery |
+// +-----------------------------------------------------------------------+
+// | Copyright(C) 2008-2014 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. |
+// +-----------------------------------------------------------------------+ +$lang['Choose what should be the default state for each panel, or disable the animation:'] = 'Escolha qual deve ser o estado padrão para cada painel, ou desativar a animação:'; +$lang['Comments Panel'] = 'Painel de Comentários'; +$lang['Disable the animation'] = 'Desabilitar a animação'; +$lang['Displayed'] = 'Exibido'; +$lang['Elegant, Configuration Page'] = 'Elegante, Página de Configuração'; +$lang['Hidden'] = 'Oculto'; +$lang['Main Menu Panel'] = 'Painel do Menu Principal'; +$lang['Panels options'] = 'Opções de painéis'; +$lang['Photo Description Panel'] = 'Painel de Descrição de Foto'; +?>
\ No newline at end of file diff --git a/themes/elegant/language/pt_PT/theme.lang.php b/themes/elegant/language/pt_PT/theme.lang.php new file mode 100755 index 000000000..f3db37932 --- /dev/null +++ b/themes/elegant/language/pt_PT/theme.lang.php @@ -0,0 +1,32 @@ +<?php +// +-----------------------------------------------------------------------+
+// | Piwigo - a PHP based photo gallery |
+// +-----------------------------------------------------------------------+
+// | Copyright(C) 2008-2014 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. |
+// +-----------------------------------------------------------------------+ +$lang['Choose what should be the default state for each panel, or disable the animation:'] = 'Escolha o que deverá ser definido para cada painel ou desative a animação.'; +$lang['Comments Panel'] = 'Painel de comentários'; +$lang['Disable the animation'] = 'Desativar a animação'; +$lang['Displayed'] = 'Mostrado'; +$lang['Elegant, Configuration Page'] = 'Eleganmte, página de configuração'; +$lang['Hidden'] = 'Omitido'; +$lang['Main Menu Panel'] = 'Painel do menú principal '; +$lang['Panels options'] = 'Opções dos paineis'; +$lang['Photo Description Panel'] = 'Painel de descrição da foto'; +?>
\ No newline at end of file diff --git a/themes/elegant/language/ro_RO/theme.lang.php b/themes/elegant/language/ro_RO/theme.lang.php new file mode 100755 index 000000000..828106138 --- /dev/null +++ b/themes/elegant/language/ro_RO/theme.lang.php @@ -0,0 +1,32 @@ +<?php +// +-----------------------------------------------------------------------+
+// | Piwigo - a PHP based photo gallery |
+// +-----------------------------------------------------------------------+
+// | Copyright(C) 2008-2014 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. |
+// +-----------------------------------------------------------------------+ +$lang['Choose what should be the default state for each panel, or disable the animation:'] = 'Alege care ar trebui să fie starea implicită pentru fiecare panou, sau dezactivează animația.'; +$lang['Comments Panel'] = 'Panou de comentarii'; +$lang['Disable the animation'] = 'Dezactivează animația'; +$lang['Displayed'] = 'Afișat'; +$lang['Elegant, Configuration Page'] = 'Pagină de configurare pentru Elegant'; +$lang['Hidden'] = 'Ascuns'; +$lang['Main Menu Panel'] = 'Panou meniu principal'; +$lang['Panels options'] = 'Panou de optiuni'; +$lang['Photo Description Panel'] = 'Panou de descrierea fotografiei'; +?>
\ No newline at end of file diff --git a/themes/elegant/language/ru_RU/theme.lang.php b/themes/elegant/language/ru_RU/theme.lang.php new file mode 100755 index 000000000..95b737d74 --- /dev/null +++ b/themes/elegant/language/ru_RU/theme.lang.php @@ -0,0 +1,32 @@ +<?php +// +-----------------------------------------------------------------------+
+// | Piwigo - a PHP based photo gallery |
+// +-----------------------------------------------------------------------+
+// | Copyright(C) 2008-2014 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. |
+// +-----------------------------------------------------------------------+ +$lang['Choose what should be the default state for each panel, or disable the animation:'] = 'Выберите, что должно быть по умолчанию для каждой группы, или отключите анимацию: '; +$lang['Comments Panel'] = 'Панель комментариев'; +$lang['Disable the animation'] = 'Отключить анимацию'; +$lang['Displayed'] = 'Отображено'; +$lang['Elegant, Configuration Page'] = 'Страница настройки темы Elegant'; +$lang['Hidden'] = 'Скрыто'; +$lang['Main Menu Panel'] = 'Панель главного меню'; +$lang['Panels options'] = 'Панели функций'; +$lang['Photo Description Panel'] = 'Панель описания изображений'; +?>
\ No newline at end of file diff --git a/themes/elegant/language/sk_SK/theme.lang.php b/themes/elegant/language/sk_SK/theme.lang.php new file mode 100755 index 000000000..2643a2c9a --- /dev/null +++ b/themes/elegant/language/sk_SK/theme.lang.php @@ -0,0 +1,32 @@ +<?php +// +-----------------------------------------------------------------------+
+// | Piwigo - a PHP based photo gallery |
+// +-----------------------------------------------------------------------+
+// | Copyright(C) 2008-2014 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. |
+// +-----------------------------------------------------------------------+ +$lang['Photo Description Panel'] = 'Panel popisu fotky'; +$lang['Panels options'] = 'Panlely možností'; +$lang['Main Menu Panel'] = 'Panel ponuky'; +$lang['Hidden'] = 'Skryté'; +$lang['Elegant, Configuration Page'] = 'Elegantný, stránka konfigurácie'; +$lang['Displayed'] = 'Zobrazené'; +$lang['Disable the animation'] = 'Zakázať animáciu'; +$lang['Comments Panel'] = 'Panel komentárov'; +$lang['Choose what should be the default state for each panel, or disable the animation:'] = 'Vyberte si, čo by mal byť východiskový stav pre každý panel, alebo zakázať animáciu'; +?>
\ No newline at end of file diff --git a/themes/elegant/language/sl_SI/theme.lang.php b/themes/elegant/language/sl_SI/theme.lang.php new file mode 100755 index 000000000..0b95a1070 --- /dev/null +++ b/themes/elegant/language/sl_SI/theme.lang.php @@ -0,0 +1,32 @@ +<?php +// +-----------------------------------------------------------------------+
+// | Piwigo - a PHP based photo gallery |
+// +-----------------------------------------------------------------------+
+// | Copyright(C) 2008-2014 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. |
+// +-----------------------------------------------------------------------+ +$lang['Choose what should be the default state for each panel, or disable the animation:'] = 'Izberite privzeto stanje za vsak panel ali pa onemogočite animacijo'; +$lang['Comments Panel'] = 'Panel komentarjev'; +$lang['Disable the animation'] = 'Onemogoči animacijo'; +$lang['Displayed'] = 'Prikazano'; +$lang['Elegant, Configuration Page'] = 'Elegantno, Nastavitveni panel'; +$lang['Hidden'] = 'Skrito'; +$lang['Main Menu Panel'] = 'Panel glavnega menija'; +$lang['Panels options'] = 'Možnosti panela'; +$lang['Photo Description Panel'] = 'Panel opisal fotografij'; +?>
\ No newline at end of file diff --git a/themes/elegant/language/sv_SE/theme.lang.php b/themes/elegant/language/sv_SE/theme.lang.php new file mode 100755 index 000000000..3582ea60c --- /dev/null +++ b/themes/elegant/language/sv_SE/theme.lang.php @@ -0,0 +1,32 @@ +<?php +// +-----------------------------------------------------------------------+
+// | Piwigo - a PHP based photo gallery |
+// +-----------------------------------------------------------------------+
+// | Copyright(C) 2008-2014 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. |
+// +-----------------------------------------------------------------------+ +$lang['Photo Description Panel'] = 'Fotobeskrivnings-panel'; +$lang['Main Menu Panel'] = 'Huvudmeny-panel'; +$lang['Elegant, Configuration Page'] = 'Elegant, konfigurationssida'; +$lang['Hidden'] = 'Dölj'; +$lang['Displayed'] = 'Visa'; +$lang['Choose what should be the default state for each panel, or disable the animation:'] = 'Välj standardtillståndet för varje panel, eller inaktivera animationen:'; +$lang['Disable the animation'] = 'Inaktivera animationen'; +$lang['Panels options'] = 'Panelinställningar'; +$lang['Comments Panel'] = 'Kommentarspanel'; +?>
\ No newline at end of file diff --git a/themes/elegant/language/ta_IN/theme.lang.php b/themes/elegant/language/ta_IN/theme.lang.php new file mode 100755 index 000000000..f6b96029b --- /dev/null +++ b/themes/elegant/language/ta_IN/theme.lang.php @@ -0,0 +1,33 @@ +<?php +// +-----------------------------------------------------------------------+
+// | Piwigo - a PHP based photo gallery |
+// +-----------------------------------------------------------------------+
+// | Copyright(C) 2008-2014 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. |
+// +-----------------------------------------------------------------------+ +$lang['Hidden'] = 'மறைந்துள்ள'; +$lang['Main Menu Panel'] = 'முதன்மை மெனுவிலுள்ள குழு'; +$lang['Panels options'] = 'பலகங்கள் விருப்பங்கள்'; +$lang['Photo Description Panel'] = 'புகைப்பட விவரிப்பு பலகம்'; +$lang['Elegant, Configuration Page'] = 'நளினமான, கட்டமைப்பு பக்கம்'; +$lang['Displayed'] = 'காண்பிக்கப்படும்'; +$lang['Comments Panel'] = 'கருத்துரைகள் குழு'; +$lang['Disable the animation'] = 'அனிமேசன் செயலிழக்க'; +$lang['Choose what should be the default state for each panel, or disable the animation:'] = 'தேர்வு செய்யவும் முன்னிருப்பு என்னவாக இருக்க வேண்டும் +ஒவ்வொரு குழு நிலை, அல்லது அனிமேஷன் செயலிழக்க:'; +?>
\ No newline at end of file diff --git a/themes/elegant/language/th_TH/theme.lang.php b/themes/elegant/language/th_TH/theme.lang.php new file mode 100755 index 000000000..b95eba150 --- /dev/null +++ b/themes/elegant/language/th_TH/theme.lang.php @@ -0,0 +1,33 @@ +<?php +// +-----------------------------------------------------------------------+
+// | Piwigo - a PHP based photo gallery |
+// +-----------------------------------------------------------------------+
+// | Copyright(C) 2008-2014 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. |
+// +-----------------------------------------------------------------------+ +$lang['Choose what should be the default state for each panel, or disable the animation:'] = ' +เลือกสิ่งที่ควรมีในตอนเริ่มต้นสำหรับแต่ละแผงหรือปิดการใช้งานภาพเคลื่อนไหว :'; +$lang['Comments Panel'] = 'แผงความเห็น'; +$lang['Disable the animation'] = 'ปิดการใช้งานภาพเคลื่อนไหว'; +$lang['Displayed'] = 'การแสดงผล'; +$lang['Elegant, Configuration Page'] = 'สง่างามหน้าการกำหนดค่า'; +$lang['Hidden'] = 'ซ่อน'; +$lang['Main Menu Panel'] = 'แผงเมนูหลัก'; +$lang['Panels options'] = 'ตัวเลือกแผง'; +$lang['Photo Description Panel'] = 'แผงรายละเอียดรูปภาพ'; +?>
\ No newline at end of file diff --git a/themes/elegant/language/tr_TR/theme.lang.php b/themes/elegant/language/tr_TR/theme.lang.php new file mode 100755 index 000000000..a2dfbc802 --- /dev/null +++ b/themes/elegant/language/tr_TR/theme.lang.php @@ -0,0 +1,32 @@ +<?php +// +-----------------------------------------------------------------------+
+// | Piwigo - a PHP based photo gallery |
+// +-----------------------------------------------------------------------+
+// | Copyright(C) 2008-2014 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. |
+// +-----------------------------------------------------------------------+ +$lang['Elegant, Configuration Page'] = 'Elegant, Yapılandırma Sayfası'; +$lang['Choose what should be the default state for each panel, or disable the animation:'] = 'Her panel için varsayılanın ne olması gerektiğini seçin veya animasyonu devre dışı bırakın:'; +$lang['Comments Panel'] = 'Yorumlar Paneli'; +$lang['Photo Description Panel'] = 'Fotoğraf Açıklama Paneli'; +$lang['Panels options'] = 'Panel seçenekleri'; +$lang['Main Menu Panel'] = 'Ana Menü Paneli'; +$lang['Hidden'] = 'Gizli'; +$lang['Displayed'] = 'Görüntülendi'; +$lang['Disable the animation'] = 'Animasyonu devre dışı bırak'; +?>
\ No newline at end of file diff --git a/themes/elegant/language/uk_UA/theme.lang.php b/themes/elegant/language/uk_UA/theme.lang.php new file mode 100755 index 000000000..800aee1c3 --- /dev/null +++ b/themes/elegant/language/uk_UA/theme.lang.php @@ -0,0 +1,32 @@ +<?php +// +-----------------------------------------------------------------------+
+// | Piwigo - a PHP based photo gallery |
+// +-----------------------------------------------------------------------+
+// | Copyright(C) 2008-2014 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. |
+// +-----------------------------------------------------------------------+ +$lang['Elegant, Configuration Page'] = 'Сторінка конфігурації теми Елегантний'; +$lang['Panels options'] = 'Панелі параметрів'; +$lang['Photo Description Panel'] = 'Панель опису зображень'; +$lang['Choose what should be the default state for each panel, or disable the animation:'] = 'Виберіть те, що має стан за замовчуванням для кожної панелі, або відключити анімацію:'; +$lang['Comments Panel'] = 'Панель коментарів'; +$lang['Disable the animation'] = 'Вимкнути анімацію'; +$lang['Displayed'] = 'Показано'; +$lang['Hidden'] = 'Приховано'; +$lang['Main Menu Panel'] = 'Головне меню панелі'; +?>
\ No newline at end of file diff --git a/themes/elegant/language/vi_VN/theme.lang.php b/themes/elegant/language/vi_VN/theme.lang.php new file mode 100755 index 000000000..230ee3d2f --- /dev/null +++ b/themes/elegant/language/vi_VN/theme.lang.php @@ -0,0 +1,32 @@ +<?php +// +-----------------------------------------------------------------------+
+// | Piwigo - a PHP based photo gallery |
+// +-----------------------------------------------------------------------+
+// | Copyright(C) 2008-2014 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. |
+// +-----------------------------------------------------------------------+ +$lang['Choose what should be the default state for each panel, or disable the animation:'] = 'Chọn trạng thái mặc định cho mỗi bảng, hoặc vô hiệu hóa tính năng hoạt hình'; +$lang['Comments Panel'] = 'Bảng bình luận'; +$lang['Disable the animation'] = 'Vô hiệu hóa tính năng hoạt hình'; +$lang['Displayed'] = 'Được hiển thị'; +$lang['Elegant, Configuration Page'] = 'Elegant, Trang cấu hình'; +$lang['Hidden'] = 'Ẩn'; +$lang['Main Menu Panel'] = 'Bảng Menu chính'; +$lang['Panels options'] = 'Tùy chọn bảng'; +$lang['Photo Description Panel'] = 'Bảng mô tả ảnh'; +?>
\ No newline at end of file diff --git a/themes/elegant/language/zh_CN/theme.lang.php b/themes/elegant/language/zh_CN/theme.lang.php new file mode 100755 index 000000000..c08ca9324 --- /dev/null +++ b/themes/elegant/language/zh_CN/theme.lang.php @@ -0,0 +1,32 @@ +<?php +// +-----------------------------------------------------------------------+
+// | Piwigo - a PHP based photo gallery |
+// +-----------------------------------------------------------------------+
+// | Copyright(C) 2008-2014 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. |
+// +-----------------------------------------------------------------------+ +$lang['Choose what should be the default state for each panel, or disable the animation:'] = '选择每个面板的默认状态,或禁用动画:'; +$lang['Disable the animation'] = '禁用动画'; +$lang['Displayed'] = '显示的'; +$lang['Elegant, Configuration Page'] = 'Elegant,设置页'; +$lang['Hidden'] = '隐藏的'; +$lang['Comments Panel'] = '评论面板'; +$lang['Main Menu Panel'] = '主菜单面板'; +$lang['Panels options'] = '面板选项'; +$lang['Photo Description Panel'] = '图片描述面板'; +?>
\ No newline at end of file diff --git a/themes/elegant/language/zh_HK/theme.lang.php b/themes/elegant/language/zh_HK/theme.lang.php new file mode 100755 index 000000000..dfc326ad2 --- /dev/null +++ b/themes/elegant/language/zh_HK/theme.lang.php @@ -0,0 +1,32 @@ +<?php +// +-----------------------------------------------------------------------+
+// | Piwigo - a PHP based photo gallery |
+// +-----------------------------------------------------------------------+
+// | Copyright(C) 2008-2014 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. |
+// +-----------------------------------------------------------------------+ +$lang['Choose what should be the default state for each panel, or disable the animation:'] = '選擇每個面板的默認狀態,或停用動畫:'; +$lang['Comments Panel'] = '留言面板'; +$lang['Disable the animation'] = '停用動畫'; +$lang['Displayed'] = '已顯示'; +$lang['Elegant, Configuration Page'] = '優雅,設定頁面'; +$lang['Hidden'] = '隱蔽'; +$lang['Main Menu Panel'] = '主目錄面板'; +$lang['Panels options'] = '面板選項'; +$lang['Photo Description Panel'] = '相片描述面板'; +?>
\ No newline at end of file diff --git a/themes/elegant/language/zh_TW/theme.lang.php b/themes/elegant/language/zh_TW/theme.lang.php new file mode 100755 index 000000000..bf5fdd1cd --- /dev/null +++ b/themes/elegant/language/zh_TW/theme.lang.php @@ -0,0 +1,32 @@ +<?php +// +-----------------------------------------------------------------------+
+// | Piwigo - a PHP based photo gallery |
+// +-----------------------------------------------------------------------+
+// | Copyright(C) 2008-2014 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. |
+// +-----------------------------------------------------------------------+ +$lang['Choose what should be the default state for each panel, or disable the animation:'] = '選擇每個面板的預設狀態,或關閉動畫。'; +$lang['Comments Panel'] = '回應面板'; +$lang['Disable the animation'] = '關閉動畫'; +$lang['Displayed'] = '已顯示'; +$lang['Elegant, Configuration Page'] = '優雅,配置頁面'; +$lang['Hidden'] = '隱藏'; +$lang['Main Menu Panel'] = '主要選單面板'; +$lang['Panels options'] = '面板選項'; +$lang['Photo Description Panel'] = '照片簡介面板'; +?>
\ No newline at end of file diff --git a/themes/elegant/local_head.tpl b/themes/elegant/local_head.tpl index a427c1726..8c2b4045c 100644 --- a/themes/elegant/local_head.tpl +++ b/themes/elegant/local_head.tpl @@ -1,3 +1,6 @@ +{footer_script}
+ var p_main_menu = "{$elegant.p_main_menu}", p_pict_descr = "{$elegant.p_pict_descr}", p_pict_comment = "{$elegant.p_pict_comment}";
+{/footer_script}
{if $BODY_ID=='thePicturePage'}
{combine_script id='elegant.scripts_pp' load='footer' require='jquery' path='themes/elegant/scripts_pp.js'}
{else}
diff --git a/themes/elegant/mail-css.tpl b/themes/elegant/mail-css.tpl deleted file mode 100644 index 6399c9efd..000000000 --- a/themes/elegant/mail-css.tpl +++ /dev/null @@ -1,9 +0,0 @@ -/* Theme dark mail css */ - -body {ldelim} background-color:#444; color:#fff;} -#copyright {ldelim} color: #69c;} -h2 {ldelim} background-color: #333; color:#fff48e;} -img {ldelim} margin: 16px; border: 16px solid #111; -moz-border-radius: 4px; border-radius: 4px 4px; } -img:hover {ldelim} padding: 15px; border: 1px solid yellow;background-color:#444;-moz-border-radius: 4px; border-radius: 4px 4px; } -a {ldelim} color: #fff48e; background: transparent;border-bottom:1px dotted #005e89; } -a:hover {ldelim} color: #fff48e;} diff --git a/themes/elegant/scripts.js b/themes/elegant/scripts.js index 20433ac65..1f946303e 100644 --- a/themes/elegant/scripts.js +++ b/themes/elegant/scripts.js @@ -1,78 +1,54 @@ -/**
- * Cookie plugin
- * Copyright (c) 2006 Klaus Hartl (stilbuero.de)
- * Dual licensed under the MIT and GPL licenses:
- */
-jQuery.cookie=function(name,value,options){if(typeof value!='undefined'){options=options||{};if(value===null){value='';options=jQuery.extend({},options);options.expires=-1;}
-var expires='';if(options.expires&&(typeof options.expires=='number'||options.expires.toUTCString)){var date;if(typeof options.expires=='number'){date=new Date();date.setTime(date.getTime()+(options.expires*24*60*60*1000));}else{date=options.expires;}
-expires='; expires='+date.toUTCString();}
-var path=options.path?'; path='+(options.path):'';var domain=options.domain?'; domain='+(options.domain):'';var secure=options.secure?'; secure':'';document.cookie=[name,'=',encodeURIComponent(value),expires,path,domain,secure].join('');}else{var cookieValue=null;if(document.cookie&&document.cookie!=''){var cookies=document.cookie.split(';');for(var i=0;i<cookies.length;i++){var cookie=jQuery.trim(cookies[i]);if(cookie.substring(0,name.length+1)==(name+'=')){cookieValue=decodeURIComponent(cookie.substring(name.length+1));break;}}}
-return cookieValue;}};
-
-if (jQuery.cookie('page-menu') == 'hidden') {
- jQuery("head").append("<style type=\"text/css\">#the_page #menubar {display:none;} #content.contentWithMenu, #the_page > .content {margin-left:35px;}</style>");
-} else {
- jQuery("head").append("<style type=\"text/css\">#content.contentWithMenu, #the_page > .content {margin-left:240px;}</style>");
-}
-
-function hideMenu(delay) {
- var menubar=jQuery("#menubar");
- var menuswitcher=jQuery("#menuSwitcher");
- var content=jQuery("#the_page > .content");
- var pcontent=jQuery("#content");
-
- menubar.hide(delay);
- menuswitcher.addClass("menuhidden").removeClass("menushown");
- content.addClass("menuhidden").removeClass("menushown");
- pcontent.addClass("menuhidden").removeClass("menushown");
- jQuery.cookie('page-menu', 'hidden', {path: "/"});
-
-}
-
-function showMenu(delay) {
-
- var menubar=jQuery("#menubar");
- var menuswitcher=jQuery("#menuSwitcher");
- var content=jQuery("#the_page > .content");
- var pcontent=jQuery("#content");
-
- menubar.show(delay);
- menuswitcher.addClass("menushown").removeClass("menuhidden");
- content.addClass("menushown").removeClass("menuhidden");
- pcontent.addClass("menushown").removeClass("menuhidden");
- jQuery.cookie('page-menu', 'visible', {path: "/"});
-
-}
-
-jQuery("document").ready(function(jQuery){
-
- var sidemenu = jQuery.cookie('page-menu');
- var menubar=jQuery("#menubar");
-
- if (menubar.length == 1) {
-
- jQuery("#menuSwitcher").html("<div class=\"switchArrow\"> </div>");
-
- // if cookie says the menu is hiding, keep it hidden!
- if (sidemenu == 'hidden') {
- hideMenu(0);
- } else {
- showMenu(0);
- }
-
- jQuery("#menuSwitcher").click(function(){
- if (jQuery("#menubar").is(":hidden")) {
- showMenu(0);
- return false;
- } else {
- hideMenu(0);
- return false;
- }
- });
-
-
- }
-
-});
-
-
+(function() { + var session_storage = window.sessionStorage || {}; + + var menubar=jQuery("#menubar"), + menuswitcher=jQuery("#menuSwitcher"), + content=jQuery("#the_page > .content"), + pcontent=jQuery("#content"); + + function hideMenu(delay) { + menubar.hide(delay); + menuswitcher.addClass("menuhidden").removeClass("menushown"); + content.addClass("menuhidden").removeClass("menushown"); + pcontent.addClass("menuhidden").removeClass("menushown"); + session_storage['page-menu'] = 'hidden'; + } + + function showMenu(delay) { + menubar.show(delay); + menuswitcher.addClass("menushown").removeClass("menuhidden"); + content.addClass("menushown").removeClass("menuhidden"); + pcontent.addClass("menushown").removeClass("menuhidden"); + session_storage['page-menu'] = 'visible'; + } + + jQuery(function(){ + if (menubar.length == 1 && p_main_menu!="disabled") { + menuswitcher.html('<div class="switchArrow"> </div>'); + + if (session_storage['page-menu'] == undefined && p_main_menu == 'off') { + session_storage['page-menu'] = 'hidden'; + } + + if (session_storage['page-menu'] == 'hidden') { + hideMenu(0); + } + else { + showMenu(0); + } + + menuswitcher.click(function(e){ + if (menubar.is(":hidden")) { + showMenu(0); + } + else { + hideMenu(0); + } + e.preventDefault(); + }); + } + else if (menubar.length == 1 && p_main_menu=="disabled") { + showMenu(0); + } + }); +}());
\ No newline at end of file diff --git a/themes/elegant/scripts_pp.js b/themes/elegant/scripts_pp.js index 92e8cfc06..c5185821f 100644 --- a/themes/elegant/scripts_pp.js +++ b/themes/elegant/scripts_pp.js @@ -1,176 +1,175 @@ -/**
- * Cookie plugin
- * Copyright (c) 2006 Klaus Hartl (stilbuero.de)
- * Dual licensed under the MIT and GPL licenses:
- */
-jQuery.cookie=function(name,value,options){if(typeof value!='undefined'){options=options||{};if(value===null){value='';options=jQuery.extend({},options);options.expires=-1;}
-var expires='';if(options.expires&&(typeof options.expires=='number'||options.expires.toUTCString)){var date;if(typeof options.expires=='number'){date=new Date();date.setTime(date.getTime()+(options.expires*24*60*60*1000));}else{date=options.expires;}
-expires='; expires='+date.toUTCString();}
-var path=options.path?'; path='+(options.path):'';var domain=options.domain?'; domain='+(options.domain):'';var secure=options.secure?'; secure':'';document.cookie=[name,'=',encodeURIComponent(value),expires,path,domain,secure].join('');}else{var cookieValue=null;if(document.cookie&&document.cookie!=''){var cookies=document.cookie.split(';');for(var i=0;i<cookies.length;i++){var cookie=jQuery.trim(cookies[i]);if(cookie.substring(0,name.length+1)==(name+'=')){cookieValue=decodeURIComponent(cookie.substring(name.length+1));break;}}}
-return cookieValue;}};
-
-if (jQuery.cookie('picture-menu') == 'visible') {
- jQuery("head").append("<style type=\"text/css\">#content.contentWithMenu, #the_page > .content {margin-left:240px;}</style>");
-} else {
- jQuery("head").append("<style type=\"text/css\">#the_page #menubar {display:none;} #content.contentWithMenu, #the_page > .content {margin-left:35px;}</style>");
-}
-
-function hideMenu(delay) {
- var menubar=jQuery("#menubar");
- var menuswitcher=jQuery("#menuSwitcher");
- var content=jQuery("#the_page > .content");
- var pcontent=jQuery("#content");
-
- menubar.hide(delay);
- menuswitcher.addClass("menuhidden").removeClass("menushown");
- content.addClass("menuhidden").removeClass("menushown");
- pcontent.addClass("menuhidden").removeClass("menushown");
- jQuery.cookie('picture-menu', 'hidden', {path: "/"});
-
-}
-
-function showMenu(delay) {
-
- var menubar=jQuery("#menubar");
- var menuswitcher=jQuery("#menuSwitcher");
- var content=jQuery("#the_page > .content");
- var pcontent=jQuery("#content");
-
- menubar.show(delay);
- menuswitcher.addClass("menushown").removeClass("menuhidden");
- content.addClass("menushown").removeClass("menuhidden");
- pcontent.addClass("menushown").removeClass("menuhidden");
- jQuery.cookie('picture-menu', 'visible', {path: "/"});
-
-}
-
-function hideInfo(delay) {
-
- var imageInfos=jQuery("#imageInfos");
- var infoswitcher=jQuery("#infoSwitcher");
- var theImage=jQuery("#theImage");
-
- imageInfos.hide(delay);
- infoswitcher.addClass("infohidden").removeClass("infoshown");
- theImage.addClass("infohidden").removeClass("infoshown");
- jQuery.cookie('side-info', 'hidden', {path: "/"});
-
-}
-
-function showInfo(delay) {
-
- var imageInfos=jQuery("#imageInfos");
- var infoswitcher=jQuery("#infoSwitcher");
- var theImage=jQuery("#theImage");
-
- imageInfos.show(delay);
- infoswitcher.addClass("infoshown").removeClass("infohidden");
- theImage.addClass("infoshown").removeClass("infohidden");
- jQuery.cookie('side-info', 'visible', {path: "/"});
-
-}
-
-jQuery("document").ready(function(jQuery){
-
- // side-menu show/hide
-
- var sidemenu = jQuery.cookie('picture-menu');
- var menubar=jQuery("#menubar");
-
- if (menubar.length == 1) {
-
- jQuery("#menuSwitcher").html("<div class=\"switchArrow\"> </div>");
-
- // if cookie says the menu is hiding, keep it hidden!
- if (sidemenu == 'visible') {
- showMenu(0);
- } else {
- hideMenu(0);
- }
-
- jQuery("#menuSwitcher").click(function(){
- if (jQuery("#menubar").is(":hidden")) {
- showMenu(0);
- return false;
- } else {
- hideMenu(0);
- return false;
- }
- });
-
- }
-
- // info show/hide
-
- var sideinfo = jQuery.cookie('side-info');
- var imageInfos=jQuery("#imageInfos");
-
- if (imageInfos.length == 1) {
-
- jQuery("#infoSwitcher").html("<div class=\"switchArrow\"> </div>");
-
- // if cookie says the menu is hiding, keep it hidden!
- if (sideinfo == 'hidden') {
- hideInfo(0);
- } else {
- showInfo(0);
- }
-
- jQuery("#infoSwitcher").click(function(){
- if (jQuery("#imageInfos").is(":hidden")) {
- showInfo(0);
- return false;
- } else {
- hideInfo(0);
- return false;
- }
- });
-
- }
-
- // comments show/hide
-
- var commentsswicther=jQuery("#commentsSwitcher");
- var comments=jQuery("#thePicturePage #comments");
-
- commentsswicther.html("<div class=\"switchArrow\"> </div>");
-
- if (comments.length == 1) {
- var comments_button=jQuery("#comments h3");
-
- if (comments_button.length == 0) {
- jQuery("#addComment").before("<h3>Comments</h3>");
- comments_button=jQuery("#comments h3");
- }
-
- if (jQuery.cookie('comments') == 'visible') {
- comments.addClass("commentsshown");
- comments_button.addClass("comments_toggle").addClass("comments_toggle_off");
- } else {
- comments.addClass("commentshidden");
- comments_button.addClass("comments_toggle").addClass("comments_toggle_on");
- }
-
- comments_button.click(function() { commentsToggle() });
- commentsswicther.click(function() { commentsToggle() });
-
- }
-
-
-});
-
-function commentsToggle() {
- var comments=jQuery("#thePicturePage #comments");
- var comments_button=jQuery("#comments h3");
-
- if (comments.hasClass("commentshidden")) {
- comments.removeClass("commentshidden").addClass("commentsshown");
- comments_button.addClass("comments_toggle_off").removeClass("comments_toggle_on");;
- jQuery.cookie('comments', 'visible', {path: "/"});
- } else {
- comments.addClass("commentshidden").removeClass("commentsshown");
- comments_button.addClass("comments_toggle_on").removeClass("comments_toggle_off");;
- jQuery.cookie('comments', 'hidden', {path: "/"});
- }
-
-}
+(function() { + var session_storage = window.sessionStorage || {}; + + var menubar=jQuery("#menubar"), + menuswitcher, + content=jQuery("#the_page > .content"), + pcontent=jQuery("#content"), + imageInfos=jQuery("#imageInfos"), + infoswitcher, + theImage=jQuery("#theImage"), + comments=jQuery("#thePicturePage #comments"), + comments_button, + commentsswitcher, + comments_add, + comments_top_offset = 0; + + function hideMenu(delay) { + menubar.hide(delay); + menuswitcher.addClass("menuhidden").removeClass("menushown"); + content.addClass("menuhidden").removeClass("menushown"); + pcontent.addClass("menuhidden").removeClass("menushown"); + session_storage['picture-menu'] = 'hidden'; + } + + function showMenu(delay) { + menubar.show(delay); + menuswitcher.addClass("menushown").removeClass("menuhidden"); + content.addClass("menushown").removeClass("menuhidden"); + pcontent.addClass("menushown").removeClass("menuhidden"); + session_storage['picture-menu'] = 'visible'; + } + + function hideInfo(delay) { + imageInfos.hide(delay); + infoswitcher.addClass("infohidden").removeClass("infoshown"); + theImage.addClass("infohidden").removeClass("infoshown"); + session_storage['side-info'] = 'hidden'; + } + + function showInfo(delay) { + imageInfos.show(delay); + infoswitcher.addClass("infoshown").removeClass("infohidden"); + theImage.addClass("infoshown").removeClass("infohidden"); + session_storage['side-info'] = 'visible'; + } + + function commentsToggle() { + if (comments.hasClass("commentshidden")) { + comments.removeClass("commentshidden").addClass("commentsshown"); + comments_button.addClass("comments_toggle_off").removeClass("comments_toggle_on");; + session_storage['comments'] = 'visible'; + comments_top_offset = comments_add.offset().top - parseFloat(comments_add.css('marginTop').replace(/auto/, 0)); + } + else { + comments.addClass("commentshidden").removeClass("commentsshown"); + comments_button.addClass("comments_toggle_on").removeClass("comments_toggle_off");; + session_storage['comments'] = 'hidden';
+ comments_top_offset = 0; + } + } + + jQuery(function(){ + // side-menu show/hide + if (menubar.length == 1 && p_main_menu!="disabled") { + menuswitcher=jQuery("#menuSwitcher"); + + menuswitcher.html('<div class="switchArrow"> </div>'); + + if (session_storage['picture-menu'] == undefined && p_main_menu == 'off') { + session_storage['picture-menu'] = 'hidden'; + } + + if (session_storage['picture-menu'] == 'hidden') { + hideMenu(0); + } + else { + showMenu(0); + } + + menuswitcher.click(function(e){ + if (menubar.is(":hidden")) { + showMenu(0); + } + else { + hideMenu(0); + } + e.preventDefault(); + }); + } + else if (menubar.length == 1 && p_main_menu=="disabled") { + showMenu(0); + } + + // info show/hide + if (imageInfos.length == 1 && p_pict_descr!="disabled") { + infoswitcher=jQuery("#infoSwitcher"); + + infoswitcher.html('<div class="switchArrow"> </div>'); + + if (session_storage['side-info'] == undefined && p_pict_descr == 'off') { + session_storage['side-info'] = 'hidden'; + } + + if (session_storage['side-info'] == 'hidden') { + hideInfo(0); + } + else { + showInfo(0); + } + + infoswitcher.click(function(e){ + if (imageInfos.is(":hidden")) { + showInfo(0); + } + else { + hideInfo(0); + } + e.preventDefault(); + }); + } + + // comments show/hide + if (comments.length == 1 && p_pict_comment!="disabled") { + commentsswitcher=jQuery("#commentsSwitcher"); + comments_button=jQuery("#comments h3"); + comments_add=jQuery('#commentAdd'); + + commentsswitcher.html('<div class="switchArrow"> </div>'); + + if (comments_button.length == 0) { + jQuery("#addComment").before("<h3>Comments</h3>"); + comments_button=jQuery("#comments h3"); + } + + if (session_storage['comments'] == undefined && p_pict_comment == 'off') { + session_storage['comments'] = 'hidden'; + } + + if (session_storage['comments'] == 'hidden') { + comments.addClass("commentshidden"); + comments_button.addClass("comments_toggle comments_toggle_on"); + } + else { + comments.addClass("commentsshown"); + comments_button.addClass("comments_toggle comments_toggle_off"); + } + + comments_button.click(commentsToggle); + commentsswitcher.click(commentsToggle); + + jQuery(window).scroll(function (event) { + if (comments_top_offset==0) return; + + var y = jQuery(this).scrollTop(); + + if (y >= comments_top_offset) { + comments_add.css({
+ 'position': 'absolute',
+ 'top': y-comments.offset().top+10
+ }); + } + else { + comments_add.css({
+ 'position': 'static',
+ 'top': 0
+ }); + } + }); + + if (comments_add.is(":visible")) { + comments_top_offset = comments_add.offset().top - parseFloat(comments_add.css('marginTop').replace(/auto/, 0)); + } + } + }); +}());
\ No newline at end of file diff --git a/themes/elegant/theme.css b/themes/elegant/theme.css index 95f7c7a92..83f130deb 100644 --- a/themes/elegant/theme.css +++ b/themes/elegant/theme.css @@ -220,10 +220,9 @@ a:hover { border-bottom: none;} } #imageInfos .navThumbs { width: 250px; height: 130px; margin: auto; padding: 0 5px;} -#imageInfos .navThumb { position: relative; width: 120px; height: 120px; margin: 0; overflow: hidden;} +#imageInfos .navThumb { position: relative; margin: 0; overflow: hidden;} #imageInfos #linkPrev { float: left;} -#imageInfos #linkNext { float: right;} -#imageInfos .thumbHover { position: absolute; width: 100%; height: 100%;} +#imageInfos #linkNext { float: right;} #imageInfos .prevThumbHover { background: transparent url(icon/none.png) no-repeat center center;} #imageInfos .prevThumbHover:hover { background: transparent url(icon/img_prev.png) no-repeat center center;} #imageInfos .nextThumbHover { background: transparent url(icon/none.png) no-repeat center center;} @@ -238,7 +237,7 @@ a:hover { border-bottom: none;} /* image comments */ -#thePicturePage #comments { padding: 2px 5px;} +#thePicturePage #comments { padding: 2px 5px; position:relative;} #thePicturePage #comments h3 { margin: 10px 0;} #thePicturePage #comments form { margin: 10px 0;} #thePicturePage #comments fieldset { margin: 0 1em;} @@ -256,7 +255,6 @@ a:hover { border-bottom: none;} font-family: Arial,Helvetica,sans-serif; font-size: 100%; } - #pictureCommentList .commentsOrder { float: left; margin-bottom: 5px;} #pictureCommentList .navigationBar { float: right; margin-bottom: 5px;} #pictureComments h4 { margin: 0;} diff --git a/themes/elegant/themeconf.inc.php b/themes/elegant/themeconf.inc.php index 1c0e1feb3..d5afc6f6e 100644 --- a/themes/elegant/themeconf.inc.php +++ b/themes/elegant/themeconf.inc.php @@ -1,9 +1,9 @@ <?php /* Theme Name: elegant -Version: 2.5.0 +Version: 2.6.0 Description: Dark background, grayscale. -Theme URI: +Theme URI: http://piwigo.org/ext/extension_view.php?eid=685 Author: Piwigo team Author URI: http://piwigo.org */ @@ -12,4 +12,16 @@ $themeconf = array( 'parent' => 'default', 'local_head' => 'local_head.tpl' ); +// Need upgrade? +global $conf; +include(PHPWG_THEMES_PATH.'elegant/admin/upgrade.inc.php'); + +add_event_handler('init', 'set_config_values_elegant'); +function set_config_values_elegant() +{ + global $conf, $template; + $config = unserialize( $conf['elegant'] ); + $template->assign( 'elegant', $config ); +} + ?> |