Changeset 743
- Timestamp:
- 02/04/09 01:49:14 (14 years ago)
- Location:
- plugins/dctribune
- Files:
-
- 3 added
- 1 deleted
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/dctribune/_admin.php
r582 r743 19 19 # 20 20 # ***** END LICENSE BLOCK ***** 21 /* 22 if (isset($__dashboard_icons) && $core->auth->check('tribune',$core->blog->id)) { 23 $__dashboard_icons[] = array(__('Tribune Libre'),'plugin.php?p=tribune','index.php?pf=tribune/icon.png'); 24 } 25 */ 21 if (!defined('DC_CONTEXT_ADMIN')) { return; } 26 22 27 $_menu['Plugins']->addItem('Tribune Libre','plugin.php?p=tribune','index.php?pf=tribune/icon-small.png', 28 preg_match('/plugin.php\?p=tribune(&.*)?$/',$_SERVER['REQUEST_URI']), 29 $core->auth->check('usage,contentadmin',$core->blog->id)); 30 31 $core->auth->setPermissionType('tribune',__('manage tribune')); 32 33 require dirname(__FILE__).'/_widgets.php'; 23 $_menu['Plugins']->addItem(__('Free chatbox'), 24 'plugin.php?p=dctribune','index.php?pf=dctribune/icon-small.png', 25 preg_match('/plugin.php\?p=dctribune(&.*)?$/',$_SERVER['REQUEST_URI']), 26 $core->auth->check('usage,contentadmin',$core->blog->id)); 34 27 ?> -
plugins/dctribune/_define.php
r582 r743 19 19 # 20 20 # ***** END LICENSE BLOCK ***** 21 if (!defined('DC_RC_PATH')) { return; } 22 21 23 $this->registerModule( 22 /* Name */ "Tribune Libre",23 /* Description*/ "Small chat for your blog",24 /* Author */ "Antoine Libert",25 /* Version */ ' 2.5.2',26 /* Permissions */ ' tribune'24 /* Name */ 'Tribune Libre', 25 /* Description*/ 'Small chat for your blog', 26 /* Author */ 'Antoine Libert, Osku', 27 /* Version */ '0.3', 28 /* Permissions */ 'contentadmin' 27 29 ); 28 30 ?> -
plugins/dctribune/_install.php
r582 r743 21 21 if (!defined('DC_CONTEXT_ADMIN')) { exit; } 22 22 23 $version = $core->plugins->moduleInfo(' tribune','version');23 $version = $core->plugins->moduleInfo('dctribune','version'); 24 24 25 if (version_compare($core->getVersion(' tribune'),$version,'>=')) {25 if (version_compare($core->getVersion('dctribune'),$version,'>=')) { 26 26 return; 27 27 } … … 48 48 # Schema installation 49 49 $si = new dbStruct($core->con,$core->prefix); 50 $ changes = $si->synchronize($s);50 $si->synchronize($s); 51 51 52 $core->setVersion(' tribune',$version);52 $core->setVersion('dctribune',$version); 53 53 return true; 54 54 ?> -
plugins/dctribune/_public.php
r582 r743 20 20 # ***** END LICENSE BLOCK ***** 21 21 22 require dirname(__FILE__).'/_widgets.php';23 24 //$core->tpl->addValue('Tribune Libre',array('tpl','tribune'));25 //$core->url->register('tribune','tribune','^tribunepost$',array('urlTribune','tribunepost'));26 27 22 class tplTribune 28 23 { … … 41 36 { 42 37 if ($_GET['msg'] == 1) { 43 $str .= '< h3>'.__('Message added.').'</h3>';38 $str .= '<p class="message">'.__('Message added.').'</p>'; 44 39 } 45 40 if ($_GET['msg'] == 0) { 46 $str .= '< h3>'.__('Your message cannot be added.').'</h3>';41 $str .= '<p class="error">'.__('Your message cannot be added.').'</p>'; 47 42 } 48 43 } … … 51 46 { 52 47 if ($_GET['off'] == 1) { 53 $str .= '< h3>'.__('Your message has been deleted.').'</h3>';48 $str .= '<p class="message">'.__('Your message has been deleted.').'</p>'; 54 49 } 55 50 if ($_GET['off'] == 0) { 56 $str .= '< h3>'.__('Your message cannot be deleted.').'</h3>';51 $str .= '<p class="error">'.__('Your message cannot be deleted.').'</p>'; 57 52 } 58 53 } … … 77 72 { 78 73 if (date("d",$ts) == date("d",$now)) { 79 $str .= '< h3>'.__('Today').'</h3>';74 $str .= '<span class="tribunedate">'.__('Today').'</span>'; 80 75 } else { 81 $str .= sprintf("< h3>%s</h3>",strftime("%d/%m/%y",$ts));76 $str .= sprintf("<span class=\"tribunedate\">%s</span>",strftime("%d/%m/%y",$ts)); 82 77 } 83 78 } … … 87 82 # Ajout du lien de suppresion 88 83 if (http::realIP() == $rs->f('tribune_ip') AND ($now - $ts) < $deltime) { 89 $del_link = sprintf("<a href=\"?tribdel=%d\" title=\"Supprimer ce message\" rel=\"nofollow\">[off]</a>",$rs->f('tribune_id')); 84 $del_title = __('Delete this post'); 85 $del_link = sprintf("<a href=\"?tribdel=%d\"",$rs->f('tribune_id'),$del_title); 86 $del_link = $del_link. 'class="msgoff " title="'.$del_title.'" rel="nofollow">[x]</a>'; 90 87 } else { $del_link = '';} 91 88 … … 104 101 } 105 102 } else { 106 $str .= '< h3>'.__('No entry.').'</h3>';103 $str .= '<p>'.__('No entry.').'</p>'; 107 104 } 108 105 … … 178 175 } 179 176 } 180 /*181 class urlTribune extends dcUrlHandlers182 {183 public static function tribunepost($args)184 {185 require dirname(__FILE__).'/class.dc.tribune.php';186 187 188 }189 }190 */191 177 ?> -
plugins/dctribune/_widgets.php
r582 r743 21 21 $core->addBehavior('initWidgets',array('tribuneWidgets','initWidgets')); 22 22 $core->addBehavior('initWidgets',array('tribuneWidgets','initFormWidgets')); 23 //$core->addBehavior('initDefaultWidgets',array('tribuneWidgets','initDefaultWidgets'));24 23 25 24 class tribuneWidgets … … 27 26 public static function initWidgets(&$w) 28 27 { 29 $w->create('tribunelibre',__(' Tribune Libre'),array('tplTribune','tribunelibreWidget'));30 $w->tribunelibre->setting('title',__('Title:'),__(' Tribune Libre'));28 $w->create('tribunelibre',__('Free chatbox'),array('tplTribune','tribunelibreWidget')); 29 $w->tribunelibre->setting('title',__('Title:'),__('Free chatbox')); 31 30 $w->tribunelibre->setting('homeonly',__('Home page only'),1,'check'); 32 31 $w->tribunelibre->setting('deltime',__('Allow deleting messages for (seconds)'),'280'); … … 38 37 public static function initFormWidgets(&$w) 39 38 { 40 $w->create('tribunelibreform',__(' Tribune Libre Form'),array('tplTribune','tribunelibreFormWidget'));39 $w->create('tribunelibreform',__('Free chatbox form'),array('tplTribune','tribunelibreFormWidget')); 41 40 $w->tribunelibreform->setting('homeonly',__('Home page only'),1,'check'); 42 41 } 43 44 /*45 public static function initDefaultWidgets(&$w,&$d)46 {47 $d['extra']->append($w->tribunelibre);48 }49 */50 42 } 51 43 ?> -
plugins/dctribune/class.dc.tribune.php
r582 r743 20 20 # ***** END LICENSE BLOCK ***** 21 21 // Highly based on blogroll ;-) 22 if (!defined('DC_CONTEXT_ADMIN')) { return; } 22 23 23 24 class dcTribune 24 25 { 25 private $blog;26 private $con;27 private $table;28 29 public function __construct(&$blog)26 private static $blog; 27 private static $con; 28 private static $table; 29 30 public static function init(&$blog) 30 31 { 31 $this->blog =& $blog;32 $this->con =& $blog->con;33 $this->table = $this->blog->prefix.'tribune';32 self::$blog =& $blog; 33 self::$con =& $blog->con; 34 self::$table = $blog->prefix.'tribune'; 34 35 } 35 36 36 public function addMsg($nick, $message, $time, $ip, $state=1)37 public static function addMsg($nick, $message, $time, $ip, $state=1) 37 38 { 38 $cur = $this->con->openCursor($this->table);39 $cur = self::$con->openCursor(self::$table); 39 40 40 $cur->blog_id = (string) $this->blog->id;41 $cur->blog_id = (string) self::$blog->id; 41 42 $cur->tribune_nick = (string) $nick; 42 43 $cur->tribune_msg = (string) $message; … … 57 58 } 58 59 59 $strReq = 'SELECT MAX(tribune_id) FROM '. $this->table;60 $rs = $this->con->select($strReq);60 $strReq = 'SELECT MAX(tribune_id) FROM '.self::$table; 61 $rs = self::$con->select($strReq); 61 62 $cur->tribune_id = (integer) $rs->f(0) + 1; 62 63 63 64 $cur->insert(); 64 $this->blog->triggerBlog(); 65 self::$blog->triggerBlog(); 66 65 67 return true; 66 68 } 67 69 68 public function delMsg($id)70 public static function delMsg($id) 69 71 { 70 $strReq = 'DELETE FROM '. $this->table.' '.71 "WHERE blog_id = '". $this->con->escape($this->blog->id)."' ".72 $strReq = 'DELETE FROM '.self::$table.' '. 73 "WHERE blog_id = '".self::$con->escape(self::$blog->id)."' ". 72 74 'AND tribune_id = '.(integer) $id.' '; 73 75 74 $this->con->execute($strReq);75 $this->blog->triggerBlog();76 self::$con->execute($strReq); 77 self::$blog->triggerBlog(); 76 78 } 77 79 78 public function updateMsg($id, $nick, $message)80 public static function updateMsg($id, $nick, $message) 79 81 { 80 $cur = $this->con->openCursor($this->table);82 $cur = self::$con->openCursor(self::$table); 81 83 82 84 $cur->tribune_nick = (string) $nick; … … 92 94 93 95 $cur->update('WHERE tribune_id = '.(integer) $id. 94 " AND blog_id = '". $this->con->escape($this->blog->id)."'");95 $this->blog->triggerBlog();96 " AND blog_id = '".self::$con->escape(self::$blog->id)."'"); 97 self::$blog->triggerBlog(); 96 98 } 97 99 98 public function changeState($id, $state, $check=false, $time, $deltime, $ip)100 public static function changeState($id, $state, $check=false, $time, $deltime, $ip) 99 101 { 100 102 if ($check) { 101 $strReq = 'SELECT tribune_id FROM '. $this->table." WHERE tribune_dt > '".(string) date('Y-m-d H:i',$time - $deltime)."' AND tribune_ip = '".(string) $this->con->escape($ip)."' AND tribune_id = '".(integer) $_GET['tribdel']."' ORDER BY tribune_id DESC";102 $strReq .= $this->con->limit(1);103 $rs = $this->con->select($strReq);104 $rs = $rs->toStatic();103 $strReq = 'SELECT tribune_id FROM '.self::$table." WHERE tribune_dt > '".(string) date('Y-m-d H:i',$time - $deltime)."' AND tribune_ip = '".(string) self::$con->escape($ip)."' AND tribune_id = '".(integer) $_GET['tribdel']."' ORDER BY tribune_id DESC"; 104 $strReq .= self::$con->limit(1); 105 $rs = self::$con->select($strReq); 106 105 107 106 108 if (empty($rs)) … … 108 110 } 109 111 110 $cur = $this->con->openCursor($this->table);112 $cur = self::$con->openCursor(self::$table); 111 113 112 114 $cur->tribune_state = (string) $state; 113 115 114 116 $cur->update('WHERE tribune_id = '.(integer) $id. 115 " AND blog_id = '". $this->con->escape($this->blog->id)."'");116 $this->blog->triggerBlog();117 " AND blog_id = '".self::$con->escape(self::$blog->id)."'"); 118 self::$blog->triggerBlog(); 117 119 return true; 118 120 } 119 121 120 public function getMsg($limit, $orderasc=false, $mode=1)122 public static function getMsg($limit, $orderasc=false, $mode=1) 121 123 { 122 $strReq = 'SELECT *';123 124 $strReq .= ' FROM '.$this->table.125 " WHERE blog_id = '".$this->con->escape($this->blog->id)."'";124 $strReq = 125 'SELECT * '. 126 'FROM '.self::$table.' '. 127 "WHERE blog_id = '".self::$con->escape(self::$blog->id)."'"; 126 128 127 129 if ($mode == 1) { … … 132 134 $strReq .= ' AND tribune_state IS NOT NULL'; 133 135 } 136 137 if ($orderasc) { 138 $strReq .= ' ORDER BY tribune_id ASC'; 139 } 140 else { 141 $strReq .= ' ORDER BY tribune_id DESC'; 142 } 143 144 $strReq .= ($limit > 0) ? self::$con->limit($limit) : null; 134 145 135 $ strReq .= ' ORDER BY tribune_id DESC';136 $ strReq .= ($limit > 0) ? $this->con->limit($limit) : null;146 $rs = self::$con->select($strReq); 147 $rs = $rs->toStatic(); 137 148 138 $rs = $this->con->select($strReq); 139 $rs = $rs->toStatic(); 140 141 if ($orderasc) { 142 $rs->sort('tribune_time','asc'); 143 } 149 150 return $rs; 151 } 152 153 public static function getOneMsg($id) 154 { 155 # On récupère une seule ligne 156 $strReq = 'SELECT tribune_id, tribune_nick, tribune_msg FROM '.self::$table." WHERE tribune_id = '".(integer) $id."'"; 157 158 $rs = self::$con->select($strReq); 159 144 160 145 161 return $rs; 146 162 } 147 163 148 public function getOneMsg($id) 149 { 150 # On récupère une seule ligne 151 $strReq = 'SELECT tribune_id, tribune_nick, tribune_msg FROM '.$this->table." WHERE tribune_id = '".(integer) $id."'"; 152 153 $rs = $this->con->select($strReq); 154 $rs = $rs->toStatic(); 155 156 return $rs; 157 } 158 159 public function cleanMsg($msg,$chcut) 164 public static function cleanMsg($msg,$chcut) 160 165 { 161 166 # Nettoyage -
plugins/dctribune/edit.php
r582 r743 25 25 26 26 try { 27 $rs = $tribune->getOneMsg($id);27 $rs = dcTribune::getOneMsg($id); 28 28 } catch (Exception $e) { 29 29 $core->error->add($e->getMessage()); … … 43 43 44 44 try { 45 $tribune->updateMsg($id,$tribune_nick,$tribune_msg);45 dcTribune::updateMsg($id,$tribune_nick,$tribune_msg); 46 46 http::redirect($p_url.'&edit=1&id='.$id.'&upd=1'); 47 47 } catch (Exception $e) { … … 56 56 57 57 <body> 58 <?php echo '<p><a href="'.$p_url.'">'.__('Return to Tribune Libre').'</a></p>';58 <?php echo '<p><a class="back" "href="'.$p_url.'">'.__('Return to Tribune Libre').'</a></p>'; 59 59 60 60 if (isset($rs)) … … 72 72 73 73 '<p><label class="required" title="'.__('Required field').'">'.__('Message:').' '. 74 form::field('tribune_msg', 30,255,html::escapeHTML($tribune_msg)).'</label></p>'.74 form::field('tribune_msg',100,255,html::escapeHTML($tribune_msg)).'</label></p>'. 75 75 76 76 '<p>'.form::hidden('p','tribune'). -
plugins/dctribune/index.php
r582 r743 20 20 # ***** END LICENSE BLOCK ***** 21 21 22 if (!defined('DC_CONTEXT_ADMIN')) { exit; } 23 24 require dirname(__FILE__).'/class.dc.tribune.php'; 25 26 $tribune = new dcTribune($core->blog); 22 if (!defined('DC_CONTEXT_ADMIN')) { return; } 27 23 28 24 if (!empty($_REQUEST['edit']) && !empty($_REQUEST['id'])) { … … 51 47 { 52 48 try { 53 $tribune->changeState($v, $status);49 dcTribune::changeState($v, $status); 54 50 } catch (Exception $e) { 55 51 $core->error->add($e->getMessage()); … … 67 63 { 68 64 try { 69 $tribune->delMsg($v);65 dcTribune::delMsg($v); 70 66 } catch (Exception $e) { 71 67 $core->error->add($e->getMessage()); … … 88 84 89 85 try { 90 $tribune->addMsg($tribune_nick,$tribune_msg,$now + $offset,http::realIP());86 dcTribune::addMsg($tribune_nick,$tribune_msg,$now + $offset,http::realIP()); 91 87 http::redirect($p_url.'&addmsg=1'); 92 88 } catch (Exception $e) { … … 97 93 98 94 try { 99 $rs = $tribune->getMsg(0,false,3);95 $rs = dcTribune::getMsg(0,false,3); 100 96 } catch (Exception $e) { 101 97 $core->error->add($e->getMessage()); … … 110 106 111 107 <body> 112 <h2><?php echo html::escapeHTML($core->blog->name); ?> & gt; Tribune Libre</h2>108 <h2><?php echo html::escapeHTML($core->blog->name); ?> › <?php echo __('Free chatbox'); ?></h2> 113 109 114 110 <?php … … 137 133 <thead> 138 134 <tr> 139 <th ><?php echo __('Selection'); ?></th>140 <th><?php echo __(' Message'); ?></th>135 <th colspan="2"><?php echo __('Message'); ?></th> 136 <th><?php echo __('Date'); ?></th> 141 137 <th><?php echo __('Nick'); ?></th> 142 <th><?php echo __('Date'); ?></th>143 138 <th><?php echo __('IP'); ?></th> 144 139 <th><?php echo __('Status'); ?></th> … … 163 158 '<td><a href="'.$p_url.'&edit=1&id='.$rs->tribune_id.'">'. 164 159 html::escapeHTML($rs->tribune_msg).'</a></td>'. 160 '<td>'.dt::dt2str(__('%Y-%m-%d %H:%M'),$rs->tribune_dt).'</td>'. 165 161 '<td>'.html::escapeHTML($rs->tribune_nick).'</td>'. 166 '<td>'.dt::dt2str(__('%Y-%m-%d %H:%M'),$rs->tribune_dt).'</td>'.167 162 '<td>'.html::escapeHTML($rs->tribune_ip).'</td>'. 168 163 '<td class="nowrap status">'.$status.'</td>'. … … 177 172 <p class="col checkboxes-helpers"></p> 178 173 <?php echo 179 '<p class="col right">'.__('Selected comments action:').' '.174 '<p class="col right">'.__('Selected messages action:').' '. 180 175 form::hidden(array('p'),'tribune'). 181 176 form::combo('actiontribune',$combo_action). … … 191 186 '<div class="multi-part" id="add-message" title="'.__('Add a new message').'">'. 192 187 '<form action="plugin.php" method="post" id="add-message-form">'. 193 '<fieldset><legend>'.__(' Votremessage').'</legend>'.188 '<fieldset><legend>'.__('Your message').'</legend>'. 194 189 '<p><label class=" classic required" title="'.__('Required field').'">'.__('Nick:').' '. 195 190 form::field('tribune_nick',30,255,$core->auth->getInfo('user_displayname'),'',7).'</label></p>'. 196 191 197 192 '<p><label class=" classic required" title="'.__('Required field').'">'.__('Message:').' '. 198 form::field('tribune_msg', 30,255,'','',7).'</label></p>'.193 form::field('tribune_msg',100,255,'','',7).'</label></p>'. 199 194 200 195 '<p>'.form::hidden(array('p'),'tribune'). -
plugins/dctribune/locales/fr/main.po
r582 r743 1 # French translations for PACKAGE package. 2 # Copyright (C) 2009 THE PACKAGE'S COPYRIGHT HOLDER 3 # This file is distributed under the same license as the PACKAGE package. 4 # Greg <popech@gmail.com>, 2009. 5 # 1 6 msgid "" 2 7 msgstr "" 3 "Project-Id-Version: Tribune Libre\n" 4 "POT-Creation-Date: \n" 5 "PO-Revision-Date: 2007-08-05 14:46+0100\n" 6 "Last-Translator: Antoine Libert <aen0rphe@gmail.com>\n" 7 "Language-Team: Antoine Libert <aen0rphe@gmail.com>\n" 8 "Project-Id-Version: PACKAGE VERSION\n" 9 "Report-Msgid-Bugs-To: \n" 10 "POT-Creation-Date: 2009-02-04 01:26+0100\n" 11 "PO-Revision-Date: 2009-02-04 01:26+0100\n" 12 "Last-Translator: Greg <popech@gmail.com>\n" 13 "Language-Team: French\n" 8 14 "MIME-Version: 1.0\n" 9 "Content-Type: text/plain; charset= utf-8\n"15 "Content-Type: text/plain; charset=ASCII\n" 10 16 "Content-Transfer-Encoding: 8bit\n" 11 "X-Poedit-Language: French\n" 12 "X-Poedit-Country: FRANCE\n" 13 14 #: _admin.php:31 15 msgid "manage tribune" 16 msgstr "configurer tribune" 17 18 #: _public.php:43 19 #: index.php:120 20 msgid "Message added." 21 msgstr "Message ajouté." 22 23 #: _public.php:46 24 msgid "Your message cannot be added." 25 msgstr "Votre message n'a pas pu être ajouté." 26 27 #: _public.php:53 28 msgid "Your message has been deleted." 29 msgstr "Votre message a été mis en hors ligne." 30 31 #: _public.php:56 32 msgid "Your message cannot be deleted." 33 msgstr "Votre message n'a pas pu être mis hors ligne." 34 35 #: _public.php:79 36 msgid "Today" 37 msgstr "Aujourd'hui" 38 39 #: _public.php:106 40 msgid "No entry." 41 msgstr "Aucune entrée." 42 43 #: _public.php:110 44 #: _public.php:166 45 msgid "Your nick" 46 msgstr "Votre pseudo" 47 48 #: _public.php:110 49 #: _public.php:167 50 msgid "Your message" 51 msgstr "Votre message" 52 53 #: _widgets.php:29 54 #: _widgets.php:30 55 #: index.php:134 56 msgid "Tribune Libre" 57 msgstr "Tribune Libre" 58 59 #: _widgets.php:30 60 msgid "Title:" 61 msgstr "Titre :" 62 63 #: _widgets.php:31 64 #: _widgets.php:41 65 msgid "Home page only" 66 msgstr "Page d'accueil seulement" 67 68 #: _widgets.php:32 69 msgid "Allow deleting messages for (seconds)" 70 msgstr "Autoriser la mise hors ligne des messages pendant (secondes)" 71 72 #: _widgets.php:33 73 msgid "Number of posts to show" 74 msgstr "Nombre de messages à afficher" 75 76 #: _widgets.php:34 77 msgid "Number of caracters before wordwrap" 78 msgstr "Nombre de caractères avant tronquage" 79 80 #: _widgets.php:35 81 msgid "Revert the order" 82 msgstr "Inverser l'ordre d'affichage" 83 84 #: _widgets.php:40 85 msgid "Tribune Libre Form" 86 msgstr "Formulaire Tribune Libre" 87 88 #: class.dc.tribune.php:48 89 #: class.dc.tribune.php:87 17 "Plural-Forms: nplurals=2; plural=(n > 1);\n" 18 19 #: _admin.php:23 index.php:108 _widgets.php:28 _widgets.php:29 20 msgid "Free chatbox" 21 msgstr "Tribune libre" 22 23 #: class.dc.tribune.php:49 class.dc.tribune.php:88 90 24 msgid "You must provide a nick" 91 25 msgstr "Vous devez écrire un pseudo" 92 26 93 #: class.dc.tribune.php:52 94 #: class.dc.tribune.php:91 27 #: class.dc.tribune.php:53 class.dc.tribune.php:92 95 28 msgid "You must provide a message" 96 29 msgstr "Vous devez écrire un message" 97 30 98 #: class.dc.tribune.php:5 631 #: class.dc.tribune.php:57 99 32 msgid "You must provide a ip" 100 33 msgstr "Vous devez donner une IP (bug)" … … 110 43 #: edit.php:63 111 44 msgid "Message has been successfully updated" 112 msgstr "Le message a été mis à jour ."45 msgstr "Le message a été mis à jour" 113 46 114 47 #: edit.php:68 … … 116 49 msgstr "Modifier le message" 117 50 118 #: edit.php:70 119 #: edit.php:73 120 #: index.php:193 121 #: index.php:196 51 #: edit.php:70 edit.php:73 index.php:189 index.php:192 122 52 msgid "Required field" 123 53 msgstr "Champ obligatoire" 124 54 125 #: edit.php:70 126 #: index.php:193 55 #: edit.php:70 index.php:189 127 56 msgid "Nick:" 128 msgstr "Pseudo :" 129 130 #: edit.php:73 131 #: index.php:196 57 msgstr "Pseudo: " 58 59 #: edit.php:73 index.php:192 132 60 msgid "Message:" 133 msgstr "Message :" 134 135 #: edit.php:80 136 #: index.php:201 61 msgstr "Message:" 62 63 #: edit.php:80 index.php:197 137 64 msgid "save" 138 msgstr " sauvegarder"139 140 #: index.php:3 565 msgstr "enregistrer" 66 67 #: index.php:31 141 68 msgid "publish" 142 69 msgstr "publier" 143 70 144 #: index.php:3 671 #: index.php:32 145 72 msgid "unpublish" 146 73 msgstr "hors ligne" 147 74 148 #: index.php:3 775 #: index.php:33 149 76 msgid "delete" 150 77 msgstr "supprimer" 151 78 152 #: index.php:11 679 #: index.php:112 153 80 msgid "Message(s) deleted." 154 81 msgstr "Message(s) supprimé(s)." 155 82 156 #: index.php:125 83 #: index.php:116 _public.php:38 84 msgid "Message added." 85 msgstr "Message ajouté." 86 87 #: index.php:121 157 88 msgid "Message(s) selected offline." 158 msgstr "Message(s) sélectionné(s) hors ligne(s)." 89 msgstr "Message(s) sélectionné(s) hors ligne." 90 91 #: index.php:123 92 msgid "Message(s) selected online." 93 msgstr "Message(s) sélectionné(s) en ligne." 159 94 160 95 #: index.php:127 161 msgid "Message(s) selected online."162 msgstr "Message(s) sélectionné(s) en ligne(s)."163 164 #: index.php:131165 96 msgid "Database cleaned up." 166 msgstr "Base de données néttoyé ."167 168 #: index.php:13 9169 msgid " Selection"170 msgstr " Sélection"171 172 #: index.php:1 4097 msgstr "Base de données néttoyé" 98 99 #: index.php:130 100 msgid "Tribune Libre" 101 msgstr "Tribune Libre" 102 103 #: index.php:135 173 104 msgid "Message" 174 105 msgstr "Message" 175 106 176 #: index.php:141 107 #: index.php:136 108 msgid "Date" 109 msgstr "Date" 110 111 #: index.php:137 177 112 msgid "Nick" 178 113 msgstr "Pseudo" 179 114 180 #: index.php:142 181 msgid "Date" 182 msgstr "Date" 183 184 #: index.php:143 115 #: index.php:138 185 116 msgid "IP" 186 117 msgstr "IP" 187 118 188 #: index.php:1 44119 #: index.php:139 189 120 msgid "Status" 190 121 msgstr "État" 191 122 123 #: index.php:148 124 msgid "unpublished" 125 msgstr "" 126 192 127 #: index.php:153 193 msgid " unpublished"128 msgid "published" 194 129 msgstr "hors ligne" 195 130 196 #: index.php:158 197 msgid "published" 198 msgstr "publié" 199 200 #: index.php:166 131 #: index.php:160 201 132 msgid "%Y-%m-%d %H:%M" 202 133 msgstr "%Y-%m-%d %H:%M" 203 134 204 #: index.php:17 7205 msgid "Selected comments action:"206 msgstr "Action sur les commentaires sélectionnés:"207 208 #: index.php:1 81135 #: index.php:174 136 msgid "Selected messages action:" 137 msgstr "Action sur les messages sélectionnés:" 138 139 #: index.php:178 209 140 msgid "ok" 210 141 msgstr "ok" 211 142 212 #: index.php:1 90143 #: index.php:186 213 144 msgid "Add a new message" 214 msgstr " Ajouter un nouveau message"215 216 #: index.php:1 92217 msgid " Votremessage"145 msgstr "" 146 147 #: index.php:188 148 msgid "Your message" 218 149 msgstr "Votre message" 219 150 151 #: _public.php:41 152 msgid "Your message cannot be added." 153 msgstr "Votre message n'a pas pu être ajouté" 154 155 #: _public.php:48 156 msgid "Your message has been deleted." 157 msgstr "Votre message a été mis en hors ligne." 158 159 #: _public.php:51 160 msgid "Your message cannot be deleted." 161 msgstr "Votre message n'a pas pu être mis hors ligne." 162 163 #: _public.php:74 164 msgid "Today" 165 msgstr "Aujourd'hui" 166 167 #: _public.php:84 168 msgid "Delete this post" 169 msgstr "Effacer ce message" 170 171 #: _public.php:103 172 msgid "No entry." 173 msgstr "Aucun message" 174 175 #: _public.php:107 _public.php:163 176 msgid "Your nick" 177 msgstr "Votre pseudo" 178 179 #: _public.php:107 _public.php:164 180 msgid "Your message" 181 msgstr "Votre message" 182 183 #: _widgets.php:29 184 msgid "Title:" 185 msgstr "Titre:" 186 187 #: _widgets.php:30 _widgets.php:40 188 msgid "Home page only" 189 msgstr "Page d'accueil seulement" 190 191 #: _widgets.php:31 192 msgid "Allow deleting messages for (seconds)" 193 msgstr "" 194 195 #: _widgets.php:32 196 msgid "Number of posts to show" 197 msgstr "Nombre de messages à afficher" 198 199 #: _widgets.php:33 200 msgid "Number of caracters before wordwrap" 201 msgstr "Nombre de caractères avant tronquage" 202 203 #: _widgets.php:34 204 msgid "Revert the order" 205 msgstr "Inverser l'ordre d'affichage" 206 207 #: _widgets.php:39 208 msgid "Free chatbox form" 209 msgstr "Formulaire Tribune Libre"
Note: See TracChangeset
for help on using the changeset viewer.