Index: /extensions/piclens/CHANGELOG
===================================================================
--- /extensions/piclens/CHANGELOG	(revision 8779)
+++ /extensions/piclens/CHANGELOG	(revision 8780)
@@ -1,9 +1,16 @@
 TODO for next versions : 
 -------------
-- 
+- (Voir le bugtracker http://piwigo.org/bugs/)
 
 
 Version 0.4.x
 -------------
+0.4.2 --> Ajout de 3 nouvelles options
+			- showItemEmbed - Show "Sharing" links
+			- showLinkOut - Show the button that links out to the original content
+			- showClose - Show the "Close" button on individual items
+		 Suppression de la traduction de l'option #1 qui ne coïncide plus avec les nouvelles versions de Cooliris
+		 MAJ du player cooliris.swf
+		 Résolution du bug:1397 (Bug d'affichage sur catégories spéciales)
 0.4.1 --> Suppression render sur le commentaire (suppression des div) et l'auteur du commentaire
 		 Ajout double select dans la page d'administration + jquery dans l'admin
Index: /extensions/piclens/admin/piclenswallconfig.php
===================================================================
--- /extensions/piclens/admin/piclenswallconfig.php	(revision 8779)
+++ /extensions/piclens/admin/piclenswallconfig.php	(revision 8780)
Index: /extensions/piclens/admin/piclenswallconfig2.php
===================================================================
--- /extensions/piclens/admin/piclenswallconfig2.php	(revision 8779)
+++ /extensions/piclens/admin/piclenswallconfig2.php	(revision 8780)
@@ -5,36 +5,42 @@
  */
 /* Advanced configuration for embeded wall
+See : http://www.cooliris.com/developer/reference/flashvars/
 
-backgroundAlpha — 0.0 to 1.0      Changes background transparency (Not Well Supported on IE).     To change the backgroundAlpha, you must set the FlashVar "wmode" to "transparent". You can change the alpha and color together. 
-backgroundColor — Hexadecimal Color String     Sets a color for the background.     This can be specified in either of the usual HTML color formats (#FFFFFF or #FFF), or as a hexidecimal number (0xFFFFFF). Note that if you are setting the FlashVars in the SWF's url, you must escape the # character as %23. 
-backgroundImage — URL     Specifies a background image for the wall.     The background image can be a PNG, GIF, or JPG. The background image covers the background color. 
-customButton — imageURL,targetURL     Adds a custom button in the lower right corner of the toolbar. 
-descriptionHeight — 0 to 100     Sets the percentage height of the name and description overlay when items are selected. 
-feed — URL     Specifies the feed (MediaRSS or API) that the wall should display. 
-glowColor — Hexadecimal Color String     Changes the color of the glow around the selected cell (Default is white).     The color string can be specified as it is for backgroundColor. 
-icons — baseURL     Points to a directory of PNG images for custom toolbar icons.
+backgroundAlpha 	— 0.0 to 1.0					Changes background transparency (Not Well Supported on IE).     To change the backgroundAlpha, you must set the FlashVar "wmode" to "transparent". You can change the alpha and color together. 
+backgroundColor 	— Hexadecimal Color String		Sets a color for the background.     This can be specified in either of the usual HTML color formats (#FFFFFF or #FFF), or as a hexidecimal number (0xFFFFFF). Note that if you are setting the FlashVars in the SWF's url, you must escape the # character as %23. 
+backgroundImage 	— URL							Specifies a background image for the wall.     The background image can be a PNG, GIF, or JPG. The background image covers the background color. 
+customButton 		— imageURL,targetURL			Adds a custom button in the lower right corner of the toolbar. 
+descriptionHeight	— 0 to 100						Sets the percentage height of the name and description overlay when items are selected. 
+feed 				— URL							Specifies the feed (MediaRSS or API) that the wall should display. 
+glowColor 			— Hexadecimal Color String		Changes the color of the glow around the selected cell (Default is white).     The color string can be specified as it is for backgroundColor. 
+icons 				— baseURL						Points to a directory of PNG images for custom toolbar icons.
     The following filenames in the directory will be used:
-        * embed.png - Embed Code button
-        * fullscreen.png - Fullscreen/Launch Client button
-        * next.png - Next Item button
-        * pause.png - Pause Slideshow button
-        * play.png - Start Slideshow button.
-        * prev.png - Previous Item button
-        * search.png - Search button
+        * embed.png 		- Embed Code button
+        * fullscreen.png 	- Fullscreen/Launch Client button
+        * next.png 			- Next Item button
+        * pause.png 		- Pause Slideshow button
+        * play.png 			- Start Slideshow button.
+        * prev.png 			- Previous Item button
+        * search.png 		- Search button
+        * leftarrow.png 	- left arrow button
+        * rightarrow.png 	- right arrow button
 
-itemGUID — string     Sets the initially-selected item when the wall loads.     The wall will automatically select the item in a MediaRSS feed with the <guid> </guid> that matches the provided identifier. This enables you to provide "permalinks" to a particular item in the wall. Note that the desired item must be present in the initial feed loaded by the wall (it can't be in a next/previous feed). 
-linkCSS — string     A CSS string to be applied to any HTML links in item descriptions. 
-numRows — 1 to 7     Sets how many rows of images to show in the UI.     Note that as you show more rows, the wall is more CPU intensive and may run slower for older computers. 
-showChrome — true | false     Shows or hides the bottom toolbar background. 
-showDescription — true | false     Shows or hides the item description overlay. 
-showReflections — true | false     Shows or hides the reflections under the images.     Hiding the reflections will improve performance. 
-showEmbed — true | false     Shows or hides the Embed Code button. 
-showSearch — true | false     Shows or hides the Search button. 
-showTutorial — true | false     If set to true, show a tutorial message if the user does not click on the wall.     By default, the tutorial message says "Click and Drag to Begin", and will display after a few seconds of no interaction. This can be customized with the tutorial FlashVar. 
-showNavArrows — true | false     Shows or hides the left/right navigation arrows. 
-style — black | dark | light | white     Sets the theme to use for the wall.     This sets up different default background colors and button appearances. 
-tilt — 0 to 5     Sets the amount of wall tilt (or disables it by setting it to 0). 
+itemGUID 			— string							Sets the initially-selected item when the wall loads.     The wall will automatically select the item in a MediaRSS feed with the <guid> </guid> that matches the provided identifier. This enables you to provide "permalinks" to a particular item in the wall. Note that the desired item must be present in the initial feed loaded by the wall (it can't be in a next/previous feed). 
+linkCSS 			— string							A CSS string to be applied to any HTML links in item descriptions. 
+numRows 			— 1 to 7							Sets how many rows of images to show in the UI.     Note that as you show more rows, the wall is more CPU intensive and may run slower for older computers. 
+showChrome 			— true | false						Shows or hides the bottom toolbar background. 
+showDescription 	— true | false						Shows or hides the item description overlay. 
+showReflections 	— true | false						Shows or hides the reflections under the images.     Hiding the reflections will improve performance. 
+showEmbed 			— true | false						Shows or hides the Embed Code button. 
+showSearch 			— true | false						Shows or hides the Search button. 
+showItemEmbed 		— true | false						Shows or hides the Sharing buttons on individual items.
+showLinkOut 		— true | false						Shows the button that links out to the original content.
+showClose 			— true | false						Shows the close button on individual items.
+showTutorial 		— true | false						If set to true, show a tutorial message if the user does not click on the wall.     By default, the tutorial message says "Click and Drag to Begin", and will display after a few seconds of no interaction. This can be customized with the tutorial FlashVar. 
+showNavArrows 		— true | false						Shows or hides the left/right navigation arrows. 
+style 				— black | dark | light | white		Sets the theme to use for the wall.     This sets up different default background colors and button appearances. 
+tilt 				— 0 to 5							Sets the amount of wall tilt (or disables it by setting it to 0). 
 
-tutorial — delayInMillis,imageURL     Customizes the tutoril message and delay.     Instead of the simple Click & Drag to Begin, you can use your own tutorial message (as an image file). To customize the delay and tutorial, pass in a time value (in milliseconds) and a URL to your tutorial image. For example, tutorial=4500,images/tutorial.png will show the designed PNG in 4.5 seonds, unless the user starts interacting with the wall. 
+tutorial 			— delayInMillis,imageURL    		 Customizes the tutoril message and delay.     Instead of the simple Click & Drag to Begin, you can use your own tutorial message (as an image file). To customize the delay and tutorial, pass in a time value (in milliseconds) and a URL to your tutorial image. For example, tutorial=4500,images/tutorial.png will show the designed PNG in 4.5 seonds, unless the user starts interacting with the wall. 
 */
 
@@ -50,39 +56,41 @@
 			) );
 
