Dotclear

Changeset 359


Ignore:
Timestamp:
03/19/08 18:01:01 (16 years ago)
Author:
sacha
Message:

Carnaval - static calls in admin, i10n fixes

Location:
plugins/carnaval
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • plugins/carnaval/edit.php

    r328 r359  
    2020 
    2121try { 
    22      $rs = $carnaval->getClass($id); 
     22     $rs = dcCarnaval::getClass($id); 
    2323} catch (Exception $e) { 
    2424     $core->error->add($e->getMessage()); 
     
    4343      
    4444     try { 
    45           $carnaval->updateClass($id,$comment_author,$comment_author_mail,$comment_author_site,$comment_class); 
     45          dcCarnaval::updateClass($id,$comment_author,$comment_author_mail,$comment_author_site,$comment_class); 
    4646          http::redirect($p_url.'&edit=1&id='.$id.'&upd=1'); 
    4747     } catch (Exception $e) { 
  • plugins/carnaval/index.php

    r328 r359  
    1717if (!defined('DC_CONTEXT_ADMIN')) { exit; } 
    1818 
    19 $carnaval = new dcCarnaval($core->blog); 
    20  
    2119if (!empty($_REQUEST['edit']) && !empty($_REQUEST['id'])) { 
    2220     include dirname(__FILE__).'/edit.php'; 
     
    3634      
    3735     try { 
    38           $carnaval->addClass($comment_author,$comment_author_mail,$comment_author_site,$comment_class); 
     36          dcCarnaval::addClass($comment_author,$comment_author_mail,$comment_author_site,$comment_class); 
    3937          http::redirect($p_url.'&addclass=1'); 
    4038     } catch (Exception $e) { 
     
    4947     { 
    5048          try { 
    51                $carnaval->delClass($v); 
     49               dcCarnaval::delClass($v); 
    5250          } catch (Exception $e) { 
    5351               $core->error->add($e->getMessage()); 
     
    6361# Get CSS Classes 
    6462try { 
    65      $rs = $carnaval->getClasses(); 
     63     $rs = dcCarnaval::getClasses(); 
    6664} catch (Exception $e) { 
    6765     $core->error->add($e->getMessage()); 
  • plugins/carnaval/locales/fr/main.po

    r330 r359  
    6262msgstr "A propos" 
    6363 
    64 msgid "You can personnalize the appearance of your comments and trackbacks in public part of your blog" 
     64msgid "You can personnalize the appearance of your comments and trackbacks in public part of your blog." 
    6565msgstr "Vous pouvez personnaliser l'apparence de certains commentaires et rétroliens de votre blog." 
    6666 
    67 msgid "ou have only to link a e-mail or a web site adress with a CSS class. Don't forget to add rules in CSS stylesheet of your theme." 
     67msgid "You have only to link a e-mail or a web site adress with a CSS class. Don't forget to add rules in CSS stylesheet of your theme." 
    6868msgstr "Il suffit d'associer à une adresse de courriel ou d'un site web une classe CSS. Penser également à ajouter de nouvelles règles dans la feuille de style de votre thème." 
    6969 
    70 msgid "The field \'Name\' is not used by this plugin." 
     70msgid "The field 'Name' is not used by this plugin." 
    7171msgstr "Le champ \"Nom\" n'est pas utilisé par le plugin." 
    7272 
Note: See TracChangeset for help on using the changeset viewer.

Sites map