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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.'"':'')
Note: See TracChangeset for help on using the changeset viewer.