Changeset 359
- Timestamp:
- 03/19/08 18:01:01 (16 years ago)
- Location:
- plugins/carnaval
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/carnaval/edit.php
r328 r359 20 20 21 21 try { 22 $rs = $carnaval->getClass($id);22 $rs = dcCarnaval::getClass($id); 23 23 } catch (Exception $e) { 24 24 $core->error->add($e->getMessage()); … … 43 43 44 44 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); 46 46 http::redirect($p_url.'&edit=1&id='.$id.'&upd=1'); 47 47 } catch (Exception $e) { -
plugins/carnaval/index.php
r328 r359 17 17 if (!defined('DC_CONTEXT_ADMIN')) { exit; } 18 18 19 $carnaval = new dcCarnaval($core->blog);20 21 19 if (!empty($_REQUEST['edit']) && !empty($_REQUEST['id'])) { 22 20 include dirname(__FILE__).'/edit.php'; … … 36 34 37 35 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); 39 37 http::redirect($p_url.'&addclass=1'); 40 38 } catch (Exception $e) { … … 49 47 { 50 48 try { 51 $carnaval->delClass($v);49 dcCarnaval::delClass($v); 52 50 } catch (Exception $e) { 53 51 $core->error->add($e->getMessage()); … … 63 61 # Get CSS Classes 64 62 try { 65 $rs = $carnaval->getClasses();63 $rs = dcCarnaval::getClasses(); 66 64 } catch (Exception $e) { 67 65 $core->error->add($e->getMessage()); -
plugins/carnaval/locales/fr/main.po
r330 r359 62 62 msgstr "A propos" 63 63 64 msgid "You can personnalize the appearance of your comments and trackbacks in public part of your blog "64 msgid "You can personnalize the appearance of your comments and trackbacks in public part of your blog." 65 65 msgstr "Vous pouvez personnaliser l'apparence de certains commentaires et rétroliens de votre blog." 66 66 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."67 msgid "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." 68 68 msgstr "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." 69 69 70 msgid "The field \'Name\' is not used by this plugin."70 msgid "The field 'Name' is not used by this plugin." 71 71 msgstr "Le champ \"Nom\" n'est pas utilisé par le plugin." 72 72
Note: See TracChangeset
for help on using the changeset viewer.