Changeset 8780 for extensions/piclens


Ignore:
Timestamp:
Jan 20, 2011, 12:22:52 AM (13 years ago)
Author:
Gotcha
Message:

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)

bug:1397

Location:
extensions/piclens
Files:
16 edited

Legend:

Unmodified
Added
Removed
  • extensions/piclens/CHANGELOG

    r3708 r8780  
    11TODO for next versions :
    22-------------
    3 -
     3- (Voir le bugtracker http://piwigo.org/bugs/)
    44
    55
    66Version 0.4.x
    77-------------
     80.4.2 --> Ajout de 3 nouvelles options
     9                        - showItemEmbed - Show "Sharing" links
     10                        - showLinkOut - Show the button that links out to the original content
     11                        - showClose - Show the "Close" button on individual items
     12                 Suppression de la traduction de l'option #1 qui ne coïncide plus avec les nouvelles versions de Cooliris
     13                 MAJ du player cooliris.swf
     14                 Résolution du bug:1397 (Bug d'affichage sur catégories spéciales)
    8150.4.1 --> Suppression render sur le commentaire (suppression des div) et l'auteur du commentaire
    916                 Ajout double select dans la page d'administration + jquery dans l'admin
  • extensions/piclens/admin/piclenswallconfig2.php

    r3645 r8780  
    55 */
    66/* Advanced configuration for embeded wall
     7See : http://www.cooliris.com/developer/reference/flashvars/
    78
    8 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.
    9 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.
    10 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.
    11 customButton — imageURL,targetURL     Adds a custom button in the lower right corner of the toolbar.
    12 descriptionHeight — 0 to 100     Sets the percentage height of the name and description overlay when items are selected.
    13 feed — URL     Specifies the feed (MediaRSS or API) that the wall should display.
    14 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.
    15 icons — baseURL     Points to a directory of PNG images for custom toolbar icons.
     9backgroundAlpha         — 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.
     10backgroundColor         — 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.
     11backgroundImage         — 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.
     12customButton            — imageURL,targetURL                    Adds a custom button in the lower right corner of the toolbar.
     13descriptionHeight       — 0 to 100                                              Sets the percentage height of the name and description overlay when items are selected.
     14feed                            — URL                                                   Specifies the feed (MediaRSS or API) that the wall should display.
     15glowColor                       — 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.
     16icons                           — baseURL                                               Points to a directory of PNG images for custom toolbar icons.
    1617    The following filenames in the directory will be used:
    17         * embed.png - Embed Code button
    18         * fullscreen.png - Fullscreen/Launch Client button
    19         * next.png - Next Item button
    20         * pause.png - Pause Slideshow button
    21         * play.png - Start Slideshow button.
    22         * prev.png - Previous Item button
    23         * search.png - Search button
     18        * embed.png             - Embed Code button
     19        * fullscreen.png        - Fullscreen/Launch Client button
     20        * next.png                      - Next Item button
     21        * pause.png             - Pause Slideshow button
     22        * play.png                      - Start Slideshow button.
     23        * prev.png                      - Previous Item button
     24        * search.png            - Search button
     25        * leftarrow.png         - left arrow button
     26        * rightarrow.png        - right arrow button
    2427
    25 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).
    26 linkCSS — string     A CSS string to be applied to any HTML links in item descriptions.
    27 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.
    28 showChrome — true | false     Shows or hides the bottom toolbar background.
    29 showDescription — true | false     Shows or hides the item description overlay.
    30 showReflections — true | false     Shows or hides the reflections under the images.     Hiding the reflections will improve performance.
    31 showEmbed — true | false     Shows or hides the Embed Code button.
    32 showSearch — true | false     Shows or hides the Search button.
    33 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.
    34 showNavArrows — true | false     Shows or hides the left/right navigation arrows.
    35 style — black | dark | light | white     Sets the theme to use for the wall.     This sets up different default background colors and button appearances.
    36 tilt — 0 to 5     Sets the amount of wall tilt (or disables it by setting it to 0).
     28itemGUID                        — 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).
     29linkCSS                         — string                                                        A CSS string to be applied to any HTML links in item descriptions.
     30numRows                         — 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.
     31showChrome                      — true | false                                          Shows or hides the bottom toolbar background.
     32showDescription         — true | false                                          Shows or hides the item description overlay.
     33showReflections         — true | false                                          Shows or hides the reflections under the images.     Hiding the reflections will improve performance.
     34showEmbed                       — true | false                                          Shows or hides the Embed Code button.
     35showSearch                      — true | false                                          Shows or hides the Search button.
     36showItemEmbed           — true | false                                          Shows or hides the Sharing buttons on individual items.
     37showLinkOut             — true | false                                          Shows the button that links out to the original content.
     38showClose                       — true | false                                          Shows the close button on individual items.
     39showTutorial            — 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.
     40showNavArrows           — true | false                                          Shows or hides the left/right navigation arrows.
     41style                           — black | dark | light | white          Sets the theme to use for the wall.     This sets up different default background colors and button appearances.
     42tilt                            — 0 to 5                                                        Sets the amount of wall tilt (or disables it by setting it to 0).
    3743
    38 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.
     44tutorial                        — 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.
    3945*/
    4046
     
    5056                        ) );
    5157
    52                        
    5358
    5459if (isset($_POST['submit'])) {
    55         $me->my_config['piclens_wall_color'] =   $_POST['background_color'];
    56         $me->my_config['piclens_wall_showembed'] = isset($_POST['piclens_wall_embed']);
    57         $me->my_config['piclens_wall_showfullscreen'] = isset($_POST['piclens_wall_fullscreen']);
    58         $me->my_config['piclens_wall_showsearch'] = isset($_POST['piclens_wall_search']);
    59         $me->my_config['piclens_wall_transparent'] =   isset($_POST['piclens_wall_transparent']);
    60         $me->my_config['piclens_wall_showChrome']  = isset($_POST['piclens_wall_showChrome']);
    61         $me->my_config['piclens_wall_showDescription']  = isset($_POST['piclens_wall_showDescription']);
    62         $me->my_config['piclens_wall_showReflections']  = isset($_POST['piclens_wall_showReflections']);
    63         $me->my_config['piclens_wall_showTutorial']  = isset($_POST['piclens_wall_showTutorial']);
    64         $me->my_config['piclens_wall_showNavArrows']  = isset($_POST['piclens_wall_showNavArrows']);
    65         $me->my_config['piclens_wall_nb_ligne']     = $_POST['piclens_wall_nb_ligne'];
    66         $me->my_config['piclens_wall_backgroundAlpha']     = $_POST['piclens_wall_backgroundAlpha'];
     60        $me->my_config['piclens_wall_color'] =                                  $_POST['background_color'];
     61        $me->my_config['piclens_wall_showembed'] =                              isset($_POST['piclens_wall_embed']);
     62        $me->my_config['piclens_wall_showfullscreen'] =                 isset($_POST['piclens_wall_fullscreen']);
     63        $me->my_config['piclens_wall_showsearch'] =                     isset($_POST['piclens_wall_search']);
     64        $me->my_config['piclens_wall_showitemembed'] =                  isset($_POST['piclens_wall_itemembed']);
     65        $me->my_config['piclens_wall_showlinkout'] =                    isset($_POST['piclens_wall_linkout']);
     66        $me->my_config['piclens_wall_showclose'] =                              isset($_POST['piclens_wall_close']);
     67        $me->my_config['piclens_wall_transparent'] =                    isset($_POST['piclens_wall_transparent']);
     68        $me->my_config['piclens_wall_showChrome']  =                    isset($_POST['piclens_wall_showChrome']);
     69        $me->my_config['piclens_wall_showDescription']  =               isset($_POST['piclens_wall_showDescription']);
     70        $me->my_config['piclens_wall_showReflections']  =               isset($_POST['piclens_wall_showReflections']);
     71        $me->my_config['piclens_wall_showTutorial']  =                  isset($_POST['piclens_wall_showTutorial']);
     72        $me->my_config['piclens_wall_showNavArrows']  =                 isset($_POST['piclens_wall_showNavArrows']);
     73       
     74        $me->my_config['piclens_wall_nb_ligne']     =                   $_POST['piclens_wall_nb_ligne'];
     75        $me->my_config['piclens_wall_backgroundAlpha']     =    $_POST['piclens_wall_backgroundAlpha'];
     76        $me->my_config['piclens_wall_descriptionHeight'] =              $_POST['piclens_wall_descriptionHeight'];
     77        $me->my_config['piclens_wall_tilt'] =                                   $_POST['piclens_wall_tilt'];
    6778
    68         $me->my_config['piclens_wall_backgroundColor']  = $_POST['piclens_wall_backgroundColor'];
    69         $me->my_config['piclens_wall_glowColor']  = $_POST['piclens_wall_glowColor'];
    70         $me->my_config['piclens_wall_descriptionHeight'] = $_POST['piclens_wall_descriptionHeight'];
    71         $me->my_config['piclens_wall_tilt'] = $_POST['piclens_wall_tilt'];
    72 
    73         $me->my_config['piclens_wall_backgroundImage']  = $_POST['piclens_wall_backgroundImage'];
    74         $me->my_config['piclens_wall_tutorial'] = $_POST['piclens_wall_tutorial'];
    75         $me->my_config['piclens_wall_tutorialtime']     = $_POST['piclens_wall_tutorialtime'];
    76         $me->my_config['piclens_wall_customButtonURL'] = $_POST['piclens_wall_customButtonURL'];
    77         $me->my_config['piclens_wall_customButtonTARGET'] = $_POST['piclens_wall_customButtonTARGET'];
    78         $me->my_config['piclens_wall_icons']  = $_POST['piclens_wall_icons'];
    79         $me->my_config['piclens_wall_linkCSS']  = $_POST['piclens_wall_linkCSS'];
     79        $me->my_config['piclens_wall_backgroundColor']  =               $_POST['piclens_wall_backgroundColor'];
     80        $me->my_config['piclens_wall_glowColor']  =                     $_POST['piclens_wall_glowColor'];
     81       
     82        $me->my_config['piclens_wall_backgroundImage']  =               $_POST['piclens_wall_backgroundImage'];
     83        $me->my_config['piclens_wall_tutorial'] =                               $_POST['piclens_wall_tutorial'];
     84        $me->my_config['piclens_wall_tutorialtime']     =                       $_POST['piclens_wall_tutorialtime'];
     85        $me->my_config['piclens_wall_customButtonURL'] =                $_POST['piclens_wall_customButtonURL'];
     86        $me->my_config['piclens_wall_customButtonTARGET'] =     $_POST['piclens_wall_customButtonTARGET'];
     87       
     88        $me->my_config['piclens_wall_icons']  =                                 $_POST['piclens_wall_icons'];
     89        $me->my_config['piclens_wall_linkCSS']  =                               $_POST['piclens_wall_linkCSS'];
     90       
    8091        $me->save_config();
    8192        array_push($page['infos'], l10n('piclens_admin_saveOK'));
    8293       
    8394}
    84 
    85 
    86 
    8795
    8896
     
    92100        'PICLENS_WALL_FULLSCREEN'                                                       => ($me->my_config['piclens_wall_showfullscreen'] ? 'checked="checked"' : '' ),
    93101        'PICLENS_WALL_SEARCH'                                                           => ($me->my_config['piclens_wall_showsearch'] ? 'checked="checked"' : '' ),
     102        'PICLENS_WALL_ITEMEMBED'                                                        => ($me->my_config['piclens_wall_showitemembed'] ? 'checked="checked"' : '' ),
     103        'PICLENS_WALL_LINKOUT'                                                          => ($me->my_config['piclens_wall_showlinkout'] ? 'checked="checked"' : '' ),
     104        'PICLENS_WALL_CLOSE'                                                            => ($me->my_config['piclens_wall_showclose'] ? 'checked="checked"' : '' ),
    94105        'PICLENS_WALL_TRANSPARENT'                                                      => ($me->my_config['piclens_wall_transparent'] ? 'checked="checked"' : '' ),
    95 
    96106        'PICLENS_WALL_SHOWCHROME'                                                       => ($me->my_config['piclens_wall_showChrome'] ? 'checked="checked"' : '' ),
    97         'PICLENS_WALL_SHOWDESCRIPTION'                                                  => ($me->my_config['piclens_wall_showDescription'] ? 'checked="checked"' : '' ),
    98         'PICLENS_WALL_SHOWREFLECTIONS'                                                  => ($me->my_config['piclens_wall_showReflections'] ? 'checked="checked"' : '' ),
     107        'PICLENS_WALL_SHOWDESCRIPTION'                                          => ($me->my_config['piclens_wall_showDescription'] ? 'checked="checked"' : '' ),
     108        'PICLENS_WALL_SHOWREFLECTIONS'                                          => ($me->my_config['piclens_wall_showReflections'] ? 'checked="checked"' : '' ),
    99109        'PICLENS_WALL_SHOWTUTORIAL'                                                     => ($me->my_config['piclens_wall_showTutorial'] ? 'checked="checked"' : '' ),
    100         'PICLENS_WALL_SHOWNAVARROWS'                                                    => ($me->my_config['piclens_wall_showNavArrows'] ? 'checked="checked"' : '' ),
    101         'PICLENS_WALL_NB_LIGNE'                                                 => $me->my_config['piclens_wall_nb_ligne'],
     110        'PICLENS_WALL_SHOWNAVARROWS'                                            => ($me->my_config['piclens_wall_showNavArrows'] ? 'checked="checked"' : '' ),
     111       
     112        'PICLENS_WALL_NB_LIGNE'                                                         => $me->my_config['piclens_wall_nb_ligne'],
    102113        'PICLENS_WALL_BACKGROUNDALPHA'                                          => $me->my_config['piclens_wall_backgroundAlpha'],
     114        'PICLENS_WALL_DESCRIPTIONHEIGHT'                                        => $me->my_config['piclens_wall_descriptionHeight'],
     115        'PICLENS_WALL_TILT'                                                                     => $me->my_config['piclens_wall_tilt'],
    103116       
    104     'PICLENS_WALL_BACKGROUNDCOLOR'                              => $me->my_config['piclens_wall_backgroundColor'],
    105         'PICLENS_WALL_GLOWCOLOR'                                        => $me->my_config['piclens_wall_glowColor'],
    106         'PICLENS_WALL_DESCRIPTIONHEIGHT'                        => $me->my_config['piclens_wall_descriptionHeight'],
    107         'PICLENS_WALL_TILT'                                                     => $me->my_config['piclens_wall_tilt'],
    108         'PICLENS_WALL_BACKGROUNDIMAGE'                          => $me->my_config['piclens_wall_backgroundImage'],
    109         'PICLENS_WALL_TUTORIALTIME'                                     => $me->my_config['piclens_wall_tutorialtime'],
    110         'PICLENS_WALL_TUTORIAL'                                         => $me->my_config['piclens_wall_tutorial'],
    111         'PICLENS_WALL_CUSTOMBUTTONURL'                          => $me->my_config['piclens_wall_customButtonURL'],
    112         'PICLENS_WALL_CUSTOMBUTTONTARGET'                       => $me->my_config['piclens_wall_customButtonTARGET'],
    113         'PICLENS_WALL_ICONS'                                            => $me->my_config['piclens_wall_icons'],
    114         'PICLENS_WALL_LINKCSS'                                          => $me->my_config['piclens_wall_linkCSS'],
     117    'PICLENS_WALL_BACKGROUNDCOLOR'                                              => $me->my_config['piclens_wall_backgroundColor'],
     118        'PICLENS_WALL_GLOWCOLOR'                                                        => $me->my_config['piclens_wall_glowColor'],
     119       
     120        'PICLENS_WALL_BACKGROUNDIMAGE'                                          => $me->my_config['piclens_wall_backgroundImage'],
     121        'PICLENS_WALL_TUTORIAL'                                                         => $me->my_config['piclens_wall_tutorial'],
     122        'PICLENS_WALL_TUTORIALTIME'                                                     => $me->my_config['piclens_wall_tutorialtime'],
     123        'PICLENS_WALL_CUSTOMBUTTONURL'                                          => $me->my_config['piclens_wall_customButtonURL'],
     124        'PICLENS_WALL_CUSTOMBUTTONTARGET'                                       => $me->my_config['piclens_wall_customButtonTARGET'],
     125       
     126        'PICLENS_WALL_ICONS'                                                            => $me->my_config['piclens_wall_icons'],
     127        'PICLENS_WALL_LINKCSS'                                                          => $me->my_config['piclens_wall_linkCSS']
    115128       
    116129        ));
  • extensions/piclens/admin/piclenswallconfig2.tpl

    r3637 r8780  
    5353                                 <br>
    5454                                 <input type="checkbox" name="piclens_wall_search" {$PICLENS_WALL_SEARCH}/>&nbsp; {'piclens_wallcfg_option-opt3'|@translate}
     55                                 <br>
     56                                 <input type="checkbox" name="piclens_wall_itemembed" {$PICLENS_WALL_ITEMEMBED}/>&nbsp; {'piclens_wallcfg_option-opt4'|@translate}
     57                                 <br>
     58                                 <input type="checkbox" name="piclens_wall_linkout" {$PICLENS_WALL_LINKOUT}/>&nbsp; {'piclens_wallcfg_option-opt5'|@translate}
     59                                 <br>
     60                                 <input type="checkbox" name="piclens_wall_close" {$PICLENS_WALL_CLOSE}/>&nbsp; {'piclens_wallcfg_option-opt6'|@translate}
    5561                                 <br>
    5662                                 <input type="checkbox" name="piclens_wall_transparent" {$PICLENS_WALL_TRANSPARENT}/>&nbsp; {'piclens_wallcfg_transparent'|@translate}
  • extensions/piclens/include/Piclens.class.php

    r4307 r8780  
    489489                        $showembed = ($this->my_config['piclens_wall_showembed'] ? "true" : "false");
    490490                        $showsearch = ($this->my_config['piclens_wall_showsearch'] ? "true" : "false");
     491                        $showitemembed =  ($this->my_config['piclens_wall_showitemembed'] ? "true" : "false");
     492                        $showlinkout =  ($this->my_config['piclens_wall_showlinkout'] ? "true" : "false");
     493                        $showclose =  ($this->my_config['piclens_wall_showclose'] ? "true" : "false");
    491494                        $transparent = $this->my_config['piclens_wall_transparent'];
    492495                        $swf_link = ($this->my_config['piclens_wall_swflocal'] ? $this->root_site_piclens.PICLENS_PATH.'swf/cooliris.swf' : 'http://apps.cooliris.com/embed/cooliris.swf');
     
    518521
    519522                        $template->assign('THUMBNAILS',
    520                 '<object id="o" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
    521                         <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
     523                '<object id="o" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="100%" height="'.$height.'px">
     524                        <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
    522525                        .(isset($backgroundImage) ? '&amp;backgroundImage='.$backgroundImage : '')
    523526                        .(isset($tutorial)?'&amp;tutorial='.$tutorial : '')
     
    526529                        .(isset($linkCSS)?'&amp;linkCSS='.$linkCSS:'')
    527530                        .'" />
    528                     width="100%" height="'.$height.'" >
     531
    529532                        <param name="allowFullScreen" value="'.$showfullscreen.'" />
     533                        <param name="showItemEmbed" value="'.$showitemembed.'" />
    530534                        <param name="showEmbed" value="'.$showembed.'" />
    531535                        <param name="showSearch" value="'.$showsearch.'" />
    532536                        <param name="allowScriptAccess" value="always" />
    533                         <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
     537                        <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
    534538                        .(isset($backgroundImage)?'&amp;backgroundImage='.$backgroundImage:'')
    535539                        .(isset($tutorial)?'&amp;tutorial='.$tutorial:'')
     
    540544                        '.(isset($transparent)?'<param name="wmode" value="transparent" />':'')
    541545                        .'<embed '.(isset($transparent)?'WMODE="transparent"':'').' type="application/x-shockwave-flash"
    542                         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
     546                        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
    543547                        .(isset($backgroundImage)?'&amp;backgroundImage='.$backgroundImage:'')
    544548                        .(isset($tutorial)?'&amp;tutorial='.$tutorial:'')
     
    546550                        .(isset($icons)?'&amp;icons='.$icons:'')
    547551                        .(isset($linkCSS)?'&amp;linkCSS='.$linkCSS:'').'"
    548                         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.'" '
     552                        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.'" '
    549553                        .(isset($backgroundImage)?'backgroundImage="'.$backgroundImage.'"':'')
    550554                        .(isset($tutorial)?'tutorial="'.$tutorial.'"':'')
  • extensions/piclens/include/default_values.inc.php

    r3908 r8780  
    3737$piclens_default_values['piclens_wall_showfullscreen'] = true; // Affichage icone Fullscreen sur le mur 3D
    3838$piclens_default_values['piclens_wall_showsearch'] = true; // Affichage icone search sur le mur 3D
     39$piclens_default_values['piclens_wall_showitemembed'] = true; // Affichage des icônes de partage sur le mur 3D
     40$piclens_default_values['piclens_wall_showlinkout'] = true; // Affichage des icônes de partage sur le mur 3D
     41$piclens_default_values['piclens_wall_showclose'] = true; // Affichage des icônes de partage sur le mur 3D
    3942$piclens_default_values['piclens_wall_transparent'] = false; // Affichage en mode transparent du mur 3D
    4043
  • extensions/piclens/language/en_UK/plugin.lang.php

    r3908 r8780  
    126126$lang['piclens_wallcfg_disp_opt2']              = 'Categories';
    127127$lang['piclens_wallcfg_option']                 = 'Display Options of Cooliris 3D Wall :';
    128 $lang['piclens_wallcfg_option-opt1']    = 'Show "Embed" link';
     128$lang['piclens_wallcfg_option-opt1']    = 'Show links (embed) to sharing page in Facebook and Twitter inside 3D wall';
    129129$lang['piclens_wallcfg_option-opt2']    = 'Show "FullScreen" link';
    130130$lang['piclens_wallcfg_option-opt3']    = 'Show "Search" link';
     131$lang['piclens_wallcfg_option-opt4']    = 'Show "Sharing" links';
     132$lang['piclens_wallcfg_option-opt5']    = 'Show the button that links out to the original content';
     133$lang['piclens_wallcfg_option-opt6']    = 'Show the "Close" button on individual items';
    131134$lang['piclens_wallcfg_transparent']    = '"Transparent" Mode for the wall. <i>Needed for some horizontal themes</i>';
    132135$lang['piclens_wallcfg_param']                  = 'Cooliris 3D Wall Parameters ';
  • extensions/piclens/language/es_ES/plugin.lang.php

    r6033 r8780  
    130130$lang['piclens_wallcfg_disp_opt2']              = 'Sobre las categorías';
    131131$lang['piclens_wallcfg_option']                 = 'Opciones de visualización de la pared 3D Cooliris:';
    132 $lang['piclens_wallcfg_option-opt1']    = 'Visualización lazo " Embed "';
    133132$lang['piclens_wallcfg_option-opt2']    = 'Visualización lazo "Pantalla completa"';
    134133$lang['piclens_wallcfg_option-opt3']    = 'Visualización lazo "Búsqueda"';
  • extensions/piclens/language/fr_FR/plugin.lang.php

    r3908 r8780  
    126126$lang['piclens_wallcfg_disp_opt2']              = 'sur les cat&eacute;gories';
    127127$lang['piclens_wallcfg_option']                 = 'Options d\'affichage du mur 3D Cooliris :';
    128 $lang['piclens_wallcfg_option-opt1']    = 'Affichage lien "Embed"';
     128$lang['piclens_wallcfg_option-opt1']    = 'Affichage des liens (embed) de partage pour les r&eacute;seaux sociaux (Facebook, Twitter...) sur la mur 3D';
    129129$lang['piclens_wallcfg_option-opt2']    = 'Affichage lien "FullScreen"';
    130130$lang['piclens_wallcfg_option-opt3']    = 'Affichage lien "Recherche"';
     131$lang['piclens_wallcfg_option-opt4']    = 'Affichage des liens de partage pour les r&eacute;seaux sociaux (Facebook, Twitter...) sur la photo';
     132$lang['piclens_wallcfg_option-opt5']    = 'Affichage du lien pointant vers la photo (page) originale';
     133$lang['piclens_wallcfg_option-opt6']    = 'Affichage du lien de fermeture de la fen&ecirc;tre';
    131134$lang['piclens_wallcfg_transparent']    = 'Mode "Transparent" pour le mur. <i>N&eacute;cessaire pour certains th&egrave;mes horizontaux</i>';
    132135$lang['piclens_wallcfg_param']                  = 'Param&egrave;tre pour le mur 3D Cooliris :';
  • extensions/piclens/language/hu_HU/plugin.lang.php

    r7322 r8780  
    126126$lang['piclens_wallcfg_disp_opt2']              = 'Kategóriák';
    127127$lang['piclens_wallcfg_option']                 = 'Cooliris 3D Wall megjelenés beállításai :';
    128 $lang['piclens_wallcfg_option-opt1']    = '"Beágyazás" link megjelenítése';
    129128$lang['piclens_wallcfg_option-opt2']    = '"Teljes képernyő" link megjelenítése';
    130129$lang['piclens_wallcfg_option-opt3']    = '"Keresés" link megjelenítse';
  • extensions/piclens/language/it_IT/plugin.lang.php

    r4037 r8780  
    126126$lang['piclens_wallcfg_disp_opt2']              = 'sulle catgorie';
    127127$lang['piclens_wallcfg_option']                 = 'Optioni di visualizzazione del muro 3D Cooliris :';
    128 $lang['piclens_wallcfg_option-opt1']    = 'Visualizzazione del link "Embed"';
    129128$lang['piclens_wallcfg_option-opt2']    = 'Visualizzazione del link "FullScreen"';
    130129$lang['piclens_wallcfg_option-opt3']    = 'Visualizzazione del link "Ricerca"';
  • extensions/piclens/language/lv_LV/plugin.lang.php

    r7870 r8780  
    140140$lang['piclens_wallcfg_disp_opt2']        = 'Kategorijas';
    141141$lang['piclens_wallcfg_option']            = 'Rādīt Cooliris 3D Wall izvēles (opcijas) :';
    142 $lang['piclens_wallcfg_option-opt1']    = 'Rāda "Embed" (iestrādājamo) saiti';
    143142$lang['piclens_wallcfg_option-opt2']    = 'Rāda "FullScreen" (pilns ekrāns) saiti';
    144143$lang['piclens_wallcfg_option-opt3']    = 'Rāda "Search" (meklēt) saiti';
  • extensions/piclens/language/zh_CN/plugin.lang.php

    r3908 r8780  
    126126$lang['piclens_wallcfg_disp_opt2']              = '分类';
    127127$lang['piclens_wallcfg_option']                 = 'Cooliris 3D wall 显示选项 :';
    128 $lang['piclens_wallcfg_option-opt1']    = '显示嵌入连接';
    129128$lang['piclens_wallcfg_option-opt2']    = '显示 "全屏" 连接';
    130129$lang['piclens_wallcfg_option-opt3']    = '显示 "查询" 连接';
  • extensions/piclens/main.inc.php

    r4308 r8780  
    22/*
    33 * Plugin Name: CoolIris-Piclens
    4  * Version: 0.4.2
     4 * Version: 0.4.3
    55 * Description: Cooliris/Piclens activation
    66 * Plugin URI: http://piwigo.org/ext/extension_view.php?eid=234
  • extensions/piclens/piclenswall.php

    r4127 r8780  
    4848                                'showembed'                             => ($this->my_config['piclens_wall_showembed'] ? "true" : "false"),
    4949                                'showsearch'                    => ($this->my_config['piclens_wall_showsearch'] ? "true" : "false"),
     50                                'showitemembed'                 => ($this->my_config['piclens_wall_showitemembed'] ? "true" : "false"),
     51                                'showlinkout'                   => ($this->my_config['piclens_wall_showlinkout'] ? "true" : "false"),
     52                                'showclose'                     => ($this->my_config['piclens_wall_showclose'] ? "true" : "false"),
    5053                                'transparent'                   => $this->my_config['piclens_wall_transparent'],
    5154                                'swf_link'                              => ($this->my_config['piclens_wall_swflocal'] ? $this->root_site_piclens.PICLENS_PATH.'swf/cooliris.swf' : 'http://apps.cooliris.com/embed/cooliris.swf'),
  • extensions/piclens/piclenswall.tpl

    r3614 r8780  
    88        <center>
    99        <object id="o" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
    10                 width="100%" height="{$height}" >
    11                         <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}" />
     10                width="100%" height="{$height}px" >
     11                        <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}" />
    1212                        <param name="allowFullScreen" value="{$showfullscreen}" />
    1313                        <param name="showEmbed" value="{$showembed}" />
    1414                        <param name="showSearch" value="{$showsearch}" />
     15                        <param name="showItemEmbed" value="{$showitemembed}" />
     16                        <param name="showLinkOut" value="{$showlinkout}" />
     17                        <param name="showClose" value="{$showclose}" />
    1518                        <param name="allowScriptAccess" value="always" />
    16             <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}" />
     19            <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}" />
    1720
    1821           
     
    2023                        <param name="wmode" value="transparent" />
    2124                        {/if}
    22                         <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}/>
     25                        <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}/>
    2326        </object>
    2427        </center>
Note: See TracChangeset for help on using the changeset viewer.