Changeset 3649 for extensions/piclens
- Timestamp:
- Jul 21, 2009, 12:32:37 AM (15 years ago)
- Location:
- extensions/piclens
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/piclens/CHANGELOG
r3647 r3649 14 14 Nettoyage code (entête et code) 15 15 Migration depuis 0.3.x : Récupération et conversion des anciens paramètres noms et descriptions 16 et Désinstallation ==> suppression des paramètres dans la base 17 Ajout personnalisation icone du flux dans cooliris 18 16 19 17 20 Version 0.3.x -
extensions/piclens/admin/rssfeed.php
r3647 r3649 54 54 $me->my_config['piclens_maxcomment_nb'] = $_POST['piclens_maxcomment_nb']; 55 55 56 57 56 $me->my_config['piclens_rss_icon'] = $_POST['piclens_rss_icon']; 57 58 58 59 59 $me->save_config(); … … 138 138 'PICLENS_VIDEO' => $me->my_config['piclens_video'] ? 'checked="checked"' : '', 139 139 'PICLENS_CAT_VIEW' => $me->my_config['piclens_cat_view'] ? 'checked="checked"' : '', 140 'PICLENS_RSS_NAME' => $me->my_config['piclens_rss_name'],141 'PICLENS_RSS_DESC' => $me->my_config['piclens_rss_desc'],140 'PICLENS_RSS_NAME' => $me->my_config['piclens_rss_name'], 141 'PICLENS_RSS_DESC' => $me->my_config['piclens_rss_desc'], 142 142 'PICLENS_EXCLUDE_DOUBLE' => $me->my_config['piclens_exclude_double'] ? 'checked="checked"' : '', 143 143 'PICLENS_MAXCOMMENT_NB' => $me->my_config['piclens_maxcomment_nb'], 144 'PICLENS_RSS_ICON' => $me->my_config['piclens_rss_icon'], 144 145 )); 145 146 -
extensions/piclens/admin/rssfeed.tpl
r3645 r3649 226 226 <table> 227 227 <tr> 228 <td>{'piclens_rsscfg_name'|@translate} </td>228 <td>{'piclens_rsscfg_name'|@translate} :</td> 229 229 <td><input type="text" size="65" maxlength="255" value="{$PICLENS_RSS_NAME}" name="piclens_rss_name" /></td> 230 230 </tr> 231 232 <td>{'piclens_rsscfg_desc'|@translate} </td>231 <tr> 232 <td>{'piclens_rsscfg_desc'|@translate} :</td> 233 233 <td><input type="text" size="65" maxlength="255" value="{$PICLENS_RSS_DESC}" name="piclens_rss_desc" /></td> 234 234 </tr> … … 236 236 </table> 237 237 </fieldset> 238 239 <fieldset> 240 <table> 241 <tr> 242 <td>{'piclens_rss_icon'|@translate} :</td> 243 <td><input type="text" size="65" maxlength="255" value="{$PICLENS_RSS_ICON}" name="piclens_rss_icon" /></td> 244 </tr> 245 246 247 </table> 248 </fieldset> 238 249 239 250 <p><input type="submit" name="submit" value="{'piclens_admin_submit'|@translate}" /></p> -
extensions/piclens/generate_rss.php
r3647 r3649 379 379 echo "\n"; 380 380 381 382 381 383 // <!-- <title>test Page</title> --> 382 384 echo '<link>'.$obj->root_site_piclens.'</link>'; … … 399 401 // Icone de la gallerie dans le flux RSS 400 402 echo "\n"; 401 echo '<atom:icon>'.$obj->root_site_piclens.'template-common/favicon.ico</atom:icon>'; 402 echo "\n"; 403 echo '<atom:icon>' 404 .(strlen($obj->my_config['piclens_rss_icon']) 405 ? $obj->my_config['piclens_rss_icon'] 406 : $obj->root_site_piclens.'template-common/favicon.ico') 407 .'</atom:icon>'; 408 echo "\n"; 409 403 410 404 411 // Pour chacune des images, preparation du flux xml … … 510 517 ."]]></title>\n"; 511 518 519 // not media:description for normal piclens to show description 520 echo '<description><![CDATA[' 521 .parse($obj->my_config['piclens_rss_desc'], $row, $plugins_ExtendedDesc, $obj->my_config['piclens_maxcomment_nb']) 522 .']]> </description>'; 512 523 513 524 echo '<media:description type="html"><![CDATA[' 514 525 .parse($obj->my_config['piclens_rss_desc'], $row, $plugins_ExtendedDesc, $obj->my_config['piclens_maxcomment_nb']) 515 526 .']]> </media:description>'; 516 527 528 517 529 /* 518 530 // Extended description for the comment and category name -
extensions/piclens/include/Piclens.class.php
r3645 r3649 321 321 if(is_string($row[0])) 322 322 { 323 $this->my_config = unserialize($row[0]); 323 // $this->my_config = unserialize($row[0]); 324 $this->my_config = unserialize(($row[0])); 324 325 } 325 326 } … … 368 369 VALUES( 369 370 \''.PICLENS_CFG_DB.'\', 370 \''. serialize($this->my_config).'\',371 \''.(serialize($this->my_config)).'\', 371 372 \'Configuration de Piclens\') 372 373 ;'; -
extensions/piclens/include/default_values.inc.php
r3645 r3649 85 85 $piclens_default_values['piclens_exclude_double'] = false; // Suppression des doublons 86 86 $piclens_default_values['piclens_maxcomment_nb'] = 1; // derniers commentaires 87 $piclens_default_values['piclens_rss_icon'] = ""; 87 88 ?> -
extensions/piclens/language/en_UK/plugin.lang.php
r3645 r3649 207 207 $lang['piclens_tags_label'] = 'Tags'; 208 208 $lang['piclens_rsscfg_exclude_double'] = 'Suppress double picture in the feed (same path)'; 209 209 $lang['piclens_rss_icon'] = 'URL for Cooliris feed Icon'; 210 210 ?> -
extensions/piclens/language/es_ES/plugin.lang.php
r3645 r3649 213 213 $lang['piclens_tags_label'] = 'Tags'; 214 214 $lang['piclens_rsscfg_exclude_double'] = 'Supresión de los doblones de imagen en el flujo (el mismo repertorio de acceso)'; 215 216 215 $lang['piclens_rss_icon'] = 'URL de la alimentación en el icono de Cooliris'; 217 216 ?> -
extensions/piclens/language/fr_FR/plugin.lang.php
r3645 r3649 209 209 $lang['piclens_tags_label'] = 'Tags'; 210 210 $lang['piclens_rsscfg_exclude_double'] = 'Suppression des doublons d\'image dans le flux (même répertoire d\'accès)'; 211 $lang['piclens_rss_icon'] = 'URL de l\'icone du flux dans Cooliris'; 211 212 ?> -
extensions/piclens/language/zh_CN/plugin.lang.php
r3645 r3649 207 207 $lang['piclens_tags_label'] = '标签'; 208 208 $lang['piclens_rsscfg_exclude_double'] = '在RSS订阅里禁止重复图片 (相同的路径)'; 209 210 209 //TO DO 210 $lang['piclens_rss_icon'] = 'URL for Cooliris feed Icon'; 211 211 ?> -
extensions/piclens/maintain.inc.php
r3645 r3649 39 39 function plugin_uninstall() 40 40 { 41 42 $query = ' 43 DELETE FROM '.CONFIG_TABLE.' 44 WHERE param = \''.basename(dirname(__FILE__)).'\' 45 ;'; 46 47 pwg_query($query); 48 41 49 } 42 50
Note: See TracChangeset
for help on using the changeset viewer.