Index: extensions/FacebookPlug/Plugin/admin.config.php
===================================================================
--- extensions/FacebookPlug/Plugin/admin.config.php	(revision 8372)
+++ extensions/FacebookPlug/Plugin/admin.config.php	(revision 8375)
@@ -28,8 +28,6 @@
 
 // Lingua
-load_language('plugin.lang', FBP_DIR.'/');
-
-// Delete compiled templates
-$template->delete_compiled_templates();
+load_language('footer.lang', FBP_DIR.'/');
+load_language('admin.config.lang', FBP_DIR.'/');
 
 // Arguments
@@ -109,4 +107,7 @@
       $conf['fbp']['picture_url_type'] = $picture_url_type[$_POST['FBP_PICTURE_URL_TYPE']];
       $conf['fbp']['allow_fb_access_private_page'] = empty($_POST['FBP_ALLOW_FB_ACCESS_PRIVATE_PAGE']) ? false : true;
+      $conf['fbp']['add_about_informations'] = empty($_POST['FBP_ADD_ABOUT_INFORMATIONS']) ? false : true;
+      $conf['fbp']['add_group_footer'] = empty($_POST['FBP_ADD_GROUP_FOOTER']) ? false : true;
+      $conf['fbp']['add_application_footer'] = empty($_POST['FBP_ADD_APPLICATION_FOOTER']) ? false : true;
       break;
     }
@@ -128,4 +129,7 @@
     array_push($page['errors'], l10n('Data updated with error'));
   }
+
+  // Delete compiled templates
+  $template->delete_compiled_templates();
 }
 
