Dotclear


Ignore:
Files:
25 edited

Legend:

Unmodified
Added
Removed
  • admin/comments.php

    r45 r96  
    213213     '<p class="col checkboxes-helpers"></p>'. 
    214214      
    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> '. 
    216216     form::combo('action',$combo_action,'','','','','title="'.__('action: ').'"'). 
    217217     $core->formNonce(). 
  • admin/index.php

    r82 r113  
    4444 
    4545# 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     } 
    4677$core->auth->user_prefs->addWorkspace('dashboard'); 
    4778if (!$core->auth->user_prefs->dashboard->prefExists('doclinks')) { 
     
    220251} 
    221252 
     253# Dashboard columns (processed first, as we need to know the result before displaying the icons.) 
     254$dashboardItems = ''; 
     255 
     256# Dotclear updates notifications 
     257if ($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 
     272if ($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 
     287foreach ($__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 
    222299# Dashboard icons 
    223 echo '<div id="dashboard-main"><div id="icons" class="clear">'; 
     300echo '<div id="dashboard-main"'.($dashboardItems ? '' : 'class="fullwidth"').'><div id="icons">'; 
    224301foreach ($__dashboard_icons as $i) 
    225302{ 
     
    277354echo '</div>'; 
    278355 
    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>'; 
     356echo ($dashboardItems ? '<div id="dashboard-items">'.$dashboardItems.'</div>' : ''); 
    322357 
    323358dcPage::close(); 
  • admin/post.php

    r70 r96  
    555555          '<p class="col checkboxes-helpers"></p>'. 
    556556           
    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> '. 
    558558          form::combo('action',$combo_action). 
    559559          form::hidden('redir','post.php?id='.$post_id.'&amp;co=1'). 
  • admin/posts.php

    r70 r96  
    284284     '<p class="col checkboxes-helpers"></p>'. 
    285285      
    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> '. 
    287287     form::combo('action',$combo_action). 
    288288     '<input type="submit" value="'.__('ok').'" /></p>'. 
  • admin/preferences.php

    r114 r115  
    460460} 
    461461if ($count > 0) echo '</ul>'; 
    462  
    463462if ($count > 0) { 
    464463     echo 
  • admin/search.php

    r70 r96  
    125125          '<p class="col checkboxes-helpers"></p>'. 
    126126           
    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> '. 
    128128          form::combo(array('action','action1'),$combo_action). 
    129129          '<input type="submit" value="'.__('ok').'" /></p>'. 
     
    165165          '<p class="col checkboxes-helpers"></p>'. 
    166166           
    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> '. 
    168168          form::combo(array('action','action2'),$combo_action). 
    169169          '<input type="submit" value="'.__('ok').'" /></p>'. 
  • inc/admin/prepend.php

    r85 r106  
    292292          $core->auth->isSuperAdmin() || 
    293293          $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     } 
    334295?> 
  • inc/core/class.dc.prefs.php

    r3 r106  
    4242          $this->table = $core->prefix.'pref'; 
    4343          $this->user_id =& $user_id; 
    44           $this->loadPrefs(); 
     44          //~ $this->loadPrefs(); 
    4545     } 
    4646      
     
    4848     Retrieves all workspaces (and their prefs) from database, with one query.  
    4949     */ 
    50      private function loadPrefs() 
     50     public function loadPrefs() 
    5151     { 
    5252          $strReq = 'SELECT user_id, pref_id, pref_value, '. 
     
    6060          } catch (Exception $e) { 
    6161               trigger_error(__('Unable to retrieve workspaces:').' '.$this->con->error(), E_USER_ERROR); 
     62               throw $e; 
    6263          } 
    6364           
  • inc/dbschema/upgrade.php

    r19 r107  
    184184                         $count++; 
    185185                    } 
     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                    } 
    186290               } 
    187291                
  • locales/en/help/media.html

    r82 r102  
    7171  <li><strong>original</strong>: the original, unchanged image.</li> 
    7272</ul> 
    73 <p>Default size for the last 4 versions can be indicated in blog's parameters.</p> 
     73<p>Default size for the versions thumbnail, small and medium can be modified in your blog's parameters.</p> 
    7474 
    7575<h3>Add a file to an entry</h3> 
  • locales/en/help/post.html

    r0 r104  
    4949  <dd>To choose the post syntax. Wiki is a simplified syntax 
    5050  and will be converted to valid xhtml&nbsp;; 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. 
    5252  See the Wiki syntax reference for more information.</dd> 
    5353   
  • locales/en/help/user_pref.html

    r114 r115  
    1313   
    1414  <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> 
    1616   
    1717  <dt>Email</dt> 
     
    7676  <dd>All plugins allowing to be put as favorites are diplayed here. Check the corresponding boxes  
    7777  and add them to the dashboard.</dd> 
    78   </dl> 
     78</dl> 
    7979</body> 
    8080</html> 
  • locales/fr/help/core_blog_pref.html

    r60 r104  
    6666  "formatage des dates" pour plus détails.</dd> 
    6767   
    68   <dt>Laisser les commentaires ouvert durant .. jours</dt> 
     68  <dt>Laisser les commentaires ouverts durant .. jours</dt> 
    6969  <dd>Permet d'indiquer le nombre de jours durant lesquels les commentaires 
    7070  sont possibles sur un billet après sa publication. Aucune valeur laissera 
    7171  les commentaires toujours ouverts.</dd> 
    7272   
    73   <dt>Laisser les rétroliens ouvert durant .. jours</dt> 
     73  <dt>Laisser les rétroliens ouverts durant .. jours</dt> 
    7474  <dd>Permet d'indiquer le nombre de jours durant lesquels les rétroliens 
    7575  sont possibles sur un billet après sa publication. Aucune valeur laissera 
     
    105105  page d'accueil et la première page de chaque catégorie.</dd> 
    106106   
    107   <dt>Afficher des émoticones dans les billets et commentaires</dt> 
    108   <dd>Remplacer certains 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> 
    109109   
    110110  <dt>Afficher .. billets par flux de syndication</dt> 
  • locales/fr/help/core_media.html

    r59 r102  
    66<body> 
    77 
    8 <h3>Liste des media</h3> 
    9 <p>La page principale du gestionnaire de media présente la liste des fichiers 
    10 (media) 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> 
    1111 
    12 <p>Il est possible d'afficher les media dans des répertoires ou sous 
     12<p>Il est possible d'afficher les médias dans des répertoires ou sous 
    1313répertoires en cliquant sur leurs icônes ou leurs noms.</p> 
    1414 
     
    3838ordinateur.</p> 
    3939 
    40 <h3>Détails du media</h3> 
    41 <p>La page individuelle d'un media présente un ensemble d'informations sur 
     40<h3>Détails du média</h3> 
     41<p>La page individuelle d'un média présente un ensemble d'informations sur 
    4242celui-ci et permet d'effectuer quelques opérations.</p> 
    4343 
     
    5353   
    5454  <dt>Privé</dt> 
    55   <dd>Changer le caractère privé ou nom du média.</dd> 
     55  <dd>Changer le caractère privé ou non du média.</dd> 
    5656   
    5757  <dt>Nouveau répertoire</dt> 
     
    6868être disponibles (selon la taille de l'image d'origine)&nbsp;:</p> 
    6969<ul> 
    70   <li><strong>square</strong>&nbsp;: carré de 48 pixels de côté,</li> 
    71   <li><strong>thumbnail</strong>&nbsp;: image réduite à 100 pixels sur son plus grand côté,</li> 
    72   <li><strong>small</strong>&nbsp;: image réduite à 240 pixels sur son plus grand côté,</li> 
    73   <li><strong>medium</strong>&nbsp;: image réduite à 500 pixes sur son plus grand côté,</li> 
     70  <li><strong>carrée</strong>&nbsp;: image carrée de 48 pixels de côté,</li> 
     71  <li><strong>miniature</strong>&nbsp;: image réduite à 100 pixels sur son plus grand côté,</li> 
     72  <li><strong>petite</strong>&nbsp;: image réduite à 240 pixels sur son plus grand côté,</li> 
     73  <li><strong>moyenne</strong>&nbsp;: image réduite à 500 pixes sur son plus grand côté,</li> 
    7474  <li><strong>originale</strong>&nbsp;: image originale non transformée.</li> 
    7575</ul> 
    76 <p>La taille par défaut des 4 dernières versions peut être indiquée dans 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> 
    7777 
    7878<h3>Attacher un fichier à un billet</h3> 
    7979<p>Vous pouvez attacher un fichier à un billet très facilement. Commencez par 
    8080créer un nouveau billet et enregistrez-le. Cliquez alors sur "ajouter un fichier 
    81 au billet" pour ouvrir le gestionnaire de media.</p> 
     81au billet" pour ouvrir le gestionnaire de médias.</p> 
    8282 
    8383<p>En cliquant sur l'icône [+] (Attacher un fichier au billet) vous pourrez 
  • locales/fr/help/core_post.html

    r0 r104  
    5050  <dd>Permet de choisir la syntaxe de saisie du billet. Le wiki est une syntaxe 
    5151  simplifiée et sera converti en xhtml valide ; à moins que vous maîtrisiez 
    52   parfaitement le HTML nous vous conseillons de la choisir de préférence. 
     52  parfaitement le xhtml nous vous conseillons de la choisir de préférence. 
    5353  Consultez la référence de la syntaxe Wiki pour plus 
    5454  d'informations.</dd> 
  • locales/fr/help/core_user_pref.html

    r114 r115  
    1313   
    1414  <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> 
    1616   
    1717  <dt>Email</dt> 
     
    3434  dans les champs <em>Nouveau mot de passe</em> et <em>Confirmer le mot de  
    3535  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-ci ne sera pas changé.</dd> 
     36  Si aucun mot de passe n'est spécifié, il ne sera pas changé.</dd> 
    3737</dl> 
    3838   
     
    4242  <dd>Choix de la syntaxe par défaut pour la saisie des billets. Le wiki est une 
    4343  syntaxe simplifiée et sera converti en xhtml valide&nbsp;; à moins que vous ne 
    44   maîtrisiez parfaitement le HTML nous vous conseillons le choix du wiki.</dd> 
     44  maîtrisiez parfaitement le xhtml, nous vous conseillons le choix du wiki.</dd> 
    4545   
    4646  <dt>État des billets par défaut</dt> 
     
    8383  <dd>Tous les plugins permettant d'être mis en favoris sont listés ici.  
    8484  Cochez les cases correspondantes aux favoris que vous souhaitez utiliser, puis ajoutez-les.</dd> 
    85   </dl> 
     85</dl> 
    8686</body> 
    8787</html> 
  • locales/fr/main.po

    r114 r115  
    5959msgstr "Afin de vous connecter, vous devez changer votre mot de passe." 
    6060 
     61msgid "Safe Mode can only be used for super administrators." 
     62msgstr "Le mode sans échec ne peut être utilisé que par un super administrateur." 
     63 
     64msgid "Safe mode login" 
     65msgstr "Connexion en mode sans échec" 
     66 
     67msgid "This mode allows you to login without activating any of your plugins. This may be useful to solve compatibility problems" 
     68msgstr "Ce mode vous permet de vous connecter sans activer de plugins. Il peut être utile pour résoudre un problème de compatibilité" 
     69 
     70msgid "Disable or delete any plugin suspected to cause trouble, then log out and log back in normally." 
     71msgstr "Désactivez ou supprimez les plugins semblant en être la cause, puis déconnectez-vous et connectez-vous à nouveau normalement." 
     72 
     73msgid "Get back to normal authentication" 
     74msgstr "Retour à l'écran de connexion normal" 
     75 
     76msgid "Connection issue?" 
     77msgstr "Problème de connexion ?" 
     78 
     79msgid "I want to log in in safe mode" 
     80msgstr "Me connecter en mode sans échec" 
     81 
    6182msgid "Wrong username or password" 
    6283msgstr "Nom d'utilisateur ou mot de passe incorrect" 
     
    26662687msgstr "Favoris par défaut" 
    26672688 
     2689msgid "If you are a super administrator, you may define this set of favorites to be used by default on all blogs of this installation:" 
     2690msgstr "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 
    26682692msgid "My preferences" 
    26692693msgstr "Mes préférences" 
     
    27082732msgstr "Les favoris ont été mis à jour avec succès." 
    27092733 
    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  
    27132734msgid "Personal options has been successfully updated." 
    27142735msgstr "Vos options personnelles ont été enregistrées avec succès." 
  • plugins/pages/list.php

    r82 r96  
    101101          $res .= 
    102102          '<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>'. 
    104104          '<td class="maximal"><a href="'.$this->core->getPostAdminURL($this->rs->post_type,$this->rs->post_id).'">'. 
    105105          html::escapeHTML($this->rs->post_title).'</a></td>'. 
     
    190190     '<p class="col checkboxes-helpers"></p>'. 
    191191      
    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> '. 
    193193     form::combo('action',$combo_action). 
    194194     '<input type="submit" value="'.__('ok').'" /></p>'. 
  • plugins/pages/page.php

    r82 r91  
    359359      
    360360     echo 
    361      '<p><label>'.__('Page status:'). 
     361     '<p><label for="post_status">'.__('Page status:'). 
    362362     form::combo('post_status',$status_combo,$post_status,'',3,!$can_publish). 
    363363     '</label></p>'. 
    364364      
    365      '<p><label>'.__('Published on:'). 
     365     '<p><label for="post_dt">'.__('Published on:'). 
    366366     form::field('post_dt',16,16,$post_dt,'',3).'</label></p>'. 
    367367      
    368      '<p><label>'.__('Text formating:'). 
     368     '<p><label for="post_format">'.__('Text formating:'). 
    369369     form::combo('post_format',$formaters_combo,$post_format,'',3). 
    370370     ($post_id && $post_format != 'xhtml' ? '<a href="'.html::escapeURL($redir_url).'&amp;id='.$post_id.'&amp;xconv=1">'.__('Convert to XHTML').'</a>' : ''). 
    371371     '</label></p>'. 
    372372      
    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).' '. 
    374374     __('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).' '. 
    376376     __('Accept trackbacks').'</label></p>'. 
    377377      
    378      '<p><label class="classic">'.__('Page position:').' '. 
     378     '<p><label for="post_position" class="classic">'.__('Page position:').' '. 
    379379     form::field('post_position',3,3,(string) $post_position,'',3). 
    380380     '</label></p>'. 
    381381      
    382      '<p><label>'.__('Page lang:'). 
     382     '<p><label for="post_lang">'.__('Page lang:'). 
    383383     form::combo('post_lang',$lang_combo,$post_lang,'',5).'</label></p>'. 
    384384      
    385      '<p><label>'.__('Page password:'). 
     385     '<p><label for="post_password">'.__('Page password:'). 
    386386     form::field('post_password',10,32,html::escapeHTML($post_password),'maximal',3). 
    387387     '</label></p>'. 
    388388      
    389389     '<div class="lockable">'. 
    390      '<p><label>'.__('Basename:'). 
     390     '<p><label for="post_url">'.__('Basename:'). 
    391391     form::field('post_url',10,255,html::escapeHTML($post_url),'maximal',3). 
    392392     '</label></p>'. 
     
    441441      
    442442     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:'). 
    444444     form::field('post_title',20,255,html::escapeHTML($post_title),'maximal',2). 
    445445     '</label></p>'. 
     
    535535          '<p class="col checkboxes-helpers"></p>'. 
    536536           
    537           '<p class="col right">'.__('Selected comments action:').' '. 
     537          '<p class="col right"><label for="action">'.__('Selected comments action:').'</label> '. 
    538538          form::combo('action',$combo_action). 
    539539          form::hidden('redir',html::escapeURL($redir_url).'&amp;id='.$post_id.'&amp;co=1'). 
     
    557557     '<form action="comment.php" method="post" id="comment-form">'. 
    558558     '<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:'). 
    560560     form::field('comment_author',30,255,html::escapeHTML($core->auth->getInfo('user_cn'))). 
    561561     '</label></p>'. 
    562562      
    563      '<p><label>'.__('Email:'). 
     563     '<p><label for="comment_email">'.__('Email:'). 
    564564     form::field('comment_email',30,255,html::escapeHTML($core->auth->getInfo('user_email'))). 
    565565     '</label></p>'. 
    566566      
    567      '<p><label>'.__('Web site:'). 
     567     '<p><label for="comment_site">'.__('Web site:'). 
    568568     form::field('comment_site',30,255,html::escapeHTML($core->auth->getInfo('user_url'))). 
    569569     '</label></p>'. 
    570570      
    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> '. 
    573572     form::textarea('comment_content',50,8,html::escapeHTML('')). 
    574573     '</p>'. 
     
    620619           
    621620          '<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>'. 
    623622          '<td class="maximal">'.$rs->comment_author.'</td>'. 
    624623          '<td class="nowrap">'.dt::dt2str(__('%Y-%m-%d %H:%M'),$rs->comment_dt).'</td>'. 
  • plugins/pings/index.php

    r0 r94  
    5959echo 
    6060'<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).' '. 
    6262__('Activate pings extension').'</label></p>'; 
    6363 
     
    6565{ 
    6666     echo 
    67      '<p><label class="classic">'.__('Service name:').' '. 
     67     '<p><label for="pings_srv_name" class="classic">'.__('Service name:').' '. 
    6868     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>'; 
    7171      
    7272     if (!empty($_GET['test'])) 
     
    8484 
    8585echo 
    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:').' '. 
     87form::field(array('pings_srv_name[]','pings_srv_name2'),20,128).'</label> '. 
     88'<label for="pings_srv_uri2" class="classic">'.__('Service URI:').' '. 
     89form::field(array('pings_srv_uri[]','pings_srv_uri2'),40,255).'</label>'. 
    9090'</p>'. 
    9191 
  • plugins/pings/lib.pings.php

    r0 r94  
    6363          { 
    6464               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)).' '. 
    6767               html::escapeHTML($k).'</label></p>'; 
    6868          } 
  • plugins/tags/_admin.php

    r3 r95  
    229229               '<h2>'.__('Add tags to entries').'</h2>'. 
    230230               '<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> '. 
    232232               form::textarea('new_tags',60,3). 
    233233               '</div>'. 
     
    310310          echo 
    311311          '<fieldset><legend>'.__('Tags').'</legend>'. 
    312           '<p><label>'.__('Tags list format:').' '. 
     312          '<p><label for="user_tag_list_format">'.__('Tags list format:').' '. 
    313313          form::combo('user_tag_list_format',$combo,$value). 
    314314          '</label></p></fieldset>'; 
  • plugins/tags/tag_posts.php

    r3 r95  
    125125          echo 
    126126          '<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:').' '. 
    128128          form::field('new_tag_id',20,255,html::escapeHTML($tag)). 
    129129          '</label> <input type="submit" value="'.__('save').'" />'. 
     
    141141     '<p class="col checkboxes-helpers"></p>'. 
    142142      
    143      '<p class="col right">'.__('Selected entries action:').' '. 
     143     '<p class="col right"><label for="action" class="classic">'.__('Selected entries action:').'</action> '. 
    144144     form::combo('action',$combo_action). 
    145145     '<input type="submit" value="'.__('ok').'" /></p>'. 
  • plugins/themeEditor/help.html

    r0 r100  
    66 
    77<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> 
    99 
    1010<p>The file list is divided in three sections&nbsp;:</p> 
  • plugins/themeEditor/index.php

    r0 r100  
    9090     '<form id="file-form" action="'.$p_url.'" method="post">'. 
    9191     '<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>'. 
    9393     '<p>'.form::textarea('file_content',72,25,html::escapeHTML($file['c']),'maximal','',!$file['w']).'</p>'; 
    9494      
Note: See TracChangeset for help on using the changeset viewer.

Sites map