aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/admin_advices/fr_FR.iso-8859-1/lang.adv.php
diff options
context:
space:
mode:
authorvdigital <vdigital@piwigo.org>2007-01-04 21:54:46 +0000
committervdigital <vdigital@piwigo.org>2007-01-04 21:54:46 +0000
commit6314122c5d610f2fbc9fc5c60dec32f7f901a2bb (patch)
treed0fd7eb2835209d5ebd9d6534e62209eb3285c15 /plugins/admin_advices/fr_FR.iso-8859-1/lang.adv.php
parent60bcda3564dd3e2f9d74a0980b95290f373e6817 (diff)
35 advices are available all in English / French version is coming
git-svn-id: http://piwigo.org/svn/trunk@1697 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--plugins/admin_advices/fr_FR.iso-8859-1/lang.adv.php630
1 files changed, 386 insertions, 244 deletions
diff --git a/plugins/admin_advices/fr_FR.iso-8859-1/lang.adv.php b/plugins/admin_advices/fr_FR.iso-8859-1/lang.adv.php
index 371733eff..e59469601 100644
--- a/plugins/admin_advices/fr_FR.iso-8859-1/lang.adv.php
+++ b/plugins/admin_advices/fr_FR.iso-8859-1/lang.adv.php
@@ -2,12 +2,12 @@
// +-----------------------------------------------------------------------+
// | PhpWebGallery - a PHP based picture gallery |
// | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net |
-// | Copyright (C) 2003-2006 PhpWebGallery Team - http://phpwebgallery.net |
+// | Copyright (C) 2003-2007 PhpWebGallery Team - http://phpwebgallery.net |
// +-----------------------------------------------------------------------+
// | branch : BSF (Best So Far)
// | file : $RCSfile$
-// | last update : $Date: 2006-12-21 22:38:20 +0100 (jeu., 21 déc. 2006) $
-// | last modifier : $Author: rub $
+// | last update : $Date: 2006-12-21 22:38:20 +0100 (jeu., 4 jan. 2007) $
+// | last modifier : $Author: Vincent $
// | revision : $Revision: 1677 $
// +-----------------------------------------------------------------------+
// | This program is free software; you can redistribute it and/or modify |
@@ -29,45 +29,56 @@
//$lang_info['charset'] = 'iso-8859-1';
//$lang_info['direction'] = 'ltr';
//$lang_info['code'] = 'fr';
-$nomore = false;
-$cases = array();
-for ($i = 1; $i < 5; $i++)
+foreach ($conf as $key => $value)
{
- $cases[$i] = $i;
-}
+ if ( is_string($value) )
+ {
+ $bool = ($value == 'false') ? false : $value;
+ $bool = ($value == 'true') ? true : $bool;
+ $conf[$key] = $bool;
+ }
+}
+
+//
+// Don't forget to update range for new advices
+//
+$cases = range(1,35);
srand ((double) microtime() * 10000000);
-$set_adv = array_rand ($cases, 3);
+shuffle($cases);
-foreach ($set_adv as $id_adv)
+$cond = false;
+foreach ($cases as $id_adv)
{
+ if ($cond) break;
+ $adv = array();
switch ($id_adv) {
Case 1 :
- $adv[] = 'Votre valeur actuelle: public. ';
- $adv[] = 'Essayez $conf[\'newcat_default_status\'] = \'private\';';
- $adv[] = 'Vous aurez ainsi le temps pour décrire et vérifier vos images,';
- $adv[] = 'de décider si vous laisserez la catégorie en privé';
- $adv[] = 'et donnerez quelques droits, ou si vous la passerez en public.';
- $adv[] = 'Soit un temps de réflexion pour bien préparer la catégorie.';
- $cond = ($conf['newcat_default_status'] !== 'public') ? true : false;
+ $adv[] = 'Current value: public. ';
+ $adv[] = 'Try $conf[\'newcat_default_status\'] = \'private\';';
+ $adv[] = 'You will have more time to describe and check your pictures.';
+ $adv[] = 'Time to decide between private and public status.';
+ $adv[] = 'If you choose private, time to distribute authorization.';
+ $adv[] = 'Your new category will be well prepared.';
+ $cond = ($conf['newcat_default_status'] !== 'public');
$confk = 'newcat_default_status';
- break 2;
+ break;
Case 2 :
$adv[] = 'Current value: ' . (string) $conf['slideshow_period'] . '.';
$adv[] = 'This value could be too small for low band connections.';
$adv[] = 'Think about higher value like 4.';
- $cond = ( $conf['slideshow_period'] < 4 ) ? true : false;
+ $cond = ( $conf['slideshow_period'] < 4 );
$confk = 'slideshow_period';
- break 2;
+ break;
Case 3 :
$adv[] = 'Current value: ' . implode(', ', $conf['file_ext']) . '. ';
$adv[] = 'Should never contains extensions which can be executed';
$adv[] = 'on the server side like *.php, *.PHP, *.asp, ...';
$adv[] = 'Think about higher value like 4.';
- $cond = ( in_array('php',$conf['file_ext']) ) ? true : false;
+ $cond = ( in_array('php',$conf['file_ext']) );
$confk = 'file_ext';
- break 2;
+ break;
Case 4 :
$adv[] = 'Show ITPC Data from your picture:';
@@ -82,238 +93,369 @@ foreach ($set_adv as $id_adv)
' on templates.';
$cond = true;
$confk = 'show_iptc_mapping';
- break 2;
-
-
- default :
- $nomore = true;
- $adv[] = '';
- $cond = false;
- }
-}
-/*
-A Ajouter si besoin:
-sprintf($adv[0/1], $conf[$confk]);
-
-Conseils à intégrer:
-( $conf['top_number'] > 50 )
- 'top_number',
- 'Your current value (%u) is maybe too high for low ' .
- 'connexions, think about 25-50 depending on your thumbnail sizes.'
-
-
-( $conf['top_number'] < 2 )
- 'top_number',
- 'Your current value (%u) may be too low for some people,' .
- ' might be about 5-10 depending on your thumbnail sizes.'
-
-( $conf['anti-flood_time'] > 100 )
- 'anti-flood_time',
- 'Your current value (%u) could be too high,' .
- ' should be arround 60 for flow reasons only.'
-
-
-( !in_array($conf['calendar_datefield'],
-array('date_creation','date_available') )
- 'calendar_datefield',
- 'Current value: %s. Authorized values are ' .
- '\'date_creation\' or \'date_available\', otherwise you can get ' .
- 'unpredictable results.'
-
- // If (iptc & exif) are used and date_creation is updated
- // Then it's Ok
- // else Using Calendar by date_creation is quite stupid
- // Take care! condition has been reversed by first ! (so then is else)
- if ( ! ( ($conf['use_iptc'] == true) or ($conf['use_exif'] == true) ) and
- ( (isset($conf['use_iptc']['date_creation'])) or
- (isset($conf['use_exif']['date_creation'])) ) )
- {
-( $conf['calendar_datefield'] == 'date_creation' )
- 'calendar_datefield',
- 'Current value: %s. ' .
- ' \'date_creation\' is NOT filled by any activated use metadata ' .
- 'mapping fields.' ,
- 'So activate metadata usage or change to $conf[\'calendar_datefield\'] ' .
- '= \'date_available\'' ,
- '1 - Activate metadata usage as you want: ',
- '$conf[\'use_iptc\'] = true; or $conf[\'use_exif\'] = true; each way ' .
- 'may 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.'
- }
+ break;
+ Case 5 :
+ $adv[] = 'Current value: ' . (string) $conf['top_number'] . '.';
+ $adv[] = 'This value is maybe too high for low connections, ' .
+ 'think about 25-50 depending on your thumbnail sizes.';
+ $cond = ( $conf['top_number'] > 50 );
+ $confk = 'top_number';
+ break;
-( $conf['newcat_default_visible'] == false )
- 'newcat_default_visible',
- 'Your current value: false.' .
- 'Not useful, private status is better, so code ' .
- '$conf[\'newcat_default_visible\'] = true;'
-
-( $conf['newcat_default_status'] == 'public' )
- 'newcat_default_status', 'Your current value: public.' ,
- 'Try $conf[\'newcat_default_status\'] = \'private\'; could allow ' .
- 'you time to prepare.'
-
-( $conf['newuser_default_enabled_high'] == true )
- 'newuser_default_enabled_high',
- 'Your current value: true.' .
- ' Any new subscriber has access to High Resolution pictures is what ' .
- 'you want, if NOT try $conf[\'newuser_default_enabled_high\'] = false;'
-
-( $conf['level_separator'] == ' / ' )
- 'level_separator',
- 'Current value: \' / \'.' .
- 'Try just a comma like this $conf[\'level_separator\'] = \', \';'
-
-(($conf['paginate_pages_around'] < 2) or ($conf['paginate_pages_around'] > 12))
- 'paginate_pages_around',
- 'Current value: %u.' .
- 'Usual range is between 2 and 5, be light as ' .
- '$conf[\'paginate_pages_around\'] = 2;' .
- ' or dynamic for visitors as $conf[\'paginate_pages_around\'] = 7;'
-
-( ($conf['tn_width'] < 66) or ($conf['tn_width'] > 180) )
- 'tn_width',
- 'Current value: %u.' .
- 'Should be a closed value to your thumbnail width.' .
- ' Usual range is between 96 and 150, about $conf[\'tn_width\'] = 128;'
-
-( ($conf['tn_height'] < 66) or ($conf['tn_height'] > 180))
- 'tn_height',
- 'Current value: %u.' .
- 'Should be a closed value to your thumbnail height.' .
- ' Usual range is between 96 and 150, about $conf[\'tn_height\'] = 128;'
-
-( $conf['tn_height'] == $conf['tn_width'] )
- 'tn_height',
- 'Try equal values like this $conf[\'tn_height\'] = $conf[\'tn_width\'];' .
- 'or $conf[\'tn_width\'] = $conf[\'tn_height\']; ' .
- 'depending on the first set value.'
-
-( $conf['show_version'] == true )
- 'show_version',
- 'Current value: true.' .
- 'For security reason, please set $conf[\'show_version\'] = false;'
-
-( $conf['show_thumbnail_caption'] == true )
- 'show_thumbnail_caption',
- 'Current value: true.' .
- 'For a lighter gallery just have a look to ' .
- '$conf[\'show_thumbnail_caption\'] = false;'
-
-( $conf['show_picture_name_on_title'] == true )
- 'show_picture_name_on_title',
- 'Current value: true.' .
- 'For a lighter gallery just have a look to ' .
- '$conf[\'show_picture_name_on_title\'] = false;'
-
-( $conf['subcatify'] == true )
- 'subcatify',
- 'Current value: true.' .
- 'If you do NOT have any category descriptions just have a look to' .
- ' $conf[\'subcatify\'] = false;'
-
-( $conf['allow_random_representative'] == true )
- 'allow_random_representative',
- 'Current value: true.' .
- 'Leave $conf[\'allow_random_representative\'] = true; but study ' .
- 'if you can avoid'
-
-( $conf['prefix_thumbnail'] !== 'TN-' )
- 'prefix_thumbnail',
- 'Current value: \'%s\'.' .
- 'Be careful your $conf[\'prefix_thumbnail\'] is NOT standard.',
- 'Return to default if your thumbnail are NOT visible.' ,
- 'Default is $conf[\'prefix_thumbnail\'] = \'TN-\';' .
- 'Distant site may use a different prefix but create_listing_file.php ' .
- 'must be changed.'
+ Case 6 :
+ $adv[] = 'Current value: ' . (string) $conf['top_number'] . '.';
+ $adv[] = 'One? It could be too low for random pictures, ' .
+ 'think about 5-10 depending on your thumbnail sizes.';
+ $cond = ( $conf['top_number'] < 2 ) ? true : false;
+ $confk = 'top_number';
+ break;
-( $conf['users_page'] < 21 )
- 'users_page',
- 'Current value: %u.' .
- 'Unless your connexion is low, you can draw up $conf[\'users_page\'] ' .
- 'to a higher value.'
+ Case 7 :
+ $adv[] = 'Current value: ' . (string) $conf['anti-flood_time'] . '.';
+ $adv[] = 'For normal flow processing, your value is probably too high. ' .
+ 'Reasonable value is 60 (default).' ;
+ $cond = ( $conf['anti-flood_time'] > 100 ) ? true : false;
+ $confk = 'anti-flood_time';
+ break;
-( $conf['mail_options'] == true )
- 'mail_options',
- 'Current value: true.' .
- 'Should be false, only few webmasters have to set ' .
- '$conf[\'mail_options\'] = true; On specific advice.'
+ Case 8 :
+ $adv[] = 'Current value: ' . (string) $conf['calendar_datefield'] . '.';
+ $adv[] = 'Authorized values are ' .
+ "'date_creation' or 'date_available'" .
+ ', otherwise you can get unpredictable results.' ;
+ $cond = ( !in_array($conf['calendar_datefield'],
+ array('date_creation','date_available')) );
+ $confk = 'calendar_datefield';
+ break;
-( $conf['check_upgrade_feed'] == true )
- 'check_upgrade_feed',
- 'Current value: true.' .
- 'Should be false, only PWG Team have to set ' .
- '$conf[\'check_upgrade_feed\'] = true; for BSF tests purpose.'
-
-( count( $conf['rate_items'] ) < 4 )
- 'rate_items',
- 'Your $conf[\'rate_items\'] would have 4 or 5 items not less.'
-
-( count( $conf['rate_items'] ) > 6)
- 'rate_items',
- 'Your $conf[\'rate_items\'] would have 5 or 6 items not more.'
-
-( $conf['show_itpc'] == true )
- 'show_itpc',
- 'Current value: true.' .
- ' Could be true, but usualy $conf[\'show_iptc\'] = false; ' .
- 'Only set true if you want to show other IPTC fields.',
- 'Or if you want different descriptions between PWG ' .
- 'database and IPTC fields.',
- 'In any case, show_iptc_mapping and use_iptc_mapping must be ' .
- 'totally different.'
-
-( $conf['use_itpc'] == true )
- 'use_itpc',
- 'Current value: true.' .
- ' Documentalists and professionnal photographers would set it true,' .
- ' but beginners should leave 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 empty.'
-
-( true )
- 'use_iptc_mapping',
- ' 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 ITPC 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.'
+ Case 9 :
+ // If (iptc or exif) are used and date_creation is updated
+ // Then it's Ok, you can use date_creation by default for calendar
+ // else ... Advice
+ $adv[] = 'Current value: ' . (string) $conf['calendar_datefield'] . '.';
+ $adv[] = "'date_creation'" . ' is NOT filled by ' .
+ 'any activated use metadata mapping fields.';
+ $adv[] = 'So activate metadata usage <strong>or</strong> change to ' .
+ '$conf[\'calendar_datefield\'] = \'date_available\'';
+ $adv[] = 'Activate metadata usage as you want: <br />' .
+ '1 - $conf[\'use_iptc\'] = true; or $conf[\'use_exif\'] = true; ' .
+ 'each way will be correct.<br />' .
+ '2 - And respectively map:<br />' .
+ '$conf[\'use_iptc_mapping\'] = array( ..., \'date_creation\' ' .
+ '=> \'2#055\', ...<br />' .
+ 'or/and:<br />' .
+ '$conf[\'use_exif_mapping\'] = array(\'date_creation\' ' .
+ '=> \'DateTimeOriginal\', ...<br />' .
+ '3 - Finally, a new task is up to you: Metadata synchronization.' ;
+ $cond2 = ( $conf['use_exif'] and
+ isset($conf['use_exif_mapping']['date_creation']) );
+ $cond3 = ( $conf['use_iptc'] and
+ isset($conf['use_iptc_mapping']['date_creation']) );
+ $cond = ( $conf['calendar_datefield'] == 'date_creation' );
+ $cond = ( ($cond2 or $cond3) and $cond ) ? false : true;
+ $confk = 'calendar_datefield';
+ break;
-( true )
- 'show_exif',
- 'Current value: ' . (( $conf['show_exif']) ? 'true.':'false.') .
- ' 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.' );
+ Case 10 :
+ $adv[] = 'Current value: false.';
+ $adv[] = 'Not useful, private status is better, so code ' .
+ '$conf[\'newcat_default_visible\'] = true;' ;
+ $cond = !$conf['newcat_default_visible'];
+ $confk = 'newcat_default_visible';
+ break;
-( true )
- 'show_exif_mapping',
- ' Process as for iptc mapping.' .
- ' Beginners would prefer to let default values.' .
- ' Advanced users would take care of $lang values and impacts on templates.'
+ Case 11 :
+ $adv[] = 'Current value: true.';
+ $adv[] = 'Any new subscriber has access to High Resolution pictures. ' .
+ 'Is it what you want? No, so try ' .
+ '$conf[\'newuser_default_enabled_high\'] = false;' ;
+ $cond = $conf['newuser_default_enabled_high'];
+ $confk = 'newuser_default_enabled_high';
+ break;
-( $conf['use_exif'] == true )
- 'use_exif',
- 'Current value: true.' .
- ' 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 empty.'
+ Case 12 :
+ $adv[] = 'Current value: ' . (string) $conf['level_separator'] . '.';
+ $adv[] = 'Try something else like $conf[\'level_separator\'] = \'+ \';';
+ $cond = ( $conf['level_separator'] == ' / ' );
+ $confk = 'level_separator';
+ break;
-( true )
- 'use_exif_mapping',
- ' Process as for iptc mapping.' .
- ' Beginners would prefer to let default values again.' .
- ' Advanced users would carefully chose overrided fields prior to synchronize.'
+ Case 13 :
+ $adv[] = 'Current value: ' . (string) $conf['paginate_pages_around'] . '.';
+ $adv[] = 'Usual range is between 2 and 5. To be light, choose ' .
+ '$conf[\'paginate_pages_around\'] = 2; <br />' .
+ 'To offer large jump, choose $conf[\'paginate_pages_around\'] = 7;';
+ $cond = (($conf['paginate_pages_around'] < 2)
+ or ($conf['paginate_pages_around'] > 12));
+ $confk = 'paginate_pages_around';
+ break;
+
+ Case 14 :
+ $adv[] = 'Current value: ' . (string) $conf['tn_width'] . '.';
+ $adv[] = 'Should be a close value to your thumbnail width.' .
+ $adv[] = 'Usual range is between 96 and 150, ' .
+ 'about $conf[\'tn_width\'] = 128;';
+ $cond = (($conf['tn_width'] < 66)
+ or ($conf['tn_width'] > 180));
+ $confk = 'tn_width';
+ break;
+
+ Case 15 :
+ $adv[] = 'Current value: ' . (string) $conf['tn_height'] . '.';
+ $adv[] = 'Should be a close value to your thumbnail height.' .
+ $adv[] = 'Usual range is between 96 and 150, ' .
+ 'about $conf[\'tn_height\'] = 128;';
+ $cond = (($conf['tn_height'] < 66)
+ or ($conf['tn_height'] > 180));
+ $confk = 'tn_height';
+ break;
+
+ Case 16 :
+ $adv[] = 'Thumbnail height and width have to be equal.';
+ $adv[] = 'Choose $conf[\'tn_height\'] = ' . (string) $conf['tn_width'] .
+ ';<br />' .
+ 'or $conf[\'tn_width\'] = ' . (string) $conf['tn_height'] . ';';
+ $cond = ( $conf['tn_height'] !== $conf['tn_width'] );
+ $confk = 'tn_height';
+ break;
+
+ Case 17 :
+ $adv[] = 'Current value: true.';
+ $adv[] = 'For security reason, please set ' .
+ '$conf[\'show_version\'] = false;';
+ $cond = $conf['show_version'];
+ $confk = 'show_version';
+ break;
+
+ Case 18 :
+ $adv[] = 'Current value: true.';
+ $adv[] = 'For a lighter gallery just have a look to ' .
+ '$conf[\'show_thumbnail_caption\'] = false;';
+ $cond = $conf['show_thumbnail_caption'];
+ $confk = 'show_thumbnail_caption';
+ break;
+
+ Case 19 :
+ $adv[] = 'Current value: true.';
+ $adv[] = 'For a lighter gallery just have a look to ' .
+ '$conf[\'show_picture_name_on_title\'] = false;';
+ $cond = $conf['show_picture_name_on_title'];
+ $confk = 'show_picture_name_on_title';
+ break;
+
+ Case 20 :
+ $adv[] = 'Current value: true.';
+ $adv[] = 'If you do NOT have any category descriptions just have ' .
+ 'a look to $conf[\'subcatify\'] = false;';
+ $cond = $conf['subcatify'];
+ $confk = 'subcatify';
+ break;
+ Case 21 :
+ $adv[] = 'Current value: true.';
+ $adv[] = 'Leave $conf[\'allow_random_representative\'] = true; <br />' .
+ 'but analyze if you can avoid for performance reasons.' ;
+ $cond = $conf['allow_random_representative'];
+ $confk = 'allow_random_representative';
+ break;
- */
+ Case 22 :
+ $adv[] = 'Current value: ' . (string) $conf['prefix_thumbnail'] . '.';
+ $adv[] = 'Be careful your $conf[\'prefix_thumbnail\'] is NOT standard.';
+ $adv[] = 'Do NOT change it except if your thumbnails are NOT visible.';
+ $adv[] = 'Distant site may use a different prefix but ' .
+ 'create_listing_file.php must be modified.<br />' .
+ 'You will get a warning message during synchronization in ' .
+ 'that case.';
+ $adv[] = 'Try to keep the same prefix thru all your sites either ' .
+ 'local or distants.';
+ $adv[] = 'Keep this parameter in your ./include/config_'.
+ '<strong>local.inc.php</strong>. <br />'.
+ 'See our wiki configuration page for more information about ' .
+ './include/config_<strong>local.inc.php</strong>.';
+ $cond = ( $conf['prefix_thumbnail'] !== 'TN-' );
+ $confk = 'prefix_thumbnail';
+ break;
+
+ Case 23 :
+ $adv[] = 'Current value: ' . (string) $conf['users_page'] . '.';
+ $adv[] = '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.';
+ $cond = ( $conf['users_page'] < 21 );
+ $confk = 'users_page';
+ break;
+
+ Case 24 :
+ $adv[] = 'Current value: true.';
+ $adv[] = 'Should be false, only few webmasters have to set ' .
+ '$conf[\'mail_options\'] = true; <br />' .
+ 'A specific advice you can get from an advanced ' .
+ 'user on our forum in some mailing issues.' ;
+ $cond = $conf['mail_options'];
+ $confk = 'mail_options';
+ break;
+
+ Case 25 :
+ $adv[] = 'Current value: true.';
+ $adv[] = 'Should be false, only PWG dev Team have to set ' .
+ '$conf[\'check_upgrade_feed\'] = true; for test purpose.' ;
+ $cond = $conf['check_upgrade_feed'];
+ $confk = 'check_upgrade_feed';
+ break;
+
+ Case 26 :
+ $adv[] = '$conf[\'rate_items\'] has ' . count($conf['rate_items'])
+ . 'items.';
+ $adv[] = 'Your $conf[\'rate_items\'] would have 4 or 5 items not less.';
+ $cond = ( count($conf['rate_items']) < 4 );
+ $confk = 'rate_items';
+ break;
+
+ Case 27 :
+ $adv[] = '$conf[\'rate_items\'] has ' . count($conf['rate_items'])
+ . 'items.';
+ $adv[] = 'Your $conf[\'rate_items\'] would have 5 or 6 items not more.';
+ $adv[] = 'Check your best rated pictures prior to remove some values.' .
+ '<br />Reduce excessive rating and change your ' .
+ '$conf[\'rate_items\'].';
+ $cond = ( count($conf['rate_items']) > 6 );
+ $confk = 'rate_items';
+ break;
+
+ Case 28 :
+ $adv[] = 'Current value: true.';
+ $adv[] = 'Could be true, think about $conf[\'show_iptc\'] = false;'
+ . '<br />Some Professional photographers choose false ' .
+ 'their reasons are not really professional.' ;
+ $adv[] = 'Do NOT confuse between <strong>show</strong>_iptc and ' .
+ '<strong>use</strong>_iptc (have a look on metadata page ' .
+ 'on our wiki.';
+ $cond = $conf['show_iptc'];
+ $confk = 'show_iptc';
+ break;
+
+ Case 29 :
+ $adv[] = 'Current value: true.';
+ $adv[] = 'Documentalists and professionnal photographers would ' .
+ 'set it true, but beginners should leave it ' .
+ 'as $conf[\'use_iptc\'] = false;';
+ $adv[] = 'Take care of mentionned fields in metadata synchronization.' .
+ '<br />Mentionned fields would be rewrited with IPTC values ' .
+ ' even those ones are NOT empty.';
+ $adv[] = 'Do NOT confuse between <strong>show</strong>_iptc and ' .
+ '<strong>use</strong>_iptc (have a look on metadata page ' .
+ 'on our wiki.';
+ $cond = $conf['use_iptc'];
+ $confk = 'use_iptc';
+ break;
+
+ Case 30 :
+ $adv[] = 'How to deal with IPTC:';
+ $adv[] = '1 - Copy one of your jpg pictures (a public one) in ./tools/' .
+ '<br />2 - Rename it as sample.jpg.' .
+ '<br />3 - Run ./tools/metadata.php' .
+ '<br />4 - Analyse results to determine which ITPC fields ' .
+ 'could be used to override database fields.';
+ $adv[] = 'Beginners would prefer to keep $conf[\'use_iptc\'] = false;';
+ $adv[] = 'Advanced users make documentation efforts prior ' .
+ 'to upload their pictures.<br />' .
+ 'ITPC fields have to be described in ' .
+ '$conf[\'use_iptc_mapping\']';
+ $adv[] = 'In any case, <strong>show</strong>_iptc_mapping and ' .
+ '<strong>use</strong>_iptc_mapping must be totally different.';
+ $cond = true;
+ $confk = 'use_iptc';
+ break;
+
+ Case 31 :
+ $adv[] = 'How to deal with IPTC:';
+ $adv[] = '1 - Copy one of your jpg pictures (a public one) in ./tools/' .
+ '<br />2 - Rename it as sample.jpg.' .
+ '<br />3 - Run ./tools/metadata.php' .
+ '<br />4 - Analyse results to determine which ITPC fields ' .
+ 'could be used to override database fields.';
+ $adv[] = 'Beginners would prefer to keep $conf[\'use_iptc\'] = false;';
+ $adv[] = 'Advanced users make documentation efforts prior ' .
+ 'to upload their pictures.';
+ $adv[] = 'Take care of mentionned fields in metadata synchronization.' .
+ '<br />Mentionned fields would be rewrited with IPTC values ' .
+ ' even those ones are NOT empty.';
+ $adv[] = 'In any case, <strong>show</strong>_iptc_mapping and ' .
+ '<strong>use</strong>_iptc_mapping must be totally different.';
+ $cond = true;
+ $confk = 'use_iptc_mapping';
+ break;
+
+ Case 32 :
+ $adv[] = 'Current value: ' . ( ( $conf['show_exif'] ) ? 'true':'false' )
+ . '.';
+ $adv[] = 'Should be true, some information from your camera ' .
+ 'can be displayed.';
+ $adv[] = 'Think about EXIF information could be different depending ' .
+ 'on camera models.<br />' .
+ 'If you change your camera these fields could be ' .
+ 'partly different.';
+ $adv[] = 'Many professional photographers choose false, ' .
+ 'their reasons are to protect their knowledge.' ;
+ $adv[] = 'Do NOT confuse between <strong>show</strong>_exif and ' .
+ '<strong>use</strong>_exif (have a look on metadata page ' .
+ 'on our wiki.';
+ $cond = true;
+ $confk = 'show_exif';
+ break;
+
+ Case 33 :
+ $adv[] = 'How to deal with EXIF:';
+ $adv[] = '1 - Copy one of your jpg pictures (a public one) in ./tools/' .
+ '<br />2 - Rename it as sample.jpg.' .
+ '<br />3 - Run ./tools/metadata.php' .
+ '<br />4 - Analyse results to determine which EXIF fields ' .
+ 'could be used to override database fields.';
+ $adv[] = 'Beginners would prefer to let default values.';
+ $adv[] = 'Advanced users would take care of $lang values and ' .
+ 'impacts on templates.';
+ $adv[] = 'In any case, <strong>show</strong>_exif_mapping and ' .
+ '<strong>use</strong>_exif_mapping must be totally different.';
+ $cond = true;
+ $confk = 'show_exif_mapping';
+ break;
+
+ Case 34 :
+ $adv[] = 'Current value: ' . ( ( $conf['use_exif'] ) ? 'true':'false' )
+ . '.';
+ $adv[] = 'Documentalists and professionnal photographers would ' .
+ 'set it true, but beginners should leave the default value.';
+ $adv[] = 'Take care of mentionned fields in metadata synchronization.' .
+ '<br />Mentionned fields would be rewrited with EXIF values ' .
+ ' even those ones are NOT empty.';
+ $adv[] = 'Do NOT confuse between <strong>show</strong>_exif and ' .
+ '<strong>use</strong>_exif (have a look on metadata page ' .
+ 'on our wiki.';
+ $cond = true;
+ $confk = 'use_exif';
+ break;
+
+ Case 35 :
+ $adv[] = 'How to deal with EXIF:';
+ $adv[] = '1 - Copy one of your jpg pictures (a public one) in ./tools/' .
+ '<br />2 - Rename it as sample.jpg.' .
+ '<br />3 - Run ./tools/metadata.php' .
+ '<br />4 - Analyse results to determine which EXIF fields ' .
+ 'could be used to override database fields.';
+ $adv[] = 'Beginners would prefer to let default values.';
+ $adv[] = 'Advanced users would carefully chose overrided fields ' .
+ 'prior to synchronize.';
+ $adv[] = 'Take care of mentionned fields in metadata synchronization.' .
+ '<br />Mentionned fields would be rewrited with IPTC values ' .
+ ' even those ones are NOT empty.';
+ $adv[] = 'In any case, <strong>show</strong>_iptc_mapping and ' .
+ '<strong>use</strong>_iptc_mapping must be totally different.';
+ $cond = true;
+ $confk = 'use_exif_mapping';
+ break;
+ }
+}
?>