my_config['piclens_wall_ontop'] ) $rssfeed = $this->root_site_piclens.PICLENS_PATH.'piclenswall-rss.php?/categories'; // categorie et option mur sur categorie activee elseif (isset($page['category']) && !empty($page['category']['id']) && $this->my_config['piclens_wall_oncat']) { // remplacement naviagation ne doit pas etre active et mis en place sur la page... if (!($this->my_config['piclens_wall_nav']) or !(in_array($page['category']['id'], $this->my_config['piclens_wall_cat_nav_replace']))) { $rssfeed = $this->root_site_piclens.PICLENS_PATH; if ($this->my_config['piclens_wall_specif'] == 'common') // pas de specificites 3DWall : utilisation des parametres piclens $rssfeed .= 'piclens-rss.php?/category/'.(empty($page['category']['permalink']) ? $page['category']['id'] : $page['category']['permalink']); else { // categorie pour laquelle le mur est parametre. if (in_array($page['category']['id'], $this->my_config['piclens_wall_categories'])) $rssfeed .= 'piclenswall-rss.php?/category/'.(empty($page['category']['permalink']) ? $page['category']['id'] : $page['category']['permalink']); } } } $template->set_filenames(array('piclenswall' => PICLENS_ROOT . '/piclenswall.tpl')); $template->assign(array( 'piclenswalltitle' => $this->my_config['piclens_wall_title'], 'rssfeed' => isset($rssfeed) ? $rssfeed : "", 'color' => $this->my_config['piclens_wall_color'], 'height' => $this->my_config['piclens_wall_height'], 'showfullscreen' => ($this->my_config['piclens_wall_showfullscreen'] ? "true" : "false"), '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'), 'nbligne' => (isset($this->my_config['piclens_wall_nb_ligne']) ? $this->my_config['piclens_wall_nb_ligne'] : "3"), 'showChrome' => ($this->my_config['piclens_wall_showChrome'] ? "true" : "false"), 'showDescription' => ($this->my_config['piclens_wall_showDescription'] ? "true" : "false"), 'showReflections' => ($this->my_config['piclens_wall_showReflections'] ? "true" : "false"), 'showTutorial' => ($this->my_config['piclens_wall_showTutorial'] ? "true" : "false"), 'showNavArrows' => ($this->my_config['piclens_wall_showNavArrows'] ? "true" : "false"), 'backgroundAlpha' => isset($this->my_config['piclens_wall_backgroundAlpha']) ? $this->my_config['piclens_wall_backgroundAlpha'] : "1.0", 'backgroundColor' => str_replace('#', '%23', $this->my_config['piclens_wall_backgroundColor']), 'glowColor' => str_replace('#', '%23', $this->my_config['piclens_wall_glowColor']), 'descriptionHeight' => $this->my_config['piclens_wall_descriptionHeight'], 'tilt' => $this->my_config['piclens_wall_tilt'], )); if (!empty($this->my_config['piclens_wall_backgroundImage'])) $template->assign(array( 'backgroundImage' => $this->my_config['piclens_wall_backgroundImage'])); if (!empty($this->my_config['piclens_wall_tutorial'])) $template->assign(array( 'tutorial' => (empty($this->my_config['piclens_wall_tutorialtime']) ? "4500" : $this->my_config['piclens_wall_tutorialtime']).','.$this->my_config['piclens_wall_tutorial'])); if (!empty($this->my_config['piclens_wall_customButtonURL'])) $template->assign(array( 'customButton' => $this->my_config['piclens_wall_customButtonURL'].(empty($this->my_config['piclens_wall_customButtonTARGET']) ? ','.PICLENS_PATH : ','.$this->my_config['piclens_wall_customButtonTARGET']))); if (!empty($this->my_config['piclens_wall_icons'])) $template->assign(array( 'icons' => $this->my_config['piclens_wall_icons'])); if (!empty($this->my_config['piclens_wall_linkCSS'])) $template->assign(array( 'linkCSS' => $this->my_config['piclens_wall_linkCSS'])); if (isset($rssfeed)) $template->concat('PLUGIN_INDEX_CONTENT_AFTER', $template->parse('piclenswall', true)); } } ?>