Dotclear

Changeset 1180:1c547c5dbec6


Ignore:
Timestamp:
07/14/13 10:58:15 (12 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

Add direct access to daInstaller extension if installed. Thank's insy for suggestion and patch

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • admin/plugins.php

    r1179 r1180  
    226226'Here you can activate or deactivate installed plugins.').'</p>'; 
    227227 
    228 echo '<p><strong>'.sprintf(__('You can find additional plugins for your blog on %s.'), 
    229 '<a href="http://plugins.dotaddict.org/dc2/">Dotaddict</a>').'</strong> '; 
     228echo (!$core->plugins->moduleExists('daInstaller') ? 
     229     sprintf('<p><strong>'.__('You can find additional plugins for your blog on %s.').'</strong></p>', 
     230          '<a href="http://plugins.dotaddict.org/dc2/">Dotaddict</a>') : 
     231     sprintf('<p><strong>'.__('You can find additional plugins for your blog on %s or using the %s.').'</strong></p>', 
     232          '<a href="http://plugins.dotaddict.org/dc2/">Dotaddict</a>', 
     233          '<a href="plugin.php?p=daInstaller">'.__('DotAddict.org Installer').'</a>')); 
    230234 
    231235if ($is_writable) { 
  • locales/fr/main.po

    r1102 r1180  
    14741474msgstr "Vous pouvez trouver de nouvelles extensions pour votre blog sur %s." 
    14751475 
     1476msgid "You can find additional plugins for your blog on %s or using the %s." 
     1477msgstr "Vous pouvez trouver de nouvelles extensions pour votre blog sur %s ou en utilisant l'%s." 
     1478 
    14761479msgid "To install or upgrade a plugin you generally just need to upload it in \"Install or upgrade a plugin\" section." 
    14771480msgstr "Tout ce que vous avez à faire pour installer ou mettre à jour une extension est généralement de la déposer dans la section \"Installer ou mettre à jour une extension\"." 
Note: See TracChangeset for help on using the changeset viewer.

Sites map