@@ -140,5 +144,5 @@
         'like_button' => array
           (
-            'FB_PAGE' => 'http://developers.facebook.com/docs/reference/plugins/like/',
+            'FB_PAGE' => FACEBOOK_DOC_PLUGINS_URL.'/like/',
             'ENABLED' => ($conf['fbp']['social_plugin_like_button']['enabled'] ? 'checked="checked"' : ''),
             'LAYOUT_OPTIONS' => $layout_l10n,
@@ -152,5 +156,5 @@
        'facepile' => array
           (
-            'FB_PAGE' => 'http://developers.facebook.com/docs/reference/plugins/facepile/',
+            'FB_PAGE' => FACEBOOK_DOC_PLUGINS_URL.'/facepile/',
             'ENABLED' => ($conf['fbp']['social_plugin_facepile']['enabled'] ? 'checked="checked"' : ''),
             'MAX_ROWS' => $conf['fbp']['social_plugin_facepile']['max_rows'],
@@ -158,5 +162,5 @@
        'comments' => array
           (
-            'FB_PAGE' => 'http://developers.facebook.com/docs/reference/plugins/comments/',
+            'FB_PAGE' => FACEBOOK_DOC_PLUGINS_URL.'/comments/',
             'ENABLED' => ($conf['fbp']['social_plugin_comments']['enabled'] ? 'checked="checked"' : ''),
             'NUMPOSTS' => $conf['fbp']['social_plugin_comments']['numposts'],
@@ -168,5 +172,5 @@
        'like_box' => array
           (
-            'FB_PAGE' => 'http://developers.facebook.com/docs/reference/plugins/like-box/',
+            'FB_PAGE' => FACEBOOK_DOC_PLUGINS_URL.'/like-box/',
             'ENABLED' => ($conf['fbp']['social_plugin_like_box']['enabled'] ? 'checked="checked"' : ''),
             'URL' => $conf['fbp']['social_plugin_like_box']['url'],
@@ -191,4 +195,7 @@
         'FBP_PICTURE_URL_TYPE_OPTIONS_SELECTED' => array_search($conf['fbp']['picture_url_type'], $picture_url_type),
         'FBP_ALLOW_FB_ACCESS_PRIVATE_PAGE'=> ($conf['fbp']['allow_fb_access_private_page'] ? 'checked="checked"' : ''),
+        'FBP_ADD_ABOUT_INFORMATIONS' => ($conf['fbp']['add_about_informations'] ? 'checked="checked"' : ''),
+        'FBP_ADD_GROUP_FOOTER' => ($conf['fbp']['add_group_footer'] ? 'checked="checked"' : ''),
+        'FBP_ADD_APPLICATION_FOOTER' => ($conf['fbp']['add_application_footer'] ? 'checked="checked"' : ''),
         ));
     break;
@@ -200,4 +207,8 @@
 $template->assign('FBP_ACTION', add_url_params($base_url, array('tab' => $page['tab'])));
 //~ $template->block_html_head('', '<link rel="stylesheet" type="text/css" href="'.FBP_PATH.'/css/admin.config.css">', $smarty, $repeat);
+$template->assign('FACEBOOK_PIWIGO_RUB_URL', FACEBOOK_PIWIGO_RUB_URL);
+$template->assign('FACEBOOK_PIWIGO_GROUP_URL', FACEBOOK_PIWIGO_GROUP_URL);
+$template->assign('FACEBOOK_PIWIGO_APPLICATION_URL', FACEBOOK_PIWIGO_APPLICATION_URL);
+$template->assign('FBP_OLD_VERSION', version_compare(PHPWG_VERSION, '2.2', '<'));
 
 //Apply tpl
Index: extensions/FacebookPlug/Plugin/css/admin.config.css
===================================================================
--- extensions/FacebookPlug/Plugin/css/admin.config.css	(revision 8372)
+++ extensions/FacebookPlug/Plugin/css/admin.config.css	(revision 8375)
@@ -1,3 +1,5 @@
-/* Adaptation of jquery-ui-1.7.3.custom.css generated by jQuery UI CSS Framework */
+/*----------------------------------
+  Adaptation of jquery-ui-1.7.3.custom.css generated by jQuery UI CSS Framework
+----------------------------------*/
 
 /* Layout helpers
Index: extensions/FacebookPlug/Plugin/include/about.inc.php
===================================================================
--- extensions/FacebookPlug/Plugin/include/about.inc.php	(revision 8375)
+++ extensions/FacebookPlug/Plugin/include/about.inc.php	(revision 8375)
@@ -0,0 +1,46 @@
+<?php
+// +-----------------------------------------------------------------------+
+// | FacebookPlug - a Piwigo Plugin                                        |
+// | Copyright (C) 2010 Ruben ARNAUD - rub@piwigo.org                      |
+// +-----------------------------------------------------------------------+
+// | 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.                                                                  |
+// +-----------------------------------------------------------------------+
+
+if (!defined('PHPWG_ROOT_PATH'))
+{
+  die('Hacking attempt!');
+}
+
+
+function fbp_loc_begin_about()
+{
+  global $template, $conf;
+
+  // Lingua
+  load_language('about.lang', FBP_DIR.'/');
+
+  $template->assign('FACEBOOK_PIWIGO_GROUP_URL', FACEBOOK_PIWIGO_GROUP_URL);
+  $template->assign('FACEBOOK_PIWIGO_APPLICATION_URL', FACEBOOK_PIWIGO_APPLICATION_URL);
+
+  $template->set_filename('fbp_about', FBP_DIR.'/tpl/about.tpl');
+  $template->append('about_msgs', $template->parse('fbp_about', true));
+}
+
+if ($conf['fbp']['add_about_informations'])
+{
+  add_event_handler('loc_begin_about', 'fbp_loc_begin_about');
+}
+
+?>
Index: extensions/FacebookPlug/Plugin/include/common.inc.php
===================================================================
--- extensions/FacebookPlug/Plugin/include/common.inc.php	(revision 8372)
+++ extensions/FacebookPlug/Plugin/include/common.inc.php	(revision 8375)
@@ -34,3 +34,5 @@
 }
 
+include_once(FBP_DIR.'/include/footer.inc.php');
+
 ?>
Index: extensions/FacebookPlug/Plugin/include/conf.inc.php
===================================================================
--- extensions/FacebookPlug/Plugin/include/conf.inc.php	(revision 8372)
+++ extensions/FacebookPlug/Plugin/include/conf.inc.php	(revision 8375)
@@ -33,7 +33,7 @@
     'async_script' => false,
     'force_facebook_init' => false,
-    //~ 'add_about_informations' => true,
-    //~ 'add_groupe_footer' => true,
-    //~ 'add_application_footer' => true,
+    'add_about_informations' => true,
+    'add_group_footer' => true,
+    'add_application_footer' => true,
     'picture_url_type' => 'page',
     'allow_fb_access_private_page' => true,
Index: extensions/FacebookPlug/Plugin/include/constants.inc.php
===================================================================
--- extensions/FacebookPlug/Plugin/include/constants.inc.php	(revision 8372)
+++ extensions/FacebookPlug/Plugin/include/constants.inc.php	(revision 8375)
@@ -25,4 +25,11 @@
 
 define('FACEBOOK_APP_ID', '111499825588662');
+define('FACEBOOK_URL', 'http://www.facebook.com');
+define('FACEBOOK_PIWIGO_GROUP_URL', FACEBOOK_URL.'/Piwigo');
+define('FACEBOOK_PIWIGO_RUB_URL', FACEBOOK_URL.'/ruben.arnaud');
+define('FACEBOOK_PIWIGO_APPLICATION_URL', FACEBOOK_URL.'/apps/application.php?id='.FACEBOOK_APP_ID);
+define('FACEBOOK_DEV_URL', 'http://developers.facebook.com');
+define('FACEBOOK_DOC_PLUGINS_URL', FACEBOOK_DEV_URL.'/docs/reference/plugins');
+
 define('FBP_DIR', dirname(dirname(__FILE__)));
 define('FBP_PATH' , PHPWG_PLUGINS_PATH.basename(FBP_DIR));
Index: extensions/FacebookPlug/Plugin/include/footer.inc.php
===================================================================
--- extensions/FacebookPlug/Plugin/include/footer.inc.php	(revision 8375)
+++ extensions/FacebookPlug/Plugin/include/footer.inc.php	(revision 8375)
@@ -0,0 +1,47 @@
+<?php
+// +-----------------------------------------------------------------------+
+// | FacebookPlug - a Piwigo Plugin                                        |
+// | Copyright (C) 2010 Ruben ARNAUD - rub@piwigo.org                      |
+// +-----------------------------------------------------------------------+
+// | 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.                                                                  |
+// +-----------------------------------------------------------------------+
+
+if (!defined('PHPWG_ROOT_PATH'))
+{
+  die('Hacking attempt!');
+}
+
+
+function fbp_loc_end_page_tail()
+{
+  global $template, $conf;
+
+  if ((script_basename() != 'admin') and ($conf['fbp']['add_group_footer'] or $conf['fbp']['add_application_footer']))
+  {
+
+    // Lingua
+    load_language('footer.lang', FBP_DIR.'/');
+
+    $template->assign('FACEBOOK_PIWIGO_GROUP_URL', FACEBOOK_PIWIGO_GROUP_URL);
+    $template->assign('FACEBOOK_PIWIGO_APPLICATION_URL', FACEBOOK_PIWIGO_APPLICATION_URL);
+
+    $template->set_filename('fbp_footer', FBP_DIR.'/tpl/footer.tpl');
+    $template->append('footer_elements', $template->parse('fbp_footer', true));
+  }
+}
+
+add_event_handler('loc_end_page_tail', 'fbp_loc_end_page_tail');
+
+?>
Index: extensions/FacebookPlug/Plugin/include/header.inc.php
===================================================================
--- extensions/FacebookPlug/Plugin/include/header.inc.php	(revision 8372)
+++ extensions/FacebookPlug/Plugin/include/header.inc.php	(revision 8375)
@@ -42,7 +42,5 @@
   global $template, $conf, $user;
 
-  // set prefilter
-  $template->set_prefilter('header', 'fbp_header');
-
+  // define ID
   $template->assign('FACEBOOK_APP_ID', (is_numeric($conf['fbp']['facebook_app_id']) ? $conf['fbp']['facebook_app_id'] : FACEBOOK_APP_ID));
   // define language
@@ -51,8 +49,21 @@
   $template->smarty->register_modifier('boolean_to_string', 'boolean_to_string');
 
-  $template->set_filename('init.fb', FBP_DIR.'/tpl/init.fb.tpl');
-  $template->append('head_elements', $template->parse('init.fb', true));
+  if (trigger_event('fbp_do_facebook_init', $conf['fbp']['force_facebook_init']))
+  {
+    // set prefilter
+    $template->set_prefilter('header', 'fbp_header');
 
-  $template->block_html_head('', '<link rel="stylesheet" type="text/css" href="'.FBP_PATH.'/css/fbp.css">', $smarty, $repeat);
+    $template->set_filename('fbp_init.fb', FBP_DIR.'/tpl/init.fb.tpl');
+    $template->append('head_elements', $template->parse('fbp_init.fb', true));
+  }
+
+  if (
+      (script_basename() == 'index')
+      and
+      ($conf['fbp']['social_plugin_like_box']['enabled'])
+      )
+  {
+    $template->block_html_head('', '<link rel="stylesheet" type="text/css" href="'.FBP_PATH.'/css/fbp.css">', $smarty, $repeat);
+  }
 }
 
@@ -82,8 +93,8 @@
 add_event_handler('fbp_do_facebook_init', 'fbp_do_facebook_init');
 
-if (trigger_event('fbp_do_facebook_init', $conf['fbp']['force_facebook_init']))
-{
+//~ if (trigger_event('fbp_do_facebook_init', $conf['fbp']['force_facebook_init']))
+//~ {
   add_event_handler('init', 'fbp_init');
-}
+//~ }
 
 ?>
Index: extensions/FacebookPlug/Plugin/include/index.inc.php
===================================================================
--- extensions/FacebookPlug/Plugin/include/index.inc.php	(revision 8372)
+++ extensions/FacebookPlug/Plugin/include/index.inc.php	(revision 8375)
@@ -44,5 +44,5 @@
   if ($menu->get_id() != 'menubar')
     return;
-  $menu->register_block( new RegisteredBlock( 'mbFBP', 'social.plugin.like.box', 'FacebookPlug'));
+  $menu->register_block(new RegisteredBlock( 'mbFBP', 'social.plugin.like.box', 'FacebookPlug'));
 }
 
Index: extensions/FacebookPlug/Plugin/language/en_UK/about.lang.php
===================================================================
--- extensions/FacebookPlug/Plugin/language/en_UK/about.lang.php	(revision 8375)
+++ extensions/FacebookPlug/Plugin/language/en_UK/about.lang.php	(revision 8375)
@@ -0,0 +1,31 @@
+<?php
+// +-----------------------------------------------------------------------+
+// | FacebookPlug - a Piwigo Plugin                                        |
+// | Copyright (C) 2010 Ruben ARNAUD - rub@piwigo.org                      |
+// +-----------------------------------------------------------------------+
+// | 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.                                                                  |
+// +-----------------------------------------------------------------------+
+
+if (!defined('PHPWG_ROOT_PATH'))
+{
+  die('Hacking attempt!');
+}
+
+// English
+$lang['Visit Piwigo on Facebook website:'] = 'Visit Piwigo on Facebook website:';
+$lang['Piwigo group'] = 'Piwigo group';
+$lang['Piwigo application'] = 'Piwigo application';
+
+?>
Index: extensions/FacebookPlug/Plugin/language/en_UK/admin.config.lang.php
===================================================================
--- extensions/FacebookPlug/Plugin/language/en_UK/admin.config.lang.php	(revision 8375)
+++ extensions/FacebookPlug/Plugin/language/en_UK/admin.config.lang.php	(revision 8375)
@@ -0,0 +1,86 @@
+<?php
+// +-----------------------------------------------------------------------+
+// | FacebookPlug - a Piwigo Plugin                                        |
+// | Copyright (C) 2010 Ruben ARNAUD - rub@piwigo.org                      |
+// +-----------------------------------------------------------------------+
+// | 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.                                                                  |
+// +-----------------------------------------------------------------------+
+
+if (!defined('PHPWG_ROOT_PATH'))
+{
+  die('Hacking attempt!');
+}
+
+// English
+$lang['page'] = 'page';
+$lang['image'] = 'image';
+$lang['standard'] = 'standard';
+$lang['button_count'] = 'button_count';
+$lang['box_count'] = 'box_count';
+$lang['like'] = 'like';
+$lang['recommend'] = 'recommend';
+$lang['light'] = 'light';
+$lang['dark'] = 'dark';
+$lang['Social plugins'] = 'Social plugins';
+$lang['Advanced'] = 'Advanced';
+$lang['Asynchronous Facebook access'] = 'Asynchronous Facebook access';
+$lang['Like button'] = 'Like button';
+$lang['Enabled'] = 'Enabled';
+$lang['Picture URL type'] = 'Picture URL type';
+$lang['Layout style'] = 'Layout style';
+$lang['Show faces'] = 'Show faces';
+$lang['Verb to display'] = 'Verb to display';
+$lang['Color scheme'] = 'Color scheme';
+$lang['Like box'] = 'Like box';
+$lang['Show stream'] = 'Show stream';
+$lang['Show header'] = 'Show header';
+$lang['Facebook Page URL'] = 'Facebook Page URL';
+$lang['Data updated with success'] = 'Data updated with success';
+$lang['Data updated with error'] = 'Data updated with error';
+$lang['Facepile'] = 'Facepile';
+$lang['on slideshow pages'] = 'on slideshow pages';
+$lang['Num rows'] = 'Num rows';
+$lang['Comments'] = 'Comments';
+$lang['Num posts'] = 'Num posts';
+$lang['Title'] = 'Title';
+$lang['Simple'] = 'Simple';
+$lang['Reverse'] = 'Reverse';
+$lang['Publish feed'] = 'Publish feed';
+$lang['Facebook application identifient'] = 'Facebook application identifient';
+$lang['On picture pages'] = 'On picture pages';
+$lang['On menu of main pages'] = 'On menu of main pages';
+$lang['Options'] = 'Options';
+$lang['Like button and comments cannot be enabled together'] = 'Like button and comments cannot be enabled together';
+$lang['enabled values are restored'] = 'enabled values are restored';
+$lang['Informations'] = 'Informations';
+$lang['Continue'] = 'Continue';
+$lang['Always initialize Facebook'] = 'Always initialize Facebook';
+$lang[' (?)'] = ' (?)';
+$lang['Useful for personal templates, plugins. A event if also defined for plugins.'] = 'Useful for personal templates, plugins. A event if also defined for plugins.';
+$lang['Allow Facebook to see private page'] = 'Allow Facebook to see private page';
+$lang['Recommended in order to Facebook get title, ... of your pages for wall display'] = 'Recommended in order to Facebook get title, ... of your pages';
+$lang['To fill only if you want to use a specific Facebook application. It\'s recommended to leave blank.'] = 'To fill only if you want to use a specific Facebook application. It\'s recommended to leave blank.';
+$lang['Page type allows to reference the page and Facebook can get informations (title, ...). Image type allows to reference image url and Facebook cannot get informations but works always with private albums.'] = 'Page type allows to reference the page and Facebook can get informations (title, ...). Image type allows to reference image url and Facebook cannot get informations but works always with private albums.';
+$lang['Promote'] = 'Promote';
+$lang['Add informations on about page'] = 'Add informations on about page';
+$lang['Add a paragraph with Facebook link on about page'] = 'Add a paragraph with Facebook link on about page';
+$lang['Add Facebook Piwigo group on footer'] = 'Add Facebook Piwigo group on footer';
+$lang['Add a link on each page footer'] = 'Add a link on each page footer';
+$lang['Add Facebook Piwigo application on footer'] = 'Add Facebook Piwigo application on footer';
+$lang['Develop by'] = 'Develop by';
+//~ $lang[''] = '';
+//~ $lang[''] = '';
+
+?>
Index: extensions/FacebookPlug/Plugin/language/en_UK/footer.lang.php
===================================================================
--- extensions/FacebookPlug/Plugin/language/en_UK/footer.lang.php	(revision 8375)
+++ extensions/FacebookPlug/Plugin/language/en_UK/footer.lang.php	(revision 8375)
@@ -0,0 +1,30 @@
+<?php
+// +-----------------------------------------------------------------------+
+// | FacebookPlug - a Piwigo Plugin                                        |
+// | Copyright (C) 2010 Ruben ARNAUD - rub@piwigo.org                      |
+// +-----------------------------------------------------------------------+
+// | 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.                                                                  |
+// +-----------------------------------------------------------------------+
+
+if (!defined('PHPWG_ROOT_PATH'))
+{
+  die('Hacking attempt!');
+}
+
+// English
+$lang['Join Facebook Piwigo group'] = 'Join Facebook Piwigo group';
+$lang['Via Facebook Piwigo application'] = 'Via Facebook Piwigo application';
+
+?>
Index: extensions/FacebookPlug/Plugin/language/en_UK/plugin.lang.php
===================================================================
--- extensions/FacebookPlug/Plugin/language/en_UK/plugin.lang.php	(revision 8372)
+++ 	(revision )
@@ -1,86 +1,0 @@
-<?php
-// +-----------------------------------------------------------------------+
-// | FacebookPlug - a Piwigo Plugin                                        |
-// | Copyright (C) 2010 Ruben ARNAUD - rub@piwigo.org                      |
-// +-----------------------------------------------------------------------+
-// | 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.                                                                  |
-// +-----------------------------------------------------------------------+
-
-if (!defined('PHPWG_ROOT_PATH'))
-{
-  die('Hacking attempt!');
-}
-
-// English
-$lang['page'] = 'page';
-$lang['image'] = 'image';
-$lang['standard'] = 'standard';
-$lang['button_count'] = 'button_count';
-$lang['box_count'] = 'box_count';
-$lang['like'] = 'like';
-$lang['recommend'] = 'recommend';
-$lang['light'] = 'light';
-$lang['dark'] = 'dark';
-$lang['Social plugins'] = 'Social plugins';
-$lang['Advanced'] = 'Advanced';
-$lang['Asynchronous Facebook access'] = 'Asynchronous Facebook access';
-$lang['Like button'] = 'Like button';
-$lang['Enabled'] = 'Enabled';
-$lang['Picture URL type'] = 'Picture URL type';
-$lang['Layout style'] = 'Layout style';
-$lang['Show faces'] = 'Show faces';
-$lang['Verb to display'] = 'Verb to display';
-$lang['Color scheme'] = 'Color scheme';
-$lang['Like box'] = 'Like box';
-$lang['Show stream'] = 'Show stream';
-$lang['Show header'] = 'Show header';
-$lang['Facebook Page URL'] = 'Facebook Page URL';
-$lang['Data updated with success'] = 'Data updated with success';
-$lang['Data updated with error'] = 'Data updated with error';
-$lang['Facepile'] = 'Facepile';
-$lang['on slideshow pages'] = 'on slideshow pages';
-$lang['Num rows'] = 'Num rows';
-$lang['Comments'] = 'Comments';
-$lang['Num posts'] = 'Num posts';
-$lang['Title'] = 'Title';
-$lang['Simple'] = 'Simple';
-$lang['Reverse'] = 'Reverse';
-$lang['Publish feed'] = 'Publish feed';
-$lang['Facebook application identifient'] = 'Facebook application identifient';
-$lang['On picture pages'] = 'On picture pages';
-$lang['On menu of main pages'] = 'On menu of main pages';
-$lang['Options'] = 'Options';
-$lang['Like button and comments cannot be enabled together'] = 'Like button and comments cannot be enabled together';
-$lang['enabled values are restored'] = 'enabled values are restored';
-$lang['Informations'] = 'Informations';
-$lang['Continue'] = 'Continue';
-$lang['Always initialize Facebook'] = 'Always initialize Facebook';
-$lang[' (?)'] = ' (?)';
-$lang['Useful for personal templates, plugins. A event if also defined for plugins.'] = 'Useful for personal templates, plugins. A event if also defined for plugins.';
-$lang['Allow Facebook to see private page'] = 'Allow Facebook to see private page';
-$lang['Recommended in order to Facebook get title, ... of your pages for wall display'] = 'Recommended in order to Facebook get title, ... of your pages';
-$lang['To fill only if you want to use a specific Facebook application. It\'s recommended to leave blank.'] = 'To fill only if you want to use a specific Facebook application. It\'s recommended to leave blank.';
-$lang['Page type allows to reference the page and Facebook can get informations (title, ...). Image type allows to reference image url and Facebook cannot get informations but works always with private albums.'] = 'Page type allows to reference the page and Facebook can get informations (title, ...). Image type allows to reference image url and Facebook cannot get informations but works always with private albums.';
-//~ $lang[''] = '';
-//~ $lang[''] = '';
-//~ $lang[''] = '';
-//~ $lang[''] = '';
-//~ $lang[''] = '';
-//~ $lang[''] = '';
-//~ $lang[''] = '';
-//~ $lang[''] = '';
-//~ $lang[''] = '';
-
-?>
Index: extensions/FacebookPlug/Plugin/language/fr_FR/about.lang.php
===================================================================
--- extensions/FacebookPlug/Plugin/language/fr_FR/about.lang.php	(revision 8375)
+++ extensions/FacebookPlug/Plugin/language/fr_FR/about.lang.php	(revision 8375)
@@ -0,0 +1,31 @@
+<?php
+// +-----------------------------------------------------------------------+
+// | FacebookPlug - a Piwigo Plugin                                        |
+// | Copyright (C) 2010 Ruben ARNAUD - rub@piwigo.org                      |
+// +-----------------------------------------------------------------------+
+// | 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.                                                                  |
+// +-----------------------------------------------------------------------+
+
+if (!defined('PHPWG_ROOT_PATH'))
+{
+  die('Hacking attempt!');
+}
+
+// French
+$lang['Visit Piwigo on Facebook website:'] = 'Visiter Piwigo sur le site de Facebook:';
+$lang['Piwigo group'] = 'Groupe Piwigo';
+$lang['Piwigo application'] = 'Application Piwigo';
+
+?>
Index: extensions/FacebookPlug/Plugin/language/fr_FR/admin.config.lang.php
===================================================================
--- extensions/FacebookPlug/Plugin/language/fr_FR/admin.config.lang.php	(revision 8375)
+++ extensions/FacebookPlug/Plugin/language/fr_FR/admin.config.lang.php	(revision 8375)
@@ -0,0 +1,85 @@
+<?php
+// +-----------------------------------------------------------------------+
+// | FacebookPlug - a Piwigo Plugin                                        |
+// | Copyright (C) 2010 Ruben ARNAUD - rub@piwigo.org                      |
+// +-----------------------------------------------------------------------+
+// | 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.                                                                  |
+// +-----------------------------------------------------------------------+
+
+if (!defined('PHPWG_ROOT_PATH'))
+{
+  die('Hacking attempt!');
+}
+
+// Français
+$lang['page'] = 'page';
+$lang['image'] = 'image';
+$lang['standard'] = 'standard';
+$lang['button_count'] = 'bouton avec compteur';
+$lang['box_count'] = 'boite avec compteur';
+$lang['like'] = 'j\'aime';
+$lang['recommend'] = 'recommande';
+$lang['light'] = 'clair';
+$lang['dark'] = 'foncé';
+$lang['Social plugins'] = 'Modules sociaux';
+$lang['Advanced'] = 'Avancé';
+$lang['Asynchronous Facebook access'] = 'Accès asynchrone à Facebook';
+$lang['Like button'] = 'Bouton "J\'aime"';
+$lang['Enabled'] = 'Activé';
+$lang['Picture URL type'] = 'Type d\'URL pour les images';
+$lang['Layout style'] = 'Style d\'affichage';
+$lang['Show faces'] = 'Voir les faces';
+$lang['Verb to display'] = 'Texte à afficher';
+$lang['Color scheme'] = 'Jeu de couleurs';
+$lang['Like box'] = 'Boite "J\'aime"';
+$lang['Show stream'] = 'Voir le flux';
+$lang['Show header'] = 'Voir l\'entête';
+$lang['Facebook Page URL'] = 'URL de la page Facebook';
+$lang['Data updated with success'] = 'Données mises à jour avec succès';
+$lang['Data updated with error'] = 'Données mises à jour avec erreur';
+$lang['Facepile'] = 'Facepile';
+$lang['on slideshow pages'] = 'sur les diaporamas';
+$lang['Num rows'] = 'Nombre de lignes';
+$lang['Comments'] = 'Commentaires';
+$lang['Num posts'] = 'Nombre de commentaires affichés';
+$lang['Title'] = 'Titre';
+$lang['Simple'] = 'Simple';
+$lang['Reverse'] = 'Ordre inversé';
+$lang['Publish feed'] = 'Publier les commentaires';
+$lang['Facebook application identifient'] = 'Identifiant de l\'application Facebook';
+$lang['On picture pages'] = 'Sur les pages d\'images';
+$lang['On menu of main pages'] = 'Dans les menus des pages principales';
+$lang['Options'] = 'Options';
+$lang['Like button and comments cannot be enabled together'] = 'Le bouton "J\'aime" et les commentaires ne peuvent être activés en même temps';
+$lang['enabled values are restored'] = 'les valeurs d\'activation ont été restaurées';
+$lang['Informations'] = 'Informations';
+$lang['Continue'] = 'Continuer';
+$lang['Always initialize Facebook'] = 'Toujours initialiser Facebook';
+$lang[' (?)'] = ' (?)';
+$lang['Useful for personal templates, plugins. A event if also defined for plugins.'] = 'Utile pour les templates (modéles) personnels, plugin. Un événement a été aussi défini pour les plugins.';
+$lang['Allow Facebook to see private page'] = 'Permettre à Facebook de voir les pages privées';
+$lang['Recommended in order to Facebook get title, ... of your pages for wall display'] = 'Recommandé afin que Facebook puisse obtenir le titre, ... de vos pages pour les affichages sur les murs.';
+$lang['To fill only if you want to use a specific Facebook application. It\'s recommended to leave blank.'] = 'A remplir uniquement si vous voulez utiliser une application Facebook spécifique. Il est recommandé de laisser la valeur à blanc.';
+$lang['Page type allows to reference the page and Facebook can get informations (title, ...). Image type allows to reference image url and Facebook cannot get informations but works always with private albums.'] = 'Le type page permet de reférencer la page et Facebook peut récupérer les informations (titre, ...). Le type image permet de référencer l\'url de l\'image et Facebook ne peut plus obtenir les informations mais fonctionne toujours avec les albums privés.';
+$lang['Promote'] = 'Promouvoir';
+$lang['Add informations on about page'] = 'Ajout d\'informations sur la page "À propos"';
+$lang['Add a paragraph with Facebook link on about page'] = 'Ajout d\'un paragraphe avec les liens Facebook sur la page "À propos"';
+$lang['Add Facebook Piwigo group on footer'] = 'Ajout du groupe Piwigo de Facebook en bas de page';
+$lang['Add a link on each page footer'] = 'Ajout d\'un lien sur chaque bas de page';
+$lang['Add Facebook Piwigo application on footer'] = 'Ajout de l\'application Piwigo de Facebook en bas de page';
+$lang['Develop by'] = 'Développer par';
+
+
+?>
Index: extensions/FacebookPlug/Plugin/language/fr_FR/footer.lang.php
===================================================================
--- extensions/FacebookPlug/Plugin/language/fr_FR/footer.lang.php	(revision 8375)
+++ extensions/FacebookPlug/Plugin/language/fr_FR/footer.lang.php	(revision 8375)
@@ -0,0 +1,30 @@
+<?php
+// +-----------------------------------------------------------------------+
+// | FacebookPlug - a Piwigo Plugin                                        |
+// | Copyright (C) 2010 Ruben ARNAUD - rub@piwigo.org                      |
+// +-----------------------------------------------------------------------+
+// | 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.                                                                  |
+// +-----------------------------------------------------------------------+
+
+if (!defined('PHPWG_ROOT_PATH'))
+{
+  die('Hacking attempt!');
+}
+
+// French
+$lang['Join Facebook Piwigo group'] = 'Rejoindre le groupe Piwigo sur Facebook';
+$lang['Via Facebook Piwigo application'] = 'Via l\'application Piwigo sur Facebook';
+
+?>
Index: extensions/FacebookPlug/Plugin/language/fr_FR/plugin.lang.php
===================================================================
--- extensions/FacebookPlug/Plugin/language/fr_FR/plugin.lang.php	(revision 8372)
+++ 	(revision )
@@ -1,78 +1,0 @@
-<?php
-// +-----------------------------------------------------------------------+
-// | FacebookPlug - a Piwigo Plugin                                        |
-// | Copyright (C) 2010 Ruben ARNAUD - rub@piwigo.org                      |
-// +-----------------------------------------------------------------------+
-// | 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.                                                                  |
-// +-----------------------------------------------------------------------+
-
-if (!defined('PHPWG_ROOT_PATH'))
-{
-  die('Hacking attempt!');
-}
-
-// Français
-$lang['page'] = 'page';
-$lang['image'] = 'image';
-$lang['standard'] = 'standard';
-$lang['button_count'] = 'bouton avec compteur';
-$lang['box_count'] = 'boite avec compteur';
-$lang['like'] = 'j\'aime';
-$lang['recommend'] = 'recommande';
-$lang['light'] = 'clair';
-$lang['dark'] = 'foncé';
-$lang['Social plugins'] = 'Modules sociaux';
-$lang['Advanced'] = 'Avancé';
-$lang['Asynchronous Facebook access'] = 'Accès asynchrone à Facebook';
-$lang['Like button'] = 'Bouton "J\'aime"';
-$lang['Enabled'] = 'Activé';
-$lang['Picture URL type'] = 'Type d\'URL pour les images';
-$lang['Layout style'] = 'Style d\'affichage';
-$lang['Show faces'] = 'Voir les faces';
-$lang['Verb to display'] = 'Texte à afficher';
-$lang['Color scheme'] = 'Jeu de couleurs';
-$lang['Like box'] = 'Boite "J\'aime"';
-$lang['Show stream'] = 'Voir le flux';
-$lang['Show header'] = 'Voir l\'entête';
-$lang['Facebook Page URL'] = 'URL de la page Facebook';
-$lang['Data updated with success'] = 'Données mises à jour avec succès';
-$lang['Data updated with error'] = 'Données mises à jour avec erreur';
-$lang['Facepile'] = 'Facepile';
-$lang['on slideshow pages'] = 'sur les diaporamas';
-$lang['Num rows'] = 'Nombre de lignes';
-$lang['Comments'] = 'Commentaires';
-$lang['Num posts'] = 'Nombre de commentaires affichés';
-$lang['Title'] = 'Titre';
-$lang['Simple'] = 'Simple';
-$lang['Reverse'] = 'Ordre inversé';
-$lang['Publish feed'] = 'Publier les commentaires';
-$lang['Facebook application identifient'] = 'Identifiant de l\'application Facebook';
-$lang['On picture pages'] = 'Sur les pages d\'images';
-$lang['On menu of main pages'] = 'Dans les menus des pages principales';
-$lang['Options'] = 'Options';
-$lang['Like button and comments cannot be enabled together'] = 'Le bouton "J\'aime" et les commentaires ne peuvent être activés en même temps';
-$lang['enabled values are restored'] = 'les valeurs d\'activation ont été restaurées';
-$lang['Informations'] = 'Informations';
-$lang['Continue'] = 'Continuer';
-$lang['Always initialize Facebook'] = 'Toujours initialiser Facebook';
-$lang[' (?)'] = ' (?)';
-$lang['Useful for personal templates, plugins. A event if also defined for plugins.'] = 'Utile pour les templates (modéles) personnels, plugin. Un événement a été aussi défini pour les plugins.';
-$lang['Allow Facebook to see private page'] = 'Permettre à Facebook de voir les pages privées';
-$lang['Recommended in order to Facebook get title, ... of your pages for wall display'] = 'Recommandé afin que Facebook puisse obtenir le titre, ... de vos pages pour les affichages sur les murs.';
-$lang['To fill only if you want to use a specific Facebook application. It\'s recommended to leave blank.'] = 'A remplir uniquement si vous voulez utiliser une application Facebook spécifique. Il est recommandé de laisser la valeur à blanc.';
-$lang['Page type allows to reference the page and Facebook can get informations (title, ...). Image type allows to reference image url and Facebook cannot get informations but works always with private albums.'] = 'Le type page permet de reférencer la page et Facebook peut récupérer les informations (titre, ...). Le type image permet de référencer l\'url de l\'image et Facebook ne peut plus obtenir les informations mais fonctionne toujours avec les albums privés.';
-
-
-?>
Index: extensions/FacebookPlug/Plugin/language/it_IT/admin.config.lang.php
===================================================================
--- extensions/FacebookPlug/Plugin/language/it_IT/admin.config.lang.php	(revision 8375)
+++ extensions/FacebookPlug/Plugin/language/it_IT/admin.config.lang.php	(revision 8375)
@@ -0,0 +1,72 @@
+<?php
+// +-----------------------------------------------------------------------+
+// | FacebookPlug - a Piwigo Plugin                                        |
+// | Copyright (C) 2010 Ruben ARNAUD - rub@piwigo.org                      |
+// +-----------------------------------------------------------------------+
+// | 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.                                                                  |
+// +-----------------------------------------------------------------------+
+
+if (!defined('PHPWG_ROOT_PATH'))
+{
+  die('Hacking attempt!');
+}
+
+// Français
+$lang['page'] = 'pagina';
+$lang['image'] = 'immagine';
+$lang['standard'] = 'standard';
+$lang['button_count'] = 'tasto con contatore';
+$lang['box_count'] = 'box con contatore';
+$lang['like'] = 'mi piace';
+$lang['recommend'] = 'raccomanda';
+$lang['light'] = 'chiaro';
+$lang['dark'] = 'scuro';
+$lang['Social plugins'] = 'Moduli sociali';
+$lang['Advanced'] = 'Avanzato';
+$lang['Asynchronous Facebook access'] = 'Accesso asincrono a Facebook';
+$lang['Allow Facebook to see private page (recommended)'] = 'Permettere Facebook di vedere le pagine private (consigliato)';
+$lang['Like button'] = 'tasto "mi piace"';
+$lang['Enabled'] = 'Attivato';
+$lang['Picture URL type'] = 'Tipo di URL per le immagini';
+$lang['Layout style'] = 'Stile di visualizzazione';
+$lang['Show faces'] = 'Vedere le facce';
+$lang['Verb to display'] = 'Testo da visualizzare';
+$lang['Color scheme'] = 'Combinazione di colori';
+$lang['Like box'] = 'Box "mi piace"';
+$lang['Show stream'] = 'Visualizza RSS';
+$lang['Show header'] = 'Vedere l\'intestazione';
+$lang['Facebook Page URL'] = 'URL della pagina di Facebook';
+$lang['Data updated with success'] = 'Dati aggiornati con successo';
+$lang['Data updated with error'] = 'Dati aggiornati con errori';
+$lang['Facepile'] = 'Facepile';
+$lang['on slideshow pages'] = 'sul diaporama';
+$lang['Num rows'] = 'Numero di linee';
+$lang['Comments'] = 'Commenti';
+$lang['Num posts'] = 'Numero di commenti visualizzati';
+$lang['Title'] = 'Titolo';
+$lang['Simple'] = 'Semplice';
+$lang['Reverse'] = 'Ordine inverso';
+$lang['Publish feed'] = 'Pubblicare i commenti';
+$lang['Facebook application identifient'] = 'ID dell\'applicazione Facebook';
+$lang['On picture pages'] = 'Nelle pagine d\'immagini';
+$lang['On menu of main pages'] = 'Nei menu delle pagini principali';
+$lang['Options'] = 'Opzioni';
+$lang['Like button and comments cannot be enabled together'] = 'Il tasto "Mi piace", ei commenti possono essere attivati contemporaneamente';
+$lang['enabled values are restored'] = 'i valori d\'attivazione sono stati restaurati';
+$lang['Informations'] = 'Informazioni';
+$lang['Continue'] = 'Continuare';
+
+
+?>
Index: extensions/FacebookPlug/Plugin/language/it_IT/plugin.lang.php
===================================================================
--- extensions/FacebookPlug/Plugin/language/it_IT/plugin.lang.php	(revision 8372)
+++ 	(revision )
@@ -1,72 +1,0 @@
-<?php
-// +-----------------------------------------------------------------------+
-// | FacebookPlug - a Piwigo Plugin                                        |
-// | Copyright (C) 2010 Ruben ARNAUD - rub@piwigo.org                      |
-// +-----------------------------------------------------------------------+
-// | 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.                                                                  |
-// +-----------------------------------------------------------------------+
-
-if (!defined('PHPWG_ROOT_PATH'))
-{
-  die('Hacking attempt!');
-}
-
-// Français
-$lang['page'] = 'pagina';
-$lang['image'] = 'immagine';
-$lang['standard'] = 'standard';
-$lang['button_count'] = 'tasto con contatore';
-$lang['box_count'] = 'box con contatore';
-$lang['like'] = 'mi piace';
-$lang['recommend'] = 'raccomanda';
-$lang['light'] = 'chiaro';
-$lang['dark'] = 'scuro';
-$lang['Social plugins'] = 'Moduli sociali';
-$lang['Advanced'] = 'Avanzato';
-$lang['Asynchronous Facebook access'] = 'Accesso asincrono a Facebook';
-$lang['Allow Facebook to see private page (recommended)'] = 'Permettere Facebook di vedere le pagine private (consigliato)';
-$lang['Like button'] = 'tasto "mi piace"';
-$lang['Enabled'] = 'Attivato';
-$lang['Picture URL type'] = 'Tipo di URL per le immagini';
-$lang['Layout style'] = 'Stile di visualizzazione';
-$lang['Show faces'] = 'Vedere le facce';
-$lang['Verb to display'] = 'Testo da visualizzare';
-$lang['Color scheme'] = 'Combinazione di colori';
-$lang['Like box'] = 'Box "mi piace"';
-$lang['Show stream'] = 'Visualizza RSS';
-$lang['Show header'] = 'Vedere l\'intestazione';
-$lang['Facebook Page URL'] = 'URL della pagina di Facebook';
-$lang['Data updated with success'] = 'Dati aggiornati con successo';
-$lang['Data updated with error'] = 'Dati aggiornati con errori';
-$lang['Facepile'] = 'Facepile';
-$lang['on slideshow pages'] = 'sul diaporama';
-$lang['Num rows'] = 'Numero di linee';
-$lang['Comments'] = 'Commenti';
-$lang['Num posts'] = 'Numero di commenti visualizzati';
-$lang['Title'] = 'Titolo';
-$lang['Simple'] = 'Semplice';
-$lang['Reverse'] = 'Ordine inverso';
-$lang['Publish feed'] = 'Pubblicare i commenti';
-$lang['Facebook application identifient'] = 'ID dell\'applicazione Facebook';
-$lang['On picture pages'] = 'Nelle pagine d\'immagini';
-$lang['On menu of main pages'] = 'Nei menu delle pagini principali';
-$lang['Options'] = 'Opzioni';
-$lang['Like button and comments cannot be enabled together'] = 'Il tasto "Mi piace", ei commenti possono essere attivati contemporaneamente';
-$lang['enabled values are restored'] = 'i valori d\'attivazione sono stati restaurati';
-$lang['Informations'] = 'Informazioni';
-$lang['Continue'] = 'Continuare';
-
-
-?>
Index: extensions/FacebookPlug/Plugin/language/lv_LV/admin.config.lang.php
===================================================================
--- extensions/FacebookPlug/Plugin/language/lv_LV/admin.config.lang.php	(revision 8375)
+++ extensions/FacebookPlug/Plugin/language/lv_LV/admin.config.lang.php	(revision 8375)
@@ -0,0 +1,65 @@
+<?php
+// +-----------------------------------------------------------------------+
+// | FacebookPlug - a Piwigo Plugin                                        |
+// | Copyright (C) 2010 Ruben ARNAUD - rub@piwigo.org                      |
+// +-----------------------------------------------------------------------+
+// | 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.                                                                  |
+// +-----------------------------------------------------------------------+
+
+if (!defined('PHPWG_ROOT_PATH'))
+{
+  die('Hacking attempt!');
+}
+
+$lang['page'] = 'lapa';
+$lang['image'] = 'attels';
+$lang['standard'] = 'standarta';
+$lang['button_count'] = 'poga_skaits';
+$lang['box_count'] = 'kaste_skaits';
+$lang['like'] = 'lidzigs';
+$lang['recommend'] = 'rekomendet';
+$lang['light'] = 'gais';
+$lang['dark'] = 'tums';
+$lang['Social plugins'] = 'Socialie spraudni';
+$lang['Advanced'] = 'Izverstais';
+$lang['Asynchronous Facebook access'] = 'Asinhrona piekluve Facebook';
+$lang['Allow Facebook to see private page (recommended)'] = 'Atlaut no Facebook skatities privato lapu (ieteicams)';
+$lang['Like button'] = 'Poga patik';
+$lang['Enabled'] = 'Iespejots';
+$lang['Picture URL type'] = 'Attela URL tips';
+$lang['Layout style'] = 'Izkartojuma stils';
+$lang['Show faces'] = 'Radit sejas';
+$lang['Verb to display'] = 'Vards, ko radit';
+$lang['Color scheme'] = 'Krasu shema';
+$lang['Like box'] = 'Kaste patik';
+$lang['Show stream'] = 'Radit plusmu';
+$lang['Show header'] = 'Radit galveni';
+$lang['Facebook Page URL'] = 'Facebook Lapas URL';
+$lang['on picture pages'] = 'attela lapas';
+$lang['on main pages'] = 'galvenajas lapas';
+$lang['Data updated with success'] = 'Dati atjauninati sekmigi';
+$lang['Data updated with error'] = 'Dati atjauninati, bet ar kludu';
+$lang['Facepile'] = 'Daudz Seju';
+$lang['on slideshow pages'] = 'slaidrades lapas';
+$lang['Num rows'] = 'Num rindas';
+$lang['Comments'] = 'Komentari';
+$lang['Num posts'] = 'Num zinas';
+$lang['Title'] = 'Virsraksts';
+$lang['Simple'] = 'Vienkars';
+$lang['Reverse'] = 'Reverss';
+$lang['Publish feed'] = 'Publicet piegadato';
+$lang['Facebook application identifient'] = 'Facebook aplikacijas identifikators';
+
+?>
Index: extensions/FacebookPlug/Plugin/language/lv_LV/plugin.lang.php
===================================================================
--- extensions/FacebookPlug/Plugin/language/lv_LV/plugin.lang.php	(revision 8372)
+++ 	(revision )
@@ -1,65 +1,0 @@
-<?php
-// +-----------------------------------------------------------------------+
-// | FacebookPlug - a Piwigo Plugin                                        |
-// | Copyright (C) 2010 Ruben ARNAUD - rub@piwigo.org                      |
-// +-----------------------------------------------------------------------+
-// | 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.                                                                  |
-// +-----------------------------------------------------------------------+
-
-if (!defined('PHPWG_ROOT_PATH'))
-{
-  die('Hacking attempt!');
-}
-
-$lang['page'] = 'lapa';
-$lang['image'] = 'attels';
-$lang['standard'] = 'standarta';
-$lang['button_count'] = 'poga_skaits';
-$lang['box_count'] = 'kaste_skaits';
-$lang['like'] = 'lidzigs';
-$lang['recommend'] = 'rekomendet';
-$lang['light'] = 'gais';
-$lang['dark'] = 'tums';
-$lang['Social plugins'] = 'Socialie spraudni';
-$lang['Advanced'] = 'Izverstais';
-$lang['Asynchronous Facebook access'] = 'Asinhrona piekluve Facebook';
-$lang['Allow Facebook to see private page (recommended)'] = 'Atlaut no Facebook skatities privato lapu (ieteicams)';
-$lang['Like button'] = 'Poga patik';
-$lang['Enabled'] = 'Iespejots';
-$lang['Picture URL type'] = 'Attela URL tips';
-$lang['Layout style'] = 'Izkartojuma stils';
-$lang['Show faces'] = 'Radit sejas';
-$lang['Verb to display'] = 'Vards, ko radit';
-$lang['Color scheme'] = 'Krasu shema';
-$lang['Like box'] = 'Kaste patik';
-$lang['Show stream'] = 'Radit plusmu';
-$lang['Show header'] = 'Radit galveni';
-$lang['Facebook Page URL'] = 'Facebook Lapas URL';
-$lang['on picture pages'] = 'attela lapas';
-$lang['on main pages'] = 'galvenajas lapas';
-$lang['Data updated with success'] = 'Dati atjauninati sekmigi';
-$lang['Data updated with error'] = 'Dati atjauninati, bet ar kludu';
-$lang['Facepile'] = 'Daudz Seju';
-$lang['on slideshow pages'] = 'slaidrades lapas';
-$lang['Num rows'] = 'Num rindas';
-$lang['Comments'] = 'Komentari';
-$lang['Num posts'] = 'Num zinas';
-$lang['Title'] = 'Virsraksts';
-$lang['Simple'] = 'Vienkars';
-$lang['Reverse'] = 'Reverss';
-$lang['Publish feed'] = 'Publicet piegadato';
-$lang['Facebook application identifient'] = 'Facebook aplikacijas identifikators';
-
-?>
Index: extensions/FacebookPlug/Plugin/tpl/about.tpl
===================================================================
--- extensions/FacebookPlug/Plugin/tpl/about.tpl	(revision 8375)
+++ extensions/FacebookPlug/Plugin/tpl/about.tpl	(revision 8375)
@@ -0,0 +1,3 @@
+<p>{'Visit Piwigo on Facebook website:'|@translate}</p>
+<p id="linkToPiwigo"><a href="{$FACEBOOK_PIWIGO_GROUP_URL}" target="_bank">{'Piwigo group'|@translate}</a>
+<p id="linkToPiwigo"><a href="{$FACEBOOK_PIWIGO_APPLICATION_URL}" target="_bank">{'Piwigo application'|@translate}</a></p>
Index: extensions/FacebookPlug/Plugin/tpl/admin.config.tpl
===================================================================
--- extensions/FacebookPlug/Plugin/tpl/admin.config.tpl	(revision 8372)
+++ extensions/FacebookPlug/Plugin/tpl/admin.config.tpl	(revision 8375)
@@ -183,5 +183,5 @@
       <label>
         <span class="property">{'Facebook application identifient'|@translate}</span>
-        <a class="HelptipTip" href="#" title="{'To fill only if you want to use a specific Facebook application. It\'s recommended to leave blank.'|@translate}">{' (?)'|@translate}</a>
+        <a class="HelptipTip" href="#" title="{'To fill only if you want to use a specific Facebook application. It\'s recommended to leave blank.'|@translate}"><sup>{' (?)'|@translate}</sup></a>
         <input type="text" size="15" name="FBP_FACEBOOK_APP_ID" value="{$advanced.FBP_FACEBOOK_APP_ID}" />
       </label>
@@ -190,5 +190,5 @@
       <label>
         <span class="property">{'Asynchronous Facebook access'|@translate}</span>
-        <a class="HelptipTip" href="#" title="{'Todo'|@translate}">{' (?)'|@translate}</a>
+        <a class="HelptipTip" href="#" title="{'Todo'|@translate}"><sup>{' (?)'|@translate}</sup></a>
         <input type="checkbox" name="FBP_ASYNC_SCRIPT" {$advanced.FBP_ASYNC_SCRIPT} />
       </label>
@@ -197,5 +197,5 @@
       <label>
         <span class="property">{'Always initialize Facebook'|@translate}</span>
-        <a class="HelptipTip" href="#" title="{'Useful for personal templates, plugins. A event if also defined for plugins.'|@translate}">{' (?)'|@translate}</a>
+        <a class="HelptipTip" href="#" title="{'Useful for personal templates, plugins. A event if also defined for plugins.'|@translate}"><sup>{' (?)'|@translate}</sup></a>
         <input type="checkbox" name="FBP_FORCE_FACEBOOK_INIT" {$advanced.FBP_FORCE_FACEBOOK_INIT} />
       </label>
@@ -204,5 +204,5 @@
       <label>
         <span class="property">{'Picture URL type'|@translate}</span>
-        <a class="HelptipTip" href="#" title="{'Page type allows to reference the page and Facebook can get informations (title, ...). Image type allows to reference image url and Facebook cannot get informations but works always with private albums.'|@translate}">{' (?)'|@translate}</a>
+        <a class="HelptipTip" href="#" title="{'Page type allows to reference the page and Facebook can get informations (title, ...). Image type allows to reference image url and Facebook cannot get informations but works always with private albums.'|@translate}"><sup>{' (?)'|@translate}</sup></a>
         <select name="FBP_PICTURE_URL_TYPE" size="1">
           {html_options options=$advanced.FBP_PICTURE_URL_TYPE_OPTIONS selected=$advanced.FBP_PICTURE_URL_TYPE_OPTIONS_SELECTED}
@@ -213,5 +213,5 @@
       <label>
         <span class="property">{'Allow Facebook to see private page'|@translate}</span>
-        <a class="HelptipTip" href="#" title="{'Recommended in order to Facebook get title, ... of your pages for wall display'|@translate}">{' (?)'|@translate}</a>
+        <a class="HelptipTip" href="#" title="{'Recommended in order to Facebook get title, ... of your pages for wall display'|@translate}"><sup>{' (?)'|@translate}</sup></a>
         <input type="checkbox" name="FBP_ALLOW_FB_ACCESS_PRIVATE_PAGE" {$advanced.FBP_ALLOW_FB_ACCESS_PRIVATE_PAGE} />
       </label>
@@ -219,12 +219,12 @@
   </ul>
 </fieldset>
-{*<fieldset>
+<fieldset>
   <legend>{'Promote'|@translate}</legend>
-  <ul>
+  <ul class="OldVersion">
     <li>
       <label>
         <span class="property">{'Add informations on about page'|@translate}</span>
-        <a class="HelptipTip" href="#" title="{'Todo'|@translate}">{' (?)'|@translate}</a>
-        <input type="checkbox" name="FBP_ASYNC_SCRIPT" {$advanced.FBP_ASYNC_SCRIPT} />
+        <a class="HelptipTip" href="#" title="{'Add a paragraph with Facebook link on about page'|@translate}"><sup>{' (?)'|@translate}</sup></a>
+        <input type="checkbox" name="FBP_ADD_ABOUT_INFORMATIONS" {$advanced.FBP_ADD_ABOUT_INFORMATIONS} />
       </label>
     </li>
@@ -234,6 +234,6 @@
       <label>
         <span class="property">{'Add Facebook Piwigo group on footer'|@translate}</span>
-        <a class="HelptipTip" href="#" title="{'Todo'|@translate}">{' (?)'|@translate}</a>
-        <input type="checkbox" name="FBP_ASYNC_SCRIPT" {$advanced.FBP_ASYNC_SCRIPT} />
+        <a class="HelptipTip" href="#" title="{'Add a link on each page footer'|@translate}"><sup>{' (?)'|@translate}</sup></a>
+        <input type="checkbox" name="FBP_ADD_GROUP_FOOTER" {$advanced.FBP_ADD_GROUP_FOOTER} />
       </label>
     </li>
@@ -243,11 +243,10 @@
       <label>
         <span class="property">{'Add Facebook Piwigo application on footer'|@translate}</span>
-        <a class="HelptipTip" href="#" title="{'Todo'|@translate}">{' (?)'|@translate}</a>
-        <input type="checkbox" name="FBP_ASYNC_SCRIPT" {$advanced.FBP_ASYNC_SCRIPT} />
-      </label>
-    </li>
-  </ul>*}
-</fieldset>
-
+        <a class="HelptipTip" href="#" title="{'Add a link on each page footer'|@translate}"><sup>{' (?)'|@translate}</sup></a>
+        <input type="checkbox" name="FBP_ADD_APPLICATION_FOOTER" {$advanced.FBP_ADD_APPLICATION_FOOTER} />
+      </label>
+    </li>
+  </ul>
+</fieldset>
 {/if}{* isset $advanced*}
 
@@ -257,4 +256,10 @@
     <input class="submit" type="reset" name="reset" value="{'Reset'|@translate}">
   </p>
+
+  <p>
+{'Develop by'|@translate} <a href="{$FACEBOOK_PIWIGO_RUB_URL}" target="_bank">Ruben ARNAUD</a>
+ - <a href="{$FACEBOOK_PIWIGO_GROUP_URL}" target="_bank">{'Join Facebook Piwigo group'|@translate}</a>
+ - <a href="{$FACEBOOK_PIWIGO_APPLICATION_URL}" target="_bank">{'Via Facebook Piwigo application'|@translate}</a>
+  <p>
 
 </form>
@@ -337,6 +342,11 @@
         'fadeOut' : 200,
       });
-      // Detect data change
-      /*IsDataChanged = false;
+{/literal}
+{if $FBP_OLD_VERSION}
+      // Hide non compatible option
+      $('.OldVersion').hide();
+{/if}
+{*      // Detect data change
+      IsDataChanged = false;
       $("input, select").change(function() { IsDataChanged = true; });
       //~ $(".tabsheet").click(function()
@@ -357,5 +367,7 @@
           }
           //return ! IsDataChanged;
-        });*/
+        });
+*}
+{literal}
     });
 </script>
Index: extensions/FacebookPlug/Plugin/tpl/footer.tpl
===================================================================
--- extensions/FacebookPlug/Plugin/tpl/footer.tpl	(revision 8375)
+++ extensions/FacebookPlug/Plugin/tpl/footer.tpl	(revision 8375)
@@ -0,0 +1,6 @@
+{if $fbp.add_group_footer}
+ - <a href="{$FACEBOOK_PIWIGO_GROUP_URL}" target="_bank" class="Piwigo">{'Join Facebook Piwigo group'|@translate}</a>
+{/if}
+{if $fbp.add_application_footer}
+ - <a href="{$FACEBOOK_PIWIGO_APPLICATION_URL}" target="_bank" {*class="Piwigo"*}>{'Via Facebook Piwigo application'|@translate}</a>
+{/if}
