Changes in [114:56287c01e99f:115:51e55538db9f]
- Files:
-
- 25 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/comments.php
r45 r96 213 213 '<p class="col checkboxes-helpers"></p>'. 214 214 215 '<p class="col right"><label for="action" class=" inline">'.__('Selected comments action:').'</label> '.215 '<p class="col right"><label for="action" class="classic">'.__('Selected comments action:').'</label> '. 216 216 form::combo('action',$combo_action,'','','','','title="'.__('action: ').'"'). 217 217 $core->formNonce(). -
admin/index.php
r82 r113 44 44 45 45 # Check dashboard module prefs 46 $core->auth->user_prefs->loadPrefs(); 47 48 // Set favorites menu 49 $ws = $core->auth->user_prefs->addWorkspace('favorites'); 50 $count = 0; 51 foreach ($ws->dumpPrefs() as $k => $v) { 52 // User favorites only 53 if (!$v['global']) { 54 $count++; 55 $fav = unserialize($v['value']); 56 $_menu['Favorites']->addItem($fav['title'],$fav['url'],$fav['small-icon'], 57 preg_match('/'.$fav['url'].'(\?.*)?$/',$_SERVER['REQUEST_URI']), 58 (($fav['permissions'] == '*') || $core->auth->check($fav['permissions'],$core->blog->id)),$fav['id'],$fav['class']); 59 } 60 } 61 if (!$count) { 62 // Global favorites if any 63 foreach ($ws->dumpPrefs() as $k => $v) { 64 $count++; 65 $fav = unserialize($v['value']); 66 $_menu['Favorites']->addItem($fav['title'],$fav['url'],$fav['small-icon'], 67 preg_match('/'.$fav['url'].'(\?.*)?$/',$_SERVER['REQUEST_URI']), 68 (($fav['permissions'] == '*') || $core->auth->check($fav['permissions'],$core->blog->id)),$fav['id'],$fav['class']); 69 } 70 } 71 if (!$count) { 72 // No user or global favorites, add "new entry" fav 73 $_menu['Favorites']->addItem(__('New entry'),'post.php','images/menu/edit.png', 74 preg_match('/post.php$/',$_SERVER['REQUEST_URI']), 75 $core->auth->check('usage,contentadmin',$core->blog->id),'menu-new-post',null); 76 } 46 77 $core->auth->user_prefs->addWorkspace('dashboard'); 47 78 if (!$core->auth->user_prefs->dashboard->prefExists('doclinks')) { … … 220 251 } 221 252 253 # Dashboard columns (processed first, as we need to know the result before displaying the icons.) 254 $dashboardItems = ''; 255 256 # Dotclear updates notifications 257 if ($core->auth->isSuperAdmin() && is_readable(DC_DIGESTS)) 258 { 259 $updater = new dcUpdate(DC_UPDATE_URL,'dotclear',DC_UPDATE_VERSION,DC_TPL_CACHE.'/versions'); 260 $new_v = $updater->check(DC_VERSION); 261 262 if ($updater->getNotify() && $new_v) { 263 $dashboardItems .= 264 '<div id="upg-notify" class="static-msg"><p>'.sprintf(__('Dotclear %s is available!'),$new_v).'</p> '. 265 '<ul><li><strong><a href="update.php">'.sprintf(__('Upgrade now'),$new_v).'</a></strong>'. 266 '</li><li><a href="update.php?hide_msg=1">'.__('Remind me later').'</a>'. 267 '</li></ul></div>'; 268 } 269 } 270 271 # Errors modules notifications 272 if ($core->auth->isSuperAdmin()) 273 { 274 $list = array(); 275 foreach ($core->plugins->getErrors() as $k => $error) { 276 $list[] = '<li>'.$error.'</li>'; 277 } 278 279 if (count($list) > 0) { 280 $dashboardItems .= 281 '<div id="module-errors" class="error"><p>'.__('Some plugins are installed twice:').'</p> '. 282 '<ul>'.implode("\n",$list).'</ul></div>'; 283 } 284 285 } 286 287 foreach ($__dashboard_items as $i) 288 { 289 if ($i->count() > 0) 290 { 291 $dashboardItems .= '<div>'; 292 foreach ($i as $v) { 293 $dashboardItems .= $v; 294 } 295 $dashboardItems .= '</div>'; 296 } 297 } 298 222 299 # Dashboard icons 223 echo '<div id="dashboard-main" ><div id="icons" class="clear">';300 echo '<div id="dashboard-main"'.($dashboardItems ? '' : 'class="fullwidth"').'><div id="icons">'; 224 301 foreach ($__dashboard_icons as $i) 225 302 { … … 277 354 echo '</div>'; 278 355 279 # Dashboard columns 280 echo '<div id="dashboard-items">'; 281 282 # Dotclear updates notifications 283 if ($core->auth->isSuperAdmin() && is_readable(DC_DIGESTS)) 284 { 285 $updater = new dcUpdate(DC_UPDATE_URL,'dotclear',DC_UPDATE_VERSION,DC_TPL_CACHE.'/versions'); 286 $new_v = $updater->check(DC_VERSION); 287 288 if ($updater->getNotify() && $new_v) { 289 echo 290 '<div id="upg-notify" class="static-msg"><p>'.sprintf(__('Dotclear %s is available!'),$new_v).'</p> '. 291 '<ul><li><strong><a href="update.php">'.sprintf(__('Upgrade now'),$new_v).'</a></strong>'. 292 '</li><li><a href="update.php?hide_msg=1">'.__('Remind me later').'</a>'. 293 '</li></ul></div>'; 294 } 295 } 296 297 # Errors modules notifications 298 if ($core->auth->isSuperAdmin()) 299 { 300 $list = array(); 301 foreach ($core->plugins->getErrors() as $k => $error) { 302 $list[] = '<li>'.$error.'</li>'; 303 } 304 305 if (count($list) > 0) { 306 echo 307 '<div id="module-errors" class="error"><p>'.__('Some plugins are installed twice:').'</p> '. 308 '<ul>'.implode("\n",$list).'</ul></div>'; 309 } 310 311 } 312 313 foreach ($__dashboard_items as $i) 314 { 315 echo '<div>'; 316 foreach ($i as $v) { 317 echo $v; 318 } 319 echo '</div>'; 320 } 321 echo '</div>'; 356 echo ($dashboardItems ? '<div id="dashboard-items">'.$dashboardItems.'</div>' : ''); 322 357 323 358 dcPage::close(); -
admin/post.php
r70 r96 555 555 '<p class="col checkboxes-helpers"></p>'. 556 556 557 '<p class="col right"><label for="action" class=" inline">'.__('Selected comments action:').'</label> '.557 '<p class="col right"><label for="action" class="classic">'.__('Selected comments action:').'</label> '. 558 558 form::combo('action',$combo_action). 559 559 form::hidden('redir','post.php?id='.$post_id.'&co=1'). -
admin/posts.php
r70 r96 284 284 '<p class="col checkboxes-helpers"></p>'. 285 285 286 '<p class="col right"><label for="action" class=" inline">'.__('Selected entries action:').'</label> '.286 '<p class="col right"><label for="action" class="classic">'.__('Selected entries action:').'</label> '. 287 287 form::combo('action',$combo_action). 288 288 '<input type="submit" value="'.__('ok').'" /></p>'. -
admin/preferences.php
r114 r115 460 460 } 461 461 if ($count > 0) echo '</ul>'; 462 463 462 if ($count > 0) { 464 463 echo -
admin/search.php
r70 r96 125 125 '<p class="col checkboxes-helpers"></p>'. 126 126 127 '<p class="col right"><label for="action1" class=" inline"'.__('Selected entries action:').'</label> '.127 '<p class="col right"><label for="action1" class="classic"'.__('Selected entries action:').'</label> '. 128 128 form::combo(array('action','action1'),$combo_action). 129 129 '<input type="submit" value="'.__('ok').'" /></p>'. … … 165 165 '<p class="col checkboxes-helpers"></p>'. 166 166 167 '<p class="col right"><label for="action2" class=" inline">'.__('Selected comments action:').'</label> '.167 '<p class="col right"><label for="action2" class="classic">'.__('Selected comments action:').'</label> '. 168 168 form::combo(array('action','action2'),$combo_action). 169 169 '<input type="submit" value="'.__('ok').'" /></p>'. -
inc/admin/prepend.php
r85 r106 292 292 $core->auth->isSuperAdmin() || 293 293 $core->auth->check('usage,contentadmin',$core->blog->id) && $core->auth->blog_count > 1); 294 295 try { 296 // Set favorites menu 297 $ws = $core->auth->user_prefs->addWorkspace('favorites'); 298 $count = 0; 299 foreach ($ws->dumpPrefs() as $k => $v) { 300 // User favorites only 301 if (!$v['global']) { 302 $count++; 303 $fav = unserialize($v['value']); 304 $_menu['Favorites']->addItem($fav['title'],$fav['url'],$fav['small-icon'], 305 preg_match('/'.$fav['url'].'(\?.*)?$/',$_SERVER['REQUEST_URI']), 306 (($fav['permissions'] == '*') || $core->auth->check($fav['permissions'],$core->blog->id)),$fav['id'],$fav['class']); 307 } 308 } 309 if (!$count) { 310 // Global favorites if any 311 foreach ($ws->dumpPrefs() as $k => $v) { 312 $count++; 313 $fav = unserialize($v['value']); 314 $_menu['Favorites']->addItem($fav['title'],$fav['url'],$fav['small-icon'], 315 preg_match('/'.$fav['url'].'(\?.*)?$/',$_SERVER['REQUEST_URI']), 316 (($fav['permissions'] == '*') || $core->auth->check($fav['permissions'],$core->blog->id)),$fav['id'],$fav['class']); 317 } 318 } 319 if (!$count) { 320 // No user or global favorites, add "new entry" fav 321 $_menu['Favorites']->addItem(__('New entry'),'post.php','images/menu/edit.png', 322 preg_match('/post.php$/',$_SERVER['REQUEST_URI']), 323 $core->auth->check('usage,contentadmin',$core->blog->id),'menu-new-post',null); 324 } 325 } catch (Exception $e) { 326 $version = $core->getVersion('core'); 327 if (version_compare($version,'2.3','<')) { 328 ; // Ignore lack of dc_pref table before the logout following an auto-update 329 } else { 330 $core->error->add($e->getMessage()); 331 } 332 } 333 } 294 } 334 295 ?> -
inc/core/class.dc.prefs.php
r3 r106 42 42 $this->table = $core->prefix.'pref'; 43 43 $this->user_id =& $user_id; 44 $this->loadPrefs();44 //~ $this->loadPrefs(); 45 45 } 46 46 … … 48 48 Retrieves all workspaces (and their prefs) from database, with one query. 49 49 */ 50 p rivatefunction loadPrefs()50 public function loadPrefs() 51 51 { 52 52 $strReq = 'SELECT user_id, pref_id, pref_value, '. … … 60 60 } catch (Exception $e) { 61 61 trigger_error(__('Unable to retrieve workspaces:').' '.$this->con->error(), E_USER_ERROR); 62 throw $e; 62 63 } 63 64 -
inc/dbschema/upgrade.php
r19 r107 184 184 $count++; 185 185 } 186 187 # A bit of housecleaning for no longer needed files 188 $remfiles = array ( 189 'admin/style/cat-bg.png', 190 'admin/style/footer-bg.png', 191 'admin/style/head-logo.png', 192 'admin/style/tab-bg.png', 193 'admin/style/tab-c-l.png', 194 'admin/style/tab-c-r.png', 195 'admin/style/tab-l-l.png', 196 'admin/style/tab-l-r.png', 197 'admin/style/tab-n-l.png', 198 'admin/style/tab-n-r.png', 199 'inc/clearbricks/_common.php', 200 'inc/clearbricks/common/lib.crypt.php', 201 'inc/clearbricks/common/lib.date.php', 202 'inc/clearbricks/common/lib.files.php', 203 'inc/clearbricks/common/lib.form.php', 204 'inc/clearbricks/common/lib.html.php', 205 'inc/clearbricks/common/lib.http.php', 206 'inc/clearbricks/common/lib.l10n.php', 207 'inc/clearbricks/common/lib.text.php', 208 'inc/clearbricks/common/tz.dat', 209 'inc/clearbricks/common/_main.php', 210 'inc/clearbricks/dblayer/class.cursor.php', 211 'inc/clearbricks/dblayer/class.mysql.php', 212 'inc/clearbricks/dblayer/class.pgsql.php', 213 'inc/clearbricks/dblayer/class.sqlite.php', 214 'inc/clearbricks/dblayer/dblayer.php', 215 'inc/clearbricks/dbschema/class.dbschema.php', 216 'inc/clearbricks/dbschema/class.dbstruct.php', 217 'inc/clearbricks/dbschema/class.mysql.dbschema.php', 218 'inc/clearbricks/dbschema/class.pgsql.dbschema.php', 219 'inc/clearbricks/dbschema/class.sqlite.dbschema.php', 220 'inc/clearbricks/diff/lib.diff.php', 221 'inc/clearbricks/diff/lib.unified.diff.php', 222 'inc/clearbricks/filemanager/class.filemanager.php', 223 'inc/clearbricks/html.filter/class.html.filter.php', 224 'inc/clearbricks/html.validator/class.html.validator.php', 225 'inc/clearbricks/image/class.image.meta.php', 226 'inc/clearbricks/image/class.image.tools.php', 227 'inc/clearbricks/mail/class.mail.php', 228 'inc/clearbricks/mail/class.socket.mail.php', 229 'inc/clearbricks/net/class.net.socket.php', 230 'inc/clearbricks/net.http/class.net.http.php', 231 'inc/clearbricks/net.http.feed/class.feed.parser.php', 232 'inc/clearbricks/net.http.feed/class.feed.reader.php', 233 'inc/clearbricks/net.xmlrpc/class.net.xmlrpc.php', 234 'inc/clearbricks/pager/class.pager.php', 235 'inc/clearbricks/rest/class.rest.php', 236 'inc/clearbricks/session.db/class.session.db.php', 237 'inc/clearbricks/template/class.template.php', 238 'inc/clearbricks/text.wiki2xhtml/class.wiki2xhtml.php', 239 'inc/clearbricks/url.handler/class.url.handler.php', 240 'inc/clearbricks/zip/class.unzip.php', 241 'inc/clearbricks/zip/class.zip.php', 242 'themes/default/tpl/.htaccess', 243 'themes/default/tpl/404.html', 244 'themes/default/tpl/archive.html', 245 'themes/default/tpl/archive_month.html', 246 'themes/default/tpl/category.html', 247 'themes/default/tpl/home.html', 248 'themes/default/tpl/post.html', 249 'themes/default/tpl/search.html', 250 'themes/default/tpl/tag.html', 251 'themes/default/tpl/tags.html', 252 'themes/default/tpl/user_head.html', 253 'themes/default/tpl/_flv_player.html', 254 'themes/default/tpl/_footer.html', 255 'themes/default/tpl/_head.html', 256 'themes/default/tpl/_mp3_player.html', 257 'themes/default/tpl/_top.html' 258 ); 259 $remfolders = array ( 260 'inc/clearbricks/common', 261 'inc/clearbricks/dblayer', 262 'inc/clearbricks/dbschema', 263 'inc/clearbricks/diff', 264 'inc/clearbricks/filemanager', 265 'inc/clearbricks/html.filter', 266 'inc/clearbricks/html.validator', 267 'inc/clearbricks/image', 268 'inc/clearbricks/mail', 269 'inc/clearbricks/net', 270 'inc/clearbricks/net.http', 271 'inc/clearbricks/net.http.feed', 272 'inc/clearbricks/net.xmlrpc', 273 'inc/clearbricks/pager', 274 'inc/clearbricks/rest', 275 'inc/clearbricks/session.db', 276 'inc/clearbricks/template', 277 'inc/clearbricks/text.wiki2xhtml', 278 'inc/clearbricks/url.handler', 279 'inc/clearbricks/zip', 280 'inc/clearbricks', 281 'themes/default/tpl' 282 ); 283 284 foreach ($remfiles as $f) { 285 @unlink(DC_ROOT.'/'.$f); 286 } 287 foreach ($remfolders as $f) { 288 @rmdir(DC_ROOT.'/'.$f); 289 } 186 290 } 187 291 -
locales/en/help/media.html
r82 r102 71 71 <li><strong>original</strong>: the original, unchanged image.</li> 72 72 </ul> 73 <p>Default size for the last 4 versions can be indicated inblog's parameters.</p>73 <p>Default size for the versions thumbnail, small and medium can be modified in your blog's parameters.</p> 74 74 75 75 <h3>Add a file to an entry</h3> -
locales/en/help/post.html
r0 r104 49 49 <dd>To choose the post syntax. Wiki is a simplified syntax 50 50 and will be converted to valid xhtml ; Unless you have a perfect 51 understanding of html, we advise you to choose the wiki syntax.51 understanding of xhtml, we advise you to choose the wiki syntax. 52 52 See the Wiki syntax reference for more information.</dd> 53 53 -
locales/en/help/user_pref.html
r114 r115 13 13 14 14 <dt>Display name</dt> 15 <dd>You can choose here how your name will be displayed under your posts.</dd>15 <dd>You can choose here a nickname that will be displayed in your posts instead of your name and first name.</dd> 16 16 17 17 <dt>Email</dt> … … 76 76 <dd>All plugins allowing to be put as favorites are diplayed here. Check the corresponding boxes 77 77 and add them to the dashboard.</dd> 78 78 </dl> 79 79 </body> 80 80 </html> -
locales/fr/help/core_blog_pref.html
r60 r104 66 66 "formatage des dates" pour plus détails.</dd> 67 67 68 <dt>Laisser les commentaires ouvert durant .. jours</dt>68 <dt>Laisser les commentaires ouverts durant .. jours</dt> 69 69 <dd>Permet d'indiquer le nombre de jours durant lesquels les commentaires 70 70 sont possibles sur un billet après sa publication. Aucune valeur laissera 71 71 les commentaires toujours ouverts.</dd> 72 72 73 <dt>Laisser les rétroliens ouvert durant .. jours</dt>73 <dt>Laisser les rétroliens ouverts durant .. jours</dt> 74 74 <dd>Permet d'indiquer le nombre de jours durant lesquels les rétroliens 75 75 sont possibles sur un billet après sa publication. Aucune valeur laissera … … 105 105 page d'accueil et la première page de chaque catégorie.</dd> 106 106 107 <dt>Afficher des émotic ones dans les billets et commentaires</dt>108 <dd>Remplacer certain s symboles comme :-) ou ;-) en image.</dd>107 <dt>Afficher des émoticônes dans les billets et commentaires</dt> 108 <dd>Remplacer certaines suites de caractères comme :-) ou ;-) par des images.</dd> 109 109 110 110 <dt>Afficher .. billets par flux de syndication</dt> -
locales/fr/help/core_media.html
r59 r102 6 6 <body> 7 7 8 <h3>Liste des m edia</h3>9 <p>La page principale du gestionnaire de m ediaprésente la liste des fichiers10 (m edia) disponibles pour le blog en cours d'utilisation.</p>8 <h3>Liste des médias</h3> 9 <p>La page principale du gestionnaire de médias présente la liste des fichiers 10 (médias) disponibles pour le blog en cours d'utilisation.</p> 11 11 12 <p>Il est possible d'afficher les m ediadans des répertoires ou sous12 <p>Il est possible d'afficher les médias dans des répertoires ou sous 13 13 répertoires en cliquant sur leurs icônes ou leurs noms.</p> 14 14 … … 38 38 ordinateur.</p> 39 39 40 <h3>Détails du m edia</h3>41 <p>La page individuelle d'un m edia présente un ensemble d'informations sur40 <h3>Détails du média</h3> 41 <p>La page individuelle d'un média présente un ensemble d'informations sur 42 42 celui-ci et permet d'effectuer quelques opérations.</p> 43 43 … … 53 53 54 54 <dt>Privé</dt> 55 <dd>Changer le caractère privé ou no mdu média.</dd>55 <dd>Changer le caractère privé ou non du média.</dd> 56 56 57 57 <dt>Nouveau répertoire</dt> … … 68 68 être disponibles (selon la taille de l'image d'origine) :</p> 69 69 <ul> 70 <li><strong> square</strong> : carréde 48 pixels de côté,</li>71 <li><strong> thumbnail</strong> : image réduite à 100 pixels sur son plus grand côté,</li>72 <li><strong> small</strong> : image réduite à 240 pixels sur son plus grand côté,</li>73 <li><strong>m edium</strong> : image réduite à 500 pixes sur son plus grand côté,</li>70 <li><strong>carrée</strong> : image carrée de 48 pixels de côté,</li> 71 <li><strong>miniature</strong> : image réduite à 100 pixels sur son plus grand côté,</li> 72 <li><strong>petite</strong> : image réduite à 240 pixels sur son plus grand côté,</li> 73 <li><strong>moyenne</strong> : image réduite à 500 pixes sur son plus grand côté,</li> 74 74 <li><strong>originale</strong> : image originale non transformée.</li> 75 75 </ul> 76 <p>L a taille par défaut des 4 dernières versions peut être indiquéedans les paramètres du blog</p>76 <p>Les tailles par défaut des versions miniature, petite et moyenne, peuvent être modifiées dans les paramètres du blog</p> 77 77 78 78 <h3>Attacher un fichier à un billet</h3> 79 79 <p>Vous pouvez attacher un fichier à un billet très facilement. Commencez par 80 80 créer un nouveau billet et enregistrez-le. Cliquez alors sur "ajouter un fichier 81 au billet" pour ouvrir le gestionnaire de m edia.</p>81 au billet" pour ouvrir le gestionnaire de médias.</p> 82 82 83 83 <p>En cliquant sur l'icône [+] (Attacher un fichier au billet) vous pourrez -
locales/fr/help/core_post.html
r0 r104 50 50 <dd>Permet de choisir la syntaxe de saisie du billet. Le wiki est une syntaxe 51 51 simplifiée et sera converti en xhtml valide ; à moins que vous maîtrisiez 52 parfaitement le HTMLnous vous conseillons de la choisir de préférence.52 parfaitement le xhtml nous vous conseillons de la choisir de préférence. 53 53 Consultez la référence de la syntaxe Wiki pour plus 54 54 d'informations.</dd> -
locales/fr/help/core_user_pref.html
r114 r115 13 13 14 14 <dt>Pseudonyme</dt> 15 <dd>Vous pouvez choisir ici le nom sous lequel vos billets seront signés. </dd>15 <dd>Vous pouvez choisir ici le nom sous lequel vos billets seront signés. S'il est renseigné, le pseudonyme se substitue au nom et au prénom.</dd> 16 16 17 17 <dt>Email</dt> … … 34 34 dans les champs <em>Nouveau mot de passe</em> et <em>Confirmer le mot de 35 35 passe</em>. Le mot de passe doit être long d'au moins 6 caractères. 36 Si aucun mot de passe n'est donné, celui-cine sera pas changé.</dd>36 Si aucun mot de passe n'est spécifié, il ne sera pas changé.</dd> 37 37 </dl> 38 38 … … 42 42 <dd>Choix de la syntaxe par défaut pour la saisie des billets. Le wiki est une 43 43 syntaxe simplifiée et sera converti en xhtml valide ; à moins que vous ne 44 maîtrisiez parfaitement le HTMLnous vous conseillons le choix du wiki.</dd>44 maîtrisiez parfaitement le xhtml, nous vous conseillons le choix du wiki.</dd> 45 45 46 46 <dt>État des billets par défaut</dt> … … 83 83 <dd>Tous les plugins permettant d'être mis en favoris sont listés ici. 84 84 Cochez les cases correspondantes aux favoris que vous souhaitez utiliser, puis ajoutez-les.</dd> 85 85 </dl> 86 86 </body> 87 87 </html> -
locales/fr/main.po
r114 r115 59 59 msgstr "Afin de vous connecter, vous devez changer votre mot de passe." 60 60 61 msgid "Safe Mode can only be used for super administrators." 62 msgstr "Le mode sans échec ne peut être utilisé que par un super administrateur." 63 64 msgid "Safe mode login" 65 msgstr "Connexion en mode sans échec" 66 67 msgid "This mode allows you to login without activating any of your plugins. This may be useful to solve compatibility problems" 68 msgstr "Ce mode vous permet de vous connecter sans activer de plugins. Il peut être utile pour résoudre un problème de compatibilité" 69 70 msgid "Disable or delete any plugin suspected to cause trouble, then log out and log back in normally." 71 msgstr "Désactivez ou supprimez les plugins semblant en être la cause, puis déconnectez-vous et connectez-vous à nouveau normalement." 72 73 msgid "Get back to normal authentication" 74 msgstr "Retour à l'écran de connexion normal" 75 76 msgid "Connection issue?" 77 msgstr "Problème de connexion ?" 78 79 msgid "I want to log in in safe mode" 80 msgstr "Me connecter en mode sans échec" 81 61 82 msgid "Wrong username or password" 62 83 msgstr "Nom d'utilisateur ou mot de passe incorrect" … … 2666 2687 msgstr "Favoris par défaut" 2667 2688 2689 msgid "If you are a super administrator, you may define this set of favorites to be used by default on all blogs of this installation:" 2690 msgstr "Si vous êtes super administrateur, vous pouvez définir ce jeu de favoris comme l'ensemble par défaut pour tous les blogs de l'installation :" 2691 2668 2692 msgid "My preferences" 2669 2693 msgstr "Mes préférences" … … 2708 2732 msgstr "Les favoris ont été mis à jour avec succès." 2709 2733 2710 msgid "If you are a super administrator, you may define this set of favorites to be used by default on all blogs of this installation:"2711 msgstr "Si vous disposez du statut de super administrateur, vous pouvez faire de cet ensemble celui qui sera affiché par défaut sur tous les blogs de l'installation :"2712 2713 2734 msgid "Personal options has been successfully updated." 2714 2735 msgstr "Vos options personnelles ont été enregistrées avec succès." -
plugins/pages/list.php
r82 r96 101 101 $res .= 102 102 '<td class="nowrap">'. 103 form::checkbox(array('entries[]'),$this->rs->post_id,'','','',!$this->rs->isEditable() ).'</td>'.103 form::checkbox(array('entries[]'),$this->rs->post_id,'','','',!$this->rs->isEditable(),'title="'.__('select this page').'"').'</td>'. 104 104 '<td class="maximal"><a href="'.$this->core->getPostAdminURL($this->rs->post_type,$this->rs->post_id).'">'. 105 105 html::escapeHTML($this->rs->post_title).'</a></td>'. … … 190 190 '<p class="col checkboxes-helpers"></p>'. 191 191 192 '<p class="col right"><label for="action" class=" inline">'.__('Selected pages action:').'</label> '.192 '<p class="col right"><label for="action" class="classic">'.__('Selected pages action:').'</label> '. 193 193 form::combo('action',$combo_action). 194 194 '<input type="submit" value="'.__('ok').'" /></p>'. -
plugins/pages/page.php
r82 r91 359 359 360 360 echo 361 '<p><label >'.__('Page status:').361 '<p><label for="post_status">'.__('Page status:'). 362 362 form::combo('post_status',$status_combo,$post_status,'',3,!$can_publish). 363 363 '</label></p>'. 364 364 365 '<p><label >'.__('Published on:').365 '<p><label for="post_dt">'.__('Published on:'). 366 366 form::field('post_dt',16,16,$post_dt,'',3).'</label></p>'. 367 367 368 '<p><label >'.__('Text formating:').368 '<p><label for="post_format">'.__('Text formating:'). 369 369 form::combo('post_format',$formaters_combo,$post_format,'',3). 370 370 ($post_id && $post_format != 'xhtml' ? '<a href="'.html::escapeURL($redir_url).'&id='.$post_id.'&xconv=1">'.__('Convert to XHTML').'</a>' : ''). 371 371 '</label></p>'. 372 372 373 '<p><label class="classic">'.form::checkbox('post_open_comment',1,$post_open_comment,'',3).' '.373 '<p><label for="post_open_comment" class="classic">'.form::checkbox('post_open_comment',1,$post_open_comment,'',3).' '. 374 374 __('Accept comments').'</label></p>'. 375 '<p><label class="classic">'.form::checkbox('post_open_tb',1,$post_open_tb,'',3).' '.375 '<p><label for="post_open_tb" class="classic">'.form::checkbox('post_open_tb',1,$post_open_tb,'',3).' '. 376 376 __('Accept trackbacks').'</label></p>'. 377 377 378 '<p><label class="classic">'.__('Page position:').' '.378 '<p><label for="post_position" class="classic">'.__('Page position:').' '. 379 379 form::field('post_position',3,3,(string) $post_position,'',3). 380 380 '</label></p>'. 381 381 382 '<p><label >'.__('Page lang:').382 '<p><label for="post_lang">'.__('Page lang:'). 383 383 form::combo('post_lang',$lang_combo,$post_lang,'',5).'</label></p>'. 384 384 385 '<p><label >'.__('Page password:').385 '<p><label for="post_password">'.__('Page password:'). 386 386 form::field('post_password',10,32,html::escapeHTML($post_password),'maximal',3). 387 387 '</label></p>'. 388 388 389 389 '<div class="lockable">'. 390 '<p><label >'.__('Basename:').390 '<p><label for="post_url">'.__('Basename:'). 391 391 form::field('post_url',10,255,html::escapeHTML($post_url),'maximal',3). 392 392 '</label></p>'. … … 441 441 442 442 echo 443 '<p class="col"><label class="required"><abbr title="'.__('Required field').'">*</abbr> '.__('Title:').443 '<p class="col"><label for="post_title" class="required"><abbr title="'.__('Required field').'">*</abbr> '.__('Title:'). 444 444 form::field('post_title',20,255,html::escapeHTML($post_title),'maximal',2). 445 445 '</label></p>'. … … 535 535 '<p class="col checkboxes-helpers"></p>'. 536 536 537 '<p class="col right"> '.__('Selected comments action:').''.537 '<p class="col right"><label for="action">'.__('Selected comments action:').'</label> '. 538 538 form::combo('action',$combo_action). 539 539 form::hidden('redir',html::escapeURL($redir_url).'&id='.$post_id.'&co=1'). … … 557 557 '<form action="comment.php" method="post" id="comment-form">'. 558 558 '<fieldset class="constrained">'. 559 '<p><label class="required" title="'.__('Required field').'">'.__('Name:').559 '<p><label for="comment_author" class="required"><abbr title="'.__('Required field').'">*</abbr> '.__('Name:'). 560 560 form::field('comment_author',30,255,html::escapeHTML($core->auth->getInfo('user_cn'))). 561 561 '</label></p>'. 562 562 563 '<p><label >'.__('Email:').563 '<p><label for="comment_email">'.__('Email:'). 564 564 form::field('comment_email',30,255,html::escapeHTML($core->auth->getInfo('user_email'))). 565 565 '</label></p>'. 566 566 567 '<p><label >'.__('Web site:').567 '<p><label for="comment_site">'.__('Web site:'). 568 568 form::field('comment_site',30,255,html::escapeHTML($core->auth->getInfo('user_url'))). 569 569 '</label></p>'. 570 570 571 '<p class="area"><label for="comment_content" class="required" title="'. 572 __('Required field').'">'.__('Comment:').'</label> '. 571 '<p class="area"><label for="comment_content" class="required"><abbr title="'.__('Required field').'">*</abbr> '.__('Comment:').'</label> '. 573 572 form::textarea('comment_content',50,8,html::escapeHTML('')). 574 573 '</p>'. … … 620 619 621 620 '<td class="nowrap">'. 622 ($has_action ? form::checkbox(array('comments[]'),$rs->comment_id,'','','',0 ) : '').'</td>'.621 ($has_action ? form::checkbox(array('comments[]'),$rs->comment_id,'','','',0,'title="'.__('select this comment').'"') : '').'</td>'. 623 622 '<td class="maximal">'.$rs->comment_author.'</td>'. 624 623 '<td class="nowrap">'.dt::dt2str(__('%Y-%m-%d %H:%M'),$rs->comment_dt).'</td>'. -
plugins/pings/index.php
r0 r94 59 59 echo 60 60 '<form action="'.$p_url.'" method="post">'. 61 '<p><label class="classic">'.form::checkbox('pings_active',1,$core->blog->settings->pings->pings_active).' '.61 '<p><label for="pings_active" class="classic">'.form::checkbox('pings_active',1,$core->blog->settings->pings->pings_active).' '. 62 62 __('Activate pings extension').'</label></p>'; 63 63 … … 65 65 { 66 66 echo 67 '<p><label class="classic">'.__('Service name:').' '.67 '<p><label for="pings_srv_name" class="classic">'.__('Service name:').' '. 68 68 form::field(array('pings_srv_name[]'),20,128,html::escapeHTML($n)).'</label> '. 69 '<label class="classic">'.__('Service URI:').' '.70 form::field(array('pings_srv_uri[]' ),40,255,html::escapeHTML($u)).'</label>';69 '<label for="pings_srv_uri" class="classic">'.__('Service URI:').' '. 70 form::field(array('pings_srv_uri[]','pings_srv_uri'),40,255,html::escapeHTML($u)).'</label>'; 71 71 72 72 if (!empty($_GET['test'])) … … 84 84 85 85 echo 86 '<p><label class="classic">'.__('Service name:').' '.87 form::field(array('pings_srv_name[]' ),20,128).'</label> '.88 '<label class="classic">'.__('Service URI:').' '.89 form::field(array('pings_srv_uri[]' ),40,255).'</label>'.86 '<p><label for="pings_srv_name2" class="classic">'.__('Service name:').' '. 87 form::field(array('pings_srv_name[]','pings_srv_name2'),20,128).'</label> '. 88 '<label for="pings_srv_uri2" class="classic">'.__('Service URI:').' '. 89 form::field(array('pings_srv_uri[]','pings_srv_uri2'),40,255).'</label>'. 90 90 '</p>'. 91 91 -
plugins/pings/lib.pings.php
r0 r94 63 63 { 64 64 echo 65 '<p class="ping-services"><label class="classic">'.66 form::checkbox(array('pings_do[]' ),html::escapeHTML($v),in_array($v,$pings_do)).' '.65 '<p class="ping-services"><label for="pings_do" class="classic">'. 66 form::checkbox(array('pings_do[]','pings_do'),html::escapeHTML($v),in_array($v,$pings_do)).' '. 67 67 html::escapeHTML($k).'</label></p>'; 68 68 } -
plugins/tags/_admin.php
r3 r95 229 229 '<h2>'.__('Add tags to entries').'</h2>'. 230 230 '<form action="posts_actions.php" method="post">'. 231 '<div><label class="area">'.__('Tags to add:').'</label> '.231 '<div><label for="new_tags" class="area">'.__('Tags to add:').'</label> '. 232 232 form::textarea('new_tags',60,3). 233 233 '</div>'. … … 310 310 echo 311 311 '<fieldset><legend>'.__('Tags').'</legend>'. 312 '<p><label >'.__('Tags list format:').' '.312 '<p><label for="user_tag_list_format">'.__('Tags list format:').' '. 313 313 form::combo('user_tag_list_format',$combo,$value). 314 314 '</label></p></fieldset>'; -
plugins/tags/tag_posts.php
r3 r95 125 125 echo 126 126 '<form action="'.$this_url.'" method="post">'. 127 '<p><label class="classic">'.__('Rename this tag:').' '.127 '<p><label for="new_tag_id" class="classic">'.__('Rename this tag:').' '. 128 128 form::field('new_tag_id',20,255,html::escapeHTML($tag)). 129 129 '</label> <input type="submit" value="'.__('save').'" />'. … … 141 141 '<p class="col checkboxes-helpers"></p>'. 142 142 143 '<p class="col right"> '.__('Selected entries action:').''.143 '<p class="col right"><label for="action" class="classic">'.__('Selected entries action:').'</action> '. 144 144 form::combo('action',$combo_action). 145 145 '<input type="submit" value="'.__('ok').'" /></p>'. -
plugins/themeEditor/help.html
r0 r100 6 6 7 7 <body> 8 <p>The Theme Editor lets you modify the template files, the stylesheets and the JavaScript files of the theme you are currently using. .</p>8 <p>The Theme Editor lets you modify the template files, the stylesheets and the JavaScript files of the theme you are currently using.</p> 9 9 10 10 <p>The file list is divided in three sections :</p> -
plugins/themeEditor/index.php
r0 r100 90 90 '<form id="file-form" action="'.$p_url.'" method="post">'. 91 91 '<fieldset><legend>'.__('File editor').'</legend>'. 92 '<p> '.sprintf(__('Editing file %s'),'<strong>'.$file['f']).'</strong></p>'.92 '<p><label for="file_content">'.sprintf(__('Editing file %s'),'<strong>'.$file['f']).'</strong></label></p>'. 93 93 '<p>'.form::textarea('file_content',72,25,html::escapeHTML($file['c']),'maximal','',!$file['w']).'</p>'; 94 94
Note: See TracChangeset
for help on using the changeset viewer.