Dotclear

Changeset 1812


Ignore:
Timestamp:
10/29/09 16:38:25 (14 years ago)
Author:
philippe
Message:

added post title display

Location:
plugins/lastImages
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • plugins/lastImages/_define.php

    r1704 r1812  
    1515     /* Description*/         "Display images from posts with different image sizes. Can be randomly chosen and/or filtered by category.", 
    1616     /* Author */        "Philippe", 
    17      /* Version */            '1.3', 
     17     /* Version */            '1.4', 
    1818     /* Permissions */        'usage,contentadmin' 
    1919); 
  • plugins/lastImages/_public.php

    r1704 r1812  
    125125                         $ret .= '<div class="img-box">'."\n";                   
    126126                         $ret .= '    <div class="img-thumbnail"><a title="'.$rsp->post_title.'" href="'.$full_url.'">'.$img_thumb.'</a></div>'."\n"; 
     127                         if ($w->post_title == '1') { 
     128                              $ret .= '    <div class="img-name"><a title="Voir : '.$rsp->post_title.'" href="'.$full_url.'" class="infos">'.$rsp->post_title.'</a></div>'."\n"; 
     129                         } 
    127130                         $ret .= '</div>'."\n"; 
    128131                          
  • plugins/lastImages/_widget.php

    r1704 r1812  
    2828          $w->lastImages->setting('selected',__('Selected posts'),0,'check'); 
    2929          $w->lastImages->setting('random',__('Random sort'),0,'check'); 
     30          $w->lastImages->setting('post_title',__('Display post title'),0,'check'); 
    3031           
    3132          $w->lastImages->setting('size',__('Image size'),1,'combo', 
  • plugins/lastImages/locales/fr/main.po

    r1707 r1812  
    1 msgid "" 
    2 msgstr "" 
    3 "Project-Id-Version: \n" 
    4 "POT-Creation-Date: \n" 
    5 "PO-Revision-Date: \n" 
    6 "Last-Translator: Kozlika <kozlika@free.fr>\n" 
    7 "Language-Team: \n" 
    8 "MIME-Version: 1.0\n" 
    9 "Content-Type: text/plain; charset=iso-8859-1\n" 
    10 "Content-Transfer-Encoding: 8bit\n" 
    11  
    121msgid "Last images" 
    132msgstr "Dernières images" 
     
    2514msgstr "Billets sélectionnés" 
    2615 
     16msgid "Display post title" 
     17msgstr "Afficher le titre des billets" 
Note: See TracChangeset for help on using the changeset viewer.

Sites map