Dotclear

Changeset 1474:122a77514ce1 for admin


Ignore:
Timestamp:
08/19/13 15:22:41 (12 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

Location:
admin
Files:
10 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>'. 
Note: See TracChangeset for help on using the changeset viewer.

Sites map