aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/admin_advices
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/admin_advices')
-rw-r--r--plugins/admin_advices/admin_advices.php192
-rw-r--r--plugins/admin_advices/admin_advices.tpl73
-rw-r--r--plugins/admin_advices/adv_set.php181
-rw-r--r--plugins/admin_advices/default-layout.css19
-rw-r--r--plugins/admin_advices/index.php30
-rw-r--r--plugins/admin_advices/language/de_DE/description.txt1
-rw-r--r--plugins/admin_advices/language/de_DE/index.php30
-rw-r--r--plugins/admin_advices/language/de_DE/plugin.lang.php168
-rw-r--r--plugins/admin_advices/language/en_UK/description.txt1
-rw-r--r--plugins/admin_advices/language/en_UK/index.php30
-rw-r--r--plugins/admin_advices/language/en_UK/plugin.lang.php168
-rw-r--r--plugins/admin_advices/language/es_ES/description.txt1
-rw-r--r--plugins/admin_advices/language/es_ES/index.php30
-rw-r--r--plugins/admin_advices/language/es_ES/plugin.lang.php170
-rw-r--r--plugins/admin_advices/language/fr_FR/description.txt1
-rw-r--r--plugins/admin_advices/language/fr_FR/index.php30
-rw-r--r--plugins/admin_advices/language/fr_FR/plugin.lang.php170
-rw-r--r--plugins/admin_advices/language/index.php30
-rw-r--r--plugins/admin_advices/language/it_IT/description.txt1
-rw-r--r--plugins/admin_advices/language/it_IT/index.php30
-rw-r--r--plugins/admin_advices/language/it_IT/plugin.lang.php170
-rw-r--r--plugins/admin_advices/language/pl_PL/description.txt1
-rw-r--r--plugins/admin_advices/language/pl_PL/index.php30
-rw-r--r--plugins/admin_advices/main.inc.php36
24 files changed, 0 insertions, 1593 deletions
diff --git a/plugins/admin_advices/admin_advices.php b/plugins/admin_advices/admin_advices.php
deleted file mode 100644
index 16af2fee4..000000000
--- a/plugins/admin_advices/admin_advices.php
+++ /dev/null
@@ -1,192 +0,0 @@
-<?php
-// +-----------------------------------------------------------------------+
-// | Piwigo - a PHP based picture gallery |
-// +-----------------------------------------------------------------------+
-// | Copyright(C) 2008-2010 Piwigo Team http://piwigo.org |
-// | Copyright(C) 2003-2008 Piwigo 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. |
-// +-----------------------------------------------------------------------+
-
-add_event_handler('loc_end_page_header', 'set_admin_advice_add_css' );
-
-// Add a XHTML tag in HEAD section
-function set_admin_advice_add_css()
-{
- global $template, $page;
- if ( isset($page['body_id']) and $page['body_id']=='theAdminPage'
- and $page['page'] == 'intro'
- )
- {// This Plugin works only on the Admin page
- $template->append(
- 'head_elements',
- '<link rel="stylesheet" type="text/css" '
- . 'href="'.PHPWG_PLUGINS_PATH.'admin_advices/default-layout.css">'
- );
- add_event_handler('loc_begin_page_tail', 'set_admin_advice' );
- }
-}
-
-// Build advice on the Admin Intro page
-function set_admin_advice()
-{
- global $page, $user, $template, $conf, $prefixeTable, $lang;
- $my_path = dirname(__FILE__).'/';
-
-// Include language advice
- foreach ($conf as $key => $value)
- {
- if ( is_string($value) )
- {
- $bool = ($value == 'false') ? false : $value;
- $bool = ($value == 'true') ? true : $bool;
- $conf[$key] = $bool;
- }
- }
- $adv = array();
-
- include_once( $my_path."adv_set.php" );
-
- $cases = range(0,count($lang['Adv_case'])-1);
- srand ((double) microtime() * 10000000);
- shuffle($cases);
-
-
- $cond = false;
- foreach ($cases as $id)
- {
- if (!isset($adv['c'][$id])) $adv['c'][$id] = true;
- if (!isset($adv['n'][$id])) $adv['c'][$id] = false;
- if (!isset($lang['Adv_case'][$id])) $adv['c'][$id] = false;
- $cond = $adv['c'][$id];
- if ($cond) break;
- }
- $confk = $adv['n'][$id];
- if (substr($confk,0,2) == '**') $confk = substr($confk,2);
- else $confk = '$conf[' . "'$confk']";
- $advice_text = (isset($adv['v'][$id])) ? $adv['v'][$id] : '';
- $more = $lang['Adv_case'][$id];
-
- $template->set_filenames(array(
- 'admin_advice' => $my_path.'admin_advices.tpl')
- );
-
-// Mysql status
- $result = pwg_query('SHOW TABLE STATUS ;');
- $pwgspacef = $spacef = $pwgsize = $size = 0;
- $len = strlen($prefixeTable);
- $check = array();
- while ($row = mysql_fetch_array($result))
- {
- $size += ($row['Data_length'] + $row['Index_length']);
- $spacef += $row['Data_free'];
- if ( substr( $row['Name'], 0, $len ) == $prefixeTable ) {
- $pwgsize += ($row['Data_length'] + $row['Index_length']);
- $pwgspacef += $row['Data_free'];
- $check[] = (string) $row['Check_time'];
- }
- }
- $size .= ' bytes';
- $pwgsize .= ' bytes';
- $spacef .= ' bytes';
- $pwgspacef .= ' bytes';
- if ($size > 1024) $size = round($size / 1024, 1) . ' Kb';
- if ($size > 1024) $size = round($size / 1024, 1) . ' Mb';
- if ($pwgsize > 1024) $pwgsize = round($pwgsize / 1024, 1) . ' Kb';
- if ($pwgsize > 1024) $pwgsize = round($pwgsize / 1024, 1) . ' Mb';
- if ($spacef > 1024) $spacef = round($spacef / 1024, 1) . ' Kb';
- if ($spacef > 1024) $spacef = round($spacef / 1024, 1) . ' Mb';
- if ($pwgspacef > 1024) $pwgspacef = round($pwgspacef / 1024, 1) . ' Kb';
- if ($pwgspacef > 1024) $pwgspacef = round($pwgspacef / 1024, 1) . ' Mb';
- $check = array_flip(array_flip($check));
- rsort($check);
- $end = end($check);
- $prev = prev($check);
- $first = $check[0];
- $checkon = '';
- if (empty($end)) $end = $prev;
- if ($end == $first) $checkon .= 'Last table check on: %s';
- else $checkon .= 'Most recent table check on: %s - oldest: %s';
- $checkon = sprintf($checkon, $first, $end);
- $template->assign(
- array(
- 'prefixTable' => $prefixeTable,
- 'pwgsize' => $pwgsize,
- 'size' => $size,
- 'checked_tables' => $checkon,
- 'pwgspacef' => $pwgspacef,
- 'spacef' => $spacef,
- 'U_maintenance' => get_root_url()
- . 'admin.php?page=maintenance&amp;action=database',
- )
- );
-
-// If there is advice
- if ( $cond )
- {
-
-// Random Thumbnail
- $query = '
-SELECT *
-FROM '.IMAGES_TABLE.'
-ORDER BY RAND(NOW())
-LIMIT 0, 1
-;';
- $result = pwg_query($query);
- $row = mysql_fetch_assoc($result);
- if ( is_array($row) )
- {
- $url_modify = get_root_url().'admin.php?page=picture_modify'
- .'&amp;image_id='.$row['id'];
- $query = '
-SELECT * FROM '.IMAGE_TAG_TABLE.'
-WHERE image_id = ' . $row['id'] .'
-;';
- $tag_count = mysql_num_rows(pwg_query($query));
- $template->assign('thumbnail',
- array(
- 'IMAGE' => get_thumbnail_url($row),
- 'IMAGE_ALT' => $row['file'],
- 'IMAGE_TITLE' => $row['name'],
- 'METADATA' => (empty($row['date_metadata_update'])) ?
- 'un' : '',
- 'NAME' => (empty($row['name'])) ?
- 'un' : '',
- 'COMMENT' => (empty($row['comment'])) ?
- 'un' : '',
- 'AUTHOR' => (empty($row['author'])) ?
- 'un' : '',
- 'CREATE_DATE' => (empty($row['date_creation'])) ?
- 'un' : '',
- 'TAGS' => ($tag_count == 0) ?
- 'un' : '',
- 'NUM_TAGS' => $tag_count,
- 'U_MODIFY' => $url_modify,
- )
- );
- }
- //$advice_text = array_shift($adv);
- $template->assign(
- array(
- 'ADVICE_ABOUT' => $confk,
- 'ADVICE_TEXT' => $advice_text,
- )
- );
- $template->assign('More', $more );
- $template->pparse('admin_advice');
- }
-}
-?>
diff --git a/plugins/admin_advices/admin_advices.tpl b/plugins/admin_advices/admin_advices.tpl
deleted file mode 100644
index aed952217..000000000
--- a/plugins/admin_advices/admin_advices.tpl
+++ /dev/null
@@ -1,73 +0,0 @@
-<div class="content">
-
- <h3>{'An_advice_about'|@translate} {$ADVICE_ABOUT}</h3>
- <h4>{$ADVICE_TEXT}</h4>
- <table summary="Admin advices summary">
- {if isset($More)}
- <tr>
- <td style="text-align: left; width: 50%;">
- {foreach from=$More item=advice}
- {$advice}<BR />
- {/foreach}
- <br />
- </td>
- <td style="text-align: right; width: 20%;">
- {if isset($thumbnail.IMAGE)}
- <a href="{$thumbnail.U_MODIFY}" title="{'link_info_image'|@translate}">
- <img class="thumbnail" src="{$thumbnail.IMAGE}"
- alt="{$thumbnail.IMAGE_ALT}" title="{$thumbnail.IMAGE_TITLE}"></a>
- </td><td style="text-align: left;">
- <img src="{$themeconf.admin_icon_dir}/{$thumbnail.NAME}check.png"
- alt="{$thumbnail.IMAGE_ALT}" title="{$thumbnail.IMAGE_TITLE}"> {'Name'|@translate}<br />
- <img src="{$themeconf.admin_icon_dir}/{$thumbnail.COMMENT}check.png"
- alt="{$thumbnail.IMAGE_ALT}" title="{$thumbnail.IMAGE_TITLE}"> {'Description'|@translate}<br />
- <img src="{$themeconf.admin_icon_dir}/{$thumbnail.AUTHOR}check.png"
- alt="{$thumbnail.IMAGE_ALT}" title="{$thumbnail.IMAGE_TITLE}"> {'Author'|@translate}<br />
- <img src="{$themeconf.admin_icon_dir}/{$thumbnail.CREATE_DATE}check.png"
- alt="{$thumbnail.IMAGE_ALT}" title="{$thumbnail.IMAGE_TITLE}"> {'Creation date'|@translate}<br />
- <img src="{$themeconf.admin_icon_dir}/{$thumbnail.METADATA}check.png"
- alt="{$thumbnail.IMAGE_ALT}" title="{$thumbnail.IMAGE_TITLE}"> {'Metadata'|@translate}<br />
- <img src="{$themeconf.admin_icon_dir}/{$thumbnail.TAGS}check.png"
- alt="{$thumbnail.IMAGE_ALT}" title="{$thumbnail.IMAGE_TITLE}"> {'Tags'|@translate} ({$thumbnail.NUM_TAGS})
- {/if}
- </td>
- </tr>
- {/if}
- </table>
- <div class="summary">
- <h4>External summary</h4>
- <ul>Database Analysis<br />
- {if ($pwgsize != $size)}
- - Space used by {$prefixTable} tables: {$pwgsize}<br />
- {/if}
- - Space used by all tables: {$size}<br />
- - {$checked_tables}<br />
- - Unused allocated space by {$prefixTable} tables: {$pwgspacef}<br />
- {if ($spacef > 0 and $pwgspacef != $spacef)}
- - Unused allocated space: {$spacef}<br />
- {/if}
- {if ($spacef > 0)}
- Useful links:
- <a class="internal" href="{$U_maintenance}">{'repair and optimize database'|@translate}</a> -
- {else}
- MySQL documentation:
- {/if}
- <a class="external" href="http://dev.mysql.com/doc/" onclick="window.open(this.href, ''); return false;">MySQL</a>
- <br /><br />
- Templates generated on {$smarty.now|date_format:"%A, %B %e, %Y - %r"} by
- <a class="external" href="http://www.smarty.net/" onclick="window.open(this.href, ''); return false;">Smarty</a>
- {$smarty.version}
- </ul>
- </div>
-</div>
-<script type="text/javascript">// <![CDATA[
-{literal}$(document).ready(function() {
- $("img.thumbnail").fadeTo("slow", 0.6); // Opacity on page load
- $("img.thumbnail").hover(function(){
- $(this).fadeTo("slow", 1.0); // Opacity on hover
- },function(){
- $(this).fadeTo("slow", 0.6); // Opacity on mouseout
- });
-});{/literal}
-// ]]>
-</script> \ No newline at end of file
diff --git a/plugins/admin_advices/adv_set.php b/plugins/admin_advices/adv_set.php
deleted file mode 100644
index 78b202563..000000000
--- a/plugins/admin_advices/adv_set.php
+++ /dev/null
@@ -1,181 +0,0 @@
-<?php
-// +-----------------------------------------------------------------------+
-// | Piwigo - a PHP based picture gallery |
-// +-----------------------------------------------------------------------+
-// | Copyright(C) 2008-2010 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. |
-// +-----------------------------------------------------------------------+
-
-
-//
-// New advice needs:
-// $lang['Adv_case'][xx] = 'Text' ==> in all plugin.lang
-// $adv['c'][xx] = Condition (default true)
-// $adv['v'][xx] = Value (if there is one (facultative))
-// $adv['n'][xx] = Name of $conf (A new advice about blah-blah)
-//
-// prefix '**' . => Not a $conf['xxxxx']
-
-load_language('plugin.lang', dirname(__FILE__).'/');
-
-// No needed translation here below
-
-// Use l10n if your need a localization and update all plugin.lang
-
-$adv['n'][0] = '**' . $lang['contribute'];
-
-$adv['n'][1] = 'newcat_default_status';
-$adv['c'][1] = ($conf['newcat_default_status'] !== 'public');
-$adv['v'][1] = sprintf($lang['current'], 'public');
-
-$adv['n'][2] = 'slideshow_period';
-$adv['c'][2] = ( $conf['slideshow_period'] < 4 );
-$adv['v'][2] = sprintf($lang['current'], $conf['slideshow_period']);
-
-$adv['n'][3] = 'file_ext';
-$adv['c'][3] = ( in_array('php',$conf['file_ext']) );
-$adv['v'][3] = sprintf($lang['current'], implode(', ', $conf['file_ext']));
-
-$adv['n'][4] = 'show_iptc_mapping';
-
-$adv['n'][5] = 'top_number';
-$adv['c'][5] = ( $conf['top_number'] > 50 );
-$adv['v'][5] = sprintf($lang['current'], $conf['top_number']);
-
-$adv['n'][6] = 'top_number';
-$adv['c'][6] = ( $conf['top_number'] < 2 ) ? true : false;
-$adv['v'][6] = sprintf($lang['current'], $conf['top_number']);
-
-$adv['n'][7] = 'anti-flood_time';
-$adv['c'][7] = ( $conf['anti-flood_time'] > 100 ) ? true : false;
-$adv['v'][7] = sprintf($lang['current'], $conf['anti-flood_time']);
-
-$adv['n'][8] = 'calendar_datefield';
-$adv['c'][8] = ( !in_array($conf['calendar_datefield'],
- array('date_creation','date_available')) );
-$adv['v'][8] = sprintf($lang['current'], $conf['calendar_datefield']);
-
-/* Unavailable creation date and default calendar is creation date */
-$adv['n'][9] = 'calendar_datefield';
-$adv['c'][9] = ( (( $conf['use_exif'] and
- isset($conf['use_exif_mapping']['date_creation']) )
- or ( $conf['use_iptc'] and
- isset($conf['use_iptc_mapping']['date_creation']) ))
- and ( $conf['calendar_datefield'] == 'date_creation' ) )
- ? false : true;
-$adv['v'][9] = sprintf($lang['current'], $conf['calendar_datefield']);
-
-$adv['n'][10] = 'newcat_default_visible';
-$adv['c'][10] = !$conf['newcat_default_visible'];
-$adv['v'][10] = sprintf($lang['current'], 'false');
-
-$adv['n'][11] = 'level_separator';
-$adv['c'][11] = ( $conf['level_separator'] == ' / ' );
-$adv['v'][11] = sprintf($lang['current'], $conf['level_separator']);
-
-$adv['n'][12] = 'paginate_pages_around';
-$adv['c'][12] = (($conf['paginate_pages_around'] < 2)
- or ($conf['paginate_pages_around'] > 12));
-$adv['v'][12] = sprintf($lang['current'], $conf['paginate_pages_around']);
-
-$adv['n'][13] = 'tn_width';
-$adv['c'][13] = (($conf['tn_width'] < 66)
- or ($conf['tn_width'] > 180));
-$adv['v'][13] = sprintf($lang['current'], $conf['tn_width']);
-
-$adv['n'][14] = 'tn_height';
-$adv['c'][14] = (($conf['tn_height'] < 66)
- or ($conf['tn_height'] > 180));
-$adv['v'][14] = sprintf($lang['current'], $conf['tn_height']);
-
-$adv['n'][15] = 'tn_height';
-
-$adv['c'][15] = ( $conf['tn_height'] !== $conf['tn_width'] );
-$adv['v'][15] = l10n('TN-height&width');
-
-$adv['n'][16] = 'show_version';
-$adv['c'][16] = $conf['show_version'];
-$adv['v'][16] = sprintf($lang['current'], 'true');
-
-$adv['n'][17] = 'show_thumbnail_caption';
-$adv['c'][17] = $conf['show_thumbnail_caption'];
-$adv['v'][17] = sprintf($lang['current'], 'true');
-
-$adv['n'][18] = 'show_picture_name_on_title';
-$adv['c'][18] = $conf['show_picture_name_on_title'];
-$adv['v'][18] = sprintf($lang['current'], 'true');
-
-$adv['n'][19] = 'tags_default_display_mode';
-$adv['c'][15] = ( $conf['tags_default_display_mode'] == 'cloud' );
-$adv['v'][19] = sprintf($lang['current'], "'".$conf['tags_default_display_mode']."'");
-
-$adv['n'][20] = 'allow_random_representative';
-$adv['c'][20] = $conf['allow_random_representative'];
-$adv['v'][20] = sprintf($lang['current'], 'true');
-
-$adv['n'][21] = 'prefix_thumbnail';
-$adv['c'][21] = ( $conf['prefix_thumbnail'] !== 'TN-' );
-$adv['v'][21] = sprintf($lang['current'], $conf['prefix_thumbnail']);
-
-$adv['n'][22] = 'users_page';
-$adv['c'][22] = ( $conf['users_page'] < 21 );
-$adv['v'][22] = sprintf($lang['current'], $conf['users_page']);
-
-$adv['n'][23] = 'mail_options';
-$adv['c'][23] = $conf['mail_options'];
-$adv['v'][23] = sprintf($lang['current'], 'true');
-
-$adv['n'][24] = 'check_upgrade_feed';
-$adv['c'][24] = $conf['check_upgrade_feed'];
-$adv['v'][24] = sprintf($lang['current'], 'true');
-
-$adv['n'][25] = 'rate_items';
-$adv['c'][25] = ( count($conf['rate_items']) < 4 );
-$adv['v'][25] = sprintf($lang['current'], $conf['rate_items']);
-
-$adv['n'][26] = 'rate_items';
-$adv['c'][26] = ( count($conf['rate_items']) > 6 );
-$adv['v'][26] = sprintf($lang['current'], $conf['rate_items']);
-
-$adv['n'][27] = 'show_iptc';
-$adv['c'][27] = $conf['show_iptc'];
-$adv['v'][27] = sprintf($lang['current'], 'true');
-
-$adv['n'][28] = 'use_iptc';
-$adv['c'][28] = $conf['use_iptc'];
-$adv['v'][28] = sprintf($lang['current'], 'true');
-
-$adv['n'][29] = 'use_iptc';
-
-$adv['n'][30] = 'use_iptc_mapping';
-
-$adv['n'][31] = 'show_exif';
-$adv['v'][31] = sprintf($lang['current'], (($conf['show_exif'])? 'true':'false' ));
-
-$adv['n'][32] = 'use_exif';
-$adv['v'][32] = sprintf($lang['current'], (($conf['use_exif'])? 'true':'false' ));
-
-$adv['n'][33] = '**' . $lang['navigation'];
-
-$adv['n'][34] = 'compiled_template_cache_language';
-$adv['v'][34] = sprintf($lang['current'], (($conf['compiled_template_cache_language'])? 'true':'false' ));
-
-$adv['n'][35] = 'template_compile_check';
-$adv['v'][35] = sprintf($lang['current'], (($conf['template_compile_check'])? 'true':'false' ));
-
-?> \ No newline at end of file
diff --git a/plugins/admin_advices/default-layout.css b/plugins/admin_advices/default-layout.css
deleted file mode 100644
index bf110eb1b..000000000
--- a/plugins/admin_advices/default-layout.css
+++ /dev/null
@@ -1,19 +0,0 @@
-/*.content {
- list-style-type:none;
- margin: 0 1em 0 14.5em;
- padding: 0 0 15px 0;
-} */
-.content h2 {
- font-weight: bold;
- padding-left: 2em;
-}
-/*.content h3 {
- text-align: left;
- padding-left: 3em;
- font-size: 120%;
-}*/
-.content table tr td {
- text-align: left;
- padding-left: 2em;
-}
-
diff --git a/plugins/admin_advices/index.php b/plugins/admin_advices/index.php
deleted file mode 100644
index 17747c927..000000000
--- a/plugins/admin_advices/index.php
+++ /dev/null
@@ -1,30 +0,0 @@
-<?php
-// +-----------------------------------------------------------------------+
-// | Piwigo - a PHP based picture gallery |
-// +-----------------------------------------------------------------------+
-// | Copyright(C) 2008-2010 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/plugins/admin_advices/language/de_DE/description.txt b/plugins/admin_advices/language/de_DE/description.txt
deleted file mode 100644
index d42f15835..000000000
--- a/plugins/admin_advices/language/de_DE/description.txt
+++ /dev/null
@@ -1 +0,0 @@
-Ausgabe von Empfehlungen für die Administratorseite. \ No newline at end of file
diff --git a/plugins/admin_advices/language/de_DE/index.php b/plugins/admin_advices/language/de_DE/index.php
deleted file mode 100644
index 17747c927..000000000
--- a/plugins/admin_advices/language/de_DE/index.php
+++ /dev/null
@@ -1,30 +0,0 @@
-<?php
-// +-----------------------------------------------------------------------+
-// | Piwigo - a PHP based picture gallery |
-// +-----------------------------------------------------------------------+
-// | Copyright(C) 2008-2010 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/plugins/admin_advices/language/de_DE/plugin.lang.php b/plugins/admin_advices/language/de_DE/plugin.lang.php
deleted file mode 100644
index 1029a36d6..000000000
--- a/plugins/admin_advices/language/de_DE/plugin.lang.php
+++ /dev/null
@@ -1,168 +0,0 @@
-<?php
-// +-----------------------------------------------------------------------+
-// | Piwigo - a PHP based picture gallery |
-// +-----------------------------------------------------------------------+
-// | Copyright(C) 2008-2010 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. |
-// +-----------------------------------------------------------------------+
-
-// --------- Starting below: New or revised $lang ---- from Butterfly (1.8)
-$lang['An_advice_about'] = 'Ein neuer Tipp für';
-$lang['contribute'] = 'wie Sie beitragen können';
-$lang['navigation'] = 'Navigation';
-$lang['Metadata'] = 'Metadaten';
-$lang['current'] = 'Aktueller Wert: %s.';
-$lang['TN-height&width'] = 'Thumbnailhöhe und Breite müssen gleich sein.';
-$lang['Adv_case'][0] = array( /* **contribute */
- 'Wenn Sie mit Ihrem eigenen "Tipp" beitragen wollen, veröffentlichen Sie ihn bitte',
- 'im Forum von Piwigo (oder durch eine private Nachricht an einen der Entwickler),',
- 'und wir werden ihn in der nächsten Version berücksichtigen.', );
-$lang['Adv_case'][1] = array( /* newcat_default_status */
- 'Versuchen Sie $conf[\'newcat_default_status\'] = \'private\', zu setzen',
- 'Sie haben dann mehr Zeit, ihren neuen Bildern Beschreibungen zuzufügen und sie zu überprüfen.',
- 'Zeit, zu entscheiden zwischen privaten und öffentlichen Status.',
- 'Wenn Sie privat wählen, kann die Kategorie erst einmal niemand einsehen bis Sie sie endgültig freigeben.',
- 'Ihre neue Kategorie wird gut vorbereitet.', );
-$lang['Adv_case'][2] = array( /* slideshow_period */
- 'Dieser Wert könnte zu klein für Schmalbandverbindungen.',
- 'Denken Sie an einen höheren Wert wie z.B. 4.', );
-$lang['Adv_case'][3] = array( /* file_ext */
- 'Sollte nie Erweiterungen von ausführbaren Dateien enthalten',
- 'auf der Server-Seite wie *.php, *.php, *.asp,...', );
-$lang['Adv_case'][4] = array( /* show_iptc_mapping */
- 'Zeige die IPTC-Daten von Ihrem Bild:',
- ' 1 - Kopieren Sie eines Ihrer jpg Bilder (ein öffentliches) in den Ordner ./tools/',
- ' 2 - Benennen Sie es um in sample.jpg.',
- ' 3 - Führen Sie ./tools/metadata.php aus',
- ' 4 - Ergebnisse analysieren um festzustellen welche IPTC-Felder nützlich sein könnte für Ihre Besucher.',
- 'Anfängern empfehlen wir $conf[\'show_iptc\'] = false zu setzen,',
- 'Fortgeschrittene Benutzer können die Werte von $lang analysieren und deren Auswirkungen auf die Vorlagen.', );
-$lang['Adv_case'][5] = array( /* top_number */
- 'Dieser Wert ist vielleicht zu hoch für Schmalbandverbindungen, 25-50 abhängig von der Größe der Thumbnails dürften gut sein.', );
-$lang['Adv_case'][6] = array( /* top_number */
- 'Eins? Es könnte sein zu niedrig für Zufalls-Bilder, 5-10 abhängig von der Größe der Thumbnails dürften gut sein.', );
-$lang['Adv_case'][7] = array( /* anti-flood_time */
- 'Für normale Flow-Verarbeitung ist Ihr Wert wahrscheinlich zu hoch. Ein angemessenen Wert ist 60 (Standard).' , );
-$lang['Adv_case'][8] = array( /* calendar_datefield */
- 'Erlaubte Werte sind ' ."'date_creation' oder 'date_available'" . ', ansonsten bekommen Sie unvorhersehbare Ergebnisse.' , );
-$lang['Adv_case'][9] = array( /* calendar_datefield */
- "'date_creation'" . ' ist NICHT nutzbar, da keine Metadaten verarbeitet werden.',
- 'So aktivieren Sie die Metadatennutzung <strong>oder</strong> ändern Sie $conf[\'calendar_datefield\']=\'date_available\'',
- 'Aktivieren Sie Metadaten-Nutzung wenn Sie wollen: ',
- '1 - $conf[\'use_iptc\'] = true, oder $conf[\'use_exif\'] = true, alle beiden Möglichkeiten werden unterstützt.',
- '2 - Jeweils zu den einzelnen Änderungen:',
- '$conf[\'use_iptc_mapping\'] = array( ..., \'date_creation\' => \'2#055\', ...',
- 'oder/und:',
- '$conf[\'use_exif_mapping\'] = array(\'date_creation\' => \'DateTimeOriginal\', ...',
- '3 - Schließlich liegt eine neue Aufgabe vor Ihnen: Metadata-Synchronisierung.', );
-$lang['Adv_case'][10] = array( /* newcat_default_visible */
- 'Nicht sinnvoll, Voreinstellung auf privaten Status ist besser, ändern Sie den Code $conf[\'newcat_default_visible\'] = true,', );
-$lang['Adv_case'][11] = array( /* level_separator */
- 'Probieren Sie etwas anderes wie z.B. $conf[\'level_separator\'] = \'+ \',', );
-$lang['Adv_case'][12] = array( /* paginate_pages_around */
- 'Der übliche Bereich liegt zwischen 2 und 5. Mehr ist leichter, wählen Sie $conf[\'paginate_pages_around\'] = 2, ',
- 'So bieten Sie große Sprünge an, ändern Sie $conf[\'paginate_pages_around\'] = 7,', );
-$lang['Adv_case'][13] = array( /* tn_width */
- 'Stellt die Breite ihrer zu erstellenden Thumbnails ein. Der üblichen Bereich liegt zwischen 96 und 150 und wird so eingestellt: $conf[\'tn_width\'] = 128,', );
-$lang['Adv_case'][14] = array( /* tn_height */
- 'Stellt die Höhe ihrer zu erstellenden Thumbnails ein. Der üblichen Bereich liegt zwischen 96 und 150 und wird so eingestellt: $conf[\'tn_height\'] = 128,', );
-$lang['Adv_case'][15] = array( /* tn_height */
- 'Thumbnail Höhe und Breite müssen gleich sein.',
- 'Wählen $conf[\'tn_height\'] = $conf[\'tn_width\'],',
- 'oder $conf[\'tn_width\'] = $conf[\'tn_height\'],', );
-$lang['Adv_case'][16] = array( /* show_version */
- 'Aus Sicherheitsgründen, setzen Sie bitte $conf[\'show_version\'] = false,', );
-$lang['Adv_case'][17] = array( /* show_thumbnail_caption */
- 'Für eine leichtere Galerie werfen Sie einen Blick auf $conf[\'show_thumbnail_caption\'] = false,', );
-$lang['Adv_case'][18] = array( /* show_picture_name_on_title */
- 'Für eine leichtere Galerie werfen Sie einen Blick auf $conf[\'show_picture_name_on_title\'] = false,', );
-$lang['Adv_case'][19] = array( /* tags_default_display_mode */
- '\'cloud\' standartmäßig wird die Bedeutung der Tags über die Schriftgröße angezeigt.',
- 'Sie können die Tag-Seite so ändern, $conf[\'tags_default_display_mode\'] = \'letters\'', );
- $lang['Adv_case'][20] = array( /* allow_random_representative */
- 'Lassen Sie den Wert stehen $conf[\'allow_random_representative\'] = true, ',
- 'aber analysieren sie die Performance.' , );
-$lang['Adv_case'][21] = array( /* prefix_thumbnail */
- 'Seien Sie vorsichtig, Ihr Wert $conf[\'prefix_thumbnail\'] ist NICHT Standard.',
- 'Ändern Sie ihn NICHT, es sei denn, Ihr Thumbnails sind NICHT sichtbar.',
- 'Wenn auf entfernten Standorten ein anderes Präfix werwendet wird, ändern Sie es in der jeweiligen Datei create_listing_file.php.',
- 'Sie erhalten eine Warnmeldung während der Synchronisierung in diesem Fall.',
- 'Versuchen Sie den gleichen Präfix in all ihren lokalen wie entfernten Websites zu verwenden.',
- 'Halten Sie diesen Parameter in Ihrer ./include/config_ <strong>local.inc.php</strong>',
- 'Auf unserer Wiki Seite zur Konfiguration finden Sie weitere Informationen zum Thema ./include/config_<strong>local.inc.php</strong>.', );
-$lang['Adv_case'][22] = array( /* users_page */
- 'Es sei denn, Sie haben einen Schmalbandanschluss, können Sie den Wert in $conf[\'users_page\'] auf einen höheren Werteinstellen. Zeigt aber nur Auswirkungen, wenn Sie mehr als 20 Mitglieder in der Galerie haben.', );
-$lang['Adv_case'][23] = array( /* mail_options */
- 'Sollte false sein, nur wenige Webmaster haben einen Grund diese Option auf $conf[\'mail_options\'] = true zu ändern, ',
- 'Für eine spezifische Beratung in diesem Fall besuchen Sie unser Forum. Ein fortgeschrittener User wird ihnen helfen', );
-$lang['Adv_case'][24] = array( /* check_upgrade_feed */
- 'Sollte false bleiben, ist nur für Entwickler interessant diesen Wert auf $conf[\'check_upgrade_feed\'] = true, für Test-Zwecke zu ändern.' , );
-$lang['Adv_case'][25] = array( /* rate_items */
- 'Ihr $conf[\'rate_items\'] sollte 4 oder 5 Posten haben, nicht weniger', );
-$lang['Adv_case'][26] = array( /* rate_items */
- 'Ihr $conf[\'rate_items\'] sollte 5 oder 6 Posten haben, nicht mehr.',
- 'Überprüfen Sie Ihre am besten bewerteten Bilder bevor Sie Änderungen vornehmen.',
- 'Reduzieren Sie übermäßige Bewertungen und ändern Sie Ihre $conf[\'rate_items\'].', );
-$lang['Adv_case'][27] = array( /* show_iptc */
- 'Kann auf true gesetzt werden, denken Sie über eine Änderung in $conf[\'show_iptc\'] = false nach,',
- 'Einige professionelle Fotografen wählen false, ihre Gründe dafür sind nicht wirklich professionell.' ,
- 'Bitte NICHT <strong>show</strong>_iptc und <strong>use</strong>_iptc verwechseln (werfen Sie einen Blick auf Metadaten-Seite auf unserem Wiki).', );
-$lang['Adv_case'][28] = array( /* use_iptc */
- 'Dokumentare und professionellen Fotografen würde es auf true setzen, aber Anfänger sollten es auf $conf[\'use_iptc\'] = false belassen,',
- 'Achten Sie auf die Felder die in der Metadaten-Synchronisierung erwähnt werden.',
- 'Genannte Bereichen werden neu beschrieben mit den IPTC-Werten selbst diejenigen, die NICHT leer sind.',
- 'NICHT zu verwechseln mit <strong>show</strong>_iptc und <strong>use</strong>_iptc (werfen Sie einen Blick auf Metadaten-Seite auf unserem Wiki).', );
-$lang['Adv_case'][29] = array( /* use_iptc */
- 'Der Umgang mit IPTC:',
- '1 - Kopieren Sie eines Ihrer jpg Bilder (ein öffentliches) in ./tools/',
- '2 - Benennen Sie es um in sample.jpg.',
- '3 - Starten Sie ./tools/metadata.php',
- '4 - Ergebnisse analysieren, um festzustellen welche IPTC-Felder genutzt werden können um sie in der Datenbank zu überschreiben.',
- 'Anfängern empfehlen wir $conf[\'show_iptc\'] = false zu setzen,',
- 'Fortgeschrittene Benutzer analysieren die Bildinformationen vor dem Upload.',
- 'IPTC-Felder werden beschrieben in $conf[\'use_iptc_mapping\']',
- 'Auf jedem Fall, <strong>show</strong>_iptc_mapping und <strong>use</strong>_iptc_mapping müssen völlig verschieden sein.', );
- $lang['Adv_case'][30] = array( /* use_iptc_mapping */
- 'Der Umgang mit IPTC:',
- 'Achten Sie auf Hinweise in den Berichten der Metadaten-Synchronisierung.',
- 'Genannte Bereichen werden neu beschrieben mit den IPTC-Werten selbst diejenigen, die NICHT leer sind.',
- 'Auf jedem Fall, <strong>show</strong>_iptc_mapping und <strong>use</strong>_iptc_mapping müssen völlig verschieden sein.', );
-$lang['Adv_case'][31] = array( /* show_exif */
- 'Sollte wahr sein, einige Informationen von Ihrer Kamera angezeigt werden kann.',
- 'Denken Sie über EXIF-Informationen könnten werden verschiedene nach Kamera-Modelle.',
- 'Wenn Sie ändern Ihre Kamera diesen Bereichen könnte zum Teil anders.',
- 'Viele professionelle Fotografen wählen Sie falsch, ihre Gründe dafür sind zum Schutz ihres Wissens.' ,
- 'NICHT zu verwechseln zwischen <strong>show</strong>_exif und <strong>use</strong>_exif (werfen Sie einen Blick auf Metadaten-Seite auf unserem Wiki).', );
-$lang['Adv_case'][32] = array( /* use_exif */
- 'Dokumentare und professionellen Fotografen würde es auf true setzen, aber Anfänger sollten es auf dem Standartwert belassen.',
- 'Achten Sie auf Hinweise nach der Metadaten-Synchronisierung.',
- 'Genannte Bereichen werden neu beschrieben mit den EXIF-Werten selbst diejenigen, die NICHT leer sind.',
- 'Verwechseln Sie bitte nicht <strong>show</strong>_exif mit <strong>use</strong>_exif (werfen Sie einen Blick auf Metadaten-Seite auf unserem Wiki).', );
-$lang['Adv_case'][33] = array( /* **navigation */
- 'Sie können mit den Pfeil-Tasten ihrer Tastatur zwischen den Bildern navigieren.', );
-$lang['Adv_case'][34] = array( /* compiled_template_cache_language */
- 'Sollte auf true belassen werden.',
- 'Wenn Sie selbst eine Übersetzung ändern können Sie den Wert auf false ändern.',
- 'Wenn der Wert false eingetragen ist, wird template @translate Function wird so lang aufgerufen.' );
-$lang['Adv_case'][35] = array( /* template_compile_check */
- 'Standart ist true, Änderungen am Template werden erkannt und das Template compiliert.',
- 'Wenn sie das Template mehrere Tage nicht bearbeiten, ',
- 'setzen Sie den Wert bitte auf false.',
- 'Wenn der Wert auf false steht, wird nicht nach Änderungen an den Templates gesucht. Dies verbessert die Antwortzeiten.',
- 'Erweiterte Verwaltung > Erweiterte EinstellungenMaintenance > Löschen der kompilierten Templates, wird empfohlen nach einer Änderung von $conf change.' );
-?> \ No newline at end of file
diff --git a/plugins/admin_advices/language/en_UK/description.txt b/plugins/admin_advices/language/en_UK/description.txt
deleted file mode 100644
index 89d0e7ed1..000000000
--- a/plugins/admin_advices/language/en_UK/description.txt
+++ /dev/null
@@ -1 +0,0 @@
-Give you an advice on the administration page. \ No newline at end of file
diff --git a/plugins/admin_advices/language/en_UK/index.php b/plugins/admin_advices/language/en_UK/index.php
deleted file mode 100644
index 17747c927..000000000
--- a/plugins/admin_advices/language/en_UK/index.php
+++ /dev/null
@@ -1,30 +0,0 @@
-<?php
-// +-----------------------------------------------------------------------+
-// | Piwigo - a PHP based picture gallery |
-// +-----------------------------------------------------------------------+
-// | Copyright(C) 2008-2010 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/plugins/admin_advices/language/en_UK/plugin.lang.php b/plugins/admin_advices/language/en_UK/plugin.lang.php
deleted file mode 100644
index ee4e2e12b..000000000
--- a/plugins/admin_advices/language/en_UK/plugin.lang.php
+++ /dev/null
@@ -1,168 +0,0 @@
-<?php
-// +-----------------------------------------------------------------------+
-// | Piwigo - a PHP based picture gallery |
-// +-----------------------------------------------------------------------+
-// | Copyright(C) 2008-2010 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. |
-// +-----------------------------------------------------------------------+
-
-// --------- Starting below: New or revised $lang ---- from Butterfly (1.8)
-$lang['An_advice_about'] = 'New advice about';
-$lang['contribute'] = 'how you can contribute';
-$lang['navigation'] = 'navigation';
-$lang['Metadata'] = 'Metadata';
-$lang['current'] = 'Current value: %s.';
-$lang['TN-height&width'] = 'Thumbnail height and width have to be equal.';
-$lang['Adv_case'][0] = array( /* **contribute */
- 'If you want to contribute with your own "tip", please publish it',
- 'on Piwigo Forums (or mail it to the one of the developers),',
- 'and we would be happy to add it within next release.', );
-$lang['Adv_case'][1] = array( /* newcat_default_status */
- 'Try $conf[\'newcat_default_status\'] = \'private\',',
- 'You will have more time to describe and check your pictures.',
- 'Time to decide between private and public status.',
- 'If you choose private, time to distribute authorization.',
- 'Your new category will be well prepared.', );
-$lang['Adv_case'][2] = array( /* slideshow_period */
- 'This value could be too small for low band connections.',
- 'Think about higher value like 4.', );
-$lang['Adv_case'][3] = array( /* file_ext */
- 'Should never contains extensions which can be executed',
- 'on the server side like *.php, *.PHP, *.asp, ...', );
-$lang['Adv_case'][4] = array( /* show_iptc_mapping */
- 'Show IPTC Data from your picture:',
- ' 1 - Copy one of your jpg pictures (a public one) in ./tools/',
- ' 2 - Rename it as sample.jpg.',
- ' 3 - Run ./tools/metadata.php',
- ' 4 - Analyse results to determine which IPTC fields could be useful for your visitors.',
- 'Beginners would prefer to keep $conf[\'show_iptc\'] = false,',
- 'Advanced users would take care of $lang values and impacts on templates.', );
-$lang['Adv_case'][5] = array( /* top_number */
- 'This value is maybe too high for low connections, think about 25-50 depending on your thumbnail sizes.', );
-$lang['Adv_case'][6] = array( /* top_number */
- 'One? It could be too low for random pictures, think about 5-10 depending on your thumbnail sizes.', );
-$lang['Adv_case'][7] = array( /* anti-flood_time */
- 'For normal flow processing, your value is probably too high. Reasonable value is 60 (default).' , );
-$lang['Adv_case'][8] = array( /* calendar_datefield */
- 'Authorized values are ' . "'date_creation' or 'date_available'" . ', otherwise you can get unpredictable results.' , );
-$lang['Adv_case'][9] = array( /* calendar_datefield */
- "'date_creation'" . ' is NOT filled by any activated use metadata mapping fields.',
- 'So activate metadata usage <strong>or</strong> change to $conf[\'calendar_datefield\'] = \'date_available\'',
- 'Activate metadata usage as you want: ',
- '1 - $conf[\'use_iptc\'] = true, or $conf[\'use_exif\'] = true, each way will be correct.',
- '2 - And respectively map:',
- '$conf[\'use_iptc_mapping\'] = array( ..., \'date_creation\' => \'2#055\', ...',
- 'or/and:',
- '$conf[\'use_exif_mapping\'] = array(\'date_creation\' => \'DateTimeOriginal\', ...',
- '3 - Finally, a new task is up to you: Metadata synchronization.', );
-$lang['Adv_case'][10] = array( /* newcat_default_visible */
- 'Not useful, private status is better, so code $conf[\'newcat_default_visible\'] = true,', );
-$lang['Adv_case'][11] = array( /* level_separator */
- 'Try something else like $conf[\'level_separator\'] = \'+ \',', );
-$lang['Adv_case'][12] = array( /* paginate_pages_around */
- 'Usual range is between 2 and 5. To be light, choose $conf[\'paginate_pages_around\'] = 2, ',
- 'To offer large jump, choose $conf[\'paginate_pages_around\'] = 7,', );
-$lang['Adv_case'][13] = array( /* tn_width */
- 'Should be a close value to your thumbnail width. Usual range is between 96 and 150, about $conf[\'tn_width\'] = 128,', );
-$lang['Adv_case'][14] = array( /* tn_height */
- 'Should be a close value to your thumbnail height. Usual range is between 96 and 150, about $conf[\'tn_height\'] = 128,', );
-$lang['Adv_case'][15] = array( /* tn_height */
- 'Thumbnail height and width have to be equal.',
- 'Choose $conf[\'tn_height\'] = $conf[\'tn_width\'],',
- 'or $conf[\'tn_width\'] = $conf[\'tn_height\'],', );
-$lang['Adv_case'][16] = array( /* show_version */
- 'For security reason, please set $conf[\'show_version\'] = false,', );
-$lang['Adv_case'][17] = array( /* show_thumbnail_caption */
- 'For a lighter gallery just have a look to $conf[\'show_thumbnail_caption\'] = false,', );
-$lang['Adv_case'][18] = array( /* show_picture_name_on_title */
- 'For a lighter gallery just have a look to $conf[\'show_picture_name_on_title\'] = false,', );
-$lang['Adv_case'][19] = array( /* tags_default_display_mode */
- '\'cloud\' by default, importance of tags is shown with font size.',
- 'You can change the tags page, $conf[\'tags_default_display_mode\'] = \'letters\'', );
-$lang['Adv_case'][20] = array( /* allow_random_representative */
- 'Leave $conf[\'allow_random_representative\'] = true, ',
- 'but analyze if you can avoid for performance reasons.' , );
-$lang['Adv_case'][21] = array( /* prefix_thumbnail */
- 'Be careful your $conf[\'prefix_thumbnail\'] is NOT standard.',
- 'Do NOT change it except if your thumbnails are NOT visible.',
- 'Distant site may use a different prefix but create_listing_file.php must be modified.',
- 'You will get a warning message during synchronization in that case.',
- 'Try to keep the same prefix thru all your sites either local or distants.',
- 'Keep this parameter in your ./include/config_ <strong>local.inc.php</strong>',
- 'See our wiki configuration page for more information about ./include/config_<strong>local.inc.php</strong>.', );
-$lang['Adv_case'][22] = array( /* users_page */
- 'Unless you have a low band connection, you can draw up $conf[\'users_page\'] to a higher value if you have more than 20 members.', );
-$lang['Adv_case'][23] = array( /* mail_options */
- 'Should be false, only few webmasters have to set $conf[\'mail_options\'] = true, ',
- 'A specific advice you can get from an advanced user on our forum in some mailing issues.', );
-$lang['Adv_case'][24] = array( /* check_upgrade_feed */
- 'Should be false, only PWG dev Team have to set $conf[\'check_upgrade_feed\'] = true, for test purpose.' , );
-$lang['Adv_case'][25] = array( /* rate_items */
- 'Your $conf[\'rate_items\'] would have 4 or 5 items not less.', );
-$lang['Adv_case'][26] = array( /* rate_items */
- 'Your $conf[\'rate_items\'] would have 5 or 6 items not more.',
- 'Check your best rated pictures prior to remove some values.',
- 'Reduce excessive rating and change your $conf[\'rate_items\'].', );
-$lang['Adv_case'][27] = array( /* show_iptc */
- 'Could be true, think about $conf[\'show_iptc\'] = false,',
- 'Some Professional photographers choose false their reasons are not really professional.' ,
- 'Do NOT confuse between <strong>show</strong>_iptc and <strong>use</strong>_iptc (have a look on metadata page on our wiki).', );
-$lang['Adv_case'][28] = array( /* use_iptc */
- 'Documentalists and professionnal photographers would set it true, but beginners should leave it as $conf[\'use_iptc\'] = false,',
- 'Take care of mentionned fields in metadata synchronization.',
- 'Mentionned fields would be rewrited with IPTC values even those ones are NOT empty.',
- 'Do NOT confuse between <strong>show</strong>_iptc and <strong>use</strong>_iptc (have a look on metadata page on our wiki).', );
-$lang['Adv_case'][29] = array( /* use_iptc */
- 'How to deal with IPTC:',
- '1 - Copy one of your jpg pictures (a public one) in ./tools/',
- '2 - Rename it as sample.jpg.',
- '3 - Run ./tools/metadata.php',
- '4 - Analyse results to determine which IPTC fields could be used to override database fields.',
- 'Beginners would prefer to keep $conf[\'use_iptc\'] = false,',
- 'Advanced users make documentation efforts prior to upload their pictures.',
- 'IPTC fields have to be described in $conf[\'use_iptc_mapping\']',
- 'In any case, <strong>show</strong>_iptc_mapping and <strong>use</strong>_iptc_mapping must be totally different.', );
-$lang['Adv_case'][30] = array( /* use_iptc_mapping */
- 'How to deal with IPTC:',
- 'Take care of mentionned fields in metadata synchronization.',
- 'Mentionned fields would be rewrited with IPTC values even those ones are NOT empty.',
- 'In any case, <strong>show</strong>_iptc_mapping and <strong>use</strong>_iptc_mapping must be totally different.', );
-$lang['Adv_case'][31] = array( /* show_exif */
- 'Should be true, some information from your camera can be displayed.',
- 'Think about EXIF information could be different depending on camera models.',
- 'If you change your camera these fields could be partly different.',
- 'Many professional photographers choose false, their reasons are to protect their knowledge.' ,
- 'Do NOT confuse between <strong>show</strong>_exif and <strong>use</strong>_exif (have a look on metadata page on our wiki).', );
-$lang['Adv_case'][32] = array( /* use_exif */
- 'Documentalists and professionnal photographers would set it true, but beginners should leave the default value.',
- 'Take care of mentionned fields in metadata synchronization.',
- 'Mentionned fields would be rewrited with EXIF values even those ones are NOT empty.',
- 'Do NOT confuse between <strong>show</strong>_exif and <strong>use</strong>_exif (have a look on metadata page on our wiki).', );
-$lang['Adv_case'][33] = array( /* **navigation */
- 'You can use keyboard arrows to navigate between pictures.', );
-$lang['Adv_case'][34] = array( /* compiled_template_cache_language */
- 'Should be true, translation will be done at compilation time.',
- 'If you are modifying a language (translators), you should consider to set it false.',
- 'Setting it false, template @translate function are called at usage time.' );
-$lang['Adv_case'][35] = array( /* template_compile_check */
- 'Default is true, template changes are detected and the template is compiled.',
- 'If you are not updating template any more for several days, ',
- 'you should consider to set it false.',
- 'Choosing false, template changes are not detected, this improves response time.',
- 'Anyway Specials > Maintenance > Purge compiled templates, is recommended after this $conf change.' );
-?> \ No newline at end of file
diff --git a/plugins/admin_advices/language/es_ES/description.txt b/plugins/admin_advices/language/es_ES/description.txt
deleted file mode 100644
index 1b10eedf4..000000000
--- a/plugins/admin_advices/language/es_ES/description.txt
+++ /dev/null
@@ -1 +0,0 @@
-Muestra una punta en la página web de la Administración. \ No newline at end of file
diff --git a/plugins/admin_advices/language/es_ES/index.php b/plugins/admin_advices/language/es_ES/index.php
deleted file mode 100644
index 17747c927..000000000
--- a/plugins/admin_advices/language/es_ES/index.php
+++ /dev/null
@@ -1,30 +0,0 @@
-<?php
-// +-----------------------------------------------------------------------+
-// | Piwigo - a PHP based picture gallery |
-// +-----------------------------------------------------------------------+
-// | Copyright(C) 2008-2010 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/plugins/admin_advices/language/es_ES/plugin.lang.php b/plugins/admin_advices/language/es_ES/plugin.lang.php
deleted file mode 100644
index 3e3b55daa..000000000
--- a/plugins/admin_advices/language/es_ES/plugin.lang.php
+++ /dev/null
@@ -1,170 +0,0 @@
-<?php
-// +-----------------------------------------------------------------------+
-// | Piwigo - a PHP based picture gallery |
-// +-----------------------------------------------------------------------+
-// | Copyright(C) 2008-2010 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. |
-// +-----------------------------------------------------------------------+
-
-// --------- Starting below: New or revised $lang ---- from Butterfly (1.8)
-$lang['An_advice_about'] = 'Un nuevo consejo a propósito de';
-$lang['contribute'] = 'Cómo contribuir';
-$lang['navigation'] = 'Navegación';
-$lang['Metadata'] = 'Méta-données';
-$lang['current'] = 'Valor actual : %s.';
-$lang['TN-height&width'] = 'Altura y anchura de miniatura debería ser plana.';
-$lang['Adv_case'][0] = array( /* **contribute */
- 'Si usted desea contribuir con su propia "astucia", gracias por publicarla',
- 'Sobre los Foros de Piwigo (o por mensaje privado a uno de los desarrolladores),',
- 'Y seremos felices de añadirlo desde la publicación siguiente.', );
-$lang['Adv_case'][1] = array( /* newcat_default_status */
- 'Pruebe $conf[\'newcat_default_status\'] = \'private\';',
- 'Usted tendrá más tiempo para describir y controlar su imágenes. ',
- 'Del tiempo para decidirse entre un estatuto privado o público.',
- 'Si usted escoge quedar privado, usted directamente pasa a la atribución de las autorizaciones. ',
- 'Sus nuevas categorías serán preparadas más fácilmente.', );
-$lang['Adv_case'][2] = array( /* slideshow_period */
- 'Este plazo podría ser demasiado corto para las conexiones abajo gasto. ',
- 'Piense en un valor superior como 4.', );
-$lang['Adv_case'][3] = array( /* file_ext */
- 'Jamás debería contener extensiones que podrían ser ejecutadas',
- 'sobre el servidor como *.php, *.PHP, *.asp, ...', );
-$lang['Adv_case'][4] = array( /* show_iptc_mapping */
- 'Cómo administrar el IPTC:',
- ' 1 - Copie una imagen jpg (pública) en ./tools/',
- ' 2 - Renombre éste sample.jpg.',
- ' 3 - Lance ./tools/metadata.php',
- ' 4 - Analice los resultados para determinar cuales campos ',
- 'Los principiantes dejarán $conf[\'show_iptc\'] = false;',
- 'Los usuarios avanzados pensarán en los valores del tablero $lang; Incluso al impacto posible sobre los templates.', );
-$lang['Adv_case'][5] = array( /* top_number */
- 'Este valor podría ser demasiado grande para conexiones baja velocidad.',
- 'Piense en un valor situado entre 25-50 con arreglo a lo talla de sus miniaturas.', );
-$lang['Adv_case'][6] = array( /* top_number */
- '¿ Una única? Por lo menos para las imágenes aleatorias, piense alrededor de 5-10 según en tallas de sus miniaturas.', );
-$lang['Adv_case'][7] = array( /* anti-flood_time */
- 'Para un tratamiento fluido, su valor es sin duda demasiado grande. Un valor razonable sería 60 (valor por defecto).', );
-$lang['Adv_case'][8] = array( /* calendar_datefield */
- 'Los valores admitidos son ' . "'date_creation' ou 'date_available'" . ', muy diferente valor puede acabar en los resultados imprevisibles.', );
-$lang['Adv_case'][9] = array( /* calendar_datefield */
- "' Date_creation ' ". ' no es informado. Ningún campo de los méta-datos (use_) actualiza la base.',
- 'Seas acelera el uso de los méta-datos <strong>o</strong> cambie para $conf[\'calendar_datefield\'] = \'date_available\'',
- 'Activate the usage of the méta-data simply by: ',
- '1 - $conf[\'use_iptc\'] = true; ou $conf[\'use_exif\'] = true; A la elección, los 2 son válidos.',
- '2 - Respectivamente a cada una hacer el modif:',
- '$conf[\'use_iptc_mapping\'] = array( ..., \'date_creation\' => \'2#055\', ...',
- 'y/o:',
- '$conf[\'use_exif_mapping\'] = array(\'date_creation\' => \'DateTimeOriginal\', ...',
- '3 - Por fin una nueva mancha le está destinada: la sincronización de los méta-datos.', );
-$lang['Adv_case'][10] = array( /* newcat_default_visible */
- 'Es un error, un estatuto " private " es más simple, entonces escoja $conf[\'newcat_default_visible\'] = true;', );
-$lang['Adv_case'][11] = array( /* level_separator */
- 'Usted puede siempre probar otro separador como : $conf[\'level_separator\'] = \'+ \';', );
-$lang['Adv_case'][12] = array( /* paginate_pages_around */
- 'Los valores acostumbrados se sitúan entre 2 y 5. Para un sitio con una interfaz ligera, escogeramos : ',
- '$conf[\'paginate_pages_around\'] = 2;',
- 'Con el fin de proponer más accesos directos, escogeramos: $conf[\'paginate_pages_around\'] = 7;', );
-$lang['Adv_case'][13] = array( /* tn_width */
- 'Debe ser un valor próximo de la anchura de sus miniaturas. Los valores acostumbrados se sitúan entre 96 y 150, como $conf[\'tn_width\'] = 128;', );
-$lang['Adv_case'][14] = array( /* tn_height */
- 'Debe ser un valor próximo de la altura de sus miniaturas. Los valores acostumbrados se sitúan entre 96 y 150, como $conf[\'tn_height\'] = 128;', );
-$lang['Adv_case'][15] = array( /* tn_height */
- 'Anchura y altura de miniatura deberían ser planas.',
- 'Pruebe $conf[\'tn_height\'] = $conf[\'tn_width\'],',
- 'o $conf[\'tn_width\'] = $conf[\'tn_height\'],', );
-$lang['Adv_case'][16] = array( /* show_version */
- 'Por razones de seguridad de su galería, prefiera $conf[\'show_version\'] = false;', );
-$lang['Adv_case'][17] = array( /* show_thumbnail_caption */
- 'Para una galería menos cargada, haga la prueba de $conf[\'show_thumbnail_caption\'] = false,', );
-$lang['Adv_case'][18] = array( /* show_picture_name_on_title */
- 'Para una galería menos cargada, haga la prueba de $conf[\'show_picture_name_on_title\'] = false,', );
-$lang['Adv_case'][19] = array( /* tags_default_display_mode */
- 'Por defecto a \'cloud\' (nube), más un "Tag" es utilizada más será escrito de allí grande.',
- 'Usted puede cambiar la fijación de "tags", $conf[\'tags_default_display_mode\'] = \'letters\'', );
-$lang['Adv_case'][20] = array( /* allow_random_representative */
- 'Deje $conf[\'allow_random_representative\'] = true, ',
- 'Pero estudie cómo usted podría evitarlo por razones de realización.' , );
-$lang['Adv_case'][21] = array( /* prefix_thumbnail */
- 'Atención, su $conf[\'prefix_thumbnail\'] no es estándar.',
- 'No cambiar su prefijo excepto si sus miniaturas tienen un problema de fijación.',
- 'Un sitio distante puede tener un prefijo diferente, le create_listing_file.php deberá ser modificado.',
- 'Usted debería tener un mensaje de advertencia durante la sincronización en este caso.',
- 'Trate de guardar el mismo prefijo de miniaturas para los sitios locales o distantes.',
- 'Conserve este parámetro en vuestro ./include/config_<strong>local.inc.php</strong>.',
- 'Ver la página sobre la configuración en Wiki para más informaciones a propósito de ./include/config_<strong>local.inc.php</strong>.', );
-$lang['Adv_case'][22] = array( /* users_page */
- 'A menos que tener una conexión baja velocidad, usted ampliamente puede aumentar $conf[\'users_page\'] sobre todo si usted tiene más de 20 miembros.', );
-$lang['Adv_case'][23] = array( /* mail_options */
- 'Debería estar a false, solamente algún webmasters deberán indicar $conf[\'mail_options\'] = true;',
- 'Un usuario avanzado de nuestro foro les habrá aconsejado en un solo caso de problema de e-mail.', );
-$lang['Adv_case'][24] = array( /* check_upgrade_feed */
- 'Debería estar a false, sólo los miembros del equipo Piwigo codifican $conf[\'check_upgrade_feed\'] = true; para sus pruebas.', );
-$lang['Adv_case'][25] = array( /* rate_items */
- 'Su $conf[\'rate_items\'] debería tener 4 o 5 elementos pero no menos.', );
-$lang['Adv_case'][26] = array( /* rate_items */
- 'Su $conf[\'rate_items\'] debería tener 4 o 5 elementos pero no más.',
- 'Controle sus imágenes las mejor anotadas antes de retirar ciertos valores.',
- 'Reducir los valores excesivos y modifique vuestro $conf[\'rate_items\'].', );
-$lang['Adv_case'][27] = array( /* show_iptc */
- 'Efectivamente puede a ser true, eventualmente escoja $conf[\'show_iptc\'] = false,',
- 'Así como algunos fotógrafos profesionales escoja false aunque sus razones sean apenas profesionales.',
- 'No confunda <strong>show</strong>_iptc y <strong>use</strong>_iptc (consulte las páginas con metadatos de nuestro wiki).', );
-$lang['Adv_case'][28] = array( /* use_iptc */
- 'Los documentalistas y los fotógrafos profesionales preferirán el valor true, pero los principiantes deberían dejar $conf[\'use_iptc\'] = false,',
- 'Hacer atención en los campos mencionados en la sincronización del metadatos.',
- 'Los campos indicados podrán ser aplastados por valores de campo IPTC aun cuando estos campos no estarían vacíos.',
- 'No confunda <strong>show</strong>_iptc et <strong>use</strong>_iptc (consulte las páginas con metadatos de nuestro wiki).', );
-$lang['Adv_case'][29] = array( /* use_iptc */
- 'Cómo administrar IPTC:',
- '1 - Copie una imagen jpg (pública) en ./tools/',
- '2 - Renombre éste sample.jpg.',
- '3 - Lance ./tools/metadata.php',
- '4 - Analice los resultados para determinar cual campo IPTC podría completar su base de datos.',
- 'Los principiantes dejarán $conf[\'use_iptc\'] = false,',
- 'Los usuarios avanzados harán esfuerzos de documentación antes de trasladar sus imágenes.',
- 'El campo IPTC debe ser descrito por $conf[\'use_iptc_mapping\']',
- 'En todos los casos, <strong>show</strong>_iptc_mapping y <strong>use</strong>_iptc_mapping serán totalmente diferentes.', );
-$lang['Adv_case'][30] = array( /* use_iptc_mapping */
- 'Cómo administrar IPTC:',
- 'Haga atención en los campos mencionados en la sincronización del metadatos.',
- 'Los campos indicados podrán ser aplastados por valores de campo IPTC aun cuando estos campos no estarían vacíos.',
- 'En todos los casos, <strong>show</strong>_iptc_mapping y <strong>use</strong>_iptc_mapping serán totalmente diferentes.', );
-$lang['Adv_case'][31] = array( /* show_exif */
- 'Debería estar a true, ciertas informaciones limpias de su aparato podrán ser fijadas.',
- 'Piense en el hecho que las informaciones EXIF pueden ser diferentes según los modelos de aparato.',
- 'Si usted cambia su aparato estos campos podrían en parte diferentes.',
- 'Muchos fotógrafos profesionales escogen false, esto con el fin de proteger su destreza.' ,
- 'No confunda <strong>show</strong>_exif y <strong>use</strong>_exif (Consulte las páginas con metadatos de nuestro wiki).', );
-$lang['Adv_case'][32] = array( /* use_exif */
- 'Los documentalistas y los fotógrafos profesionales preferirán el valor true, pero los principiantes dejarán el valor por defecto.',
- 'Ocúpese de campos mencionados en la sincronización del metadatos.',
- 'Los campos indicados podrán ser aplastados por valores de campos EXIF aun cuando estos campos no estarían vacíos.',
- 'No confunda <strong>show</strong>_exif y <strong>use</strong>_exif (Consulte las páginas con metadatos de nuestro wiki).', );
-$lang['Adv_case'][33] = array( /* **navigation */
- 'Usted puede utilizar las flechas del teclado para navegar entre las imágenes.', );
-$lang['Adv_case'][34] = array( /* compiled_template_cache_language */
- 'Debería estar a true, la traducción será efectuada en el momento de la compilación.',
- 'Si usted modifica los ficheros lenguas (traductores), usted debería contemplar el valor false.',
- 'Situado en false, @translate templates serán tratados a cada utilización.' );
-$lang['Adv_case'][35] = array( /* template_compile_check */
- 'Por defecto en true, toda modificación de template es detectada y el template modificado es recompilado.',
- 'Si usted no modifica más su templates durante varios días, ',
- 'Usted debería contemplar el valor false.',
- 'Escogiendo false, las modificaciones de template no son detectadas más, esto mejora tiempo de respuesta.',
- 'En todos los casos Especiales > Mantenimiento > Purgar el templates compilado, es recomendado después de una modificación de este $conf.' );
-?> \ No newline at end of file
diff --git a/plugins/admin_advices/language/fr_FR/description.txt b/plugins/admin_advices/language/fr_FR/description.txt
deleted file mode 100644
index ddcf89bcb..000000000
--- a/plugins/admin_advices/language/fr_FR/description.txt
+++ /dev/null
@@ -1 +0,0 @@
-Affiche une astuce sur la page d'accueil de l'administration. \ No newline at end of file
diff --git a/plugins/admin_advices/language/fr_FR/index.php b/plugins/admin_advices/language/fr_FR/index.php
deleted file mode 100644
index 17747c927..000000000
--- a/plugins/admin_advices/language/fr_FR/index.php
+++ /dev/null
@@ -1,30 +0,0 @@
-<?php
-// +-----------------------------------------------------------------------+
-// | Piwigo - a PHP based picture gallery |
-// +-----------------------------------------------------------------------+
-// | Copyright(C) 2008-2010 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/plugins/admin_advices/language/fr_FR/plugin.lang.php b/plugins/admin_advices/language/fr_FR/plugin.lang.php
deleted file mode 100644
index 4070ca9fc..000000000
--- a/plugins/admin_advices/language/fr_FR/plugin.lang.php
+++ /dev/null
@@ -1,170 +0,0 @@
-<?php
-// +-----------------------------------------------------------------------+
-// | Piwigo - a PHP based picture gallery |
-// +-----------------------------------------------------------------------+
-// | Copyright(C) 2008-2010 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. |
-// +-----------------------------------------------------------------------+
-
-// --------- Starting below: New or revised $lang ---- from Butterfly (1.8)
-$lang['An_advice_about'] = 'Un nouveau conseil à propos de ';
-$lang['contribute'] = 'comment contribuer';
-$lang['navigation'] = 'navigation';
-$lang['Metadata'] = 'Méta-données';
-$lang['current'] = 'Valeur actuelle : %s.';
-$lang['TN-height&width'] = 'Hauteur et largeur de miniature devrait être égales.';
-$lang['Adv_case'][0] = array( /* **contribute */
- 'Si vous souhaitez contribuer avec votre propre «astuce», merci de la publier',
- 'sur les Forums de Piwigo (ou par message privé à l\'un des développeurs),',
- 'et nous serons heureux de l\'ajouter dès la publication suivante.', );
-$lang['Adv_case'][1] = array( /* newcat_default_status */
- 'Essayez $conf[\'newcat_default_status\'] = \'private\';',
- 'Vous aurez plus de temps pour décrire et contrôler vos images. ',
- 'Du temps pour vous décider entre un statut privé ou public.',
- 'Si vous choisissez de rester privé, vous passerez directement à l\'attribution des autorisations. ',
- 'Vos nouvelles catégories seront préparées plus facilement.', );
-$lang['Adv_case'][2] = array( /* slideshow_period */
- 'Ce délai pourrait être trop court pour les connexions en bas débit. ',
- 'Pensez à une valeur supérieure comme 4.', );
-$lang['Adv_case'][3] = array( /* file_ext */
- 'Ne devrait jamais contenir des extensions pouvant être exécutées',
- 'sur le serveur comme *.php, *.PHP, *.asp, ...', );
-$lang['Adv_case'][4] = array( /* show_iptc_mapping */
- 'Comment gérer les IPTC:',
- ' 1 - Copiez une image jpg (publique) dans ./tools/',
- ' 2 - Renommez celle-ci en sample.jpg.',
- ' 3 - Lancez ./tools/metadata.php',
- ' 4 - Analysez les résultats pour déterminer quels champs ',
- 'Les débutants laisseront $conf[\'show_iptc\'] = false;',
- 'Les utilisateurs avancés penseront aux valeurs du tableau $lang; voire même à l\'impact possible sur les templates.', );
-$lang['Adv_case'][5] = array( /* top_number */
- 'Cette valeur pourrait être trop grande pour des connexions bas débit.',
- 'Pensez à une valeur située entre 25-50 en fonction de la taille de vos miniatures.', );
-$lang['Adv_case'][6] = array( /* top_number */
- 'Une seule? Au moins pour les images aléatoires, pensez autour de 5-10 selon la tailles de vos miniatures.', );
-$lang['Adv_case'][7] = array( /* anti-flood_time */
- 'Pour un traitement fluide, votre valeur est sans doute trop grande. Une valeur raisonnable serait 60 (valeur par défaut).', );
-$lang['Adv_case'][8] = array( /* calendar_datefield */
- 'Les valeurs admises sont ' . "'date_creation' ou 'date_available'" . ', toute autre valeur peut aboutir à des résultats imprévisibles.', );
- $lang['Adv_case'][9] = array( /* calendar_datefield */
- "La 'date_creation'" . ' n\'est pas renseignée. Aucun champ des méta-données (use_) n\'actualise la base.',
- 'Soit vous activez l\'usage des méta-données <strong>ou</strong> changez pour $conf[\'calendar_datefield\'] = \'date_available\'',
- 'Activez l\'usage des méta-données simplement par: ',
- '1 - $conf[\'use_iptc\'] = true; ou $conf[\'use_exif\'] = true; au choix, les 2 sont valables.',
- '2 - Respectivement à chacune faire la modif:',
- '$conf[\'use_iptc_mapping\'] = array( ..., \'date_creation\' => \'2#055\', ...',
- 'et/ou:',
- '$conf[\'use_exif_mapping\'] = array(\'date_creation\' => \'DateTimeOriginal\', ...',
- '3 - Enfin une nouvelle tache vous est destinée: la synchronisation des méta-données.', );
-$lang['Adv_case'][10] = array( /* newcat_default_visible */
- 'C\'est une erreur, un statut "private" est plus simple, alors choisissez $conf[\'newcat_default_visible\'] = true;', );
-$lang['Adv_case'][11] = array( /* level_separator */
- 'Vous pouvez toujours essayer un autre séparateur comme : $conf[\'level_separator\'] = \'+ \';', );
-$lang['Adv_case'][12] = array( /* paginate_pages_around */
- 'Les valeurs habituelles se situent entre 2 et 5. Pour un site avec une interface légère, on choisira : ',
- '$conf[\'paginate_pages_around\'] = 2;',
- 'Afin de proposer plus d\'accès directs, on choisira : $conf[\'paginate_pages_around\'] = 7;', );
-$lang['Adv_case'][13] = array( /* tn_width */
- 'Doit être une valeur proche de la largeur de vos miniatures. Les valeurs habituelles se situent entre 96 et 150, comme $conf[\'tn_width\'] = 128;', );
-$lang['Adv_case'][14] = array( /* tn_height */
- 'Doit être une valeur proche de la hauteur de vos miniatures. Les valeurs habituelles se situent entre 96 et 150, comme $conf[\'tn_height\'] = 128;', );
-$lang['Adv_case'][15] = array( /* tn_height */
- 'Largeur et hauteur de miniature devraient être égales.',
- 'Essayez $conf[\'tn_height\'] = $conf[\'tn_width\'],',
- 'ou $conf[\'tn_width\'] = $conf[\'tn_height\'],', );
-$lang['Adv_case'][16] = array( /* show_version */
- 'Pour des raisons de sécurité de votre galerie, préférez $conf[\'show_version\'] = false;', );
-$lang['Adv_case'][17] = array( /* show_thumbnail_caption */
- 'Pour une galerie moins chargée, faites le test de $conf[\'show_thumbnail_caption\'] = false,', );
-$lang['Adv_case'][18] = array( /* show_picture_name_on_title */
- 'Pour une galerie moins chargée, faites le test de $conf[\'show_picture_name_on_title\'] = false,', );
-$lang['Adv_case'][19] = array( /* tags_default_display_mode */
- 'Par défaut à \'cloud\' (nuage), plus un "tag" est utilisé plus il sera écrit en grand.',
- 'Vous pouvez changer l\'affichage des "tags", $conf[\'tags_default_display_mode\'] = \'letters\'', );
-$lang['Adv_case'][20] = array( /* allow_random_representative */
- 'Laissez $conf[\'allow_random_representative\'] = true, ',
- 'mais étudiez comment vous pourriez l\'éviter pour des raisons de performance.' , );
-$lang['Adv_case'][21] = array( /* prefix_thumbnail */
- 'Attention, votre $conf[\'prefix_thumbnail\'] n\'est pas standard.',
- 'Ne pas changer votre préfixe sauf si vos miniatures ont un problème d\'affichage.',
- 'Un site distant peut avoir un préfixe différent, le create_listing_file.php devra être modifié.',
- 'Vous devriez avoir un message d\'avertissement pendant la synchronisation dans ce cas.',
- 'Essayez de garder le même préfixe de miniatures pour les sites locaux ou distants.',
- 'Conservez ce paramètre dans votre ./include/config_<strong>local.inc.php</strong>.',
- 'Voir la page sur la configuration dans le Wiki pour plus d\'informations à propos de ./include/config_<strong>local.inc.php</strong>.', );
-$lang['Adv_case'][22] = array( /* users_page */
- 'A moins d\'avoir une connexion bas débit, vous pouvez augmenter largement $conf[\'users_page\'] surtout si vous avez plus de 20 membres.', );
-$lang['Adv_case'][23] = array( /* mail_options */
- 'Devrait être à false, seulement quelques webmasters devront indiquer $conf[\'mail_options\'] = true;',
- 'Un utilisateur avancé de notre forum les aura conseillé dans un seul cas de problème d\'email.', );
-$lang['Adv_case'][24] = array( /* check_upgrade_feed */
- 'Devrait être à false, seuls les membres de l\'équipe Piwigo codent $conf[\'check_upgrade_feed\'] = true; pour leurs tests.', );
-$lang['Adv_case'][25] = array( /* rate_items */
- 'Votre $conf[\'rate_items\'] devrait avoir 4 ou 5 éléments mais pas moins.', );
-$lang['Adv_case'][26] = array( /* rate_items */
- 'Votre $conf[\'rate_items\'] devrait avoir 4 ou 5 éléments mais pas plus.',
- 'Contrôlez vos images les mieux notées avant de retirer certaines valeurs.',
- 'Réduire les valeurs excessives et modifiez votre $conf[\'rate_items\'].', );
-$lang['Adv_case'][27] = array( /* show_iptc */
- 'Peut être effectivement à true, éventuellement choisissez $conf[\'show_iptc\'] = false,',
- 'Comme quelques photographes professionnels choisissez false bien que leurs raisons ne soient guère professionnelles.',
- 'Ne confondez pas <strong>show</strong>_iptc et <strong>use</strong>_iptc (consultez les pages sur les métadonnées de notre wiki).', );
-$lang['Adv_case'][28] = array( /* use_iptc */
- 'Les documentalistes et photographes professionnels préfèreront la valeur true, mais les débutants devraient laisser $conf[\'use_iptc\'] = false,',
- 'Faire attention aux champs mentionnés dans la synchronisation des métadonnées.',
- 'Les champs indiqués pourront être écrasés par des valeurs de champs IPTC quand bien même ces champs ne seraient pas vides.',
- 'Ne confondez pas <strong>show</strong>_iptc et <strong>use</strong>_iptc (consultez les pages sur les métadonnées de notre wiki).', );
-$lang['Adv_case'][29] = array( /* use_iptc */
- 'Comment gérer les IPTC:',
- '1 - Copiez une image jpg (publique) dans ./tools/',
- '2 - Renommez celle-ci en sample.jpg.',
- '3 - Lancez ./tools/metadata.php',
- '4 - Analysez les résultats pour déterminer quels champs IPTC pourraient compléter votre base de données.',
- 'Les débutants laisseront $conf[\'use_iptc\'] = false,',
- 'Les utilisateurs avancés feront des efforts de documentation avant de transférer leurs images.',
- 'Les champs IPTC doivent être décrits par $conf[\'use_iptc_mapping\']',
- 'Dans tous les cas, <strong>show</strong>_iptc_mapping et <strong>use</strong>_iptc_mapping seront totalement différents.', );
-$lang['Adv_case'][30] = array( /* use_iptc_mapping */
- 'Comment gérer les IPTC:',
- 'Faites attention aux champs mentionnés dans la synchronisation des métadonnées.',
- 'Les champs indiqués pourront être écrasés par des valeurs de champs IPTC quand bien même ces champs ne seraient pas vides.',
- 'Dans tous les cas, <strong>show</strong>_iptc_mapping et <strong>use</strong>_iptc_mapping seront totalement différents.', );
-$lang['Adv_case'][31] = array( /* show_exif */
- 'Devrait être à true, certaines informations propres à votre appareil pourront être affichées.',
- 'Pensez au fait que les informations EXIF peuvent être différentes suivant les modèles d\'appareil.',
- 'Si vous changez votre appareil ces champs pourraient en partie différents.',
- 'Beaucoup de photographes professionnels choisissent false, ceci afin de protéger leur savoir-faire.' ,
- 'Ne confondez pas <strong>show</strong>_exif et <strong>use</strong>_exif (consultez les pages sur les métadonnées de notre wiki).', );
-$lang['Adv_case'][32] = array( /* use_exif */
- 'Les documentalistes et photographes professionnels préfèreront la valeur true, mais les débutants laisseront la valeur par défaut.',
- 'Occupez-vous des champs mentionnés dans la synchronisation des métadonnées.',
- 'Les champs indiqués pourront être écrasés par des valeurs de champs EXIF quand bien même ces champs ne seraient pas vides.',
- 'Ne confondez pas <strong>show</strong>_exif et <strong>use</strong>_exif (consultez les pages sur les métadonnées de notre wiki).', );
-$lang['Adv_case'][33] = array( /* **navigation */
- 'Vous pouvez utiliser les flèches du clavier pour naviguer entre les images.', );
-$lang['Adv_case'][34] = array( /* compiled_template_cache_language */
- 'Devrait être à true, la traduction sera effectuée au moment de la compilation.',
- 'Si vous modifiez les fichiers langues (traducteurs), vous devriez envisager la valeur false.',
- 'Positionné à false, les @translate des templates seront traités à chaque utilisation.' );
-$lang['Adv_case'][35] = array( /* template_compile_check */
- 'Par défaut à true, toute modification de template est détectée et le template modifié est recompilé.',
- 'Si vous ne modifiez plus vos templates pendant plusieurs jours, ',
- 'vous devriez envisager la valeur false.',
- 'En choisissant false, les modifications de template ne sont plus détectées, ceci améliore les temps de réponse.',
- 'Dans tous les cas Spéciales > Maintenance > Purger les templates compilés, est recommandé après une modification de cette $conf.' );
-?> \ No newline at end of file
diff --git a/plugins/admin_advices/language/index.php b/plugins/admin_advices/language/index.php
deleted file mode 100644
index 17747c927..000000000
--- a/plugins/admin_advices/language/index.php
+++ /dev/null
@@ -1,30 +0,0 @@
-<?php
-// +-----------------------------------------------------------------------+
-// | Piwigo - a PHP based picture gallery |
-// +-----------------------------------------------------------------------+
-// | Copyright(C) 2008-2010 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/plugins/admin_advices/language/it_IT/description.txt b/plugins/admin_advices/language/it_IT/description.txt
deleted file mode 100644
index a37a6c6f2..000000000
--- a/plugins/admin_advices/language/it_IT/description.txt
+++ /dev/null
@@ -1 +0,0 @@
-Visualizza un'astuzia/consiglio sulla pagina di amministrazione. \ No newline at end of file
diff --git a/plugins/admin_advices/language/it_IT/index.php b/plugins/admin_advices/language/it_IT/index.php
deleted file mode 100644
index 17747c927..000000000
--- a/plugins/admin_advices/language/it_IT/index.php
+++ /dev/null
@@ -1,30 +0,0 @@
-<?php
-// +-----------------------------------------------------------------------+
-// | Piwigo - a PHP based picture gallery |
-// +-----------------------------------------------------------------------+
-// | Copyright(C) 2008-2010 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/plugins/admin_advices/language/it_IT/plugin.lang.php b/plugins/admin_advices/language/it_IT/plugin.lang.php
deleted file mode 100644
index 45df98552..000000000
--- a/plugins/admin_advices/language/it_IT/plugin.lang.php
+++ /dev/null
@@ -1,170 +0,0 @@
-<?php
-// +-----------------------------------------------------------------------+
-// | Piwigo - a PHP based picture gallery |
-// +-----------------------------------------------------------------------+
-// | Copyright(C) 2008-2010 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. |
-// +-----------------------------------------------------------------------+
-
-// --------- Starting below: New or revised $lang ---- from Butterfly (1.8)
-$lang['An_advice_about'] = 'Un\'nuovo consiglio about';
-$lang['contribute'] = 'come contribuire';
-$lang['navigation'] = 'navigazione';
-$lang['Metadata'] = 'Meta-dati';
-$lang['current'] = 'Valore attuale : %s.';
-$lang['TN-height&width'] = 'Altezza e lunghezza delle miniature dovrebbero essere uguali.';
-$lang['Adv_case'][0] = array( /* **contribute */
- 'Se volete contribuire con i vostri propri "trucchi", pubblicateli pure',
- 'sul forum di Piwigo (o inviateli per posta agli sviluppatori),',
- 'e saremmo felici d\'aggiungerli nella la prossima versione.',);
-$lang['Adv_case'][1] = array( /* newcat_default_status */
- 'Trovate $conf[\'newcat_default_status\'] = \'private\',',
- 'Avrete più tempo per descrivere e controllare le vostre immagini.',
- 'Del tempo per decidere tra lo stato privato e pubblico. ',
- 'Se scegliete di rimanere "privato", passerete direttamente all\'attribuzione delle autorizzazioni.',
- 'Le vostre nuove categorie saranno pronte più facilmente.', );
-$lang['Adv_case'][2] = array( /* slideshow_period */
- 'Questo valore potrebbe essere troppo piccolo per le connessioni a bassa velocità.',
- 'Pesate ad un valore più alto come 4.', );
-$lang['Adv_case'][3] = array( /* file_ext */
- 'Non dovrebbe mai contiene delle estensioni che possono essere eseguite',
- 'sul server come *.php, *.PHP, *.asp, ...', );
-$lang['Adv_case'][4] = array( /* show_iptc_mapping */
- 'Come gestire i IPTC :',
- ' 1 - Copiate un\'immagine jpg (pubblica) in ./tools/',
- ' 2 - Rinominatela in sample.jpg.',
- ' 3 - Eseguite ./tools/metadata.php',
- ' 4 - Analizzate il risultato per identificare quali campi ',
- 'I principianti lasceranno $conf[\'show_iptc\'] = false,',
- 'Gli utenti più sperimentati si occuperanno dei valori della tabella $lang e degli impatti sui templates.', );
-$lang['Adv_case'][5] = array( /* top_number */
- 'Questo valore è forse troppo alto per i collegamenti a bassa velocità.',
- 'Pensate ad un valore tra 25-50 in funzione delle dimenzioni delle miniature.', );
-$lang['Adv_case'][6] = array( /* top_number */
- 'Una sola? Almeno per le "immagini a caso", pensate ad un valore tra 5-10 circa in funzione delle dimenzioni delle miniature.', );
-$lang['Adv_case'][7] = array( /* anti-flood_time */
- 'Per uno scorrimento normale, il vostro valore è probabilmente troppo alto. Un buon\' valore sarebbe 60 (valore predefinito).', );
-$lang['Adv_case'][8] = array( /* calendar_datefield */
- 'I valori autorizzati sono ' . "'date_creation' o 'date_available'" . ', tutt\'altro valore può dare risultato inaspettato.' , );
-$lang['Adv_case'][9] = array( /* calendar_datefield */
- "'date_creation'" . ' è vuoto. Nessun campo dei metadati (use_) n\'attualizza la base.',
- 'O attivate l\'uso dei metatati activate <strong>o</strong> cambiate a $conf[\'calendar_datefield\'] = \'date_available\'',
- 'Attivate l\'uso dei metadati semplicemente con :',
- '1 - $conf[\'use_iptc\'] = true, o $conf[\'use_exif\'] = true; le due sonuzioni possono essere usate.',
- '2 - Respettivamente eseguire le modifiche:',
- '$conf[\'use_iptc_mapping\'] = array( ..., \'date_creation\' => \'2#055\', ...',
- 'o/e:',
- '$conf[\'use_exif_mapping\'] = array(\'date_creation\' => \'DateTimeOriginal\', ...',
- '3 - In fine una nuova operazione è da eseguire : la sincronizzazione dei metadati synchronization.', );
-$lang['Adv_case'][10] = array( /* newcat_default_visible */
- 'E un errore, lo stato "private" è più semplice, allora scegliete $conf[\'newcat_default_visible\'] = true,', );
-$lang['Adv_case'][11] = array( /* level_separator */
- 'Potete sempre provare un altro separatore come : $conf[\'level_separator\'] = \'+ \',', );
-$lang['Adv_case'][12] = array( /* paginate_pages_around */
- 'I valore di default si trovano tra 2 e 5. Per un sito con un interfacia "leggera" scegliere : ',
- '$conf[\'paginate_pages_around\'] = 2;',
- 'Al fine d\'offrire più accessi diretti, scegliere : $conf[\'paginate_pages_around\'] = 7,', );
-$lang['Adv_case'][13] = array( /* tn_width */
- 'Deve essere un valore vicino alla larghezza delle vostre miniature. I valori di default sono tra 96 e 150, come $conf[\'tn_width\'] = 128,', );
-$lang['Adv_case'][14] = array( /* tn_height */
- 'Deve essere un valore vicino al altezza delle vostre miniature. I valori di default sono tra 96 e 150, come $conf[\'tn_height\'] = 128,', );
-$lang['Adv_case'][15] = array( /* tn_height */
- 'L\'altezza e la lunghezza delle miniature dovrebbero essere uguali.',
- 'Provate $conf[\'tn_height\'] = $conf[\'tn_width\'],',
- 'o $conf[\'tn_width\'] = $conf[\'tn_height\'],', );
-$lang['Adv_case'][16] = array( /* show_version */
- 'Per raggioni di sicurezza scegliete piuttosto $conf[\'show_version\'] = false,', );
-$lang['Adv_case'][17] = array( /* show_thumbnail_caption */
- 'Per una galleria meno "carica", provate con $conf[\'show_thumbnail_caption\'] = false,', );
-$lang['Adv_case'][18] = array( /* show_picture_name_on_title */
- 'Per una galleria meno "carica", provate con $conf[\'show_picture_name_on_title\'] = false,', );
-$lang['Adv_case'][19] = array( /* tags_default_display_mode */
- 'Di default impostato a \'cloud\' (nuvola), più un "tag" è utilizzato più sarà scritto in grande.',
- 'Potete modificare la visualizzazione dei tags, $conf[\'tags_default_display_mode\'] = \'letters\'', );
-$lang['Adv_case'][20] = array( /* allow_random_representative */
- 'Lasciate pure $conf[\'allow_random_representative\'] = true, ',
- 'ma provate a vedere come evitarlo per raggioni di performance.' , );
-$lang['Adv_case'][21] = array( /* prefix_thumbnail */
- 'Attenzione, il vostro $conf[\'prefix_thumbnail\'] non è di default.',
- 'Non dovete cambiarlo eccetto se le vostre miniature non sono visibili',
- 'Il sito distante potrebbe usare un prefisso diverso, il create_listing_file.php dovrà essere modificato',
- 'In questo caso, dovreste avere un messaggio d\'avvertimento durante la sincronizzazione',
- 'Provate a mantenere lo stesso prefisso per tutti i siti sia locali che distanti',
- 'Tenere questo parametro nel vostro ./include/config_<strong>locale.inc.php</strong>',
- 'Vedere la pagina di configurazione nel WIKI per maggiore informazioni su ./include/config_<strong>locale.inc.php</strong>. ',);
-$lang['Adv_case'][22] = array( /* users_page */
- 'Se avete una conessione a banda larga potete aumentare $conf[\'users_page\'] sopra tutto se avete più di 20 utenti registrati.', );
-$lang['Adv_case'][23] = array( /* mail_options */
- 'Dovrebbe essere a "false", solo qualche webmaster dovranno impostare $conf[\'mail_options\'] = true, ',
- 'Un utente esperto del nostro forum ha consigliato questo valore per coloro che hanno avuto problemi con l\'Email.', );
-$lang['Adv_case'][24] = array( /* check_upgrade_feed */
- 'Dovrebbe essere a "false". Solo i sviluppatori della Team di PWG impostono $conf[\'check_upgrade_feed\'] = true, per i loro test.' , );
-$lang['Adv_case'][25] = array( /* rate_items */
- 'Il vostro $conf[\'rate_items\'] dovrebbe avere 4 o 5 elementi ma non meno.', );
-$lang['Adv_case'][26] = array( /* rate_items */
- 'Il vostro $conf[\'rate_items\'] dovrebbe avere 4 o 5 elementi ma non di più.',
- 'Verificate le foto le più votate prima di togliere certi valori.',
- 'Ridurre certi valori eccessivi e modificate il vostro $conf[\'rate_items\'].', );
-$lang['Adv_case'][27] = array( /* show_iptc */
- 'Puo essere a "true", scegliete piuttosto $conf[\'show_iptc\'] = false,',
- 'Come certi fotografi professioali scegliete false anche se le loro raggioni non sono per forsa professionali.' ,
- 'Non confondere <strong>show</strong>_iptc e <strong>use</strong>_iptc (consultate le pagine sui metadati nel WIKI).', );
-$lang['Adv_case'][28] = array( /* use_iptc */
- 'I documentaristi e fotografi professionnali lo regolerebbero a "true", ma i principianti dovrebbero lasciarlo a $conf[\'use_iptc\'] = false,',
- 'Attenti ai campi mensionati durante la sincronizzazione dei metadati.',
- 'I campi menzionati potrebbero essere sovrascritti con i valori dei campi IPTC anche se non sono vuoti',
- 'Non confondere <strong>show</strong>_iptc e <strong>use</strong>_iptc (consultate le pagine sui metadati nel WIKI).', );
-$lang['Adv_case'][29] = array( /* use_iptc */
- 'Come gestire i IPTC:',
- '1 - Copiate un\'immagine jpg (pubblica) in ./tools/',
- '2 - Rinominatela in sample.jpg.',
- '3 - Eseguite ./tools/metadata.php',
- '4 - Analizzate il risultato per identificare quali campi IPTC potrebbero completale la vostra base dati',
- 'I principianti lasceranno $conf[\'show_iptc\'] = false,',
- 'Gli utenti più sperimentati documenteranno le loro foto prima di trasferirle sul sito.',
- 'I campi IPTC devono essere elencati in $conf[\'use_iptc_mapping\']',
- 'In tutti i casi, <strong>show</strong>_iptc_mapping e <strong>use</strong>_iptc_mapping saranno totalmente diversi.', );
-$lang['Adv_case'][30] = array( /* use_iptc_mapping */
- 'Come gestire i IPTC:',
- 'Attenti ai campi mensionati durante la sincronizzazione dei metadati.',
- 'I campi menzionati potrebbero essere sovrascritti con i valori dei campi IPTC anche se non sono vuoti',
- 'In tutti i casi, <strong>show</strong>_iptc_mapping e <strong>use</strong>_iptc_mapping saranno totalmente diversi.', );
-$lang['Adv_case'][31] = array( /* show_exif */
- 'Dovrebbe essere a "true", certe informazioni della vostra macchina fotografica potrebbero essere visualizzate.',
- 'Le informazioni EXIF possono essere diverse a seconda del modello della macchina fotografica.',
- 'Se cambiate macchina fotografica, le informazioni visualizzate potrebbero cambiare.',
- 'Parecchi fotografi professionali sceglieranno "false", per proteggere il loro lavoro.' ,
- 'Non confondere <strong>show</strong>_iptc e <strong>use</strong>_iptc (consultate le pagine sui metadati nel WIKI).', );
-$lang['Adv_case'][32] = array( /* use_exif */
- 'I documentaristi e fotografi professionnali lo regolerebbero a "true", ma i principianti dovrebbero lasciare il valore di default.',
- 'Take care of mentionned fields in metadata synchronization.',
- 'I campi menzionati potrebbero essere sovrascritti con i valori dei campi EXIF anche se non sono vuoti',
- 'Non confondere <strong>show</strong>_exif e <strong>use</strong>_exif (consultate le pagine sui metadati nel WIKI).', );
-$lang['Adv_case'][33] = array( /* **navigation */
- 'Potrete usare le frecce della tastiera per navigare tra le foto.', );
-$lang['Adv_case'][34] = array( /* compiled_template_cache_language */
- 'Doverbbe essere a "true", la traduzione sarà eseguta al momento della compilazione.',
- 'Se modificate i files lingua (traduzioni), dovreste impostare il parametro a "false".',
- 'Impostato a "false", i "@translate" dei templates saranno trattati ad ogni uso.' );
-$lang['Adv_case'][35] = array( /* template_compile_check */
- 'Di default a "true", ogni modifica sui templates è rilevata e il template modificato è compilato.',
- 'Se non modificate i vostri templates per qualche giorno, ',
- 'dovreste penasre ad impostarlo a "false".',
- 'Scelgliendo "false", le modifiche dei templates non saranno più rilevate, ciò amegliora i tempi di risposta.',
- 'Comunque Speciale > Manutezione > Spurgare i templates compilati, è consigliato dopo una modifica di $conf.' );
-?> \ No newline at end of file
diff --git a/plugins/admin_advices/language/pl_PL/description.txt b/plugins/admin_advices/language/pl_PL/description.txt
deleted file mode 100644
index 1b7933242..000000000
--- a/plugins/admin_advices/language/pl_PL/description.txt
+++ /dev/null
@@ -1 +0,0 @@
-Wyświetla poradę (w języku angielskim) na stronie administracyjnej. \ No newline at end of file
diff --git a/plugins/admin_advices/language/pl_PL/index.php b/plugins/admin_advices/language/pl_PL/index.php
deleted file mode 100644
index 17747c927..000000000
--- a/plugins/admin_advices/language/pl_PL/index.php
+++ /dev/null
@@ -1,30 +0,0 @@
-<?php
-// +-----------------------------------------------------------------------+
-// | Piwigo - a PHP based picture gallery |
-// +-----------------------------------------------------------------------+
-// | Copyright(C) 2008-2010 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/plugins/admin_advices/main.inc.php b/plugins/admin_advices/main.inc.php
deleted file mode 100644
index faa8a91b0..000000000
--- a/plugins/admin_advices/main.inc.php
+++ /dev/null
@@ -1,36 +0,0 @@
-<?php
-// +-----------------------------------------------------------------------+
-// | Piwigo - a PHP based picture gallery |
-// +-----------------------------------------------------------------------+
-// | Copyright(C) 2008-2010 Piwigo Team http://piwigo.org |
-// | Copyright(C) 2003-2008 Piwigo 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. |
-// +-----------------------------------------------------------------------+
-
-/*
-Plugin Name: Admin Advice
-Version: Auto
-Description: Give you an advice on the administration page.
-Plugin URI: http://piwigo.org/ext/extension_view.php?eid=285
-Author: Piwigo team
-Author URI: http://piwigo.org
-*/
-if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!');
-
-if (script_basename() == 'admin' and defined('IN_ADMIN') and IN_ADMIN)
- include_once(dirname(__FILE__).'/admin_advices.php');
-?>