-			
 
 if (isset($_POST['submit'])) { 
-	$me->my_config['piclens_wall_color'] =   $_POST['background_color'];
-	$me->my_config['piclens_wall_showembed'] = isset($_POST['piclens_wall_embed']);
-	$me->my_config['piclens_wall_showfullscreen'] = isset($_POST['piclens_wall_fullscreen']);
-	$me->my_config['piclens_wall_showsearch'] = isset($_POST['piclens_wall_search']);
-	$me->my_config['piclens_wall_transparent'] =   isset($_POST['piclens_wall_transparent']);
-	$me->my_config['piclens_wall_showChrome']  = isset($_POST['piclens_wall_showChrome']);
-	$me->my_config['piclens_wall_showDescription']  = isset($_POST['piclens_wall_showDescription']);
-	$me->my_config['piclens_wall_showReflections']  = isset($_POST['piclens_wall_showReflections']);
-	$me->my_config['piclens_wall_showTutorial']  = isset($_POST['piclens_wall_showTutorial']);
-	$me->my_config['piclens_wall_showNavArrows']  = isset($_POST['piclens_wall_showNavArrows']);
-	$me->my_config['piclens_wall_nb_ligne']     = $_POST['piclens_wall_nb_ligne'];
-	$me->my_config['piclens_wall_backgroundAlpha']     = $_POST['piclens_wall_backgroundAlpha'];
+	$me->my_config['piclens_wall_color'] = 					$_POST['background_color'];
+	$me->my_config['piclens_wall_showembed'] = 				isset($_POST['piclens_wall_embed']);
+	$me->my_config['piclens_wall_showfullscreen'] = 		isset($_POST['piclens_wall_fullscreen']);
+	$me->my_config['piclens_wall_showsearch'] = 			isset($_POST['piclens_wall_search']);
+	$me->my_config['piclens_wall_showitemembed'] = 			isset($_POST['piclens_wall_itemembed']);
+	$me->my_config['piclens_wall_showlinkout'] = 			isset($_POST['piclens_wall_linkout']);
+	$me->my_config['piclens_wall_showclose'] = 				isset($_POST['piclens_wall_close']);
+	$me->my_config['piclens_wall_transparent'] =   			isset($_POST['piclens_wall_transparent']);
+	$me->my_config['piclens_wall_showChrome']  = 			isset($_POST['piclens_wall_showChrome']);
+	$me->my_config['piclens_wall_showDescription']  = 		isset($_POST['piclens_wall_showDescription']);
+	$me->my_config['piclens_wall_showReflections']  = 		isset($_POST['piclens_wall_showReflections']);
+	$me->my_config['piclens_wall_showTutorial']  = 			isset($_POST['piclens_wall_showTutorial']);
+	$me->my_config['piclens_wall_showNavArrows']  = 		isset($_POST['piclens_wall_showNavArrows']);
+	
+	$me->my_config['piclens_wall_nb_ligne']     = 			$_POST['piclens_wall_nb_ligne'];
+	$me->my_config['piclens_wall_backgroundAlpha']     = 	$_POST['piclens_wall_backgroundAlpha'];
+	$me->my_config['piclens_wall_descriptionHeight'] = 		$_POST['piclens_wall_descriptionHeight'];
+	$me->my_config['piclens_wall_tilt'] = 					$_POST['piclens_wall_tilt'];
 
-	$me->my_config['piclens_wall_backgroundColor']  = $_POST['piclens_wall_backgroundColor'];
-	$me->my_config['piclens_wall_glowColor']  = $_POST['piclens_wall_glowColor'];
-	$me->my_config['piclens_wall_descriptionHeight'] = $_POST['piclens_wall_descriptionHeight'];
-	$me->my_config['piclens_wall_tilt'] = $_POST['piclens_wall_tilt'];
-
-	$me->my_config['piclens_wall_backgroundImage']	= $_POST['piclens_wall_backgroundImage'];
-	$me->my_config['piclens_wall_tutorial']	= $_POST['piclens_wall_tutorial'];
-	$me->my_config['piclens_wall_tutorialtime']	= $_POST['piclens_wall_tutorialtime'];
-	$me->my_config['piclens_wall_customButtonURL'] = $_POST['piclens_wall_customButtonURL'];
-	$me->my_config['piclens_wall_customButtonTARGET'] = $_POST['piclens_wall_customButtonTARGET'];
-	$me->my_config['piclens_wall_icons']  = $_POST['piclens_wall_icons'];
-	$me->my_config['piclens_wall_linkCSS']  = $_POST['piclens_wall_linkCSS'];
+	$me->my_config['piclens_wall_backgroundColor']  = 		$_POST['piclens_wall_backgroundColor'];
+	$me->my_config['piclens_wall_glowColor']  = 			$_POST['piclens_wall_glowColor'];
+	
+	$me->my_config['piclens_wall_backgroundImage']	= 		$_POST['piclens_wall_backgroundImage'];
+	$me->my_config['piclens_wall_tutorial']	= 				$_POST['piclens_wall_tutorial'];
+	$me->my_config['piclens_wall_tutorialtime']	= 			$_POST['piclens_wall_tutorialtime'];
+	$me->my_config['piclens_wall_customButtonURL'] = 		$_POST['piclens_wall_customButtonURL'];
+	$me->my_config['piclens_wall_customButtonTARGET'] = 	$_POST['piclens_wall_customButtonTARGET'];
+	
+	$me->my_config['piclens_wall_icons']  = 				$_POST['piclens_wall_icons'];
+	$me->my_config['piclens_wall_linkCSS']  = 				$_POST['piclens_wall_linkCSS'];
+	
 	$me->save_config();
 	array_push($page['infos'], l10n('piclens_admin_saveOK'));
 	
 }
