Dotclear

Changeset 614:851d5791c6d4 for themes


Ignore:
Timestamp:
07/22/11 10:16:53 (14 years ago)
Author:
Franck <carnet.franck.paul@…>
Branch:
themes
Message:

Ajout en premier choix du sticker Feed si aucun n'est enregistré

Location:
themes/ductile
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • themes/ductile/_config.php

    r613 r614  
    145145$ductile_stickers = @unserialize($ductile_stickers); 
    146146 
     147// If no stickers defined, add feed Atom one 
     148if (!is_array($ductile_stickers)) { 
     149     $ductile_stickers = array(array( 
     150          'label' => __('Subscribe'), 
     151          'url' => $core->blog->url.$core->url->getBase('feed').'/atom', 
     152          'image' => 'sticker-feed.png' 
     153          )); 
     154} 
     155 
    147156$ductile_stickers_full = array(); 
    148157// Get all sticker images already used 
  • themes/ductile/_define.php

    r613 r614  
    1414     /* Description*/         "Chantier pour un nouveau theme", 
    1515     /* Author */             "Dotclear Team", 
    16      /* Version */            '0.8.1' 
    17      /* Properties * (uncomment for 2.4 compliance only) 
     16     /* Version */            '0.9' 
     17     /* Properties (uncomment for 2.4 compliance only : add a / at the end of this line -> ) * 
    1818                                   ,array( 
    1919                                        'standalone_config' => true 
  • themes/ductile/_public.php

    r603 r614  
    130130 
    131131          if ($default || $res == '') { 
    132                $res = self::setSticker(1,true,__('Feed'),$core->blog->url.$core->url->getBase('feed').'/atom',$img_url.'sticker-feed.png'); 
     132               $res = self::setSticker(1,true,__('Subscribe'),$core->blog->url.$core->url->getBase('feed').'/atom',$img_url.'sticker-feed.png'); 
    133133          } 
    134134 
Note: See TracChangeset for help on using the changeset viewer.

Sites map