Changeset 3908


Ignore:
Timestamp:
09/23/09 00:08:02 (10 years ago)
Author:
tiico
Message:

New feature (bug 001169) : add title on rss (optional)
TRANSLATION INTO ES,IT,ZH NEED TO BE DONE

Location:
extensions/piclens
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • extensions/piclens/admin/rssfeed.php

    r3708 r3908  
    5555     
    5656  $me->my_config['piclens_rss_icon'] = $_POST['piclens_rss_icon']; 
     57  $me->my_config['piclens_rss_title'] = $_POST['piclens_rss_title']; 
    5758     
    5859     
     
    143144        'PICLENS_MAXCOMMENT_NB'         => $me->my_config['piclens_maxcomment_nb'], 
    144145        'PICLENS_RSS_ICON'      =>   $me->my_config['piclens_rss_icon'], 
     146        'PICLENS_RSS_TITLE'     =>   $me->my_config['piclens_rss_title'], 
    145147        )); 
    146148 
  • extensions/piclens/admin/rssfeed.tpl

    r3708 r3908  
    247247        <td><input type="text" size="65" maxlength="255" value="{$PICLENS_RSS_ICON}" name="piclens_rss_icon" /></td> 
    248248    </tr> 
     249    <tr> 
     250        <td>{'piclens_rss_title'|@translate}&nbsp;:</td> 
     251        <td><input type="text" size="65" maxlength="255" value="{$PICLENS_RSS_TITLE}" name="piclens_rss_title" /></td> 
     252    </tr> 
    249253     
    250254 
  • extensions/piclens/generate_rss.php

    r3901 r3908  
    400400                         .'xmlns:atom="http://www.w3.org/2005/Atom">'; 
    401401                echo "\n"; 
     402        if (strlen($obj->my_config['piclens_rss_title'])) 
     403        { 
     404            echo '<title>'.$obj->my_config['piclens_rss_title'].'</title>'; 
     405            echo "\n";             
     406        } 
    402407                echo '<channel>'; 
    403408                echo "\n"; 
  • extensions/piclens/include/default_values.inc.php

    r3649 r3908  
    8686$piclens_default_values['piclens_maxcomment_nb']        = 1;    // derniers commentaires 
    8787$piclens_default_values['piclens_rss_icon'] = ""; 
     88$piclens_default_values['piclens_rss_title'] = ""; 
    8889?> 
  • extensions/piclens/language/en_UK/plugin.lang.php

    r3708 r3908  
    211211$lang['SelectedCat']            = 'Selected Categories'; 
    212212$lang['NonSelectedCat']         = 'Categories not selected'; 
     213 
     214$lang['piclens_rss_title']              = 'Title of the RSS flow <i>(blank for no use)</i>'; 
    213215?> 
  • extensions/piclens/language/es_ES/plugin.lang.php

    r3708 r3908  
    217217$lang['SelectedCat']            = 'Categorías seleccionadas'; 
    218218$lang['NonSelectedCat']         = 'Categorías no seleccionados'; 
     219 
     220// TO TRANSLATE 
     221$lang['piclens_rss_title']              = 'Title of the RSS flow <i>(blank for no use)</i>'; 
    219222?> 
  • extensions/piclens/language/fr_FR/plugin.lang.php

    r3708 r3908  
    213213$lang['SelectedCat']            = 'Catégories sélectionnées'; 
    214214$lang['NonSelectedCat']         = 'Catégories non sélectionnées'; 
     215 
     216$lang['piclens_rss_title']              = 'Nom du flux RSS généré <i>(vide pour ne pas l\'afficher)</i>'; 
    215217?> 
  • extensions/piclens/language/it_IT/plugin.lang.php

    r3786 r3908  
    213213$lang['SelectedCat']            = 'Categorie selezionate'; 
    214214$lang['NonSelectedCat']         = 'Categorie non selezionate'; 
     215 
     216// TO TRANSLATE 
     217$lang['piclens_rss_title']              = 'Title of the RSS flow <i>(blank for no use)</i>'; 
    215218?> 
  • extensions/piclens/language/zh_CN/plugin.lang.php

    r3708 r3908  
    211211$lang['SelectedCat']            = '选择类别'; 
    212212$lang['NonSelectedCat']         = '类别未选中'; 
     213 
     214// TO TRANSLATE 
     215$lang['piclens_rss_title']              = 'Title of the RSS flow <i>(blank for no use)</i>'; 
    213216?> 
Note: See TracChangeset for help on using the changeset viewer.