-
-
-
 
 
@@ -92,25 +100,30 @@
 	'PICLENS_WALL_FULLSCREEN'							=> ($me->my_config['piclens_wall_showfullscreen'] ? 'checked="checked"' : '' ),
 	'PICLENS_WALL_SEARCH'								=> ($me->my_config['piclens_wall_showsearch'] ? 'checked="checked"' : '' ),
+	'PICLENS_WALL_ITEMEMBED'							=> ($me->my_config['piclens_wall_showitemembed'] ? 'checked="checked"' : '' ),
+	'PICLENS_WALL_LINKOUT'								=> ($me->my_config['piclens_wall_showlinkout'] ? 'checked="checked"' : '' ),
+	'PICLENS_WALL_CLOSE'								=> ($me->my_config['piclens_wall_showclose'] ? 'checked="checked"' : '' ),
 	'PICLENS_WALL_TRANSPARENT'							=> ($me->my_config['piclens_wall_transparent'] ? 'checked="checked"' : '' ),
-
 	'PICLENS_WALL_SHOWCHROME'							=> ($me->my_config['piclens_wall_showChrome'] ? 'checked="checked"' : '' ),
-	'PICLENS_WALL_SHOWDESCRIPTION'							=> ($me->my_config['piclens_wall_showDescription'] ? 'checked="checked"' : '' ),
-	'PICLENS_WALL_SHOWREFLECTIONS'							=> ($me->my_config['piclens_wall_showReflections'] ? 'checked="checked"' : '' ),
+	'PICLENS_WALL_SHOWDESCRIPTION'						=> ($me->my_config['piclens_wall_showDescription'] ? 'checked="checked"' : '' ),
+	'PICLENS_WALL_SHOWREFLECTIONS'						=> ($me->my_config['piclens_wall_showReflections'] ? 'checked="checked"' : '' ),
 	'PICLENS_WALL_SHOWTUTORIAL'							=> ($me->my_config['piclens_wall_showTutorial'] ? 'checked="checked"' : '' ),
-	'PICLENS_WALL_SHOWNAVARROWS'							=> ($me->my_config['piclens_wall_showNavArrows'] ? 'checked="checked"' : '' ),
-	'PICLENS_WALL_NB_LIGNE'							=> $me->my_config['piclens_wall_nb_ligne'],
+	'PICLENS_WALL_SHOWNAVARROWS'						=> ($me->my_config['piclens_wall_showNavArrows'] ? 'checked="checked"' : '' ),
+	
+	'PICLENS_WALL_NB_LIGNE'								=> $me->my_config['piclens_wall_nb_ligne'],
 	'PICLENS_WALL_BACKGROUNDALPHA'						=> $me->my_config['piclens_wall_backgroundAlpha'],
+	'PICLENS_WALL_DESCRIPTIONHEIGHT'					=> $me->my_config['piclens_wall_descriptionHeight'],
+	'PICLENS_WALL_TILT'									=> $me->my_config['piclens_wall_tilt'],
 	
-    'PICLENS_WALL_BACKGROUNDCOLOR'				=> $me->my_config['piclens_wall_backgroundColor'],
-	'PICLENS_WALL_GLOWCOLOR'					=> $me->my_config['piclens_wall_glowColor'],
-	'PICLENS_WALL_DESCRIPTIONHEIGHT'			=> $me->my_config['piclens_wall_descriptionHeight'],
-	'PICLENS_WALL_TILT'							=> $me->my_config['piclens_wall_tilt'],
-	'PICLENS_WALL_BACKGROUNDIMAGE'				=> $me->my_config['piclens_wall_backgroundImage'],
-	'PICLENS_WALL_TUTORIALTIME'					=> $me->my_config['piclens_wall_tutorialtime'],
-	'PICLENS_WALL_TUTORIAL'						=> $me->my_config['piclens_wall_tutorial'],
-	'PICLENS_WALL_CUSTOMBUTTONURL'				=> $me->my_config['piclens_wall_customButtonURL'],
-	'PICLENS_WALL_CUSTOMBUTTONTARGET'			=> $me->my_config['piclens_wall_customButtonTARGET'],
-	'PICLENS_WALL_ICONS'						=> $me->my_config['piclens_wall_icons'],
-	'PICLENS_WALL_LINKCSS'						=> $me->my_config['piclens_wall_linkCSS'],
+    'PICLENS_WALL_BACKGROUNDCOLOR'						=> $me->my_config['piclens_wall_backgroundColor'],
+	'PICLENS_WALL_GLOWCOLOR'							=> $me->my_config['piclens_wall_glowColor'],
+	
+	'PICLENS_WALL_BACKGROUNDIMAGE'						=> $me->my_config['piclens_wall_backgroundImage'],
+	'PICLENS_WALL_TUTORIAL'								=> $me->my_config['piclens_wall_tutorial'],
+	'PICLENS_WALL_TUTORIALTIME'							=> $me->my_config['piclens_wall_tutorialtime'],
+	'PICLENS_WALL_CUSTOMBUTTONURL'						=> $me->my_config['piclens_wall_customButtonURL'],
+	'PICLENS_WALL_CUSTOMBUTTONTARGET'					=> $me->my_config['piclens_wall_customButtonTARGET'],
+	
+	'PICLENS_WALL_ICONS'								=> $me->my_config['piclens_wall_icons'],
+	'PICLENS_WALL_LINKCSS'								=> $me->my_config['piclens_wall_linkCSS']
 	
 	));
