Changeset 3536
- Timestamp:
- Jul 7, 2009, 12:19:26 AM (15 years ago)
- Location:
- extensions/piclens
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/piclens/admin/piclenswallconfig.php
r3410 r3536 22 22 if (isset($_POST['submit'])) { 23 23 $me->my_config['piclens_wall'] = isset($_POST['piclens_wall']); 24 $me->my_config['piclens_wall_title'] = $_POST['piclens_wall_title']; 24 25 $me->my_config['piclens_wall_color'] = $_POST['background_color']; 25 26 $me->my_config['piclens_wall_height'] = $_POST['piclens_wall_height']; … … 48 49 49 50 $me->my_config['piclens_wall_swflocal'] = isset($_POST['piclens_wall_swflocal']); 51 $me->my_config['piclens_wall_nb_ligne'] = $_POST['piclens_wall_nb_ligne']; 50 52 51 53 if ($pwgstuff_ok && $me->my_config['piclens_wall']) … … 141 143 'PICLENS_WALL_SPEC_BESTRATED' => ($me->my_config['piclens_wall_spec_bestrated'] ? 'checked="checked"' : '' ), 142 144 'PICLENS_WALL_SPEC_FAVORITES' => ($me->my_config['piclens_wall_spec_favorites'] ? 'checked="checked"' : '' ), 143 'PICLENS_WALL_SWFLOCAL' => ($me->my_config['piclens_wall_swflocal'] ? 'checked="checked"' : '' ) 145 'PICLENS_WALL_SWFLOCAL' => ($me->my_config['piclens_wall_swflocal'] ? 'checked="checked"' : '' ), 146 'PICLENS_WALL_NB_LIGNE' => $me->my_config['piclens_wall_nb_ligne'] 144 147 )); 145 148 -
extensions/piclens/admin/piclenswallconfig.tpl
r3410 r3536 102 102 <input type="checkbox" name="piclens_wall_transparent" {$PICLENS_WALL_TRANSPARENT}/> {'piclens_wallcfg_transparent'|@translate} 103 103 <br/> 104 {'piclens_wallcfg_nbligne'|@translate} <input type="text" size="2" maxlength="2" value="{$PICLENS_WALL_NB_LIGNE}" name="piclens_wall_nb_ligne"> 105 <br/> 104 106 </td> 105 107 </tr> -
extensions/piclens/admin/rssfeed.php
r3410 r3536 20 20 21 21 //$order_list = array('Defaut Piwigo', 'Date de Creation', 'Date d\'ajout', 'Note Moyenne', 'Plus vues', 'Nom du fichier', 'Id', 'Aléatoire', 'Catégories'); 22 $order_list = array(l10n('piclens_label_orderPiwigo'), l10n('piclens_label_orderCreDate'), l10n('piclens_label_orderAddDate'), l10n('piclens_label_order Rank'), l10n('piclens_label_orderBest'), l10n('piclens_label_orderName'), l10n('piclens_label_orderID'), l10n('piclens_label_orderRand'), l10n('piclens_label_orderCat'));22 $order_list = array(l10n('piclens_label_orderPiwigo'), l10n('piclens_label_orderCreDate'), l10n('piclens_label_orderAddDate'), l10n('piclens_label_orderAverage'), l10n('piclens_label_orderBest'), l10n('piclens_label_orderName'), l10n('piclens_label_orderID'), l10n('piclens_label_orderRand'), l10n('piclens_label_orderCat'), l10n('piclens_label_orderRank')); 23 23 //$sort_list = array('Defaut Piwigo', 'Croissant', 'Decroissant'); 24 24 $sort_list = array(l10n('piclens_label_sortPiwigo'), l10n('piclens_label_sortUp'), l10n('piclens_label_sortDown')); … … 29 29 $normal_list = array(l10n('piclens_label_TypeTN'), l10n('piclens_label_TypeNorm'), l10n('piclens_label_TypeHigh')); 30 30 //$nameformat_list = array('Nom vignette : taille', 'Nom vignette', 'Nom de l\'image'); 31 $nameformat_list = array(l10n('piclens_label_Name1'), l10n('piclens_label_Name2'), l10n('piclens_label_Name3') );31 $nameformat_list = array(l10n('piclens_label_Name1'), l10n('piclens_label_Name2'), l10n('piclens_label_Name3'), l10n('piclens_label_Name4')); 32 32 //$descformat_list = array('Rien', 'Nom de l\'image', 'Description de l\'image'); 33 33 $descformat_list = array(l10n('piclens_label_Desc1'), l10n('piclens_label_Desc2'), l10n('piclens_label_Desc3')); -
extensions/piclens/generate_rss.php
r3410 r3536 42 42 $thumb_secure = array('', '&thumb=1', ''); // correspondant a 1-->'miniature' et 2-->'normal' 43 43 $normal_secure = array('', '&thumb=1', '', '&highdef=1'); // correspondant a 1-->'miniature' et 2-->'normal' et 3 --> High 44 $order_list = array('', $conf['order_by_inside_category'], 'ORDER BY date_creation', 'ORDER BY date_available', 'ORDER BY average_rate', 'ORDER BY hit', 'ORDER BY file', 'ORDER BY id', 'ORDER BY RAND()', 'ORDER BY category_id' );44 $order_list = array('', $conf['order_by_inside_category'], 'ORDER BY date_creation', 'ORDER BY date_available', 'ORDER BY average_rate', 'ORDER BY hit', 'ORDER BY file', 'ORDER BY id', 'ORDER BY RAND()', 'ORDER BY category_id', 'ORDER BY category_id, rank '); 45 45 $order_sort = array('', '', ' ASC', ' DESC'); 46 46 … … 476 476 // Recuperation informations de la categorie (Present maintenant dans row['catname']) 477 477 //$catinfo = get_cat_info($row['category_id']); 478 479 480 // Extended description for the comment and category name 481 if ($plugins_ExtendedDesc) // Extended description compatibility 482 { 483 if (isset($row['catname'])) 484 $row['catname'] = trigger_event('render_element_description',$row['catname']); 485 if (isset($row['comment'])) 486 $row['comment'] = trigger_event('render_element_description',$row['comment']); 487 } 488 489 478 490 // Titre de l'image dans Piclens 479 491 switch($obj->my_config['piclens_name_image']) … … 496 508 . $row['file'] . "]]></title>\n"; 497 509 break; 510 case 4 : 511 // Rien 512 echo "<title></title>\n"; 513 break; 514 498 515 default : 499 516 // format nom fichier : taille … … 509 526 case 2 : 510 527 if (isset($row['name'])) 511 echo '<media:description type="html"><![CDATA['.$row['name'].']]> </media:description>';528 echo '<media:description type="html"><![CDATA['.$row['name'].']]> </media:description>'; 512 529 break; 513 530 case 3 : 514 531 if (isset($row['comment'])) 515 { 516 if ($plugins_ExtendedDesc) // Extended description compatibility 517 { 518 $desc=trigger_event('render_element_description',$row['comment']); 519 echo '<media:description type="html"><![CDATA['.$desc.']]> </media:description>'; 520 } 521 else 522 echo '<media:description type="html"><![CDATA['.$row['comment'].']]> </media:description>'; 523 524 } 532 echo '<media:description type="html"><![CDATA['.$row['comment'].']]> </media:description>'; 525 533 break; 526 534 default : -
extensions/piclens/include/default_values.inc.php
r3410 r3536 62 62 63 63 $piclens_default_values['piclens_wall_swflocal'] = false; // Flash swf local utilise pour le mur 3D (pas besoin du fichier crossdomain.xml mais pas de MAJ automatique du flash) 64 64 $piclens_default_values['piclens_wall_nb_ligne'] = "3"; 65 65 66 66 ?> -
extensions/piclens/language/en_UK/plugin.lang.php
r3410 r3536 86 86 $lang['piclens_label_orderCreDate'] = 'Create date'; 87 87 $lang['piclens_label_orderAddDate'] = 'Add Date'; 88 $lang['piclens_label_order Rank']= 'Average rate';88 $lang['piclens_label_orderAverage'] = 'Average rate'; 89 89 $lang['piclens_label_orderBest'] = 'Best hit'; 90 90 $lang['piclens_label_orderName'] = 'File name'; … … 92 92 $lang['piclens_label_orderRand'] = 'Random'; 93 93 $lang['piclens_label_orderCat'] = 'Category'; 94 $lang['piclens_label_orderRank'] = 'Rank'; 94 95 95 96 $lang['piclens_label_sortHome'] = 'Piclens on Home'; … … 107 108 $lang['piclens_label_Name2'] = 'Thumbnail name'; 108 109 $lang['piclens_label_Name3'] = 'Picture name'; 110 $lang['piclens_label_Name4'] = 'Nothing'; 109 111 110 112 $lang['piclens_label_Desc1'] = 'Nothing'; … … 139 141 $lang['piclens_wallcfg_swflocal'] = '[Optional] Using the local flash file (swf) for the 3DWall instead of the Cooliris site <b>[In this case, the crossdomain.xml file is not needed]</b>'; 140 142 143 $lang['piclens_wallcfg_nbligne'] = 'Number of row display on the wall '; 144 141 145 $lang['piclens_wallcfg_cat'] = ' Categories included in the Cooliris 3D wall (when parameter \'specific\') :'; 142 146 -
extensions/piclens/language/fr_FR/plugin.lang.php
r3410 r3536 87 87 $lang['piclens_label_orderCreDate'] = 'Date de Creation'; 88 88 $lang['piclens_label_orderAddDate'] = 'Date d\'ajout'; 89 $lang['piclens_label_order Rank']= 'Note Moyenne';89 $lang['piclens_label_orderAverage'] = 'Note Moyenne'; 90 90 $lang['piclens_label_orderBest'] = 'Plus vues'; 91 91 $lang['piclens_label_orderName'] = 'Nom du fichier'; … … 93 93 $lang['piclens_label_orderRand'] = 'Aléatoire'; 94 94 $lang['piclens_label_orderCat'] = 'Catégories'; 95 $lang['piclens_label_orderRank'] = 'Rang'; 95 96 96 97 $lang['piclens_label_sortHome'] = 'Piclens sur Accueil'; … … 108 109 $lang['piclens_label_Name2'] = 'Nom vignette'; 109 110 $lang['piclens_label_Name3'] = 'Nom de l\'image'; 111 $lang['piclens_label_Name4'] = 'Rien'; 110 112 111 113 $lang['piclens_label_Desc1'] = 'Rien'; … … 140 142 $lang['piclens_wallcfg_swflocal'] = '[Optionel] Utilisation du fichier flash (swf) local pour le mur 3D au lieu du site Cooliris <b>[Dans ce cas, pas besoin de fichier crossdomain.xml]</b>'; 141 143 144 $lang['piclens_wallcfg_nbligne'] = 'Nombre de ligne affichées du mur '; 145 142 146 $lang['piclens_wallcfg_cat'] = 'Catégories prises en comte dans le mur 3D Cooliris (si paramètre \'spécifique\') :'; 143 147 -
extensions/piclens/language/zh_CN/plugin.lang.php
r3410 r3536 86 86 $lang['piclens_label_orderCreDate'] = '创建日期'; 87 87 $lang['piclens_label_orderAddDate'] = '添加日期'; 88 $lang['piclens_label_order Rank'] = '评分平均值';88 $lang['piclens_label_orderAverage'] = '评分平均值'; 89 89 $lang['piclens_label_orderBest'] = '最高点击数'; 90 90 $lang['piclens_label_orderName'] = '文件名'; … … 92 92 $lang['piclens_label_orderRand'] = '随机'; 93 93 $lang['piclens_label_orderCat'] = '分类'; 94 $lang['piclens_label_orderRank'] = '评分平均值'; 94 95 95 96 $lang['piclens_label_sortHome'] = '首页的 Piclens'; … … 102 103 $lang['piclens_label_TypeTN'] = '缩略图'; 103 104 $lang['piclens_label_TypeNorm'] = '正常'; 104 $lang['piclens_label_TypeHigh'] = ' 高级';105 $lang['piclens_label_TypeHigh'] = '清淅'; 105 106 106 107 $lang['piclens_label_Name1'] = '缩略图名称 : 大小'; 107 108 $lang['piclens_label_Name2'] = '缩略图名称'; 108 109 $lang['piclens_label_Name3'] = '图片名称'; 110 $lang['piclens_label_Name4'] = '不显示'; 109 111 110 112 $lang['piclens_label_Desc1'] = '不显示'; … … 144 146 145 147 $lang['piclens_label_crossdomain1'] = '<i> <u>crossdomain.xml</u> 文件已经存在于网站的根目录, 如果需要可以手工修改此文件</i>'; 146 $lang['piclens_label_crossdomain2'] = ' 币制 crossdomain.xml 文件到网站的根目录';148 $lang['piclens_label_crossdomain2'] = '复制 crossdomain.xml 文件到网站的根目录'; 147 149 148 150 $lang['piclens_label_pwgstuff1'] = '<u>注意 :</u> <b>选项不可用, 因为 PWG_Stuff 插件已安装了 (查看 PWG_Stuff 里的选项). 可在那里改变某些设置.</b>'; -
extensions/piclens/main.inc.php
r3410 r3536 2 2 /* 3 3 * Plugin Name: CoolIris-Piclens 4 * Version: 0.3. 44 * Version: 0.3.5 5 5 * Description: Cooliris/Piclens activation 6 6 * Plugin URI: http://fr.piwigo.org/ext/extension_view.php?eid=234 … … 64 64 /* Ajout fonction sauvegarde et restauration des fichier de configuration (utile pour la migration) */ 65 65 /* Ajout traduction chinoise (thanks Winson) */ 66 /* 0.3.5 --> Ajout integration balises Extended Description dans le nom des categories */ 67 /* Correction dans la traduction chinoise simplifiée */ 68 /* Correction page admin : titre mur 3D non sauvegarde*/ 69 /* Ajout parametre nombre lignes pour le mur 3D embeded*/ 70 /* Ajout possibilité de ne pas afficher de titre sous les images*/ 71 /* Ajout/correction tri par rang de l'image*/ 72 66 73 67 74 68 75 /********* TODO *********/ 76 //- Ajouter un onglet en page d'admin pour tous les parametres du mur embeded (http://developer.cooliris.com/?p=embed/flash) 77 //- Tri par rang 69 78 //- possibilite d'afficher les derniers commentaires des images dans piclens 70 79 -
extensions/piclens/piclenswall.php
r3410 r3536 61 61 'showsearch' => ($this->my_config['piclens_wall_showsearch'] ? "true" : "false"), 62 62 'transparent' => $this->my_config['piclens_wall_transparent'], 63 'swf_link' => ($this->my_config['piclens_wall_swflocal'] ? $this->root_site_piclens.PICLENS_PATH.'swf/cooliris.swf' : 'http://apps.cooliris.com/embed/cooliris.swf') 63 'swf_link' => ($this->my_config['piclens_wall_swflocal'] ? $this->root_site_piclens.PICLENS_PATH.'swf/cooliris.swf' : 'http://apps.cooliris.com/embed/cooliris.swf'), 64 'nbligne' => $this->my_config['piclens_wall_nb_ligne'] 64 65 )); 65 66 -
extensions/piclens/piclenswall.tpl
r3410 r3536 9 9 <object id="o" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" 10 10 width="100%" height="{$height}" > 11 <param name="movie" value="{$swf_link}?feed={$rssfeed}&style={$color}& showEmbed={$showembed}&showFullScreen={$showfullscreen}&showSearch={$showsearch}" />11 <param name="movie" value="{$swf_link}?feed={$rssfeed}&style={$color}&numRows={$nbligne}&showEmbed={$showembed}&showFullScreen={$showfullscreen}&showSearch={$showsearch}" /> 12 12 <param name="allowFullScreen" value="{$showfullscreen}" /> 13 13 <param name="showEmbed" value="{$showembed}" /> 14 14 <param name="showSearch" value="{$showsearch}" /> 15 15 <param name="allowScriptAccess" value="always" /> 16 <param name="flashvars" value="feed=api://www.flickr.com/&style={$color}&numRows={$nbligne}" /> 17 16 18 {if $transparent} 17 19 <param name="wmode" value="transparent" /> 18 20 {/if} 19 <embed {if $transparent}WMODE="transparent" {/if} type="application/x-shockwave-flash" src="{$swf_link}?feed={$rssfeed}&style={$color}& showEmbed={$showembed}&showFullScreen={$showfullscreen}&showSearch={$showsearch}" width="100%" height="{$height}" showEmbed="{$showembed}" showSearch="{$showsearch}" allowFullScreen="{$showfullscreen}" allowScriptAccess="always"/>21 <embed {if $transparent}WMODE="transparent" {/if} type="application/x-shockwave-flash" src="{$swf_link}?feed={$rssfeed}&style={$color}&numRows={$nbligne}&showEmbed={$showembed}&showFullScreen={$showfullscreen}&showSearch={$showsearch}" width="100%" height="{$height}" showEmbed="{$showembed}" showSearch="{$showsearch}" allowFullScreen="{$showfullscreen}" allowScriptAccess="always" style="{$color}" numRows="{$nbligne}"/> 20 22 </object> 21 23 </center>
Note: See TracChangeset
for help on using the changeset viewer.