Changeset 3536 for extensions/piclens/generate_rss.php
- Timestamp:
- Jul 7, 2009, 12:19:26 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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 :
Note: See TracChangeset
for help on using the changeset viewer.