Dotclear

Changeset 1474:122a77514ce1


Ignore:
Timestamp:
08/19/13 15:22:41 (10 years ago)
Author:
Anne Kozlika <kozlika@…>
Branch:
default
Message:

Fixes typo and other html mistakes. Thanks to brol.
Fixes #1477
Fixes #1479
Fixes #1480
Fixes #1481

Files:
19 edited

Legend:

Unmodified
Added
Removed
  • admin/blog.php

    r1399 r1474  
    7979     '<form action="blog.php" method="post" id="blog-form">'. 
    8080      
    81      $core->formNonce(). 
     81     '<div>'$core->formNonce().'</div>'. 
    8282     '<p><label class="required" for="blog_id"><abbr title="'.__('Required field').'">*</abbr> '.__('Blog ID:').'</label> '. 
    8383     form::field('blog_id',30,32,html::escapeHTML($blog_id)).'</p>'. 
  • admin/blog_pref.php

    r1399 r1474  
    504504          (html::escapeHTML($blog_settings->system->media_img_default_size) != '' ? html::escapeHTML($blog_settings->system->media_img_default_size) : 'm')). 
    505505     '</p>'. 
    506      '<p><label for="media_img_default_alignment">'.__('Image alignment').'</label>'. 
     506     '<p><label for="media_img_default_alignment">'.__('Image alignment:').'</label>'. 
    507507     form::combo('media_img_default_alignment',$img_default_alignment_combo,html::escapeHTML($blog_settings->system->media_img_default_alignment)). 
    508508     '</p>'. 
     
    548548     } else { 
    549549          if ($blog_id == $core->blog->id) { 
    550                echo '<p class="message">'.__('The current blog cannot be deleted').'</p>'; 
     550               echo '<p class="message">'.__('The current blog cannot be deleted.').'</p>'; 
    551551          } else { 
    552                echo '<p class="message">'.__('Only superadmin can delete a blog').'</p>'; 
     552               echo '<p class="message">'.__('Only superadmin can delete a blog.').'</p>'; 
    553553          } 
    554554     } 
  • admin/comments.php

    r1424 r1474  
    134134if ($core->auth->check('publish,contentadmin',$core->blog->id)) 
    135135{ 
    136      $combo_action[__('publish')] = 'publish'; 
    137      $combo_action[__('unpublish')] = 'unpublish'; 
    138      $combo_action[__('mark as pending')] = 'pending'; 
    139      $combo_action[__('mark as junk')] = 'junk'; 
     136     $combo_action[__('Publish')] = 'publish'; 
     137     $combo_action[__('Unpublish')] = 'unpublish'; 
     138     $combo_action[__('Mark as pending')] = 'pending'; 
     139     $combo_action[__('Mark as junk')] = 'junk'; 
    140140} 
    141141if ($core->auth->check('delete,contentadmin',$core->blog->id)) 
  • admin/comments_actions.php

    r1179 r1474  
    137137$core->callBehavior('adminCommentsActionsContent',$core,$action,$hidden_fields); 
    138138 
    139 echo '<p><a class="back" href="'.str_replace('&','&amp;',$redir).'">'.__('back').'</a></p>'; 
     139echo '<p><a class="back" href="'.str_replace('&','&amp;',$redir).'">'.__('Back to comments list').'</a></p>'; 
    140140 
    141141dcPage::close(); 
  • admin/plugins.php

    r1399 r1474  
    236236 
    237237if ($is_writable) { 
    238      echo __('To install or upgrade a plugin you generally just need to upload it '. 
     238     echo '<p>'.__('To install or upgrade a plugin you generally just need to upload it '. 
    239239     'in "Install or upgrade a plugin" section.'); 
    240240} else { 
    241      echo __('To install or upgrade a plugin you just need to extract it in your plugins directory.'); 
     241     echo '<p>'.__('To install or upgrade a plugin you just need to extract it in your plugins directory.'); 
    242242} 
    243243echo '</p>'; 
  • admin/posts.php

    r1426 r1474  
    282282     '<p><label for="month" class="ib">'.__('Month:').'</label> '. 
    283283     form::combo('month',$dt_m_combo,$month).'</p>'. 
    284      '<label for="lang" class="ib">'.__('Lang:').'</label> '. 
     284     '<p><label for="lang" class="ib">'.__('Lang:').'</label> '. 
    285285     form::combo('lang',$lang_combo,$lang).'</p> '. 
    286286     '</div>'. 
  • admin/preferences.php

    r1468 r1474  
    424424'</div>'. 
    425425'</div>'. 
    426 '<br class="clear" />'. //Opera sucks 
    427426'</fieldset>'; 
    428427 
     
    442441     '</div>'. 
    443442      
    444      '<p><label for="new_pwd_c">'.__('Confirm password:').'</label>'. 
     443     '<p><label for="new_pwd_c">'.__('Confirm new password:').'</label>'. 
    445444     form::password('new_pwd_c',20,255).'</p>'. 
    446445     '</fieldset>'. 
     
    500499     form::checkbox('user_ui_hide_std_favicon',1,$user_ui_hide_std_favicon).' '. 
    501500     __('Do not use standard favicon').'</label></p>'. 
    502      '<p class="clear form-note info">'.__('This will be applied for all users').'</p>'; 
     501     '<p class="clear form-note info">'.__('This will be applied for all users'). 
     502     '<br class="clear" /></p>';//Opera sucks; 
    503503} 
    504504 
    505505echo  
    506 '<br class="clear" />'. //Opera sucks 
    507506'</fieldset>'; 
    508507 
     
    530529'<p><label for="user_dm_quickentry" class="classic">'. 
    531530form::checkbox('user_dm_quickentry',1,$user_dm_quickentry).' '. 
    532 __('Display quick entry form').'</label></p>'. 
    533  
    534 '<br class="clear" />'. //Opera sucks 
     531__('Display quick entry form').'</label><br class="clear" />'. //Opera sucks 
     532'</p>'. 
     533 
    535534'</fieldset>'; 
    536535 
  • admin/update.php

    r1469 r1474  
    200200          echo 
    201201               '<p class="static-msg">'.sprintf(__('Dotclear %s is available.'),$new_v). 
    202                     ($version_info ? ' <a href="'.$version_info.'">('.__('information about this version').')</a>' : ''). 
     202                    ($version_info ? ' <a href="'.$version_info.'">('.__('Information about this version').')</a>' : ''). 
    203203                    '</p>'. 
    204204           
     
    246246     '<p class="message">'. 
    247247     __("Congratulations, you're one click away from the end of the update."). 
    248      ' <strong><a href="index.php?logout=1">'.__('Finish the update.').'</a></strong>'. 
     248     ' <strong><a href="index.php?logout=1">'.__('Finish the update').'</a>.</strong>'. 
    249249     '</p>'; 
    250250} 
  • admin/user.php

    r1399 r1474  
    226226'<p><label for="user_firstname">'.__('First Name:').'</label> '. 
    227227form::field('user_firstname',20,255,html::escapeHTML($user_firstname)). 
    228 '</label></p>'. 
    229  
    230 '<p><label for="user_displayname">'.__('Display name:').' '. 
     228'</p>'. 
     229 
     230'<p><label for="user_displayname">'.__('Display name:').'</label> '. 
    231231form::field('user_displayname',20,255,html::escapeHTML($user_displayname)). 
    232232'</p>'. 
  • admin/users.php

    r1426 r1474  
    3939 
    4040 
    41 # Get users 
     41#?Get users 
    4242$page = !empty($_GET['page']) ? $_GET['page'] : 1; 
    4343$nb_per_page =  30; 
     
    134134     form::combo('order',$order_combo,$order).'</p>'. 
    135135     '<p><span class="label ib">'.__('Show').'</span> <label for="nb" class="classic">'.   
    136      form::field('nb',3,3,$nb_per_page).' '.__('users per page').'</p> '. 
     136     form::field('nb',3,3,$nb_per_page).' '.__('users per page').'</label></p> '. 
    137137     '</div>'. 
    138138     '</div>'. 
  • locales/fr/main.po

    r1470 r1474  
    11231123#, php-format 
    11241124msgid "You can change your user language in your <a href=\"%1$s\">preferences</a> or change your blog's main language in your <a href=\"%2$s\">blog settings</a>." 
    1125 msgstr "Vous pouvez changer votre langue d'utilisateur dans vos <a href=\"%1$s\">préférences</a> ou changer la langue principale de votre blog dans vos <a href=\"%2$s\">paramètres de blog</a>." 
     1125msgstr "Vous pouvez changer votre langue d'utilisateur dans vos <a href=\"%1$s\">préférences</a> ou changer la langue principale de votre blog dans vos <a href=\"%2$s\">paramètres du blog</a>." 
    11261126 
    11271127msgid "Installed languages" 
     
    17901790 
    17911791msgid "If you want to change your email or password you must provide your current password." 
    1792 msgstr "Si vous voulez changer votre adresse email ou votre mot de passe, vous devez indiquer votre mot de passe." 
     1792msgstr "Si vous voulez changer votre adresse email ou votre mot de passe, vous devez indiquer votre mot de passe actuel." 
    17931793 
    17941794msgid "No favorite selected" 
     
    18261826 
    18271827msgid "If you have changed this user email or password you must provide your current password to save these modifications." 
    1828 msgstr "Si vous voulez changer votre adresse email ou votre mot de passe, vous devez indiquer votre mot de passe." 
     1828msgstr "Si vous voulez changer votre adresse email ou votre mot de passe, vous devez indiquer votre mot de passe actuel pour enregistrer ces modifications." 
    18291829 
    18301830msgid "My options" 
     
    31023102msgid "very strong" 
    31033103msgstr "très fort" 
     3104 
     3105msgid "Confirm new password:" 
     3106msgstr "Confirmez le nouveau mot de passe :" 
     3107 
     3108msgid "Not selected" 
     3109msgstr "Non sélectionné" 
     3110 
     3111msgid "Back to comments list" 
     3112msgstr "Retour à la liste des commentaires" 
     3113 
     3114msgid "The current blog cannot be deleted." 
     3115msgstr "Le blog courant ne peut être détruit." 
     3116 
     3117msgid "Only superadmin can delete a blog." 
     3118msgstr "Seul un superadministrateur peut supprimer un blog." 
     3119 
     3120msgid "Invalid publication date" 
     3121msgstr "Date de publication invalide." 
     3122 
     3123msgid "Image alignment:" 
     3124msgstr "Alignement de l'image :" 
     3125 
     3126msgid "Finish the update" 
     3127msgstr "Finir la mise à jour" 
     3128 
     3129msgid "Information about this version" 
     3130psgstr "Informations sur cette version" 
  • locales/fr/plugins.po

    r1468 r1474  
    4242 
    4343msgid "blog settings" 
    44 msgstr "Réglages du blog" 
     44msgstr "paramètres du blog" 
    4545 
    4646msgid "Value" 
     
    305305 
    306306msgid "No attachment." 
    307 msgstr "Pas de fichier attaché" 
     307msgstr "Pas de fichier attaché." 
    308308 
    309309msgid "Add files to this entry" 
     
    19341934msgid "Edit theme files" 
    19351935msgstr "Modifier les fichiers du thème" 
     1936 
     1937msgid "Blog settings" 
     1938msgstr "Paramètres du blog" 
  • plugins/aboutConfig/index.php

    r1358 r1474  
    8686     return 
    8787     '<tr class="line">'. 
    88      '<td scope="raw"><label for="s_'.$id.'">'.sprintf($slabel,html::escapeHTML($id)).'</label></td>'. 
     88     '<td scope="row"><label for="s_'.$id.'">'.sprintf($slabel,html::escapeHTML($id)).'</label></td>'. 
    8989     '<td>'.$field.'</td>'. 
    9090     '<td>'.$s['type'].'</td>'. 
  • plugins/antispam/_admin.php

    r1207 r1474  
    5959          if ($ttl != null && $ttl >=0) { 
    6060               echo '<p>'.sprintf(__('All spam comments older than %s day(s) will be automatically deleted.'), $ttl).' '. 
    61                sprintf(__('You can modify this duration in the %s'),'<a href="blog_pref.php#antispam_moderation_ttl"> '.__('Blog preferences').'</a>'). 
     61               sprintf(__('You can modify this duration in the %s'),'<a href="blog_pref.php#antispam_moderation_ttl"> '.__('Blog settings').'</a>'). 
    6262               '</p>'; 
    6363          } 
  • plugins/antispam/index.php

    r1423 r1474  
    170170     if ($moderationTTL != null && $moderationTTL >=0) { 
    171171          echo '<p>'.sprintf(__('All spam comments older than %s day(s) will be automatically deleted.'), $moderationTTL).' '. 
    172           sprintf(__('You can modify this duration in the %s'),'<a href="blog_pref.php#antispam_moderation_ttl"> '.__('Blog preferences').'</a>'). 
     172          sprintf(__('You can modify this duration in the %s'),'<a href="blog_pref.php#antispam_moderation_ttl"> '.__('Blog settings').'</a>'). 
    173173               '</p>'; 
    174174     } 
     
    212212          '<td class="nowrap">'.form::checkbox(array('filters_active[]'),$fid,$f->active, '', '', false, 'title="'.__('Active').'"').'</td>'. 
    213213          '<td class="nowrap">'.form::checkbox(array('filters_auto_del[]'),$fid,$f->auto_delete, '', '', false, 'title="'.__('Auto Del.').'"').'</td>'. 
    214           '<td class="nowrap" scope="raw">'.$f->name.'</td>'. 
     214          '<td class="nowrap" scope="row">'.$f->name.'</td>'. 
    215215          '<td class="maximal">'.$f->description.'</td>'. 
    216216          '<td class="status">'.$gui_link.'</td>'. 
  • plugins/pages/page.php

    r1454 r1474  
    455455      
    456456     echo 
    457      '<p><label for="post_status">'.__('Page status:').'</label> '. 
     457     '<p><label for="post_status" class="ib">'.__('Page status:').'</label> '. 
    458458     form::combo('post_status',$status_combo,$post_status,'','',!$can_publish). 
    459459     '</p>'. 
    460460      
    461      '<p><label for="post_dt">'.__('Published on:').'</label>'. 
     461     '<p><label for="post_dt" class="ib">'.__('Published on:').'</label>'. 
    462462     form::field('post_dt',16,16,$post_dt,($bad_dt ? 'invalid' : '')).'</p>'. 
    463463      
    464      '<p><label for="post_format">'.__('Text formating:').'</label>'. 
     464     '<p><label for="post_format" class="ib">'.__('Text formating:').'</label>'. 
    465465     form::combo('post_format',$formaters_combo,$post_format). 
    466466     ($post_id && $post_format != 'xhtml' ? '<a class="button" href="'.html::escapeURL($redir_url).'&amp;id='.$post_id.'&amp;xconv=1">'.__('Convert to XHTML').'</a>' : ''). 
     
    493493     '</p>'. 
    494494      
    495      '<p><label for="post_lang">'.__('Page lang:').'</label>'. 
     495     '<p><label for="post_lang" class="ib">'.__('Page lang:').'</label>'. 
    496496     form::combo('post_lang',$lang_combo,$post_lang).'</p>'. 
    497497      
    498      '<p><label for="post_password">'.__('Page password:').'</label>'. 
     498     '<p><label for="post_password" class="ib">'.__('Page password:').'</label>'. 
    499499     form::field('post_password',10,32,html::escapeHTML($post_password),'maximal'). 
    500500     '</p>'. 
    501501      
    502      '<div class="lockable">'. 
    503      '<p><label for="post_url">'.__('Basename:').'</label>'. 
     502     '<div class="lockable" class="ib">'. 
     503     '<p><label for="post_url" class="ib">'.__('Basename:').'</label>'. 
    504504     form::field('post_url',10,255,html::escapeHTML($post_url),'maximal'). 
    505505     '</p>'. 
     
    512512     { 
    513513          echo 
    514           '<h3 class="clear">'.__('Attachments').'</h3>'; 
     514          '<h4 class="clear">'.__('Attachments').'</h4>'; 
    515515          foreach ($post_media as $f) 
    516516          { 
     
    541541           
    542542          if (empty($post_media)) { 
    543                echo '<p>'.__('No attachment.').'</p>'; 
     543               echo '<p class="form-note">'.__('No attachment.').'</p>'; 
    544544          } 
    545545          echo '<p><a class="button" href="media.php?post_id='.$post_id.'">'.__('Add files to this page').'</a></p>'; 
  • plugins/simpleMenu/index.php

    r1358 r1474  
    233233                     
    234234                         // All done successfully, return to menu items list 
    235                          http::redirect($p_url.'&added=1'); 
     235                         http::redirect($p_url.'&amp;added=1'); 
    236236                    } else { 
    237237                         throw new Exception(__('Label and URL of menu item are mandatory.')); 
     
    268268                     
    269269                    // All done successfully, return to menu items list 
    270                     http::redirect($p_url.'&removed=1'); 
     270                    http::redirect($p_url.'&amp;removed=1'); 
    271271               } else { 
    272272                    throw new Exception(__('No menu items selected.')); 
     
    302302 
    303303               // All done successfully, return to menu items list 
    304                http::redirect($p_url.'&updated=1'); 
     304               http::redirect($p_url.'&amp;updated=1'); 
    305305          } 
    306306          catch (Exception $e) { 
     
    339339 
    340340               // All done successfully, return to menu items list 
    341                http::redirect($p_url.'&neworder=1'); 
     341               http::redirect($p_url.'&amp;neworder=1'); 
    342342          }  
    343343          catch (Exception $e) { 
     
    402402          case 1: 
    403403               // Selection du type d'item 
    404                echo '<form id="additem" action="'.$p_url.'&add=2" method="post">'; 
     404               echo '<form id="additem" action="'.$p_url.'&amp;add=2" method="post">'; 
    405405               echo '<fieldset><legend>'.__('Select type').'</legend>'; 
    406406               echo '<p class="field"><label for="item_type" class="classic">'.__('Type of item menu:').'</label>'.form::combo('item_type',$items_combo,'').'</p>'; 
     
    412412               if ($items[$item_type][1]) { 
    413413                    // Choix à faire 
    414                     echo '<form id="additem" action="'.$p_url.'&add=3" method="post">'; 
     414                    echo '<form id="additem" action="'.$p_url.'&amp;add=3" method="post">'; 
    415415                    echo '<fieldset><legend>'.$item_type_label.'</legend>'; 
    416416                    switch ($item_type) { 
     
    449449          case 3: 
    450450               // Libellé et description 
    451                echo '<form id="additem" action="'.$p_url.'&add=4" method="post">'; 
     451               echo '<form id="additem" action="'.$p_url.'&amp;add=4" method="post">'; 
    452452               echo '<fieldset><legend>'.$item_type_label.($item_select_label != '' ? ' ('.$item_select_label.')' : '').'</legend>'; 
    453453               echo '<p class="field"><label for="item_label" class="classic required"><abbr title="'.__('Required field').'">*</abbr> '. 
     
    467467// Liste des items 
    468468if (!$step) { 
    469      echo '<form id="menuitemsappend" action="'.$p_url.'&add=1" method="post">'; 
     469     echo '<form id="menuitemsappend" action="'.$p_url.'&amp;add=1" method="post">'; 
    470470     echo '<p class="top-add">'.$core->formNonce().'<input class="button add" type="submit" name="appendaction" value="'.__('Add an item').'" /></p>'; 
    471471     echo '</form>'; 
  • plugins/userPref/index.php

    r1358 r1474  
    8282     return 
    8383     '<tr class="line">'. 
    84      '<td scope="raw"><label for="s_'.$id.'">'.sprintf($slabel,html::escapeHTML($id)).'</label></td>'. 
     84     '<td scope="row"><label for="s_'.$id.'">'.sprintf($slabel,html::escapeHTML($id)).'</label></td>'. 
    8585     '<td>'.$field.'</td>'. 
    8686     '<td>'.$s['type'].'</td>'. 
  • plugins/widgets/class.widgets.php

    r1454 r1474  
    246246                         '<p><label for="'.$wfid.'">'.$s['title'].'</label> '. 
    247247                         form::textarea(array($iname,$wfid),30,5,html::escapeHTML($s['value']),'maximal'). 
    248                          '</label></p>'; 
     248                         '</p>'; 
    249249                         break; 
    250250                    case 'check': 
Note: See TracChangeset for help on using the changeset viewer.

Sites map