Index: /extensions/piclens/admin/piclenswallconfig2.tpl
===================================================================
--- /extensions/piclens/admin/piclenswallconfig2.tpl	(revision 8779)
+++ /extensions/piclens/admin/piclenswallconfig2.tpl	(revision 8780)
@@ -53,4 +53,10 @@
 				 <br>
 				 <input type="checkbox" name="piclens_wall_search" {$PICLENS_WALL_SEARCH}/>&nbsp; {'piclens_wallcfg_option-opt3'|@translate}
+				 <br>
+				 <input type="checkbox" name="piclens_wall_itemembed" {$PICLENS_WALL_ITEMEMBED}/>&nbsp; {'piclens_wallcfg_option-opt4'|@translate} 
+				 <br>
+				 <input type="checkbox" name="piclens_wall_linkout" {$PICLENS_WALL_LINKOUT}/>&nbsp; {'piclens_wallcfg_option-opt5'|@translate} 
+				 <br>
+				 <input type="checkbox" name="piclens_wall_close" {$PICLENS_WALL_CLOSE}/>&nbsp; {'piclens_wallcfg_option-opt6'|@translate} 
 				 <br>
 				 <input type="checkbox" name="piclens_wall_transparent" {$PICLENS_WALL_TRANSPARENT}/>&nbsp; {'piclens_wallcfg_transparent'|@translate}
Index: /extensions/piclens/admin/rssfeed.php
===================================================================
--- /extensions/piclens/admin/rssfeed.php	(revision 8779)
+++ /extensions/piclens/admin/rssfeed.php	(revision 8780)
Index: /extensions/piclens/include/Piclens.class.php
===================================================================
--- /extensions/piclens/include/Piclens.class.php	(revision 8779)
+++ /extensions/piclens/include/Piclens.class.php	(revision 8780)
@@ -489,4 +489,7 @@
 			$showembed = ($this->my_config['piclens_wall_showembed'] ? "true" : "false");
 			$showsearch = ($this->my_config['piclens_wall_showsearch'] ? "true" : "false");
+			$showitemembed =  ($this->my_config['piclens_wall_showitemembed'] ? "true" : "false");
+			$showlinkout =  ($this->my_config['piclens_wall_showlinkout'] ? "true" : "false");
+			$showclose =  ($this->my_config['piclens_wall_showclose'] ? "true" : "false");
 			$transparent = $this->my_config['piclens_wall_transparent'];
 			$swf_link = ($this->my_config['piclens_wall_swflocal'] ? $this->root_site_piclens.PICLENS_PATH.'swf/cooliris.swf' : 'http://apps.cooliris.com/embed/cooliris.swf');
@@ -518,6 +521,6 @@
 
 			$template->assign('THUMBNAILS', 
-                '<object id="o" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" 
-                        <param name="movie" value="'.$swf_link.'?feed='.$rssfeed.'&amp;style='.$color.'&amp;showEmbed='.$showembed.'&amp;showFullScreen='.$showfullscreen.'&amp;showSearch='.$showsearch.'&amp;numRows='.$nbligne.'&amp;showChrome='.$showChrome.'&amp;showDescription='.$showDescription.'&amp;showReflections='.$showReflections.'&amp;showTutorial='.$showTutorial.'&amp;showNavArrows='.$showNavArrows.'&amp;backgroundAlpha='.$backgroundAlpha.'&amp;backgroundColor='.$backgroundColor.'&amp;glowColor='.$glowColor.'&amp;descriptionHeight='.$descriptionHeight.'&amp;tilt='.$tilt
+                '<object id="o" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="100%" height="'.$height.'px">
+                        <param name="movie" value="'.$swf_link.'?feed='.$rssfeed.'&amp;style='.$color.'&amp;showEmbed='.$showembed.'&amp;showItemEmbed='.$showitemembed.'&amp;showLinkOut='.$showlinkout.'&amp;showClose='.$showlinkout.'&amp;showFullScreen='.$showfullscreen.'&amp;showSearch='.$showsearch.'&amp;numRows='.$nbligne.'&amp;showChrome='.$showChrome.'&amp;showDescription='.$showDescription.'&amp;showReflections='.$showReflections.'&amp;showTutorial='.$showTutorial.'&amp;showNavArrows='.$showNavArrows.'&amp;backgroundAlpha='.$backgroundAlpha.'&amp;backgroundColor='.$backgroundColor.'&amp;glowColor='.$glowColor.'&amp;descriptionHeight='.$descriptionHeight.'&amp;tilt='.$tilt
                         .(isset($backgroundImage) ? '&amp;backgroundImage='.$backgroundImage : '')
                         .(isset($tutorial)?'&amp;tutorial='.$tutorial : '')
@@ -526,10 +529,11 @@
                         .(isset($linkCSS)?'&amp;linkCSS='.$linkCSS:'')
                         .'" />
-                    width="100%" height="'.$height.'" >
+
                         <param name="allowFullScreen" value="'.$showfullscreen.'" />
+                        <param name="showItemEmbed" value="'.$showitemembed.'" />
                         <param name="showEmbed" value="'.$showembed.'" />
                         <param name="showSearch" value="'.$showsearch.'" />
                         <param name="allowScriptAccess" value="always" />
-                        <param name="flashvars" value="feed='.$rssfeed.'&amp;style='.$color.'&amp;showEmbed='.$showembed.'&amp;showFullScreen='.$showfullscreen.'&amp;showSearch='.$showsearch.'&amp;numRows='.$nbligne.'&amp;showChrome='.$showChrome.'&amp;showDescription='.$showDescription.'&amp;showReflections='.$showReflections.'&amp;showTutorial='.$showTutorial.'&amp;showNavArrows='.$showNavArrows.'&amp;backgroundAlpha='.$backgroundAlpha.'&amp;backgroundColor='.$backgroundColor.'&amp;glowColor='.$glowColor.'&amp;descriptionHeight='.$descriptionHeight.'&amp;tilt='.$tilt
+                        <param name="flashvars" value="feed='.$rssfeed.'&amp;style='.$color.'&amp;showEmbed='.$showembed.'&amp;showItemEmbed='.$showitemembed.'&amp;showLinkOut='.$showlinkout.'&amp;showClose='.$showlinkout.'&amp;showFullScreen='.$showfullscreen.'&amp;showSearch='.$showsearch.'&amp;numRows='.$nbligne.'&amp;showChrome='.$showChrome.'&amp;showDescription='.$showDescription.'&amp;showReflections='.$showReflections.'&amp;showTutorial='.$showTutorial.'&amp;showNavArrows='.$showNavArrows.'&amp;backgroundAlpha='.$backgroundAlpha.'&amp;backgroundColor='.$backgroundColor.'&amp;glowColor='.$glowColor.'&amp;descriptionHeight='.$descriptionHeight.'&amp;tilt='.$tilt
                         .(isset($backgroundImage)?'&amp;backgroundImage='.$backgroundImage:'')
                         .(isset($tutorial)?'&amp;tutorial='.$tutorial:'')
@@ -540,5 +544,5 @@
                         '.(isset($transparent)?'<param name="wmode" value="transparent" />':'')
                         .'<embed '.(isset($transparent)?'WMODE="transparent"':'').' type="application/x-shockwave-flash" 
-                        src="'.$swf_link.'?feed='.$rssfeed.'&amp;style='.$color.'&amp;showEmbed='.$showembed.'&amp;showFullScreen='.$showfullscreen.'&amp;showSearch='.$showsearch.'&amp;numRows='.$nbligne.'&amp;showChrome='.$showChrome.'&amp;showDescription='.$showDescription.'&amp;showReflections='.$showReflections.'&amp;showTutorial='.$showTutorial.'&amp;showNavArrows='.$showNavArrows.'&amp;backgroundAlpha='.$backgroundAlpha.'&amp;backgroundColor='.$backgroundColor.'&amp;glowColor='.$glowColor.'&amp;descriptionHeight='.$descriptionHeight.'&amp;tilt='.$tilt
+                        src="'.$swf_link.'?feed='.$rssfeed.'&amp;style='.$color.'&amp;showEmbed='.$showembed.'&amp;showItemEmbed='.$showitemembed.'&amp;showLinkOut='.$showlinkout.'&amp;showClose='.$showlinkout.'&amp;showFullScreen='.$showfullscreen.'&amp;showSearch='.$showsearch.'&amp;numRows='.$nbligne.'&amp;showChrome='.$showChrome.'&amp;showDescription='.$showDescription.'&amp;showReflections='.$showReflections.'&amp;showTutorial='.$showTutorial.'&amp;showNavArrows='.$showNavArrows.'&amp;backgroundAlpha='.$backgroundAlpha.'&amp;backgroundColor='.$backgroundColor.'&amp;glowColor='.$glowColor.'&amp;descriptionHeight='.$descriptionHeight.'&amp;tilt='.$tilt
                         .(isset($backgroundImage)?'&amp;backgroundImage='.$backgroundImage:'')
                         .(isset($tutorial)?'&amp;tutorial='.$tutorial:'')
@@ -546,5 +550,5 @@
                         .(isset($icons)?'&amp;icons='.$icons:'')
                         .(isset($linkCSS)?'&amp;linkCSS='.$linkCSS:'').'" 
-                        width="100%" height="'.$height.'" showEmbed="'.$showembed.'" showSearch="'.$showsearch.'" allowFullScreen="'.$showfullscreen.'" allowScriptAccess="always" style="'.$color.'" numRows="'.$nbligne.'" showChrome="'.$showChrome.'" showDescription="'.$showDescription.'" showReflections="'.$showReflections.'" showTutorial="'.$showTutorial.'" showNavArrows="'.$showNavArrows.'"  backgroundAlpha="'.$backgroundAlpha.'" backgroundColor="'.$backgroundColor.'" glowColor="'.$glowColor.'" descriptionHeight="'.$descriptionHeight.'" tilt="'.$tilt.'" '
+                        width="100%" height="'.$height.'px" showEmbed="'.$showembed.'" showLinkOut="'.$showlinkout.'" showClose="'.$showclose.'" showSearch="'.$showsearch.'" allowFullScreen="'.$showfullscreen.'" allowScriptAccess="always" style="'.$color.'" numRows="'.$nbligne.'" showChrome="'.$showChrome.'" showDescription="'.$showDescription.'" showReflections="'.$showReflections.'" showTutorial="'.$showTutorial.'" showNavArrows="'.$showNavArrows.'"  backgroundAlpha="'.$backgroundAlpha.'" backgroundColor="'.$backgroundColor.'" glowColor="'.$glowColor.'" descriptionHeight="'.$descriptionHeight.'" tilt="'.$tilt.'" '
                         .(isset($backgroundImage)?'backgroundImage="'.$backgroundImage.'"':'')
                         .(isset($tutorial)?'tutorial="'.$tutorial.'"':'')
Index: /extensions/piclens/include/default_values.inc.php
===================================================================
--- /extensions/piclens/include/default_values.inc.php	(revision 8779)
+++ /extensions/piclens/include/default_values.inc.php	(revision 8780)
@@ -37,4 +37,7 @@
 $piclens_default_values['piclens_wall_showfullscreen'] = true; // Affichage icone Fullscreen sur le mur 3D
 $piclens_default_values['piclens_wall_showsearch'] = true; // Affichage icone search sur le mur 3D
+$piclens_default_values['piclens_wall_showitemembed'] = true; // Affichage des icônes de partage sur le mur 3D
+$piclens_default_values['piclens_wall_showlinkout'] = true; // Affichage des icônes de partage sur le mur 3D
+$piclens_default_values['piclens_wall_showclose'] = true; // Affichage des icônes de partage sur le mur 3D
 $piclens_default_values['piclens_wall_transparent'] = false; // Affichage en mode transparent du mur 3D
 
Index: /extensions/piclens/language/en_UK/plugin.lang.php
===================================================================
--- /extensions/piclens/language/en_UK/plugin.lang.php	(revision 8779)
+++ /extensions/piclens/language/en_UK/plugin.lang.php	(revision 8780)
@@ -126,7 +126,10 @@
 $lang['piclens_wallcfg_disp_opt2']		= 'Categories';
 $lang['piclens_wallcfg_option']			= 'Display Options of Cooliris 3D Wall :';
-$lang['piclens_wallcfg_option-opt1']	= 'Show "Embed" link';
+$lang['piclens_wallcfg_option-opt1']	= 'Show links (embed) to sharing page in Facebook and Twitter inside 3D wall';
 $lang['piclens_wallcfg_option-opt2']	= 'Show "FullScreen" link';
 $lang['piclens_wallcfg_option-opt3']	= 'Show "Search" link';
+$lang['piclens_wallcfg_option-opt4']	= 'Show "Sharing" links';
+$lang['piclens_wallcfg_option-opt5']	= 'Show the button that links out to the original content';
+$lang['piclens_wallcfg_option-opt6']	= 'Show the "Close" button on individual items';
 $lang['piclens_wallcfg_transparent']	= '"Transparent" Mode for the wall. <i>Needed for some horizontal themes</i>';
 $lang['piclens_wallcfg_param']			= 'Cooliris 3D Wall Parameters ';
Index: /extensions/piclens/language/es_ES/plugin.lang.php
===================================================================
--- /extensions/piclens/language/es_ES/plugin.lang.php	(revision 8779)
+++ /extensions/piclens/language/es_ES/plugin.lang.php	(revision 8780)
@@ -130,5 +130,4 @@
 $lang['piclens_wallcfg_disp_opt2']		= 'Sobre las categorías';
 $lang['piclens_wallcfg_option']			= 'Opciones de visualización de la pared 3D Cooliris:';
-$lang['piclens_wallcfg_option-opt1']	= 'Visualización lazo " Embed "';
 $lang['piclens_wallcfg_option-opt2']	= 'Visualización lazo "Pantalla completa"';
 $lang['piclens_wallcfg_option-opt3']	= 'Visualización lazo "Búsqueda"';
Index: /extensions/piclens/language/fr_FR/plugin.lang.php
===================================================================
--- /extensions/piclens/language/fr_FR/plugin.lang.php	(revision 8779)
+++ /extensions/piclens/language/fr_FR/plugin.lang.php	(revision 8780)
@@ -126,7 +126,10 @@
 $lang['piclens_wallcfg_disp_opt2']		= 'sur les cat&eacute;gories';
 $lang['piclens_wallcfg_option']			= 'Options d\'affichage du mur 3D Cooliris :';
-$lang['piclens_wallcfg_option-opt1']	= 'Affichage lien "Embed"';
+$lang['piclens_wallcfg_option-opt1']	= 'Affichage des liens (embed) de partage pour les r&eacute;seaux sociaux (Facebook, Twitter...) sur la mur 3D';
 $lang['piclens_wallcfg_option-opt2']	= 'Affichage lien "FullScreen"';
 $lang['piclens_wallcfg_option-opt3']	= 'Affichage lien "Recherche"';
+$lang['piclens_wallcfg_option-opt4']	= 'Affichage des liens de partage pour les r&eacute;seaux sociaux (Facebook, Twitter...) sur la photo';
+$lang['piclens_wallcfg_option-opt5']	= 'Affichage du lien pointant vers la photo (page) originale';
+$lang['piclens_wallcfg_option-opt6']	= 'Affichage du lien de fermeture de la fen&ecirc;tre';
 $lang['piclens_wallcfg_transparent']	= 'Mode "Transparent" pour le mur. <i>N&eacute;cessaire pour certains th&egrave;mes horizontaux</i>';
 $lang['piclens_wallcfg_param']			= 'Param&egrave;tre pour le mur 3D Cooliris :';
Index: /extensions/piclens/language/hu_HU/plugin.lang.php
===================================================================
--- /extensions/piclens/language/hu_HU/plugin.lang.php	(revision 8779)
+++ /extensions/piclens/language/hu_HU/plugin.lang.php	(revision 8780)
@@ -126,5 +126,4 @@
 $lang['piclens_wallcfg_disp_opt2']		= 'Kategóriák';
 $lang['piclens_wallcfg_option']			= 'Cooliris 3D Wall megjelenés beállításai :';
-$lang['piclens_wallcfg_option-opt1']	= '"Beágyazás" link megjelenítése';
 $lang['piclens_wallcfg_option-opt2']	= '"Teljes képernyő" link megjelenítése';
 $lang['piclens_wallcfg_option-opt3']	= '"Keresés" link megjelenítse';
Index: /extensions/piclens/language/it_IT/plugin.lang.php
===================================================================
--- /extensions/piclens/language/it_IT/plugin.lang.php	(revision 8779)
+++ /extensions/piclens/language/it_IT/plugin.lang.php	(revision 8780)
@@ -126,5 +126,4 @@
 $lang['piclens_wallcfg_disp_opt2']		= 'sulle catgorie';
 $lang['piclens_wallcfg_option']			= 'Optioni di visualizzazione del muro 3D Cooliris :';
-$lang['piclens_wallcfg_option-opt1']	= 'Visualizzazione del link "Embed"';
 $lang['piclens_wallcfg_option-opt2']	= 'Visualizzazione del link "FullScreen"';
 $lang['piclens_wallcfg_option-opt3']	= 'Visualizzazione del link "Ricerca"';
Index: /extensions/piclens/language/lv_LV/plugin.lang.php
===================================================================
--- /extensions/piclens/language/lv_LV/plugin.lang.php	(revision 8779)
+++ /extensions/piclens/language/lv_LV/plugin.lang.php	(revision 8780)
@@ -140,5 +140,4 @@
 $lang['piclens_wallcfg_disp_opt2']        = 'Kategorijas';
 $lang['piclens_wallcfg_option']            = 'Rādīt Cooliris 3D Wall izvēles (opcijas) :';
-$lang['piclens_wallcfg_option-opt1']    = 'Rāda "Embed" (iestrādājamo) saiti';
 $lang['piclens_wallcfg_option-opt2']    = 'Rāda "FullScreen" (pilns ekrāns) saiti';
 $lang['piclens_wallcfg_option-opt3']    = 'Rāda "Search" (meklēt) saiti';
Index: /extensions/piclens/language/zh_CN/plugin.lang.php
===================================================================
--- /extensions/piclens/language/zh_CN/plugin.lang.php	(revision 8779)
+++ /extensions/piclens/language/zh_CN/plugin.lang.php	(revision 8780)
@@ -126,5 +126,4 @@
 $lang['piclens_wallcfg_disp_opt2']		= '分类';
 $lang['piclens_wallcfg_option']			= 'Cooliris 3D wall 显示选项 :';
-$lang['piclens_wallcfg_option-opt1']	= '显示嵌入连接';
 $lang['piclens_wallcfg_option-opt2']	= '显示 "全屏" 连接';
 $lang['piclens_wallcfg_option-opt3']	= '显示 "查询" 连接';
Index: /extensions/piclens/main.inc.php
===================================================================
--- /extensions/piclens/main.inc.php	(revision 8779)
+++ /extensions/piclens/main.inc.php	(revision 8780)
@@ -2,5 +2,5 @@
 /*
  * Plugin Name: CoolIris-Piclens
- * Version: 0.4.2
+ * Version: 0.4.3
  * Description: Cooliris/Piclens activation
  * Plugin URI: http://piwigo.org/ext/extension_view.php?eid=234
Index: /extensions/piclens/piclenswall.php
===================================================================
--- /extensions/piclens/piclenswall.php	(revision 8779)
+++ /extensions/piclens/piclenswall.php	(revision 8780)
@@ -48,4 +48,7 @@
 				'showembed'				=> ($this->my_config['piclens_wall_showembed'] ? "true" : "false"),
 				'showsearch'			=> ($this->my_config['piclens_wall_showsearch'] ? "true" : "false"),
+				'showitemembed'			=> ($this->my_config['piclens_wall_showitemembed'] ? "true" : "false"),
+				'showlinkout'			=> ($this->my_config['piclens_wall_showlinkout'] ? "true" : "false"),
+				'showclose'			=> ($this->my_config['piclens_wall_showclose'] ? "true" : "false"),
 				'transparent'			=> $this->my_config['piclens_wall_transparent'],
 				'swf_link'				=> ($this->my_config['piclens_wall_swflocal'] ? $this->root_site_piclens.PICLENS_PATH.'swf/cooliris.swf' : 'http://apps.cooliris.com/embed/cooliris.swf'),
Index: /extensions/piclens/piclenswall.tpl
===================================================================
--- /extensions/piclens/piclenswall.tpl	(revision 8779)
+++ /extensions/piclens/piclenswall.tpl	(revision 8780)
@@ -8,11 +8,14 @@
 	<center>
 	<object id="o" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" 
-		width="100%" height="{$height}" >
-			<param name="movie" value="{$swf_link}?feed={$rssfeed}&amp;style={$color}&amp;showEmbed={$showembed}&amp;showFullScreen={$showfullscreen}&amp;showSearch={$showsearch}&amp;numRows={$nbligne}&amp;showChrome={$showChrome}&amp;showDescription={$showDescription}&amp;showReflections={$showReflections}&amp;showTutorial={$showTutorial}&amp;showNavArrows={$showNavArrows}&amp;backgroundAlpha={$backgroundAlpha}&amp;backgroundColor={$backgroundColor}&amp;glowColor={$glowColor}&amp;descriptionHeight={$descriptionHeight}&amp;tilt={$tilt}{if isset($backgroundImage)}&amp;backgroundImage={$backgroundImage}{/if}{if isset($tutorial)}&amp;tutorial={$tutorial}{/if}{if isset($customButton)}&amp;customButton={$customButton}{/if}{if isset($icons)}&amp;icons={$icons}{/if}{if isset($linkCSS)}&amp;linkCSS={$linkCSS}{/if}" />
+		width="100%" height="{$height}px" >
+			<param name="movie" value="{$swf_link}?feed={$rssfeed}&amp;style={$color}&amp;showEmbed={$showembed}&amp;showFullScreen={$showfullscreen}&amp;showSearch={$showsearch}&amp;showItemEmbed={$showitemembed}&amp;showLinkOut={$showlinkout}&amp;showClose={$showclose}&amp;numRows={$nbligne}&amp;showChrome={$showChrome}&amp;showDescription={$showDescription}&amp;showReflections={$showReflections}&amp;showTutorial={$showTutorial}&amp;showNavArrows={$showNavArrows}&amp;backgroundAlpha={$backgroundAlpha}&amp;backgroundColor={$backgroundColor}&amp;glowColor={$glowColor}&amp;descriptionHeight={$descriptionHeight}&amp;tilt={$tilt}{if isset($backgroundImage)}&amp;backgroundImage={$backgroundImage}{/if}{if isset($tutorial)}&amp;tutorial={$tutorial}{/if}{if isset($customButton)}&amp;customButton={$customButton}{/if}{if isset($icons)}&amp;icons={$icons}{/if}{if isset($linkCSS)}&amp;linkCSS={$linkCSS}{/if}" />
 			<param name="allowFullScreen" value="{$showfullscreen}" />
 			<param name="showEmbed" value="{$showembed}" />
 			<param name="showSearch" value="{$showsearch}" />
+			<param name="showItemEmbed" value="{$showitemembed}" />
+			<param name="showLinkOut" value="{$showlinkout}" />
+			<param name="showClose" value="{$showclose}" />
 			<param name="allowScriptAccess" value="always" />
-            <param name="flashvars" value="feed={$rssfeed}&amp;style={$color}&amp;showEmbed={$showembed}&amp;showFullScreen={$showfullscreen}&amp;showSearch={$showsearch}&amp;numRows={$nbligne}&amp;showChrome={$showChrome}&amp;showDescription={$showDescription}&amp;showReflections={$showReflections}&amp;showTutorial={$showTutorial}&amp;showNavArrows={$showNavArrows}&amp;backgroundAlpha={$backgroundAlpha}&amp;backgroundColor={$backgroundColor}&amp;glowColor={$glowColor}&amp;descriptionHeight={$descriptionHeight}&amp;tilt={$tilt}{if isset($backgroundImage)}&amp;backgroundImage={$backgroundImage}{/if}{if isset($tutorial)}&amp;tutorial={$tutorial}{/if}{if isset($customButton)}&amp;customButton={$customButton}{/if}{if isset($icons)}&amp;icons={$icons}{/if}{if isset($linkCSS)}&amp;linkCSS={$linkCSS}{/if}" />
+            <param name="flashvars" value="feed={$rssfeed}&amp;style={$color}&amp;showEmbed={$showembed}&amp;showFullScreen={$showfullscreen}&amp;showSearch={$showsearch}&amp;showItemEmbed={$showitemembed}&amp;showLinkOut={$showlinkout}&amp;showClose={$showclose}&amp;numRows={$nbligne}&amp;showChrome={$showChrome}&amp;showDescription={$showDescription}&amp;showReflections={$showReflections}&amp;showTutorial={$showTutorial}&amp;showNavArrows={$showNavArrows}&amp;backgroundAlpha={$backgroundAlpha}&amp;backgroundColor={$backgroundColor}&amp;glowColor={$glowColor}&amp;descriptionHeight={$descriptionHeight}&amp;tilt={$tilt}{if isset($backgroundImage)}&amp;backgroundImage={$backgroundImage}{/if}{if isset($tutorial)}&amp;tutorial={$tutorial}{/if}{if isset($customButton)}&amp;customButton={$customButton}{/if}{if isset($icons)}&amp;icons={$icons}{/if}{if isset($linkCSS)}&amp;linkCSS={$linkCSS}{/if}" />
 
             
@@ -20,5 +23,5 @@
 			<param name="wmode" value="transparent" />
 			{/if}
-			<embed {if $transparent}WMODE="transparent" {/if} type="application/x-shockwave-flash" src="{$swf_link}?feed={$rssfeed}&amp;style={$color}&amp;showEmbed={$showembed}&amp;showFullScreen={$showfullscreen}&amp;showSearch={$showsearch}&amp;numRows={$nbligne}&amp;showChrome={$showChrome}&amp;showDescription={$showDescription}&amp;showReflections={$showReflections}&amp;showTutorial={$showTutorial}&amp;showNavArrows={$showNavArrows}&amp;backgroundAlpha={$backgroundAlpha}&amp;backgroundColor={$backgroundColor}&amp;glowColor={$glowColor}&amp;descriptionHeight={$descriptionHeight}&amp;tilt={$tilt}{if isset($backgroundImage)}&amp;backgroundImage={$backgroundImage}{/if}{if isset($tutorial)}&amp;tutorial={$tutorial}{/if}{if isset($customButton)}&amp;customButton={$customButton}{/if}{if isset($icons)}&amp;icons={$icons}{/if}{if isset($linkCSS)}&amp;linkCSS={$linkCSS}{/if}" width="100%" height="{$height}" showEmbed="{$showembed}" showSearch="{$showsearch}" allowFullScreen="{$showfullscreen}" allowScriptAccess="always" style="{$color}" numRows="{$nbligne}" showChrome="{$showChrome}" showDescription="{$showDescription}" showReflections="{$showReflections}" showTutorial="{$showTutorial}" showNavArrows="{$showNavArrows}"  backgroundAlpha="{$backgroundAlpha}" backgroundColor="{$backgroundColor}" glowColor="{$glowColor}" descriptionHeight="{$descriptionHeight}" tilt="{$tilt}" {if isset($backgroundImage)}backgroundImage="{$backgroundImage}"{/if} {if isset($tutorial)}tutorial="{$tutorial}"{/if} {if isset($customButton)}customButton="{$customButton}"{/if} {if isset($icons)}icons="{$icons}"{/if} {if isset($linkCSS)}linkCSS="{$linkCSS}"{/if}/>
+			<embed {if $transparent}WMODE="transparent" {/if} type="application/x-shockwave-flash" src="{$swf_link}?feed={$rssfeed}&amp;style={$color}&amp;showEmbed={$showembed}&amp;showFullScreen={$showfullscreen}&amp;showSearch={$showsearch}&amp;showItemEmbed={$showitemembed}&amp;showLinkOut={$showlinkout}&amp;showClose={$showclose}&amp;numRows={$nbligne}&amp;showChrome={$showChrome}&amp;showDescription={$showDescription}&amp;showReflections={$showReflections}&amp;showTutorial={$showTutorial}&amp;showNavArrows={$showNavArrows}&amp;backgroundAlpha={$backgroundAlpha}&amp;backgroundColor={$backgroundColor}&amp;glowColor={$glowColor}&amp;descriptionHeight={$descriptionHeight}&amp;tilt={$tilt}{if isset($backgroundImage)}&amp;backgroundImage={$backgroundImage}{/if}{if isset($tutorial)}&amp;tutorial={$tutorial}{/if}{if isset($customButton)}&amp;customButton={$customButton}{/if}{if isset($icons)}&amp;icons={$icons}{/if}{if isset($linkCSS)}&amp;linkCSS={$linkCSS}{/if}" width="100%" height="{$height}px" showItemEmbed="{$showitemembed}" showEmbed="{$showembed}" showSearch="{$showsearch}" allowFullScreen="{$showfullscreen}" allowScriptAccess="always" style="{$color}" numRows="{$nbligne}" showChrome="{$showChrome}" showDescription="{$showDescription}" showReflections="{$showReflections}" showTutorial="{$showTutorial}" showNavArrows="{$showNavArrows}"  backgroundAlpha="{$backgroundAlpha}" backgroundColor="{$backgroundColor}" glowColor="{$glowColor}" descriptionHeight="{$descriptionHeight}" tilt="{$tilt}" {if isset($backgroundImage)}backgroundImage="{$backgroundImage}"{/if} {if isset($tutorial)}tutorial="{$tutorial}"{/if} {if isset($customButton)}customButton="{$customButton}"{/if} {if isset($icons)}icons="{$icons}"{/if} {if isset($linkCSS)}linkCSS="{$linkCSS}"{/if}/>
 	</object>
 	</center>
