Dotclear

Changeset 133:4048ab5a17d4 for admin


Ignore:
Timestamp:
05/04/11 08:47:36 (14 years ago)
Author:
kozlika
Branch:
userprefs
Children:
134:112c91791ac8, 136:4f8ecaf1b813
Message:

Now we have current form-notes, warning form-notes and info form-notes

Location:
admin
Files:
1 added
6 edited

Legend:

Unmodified
Added
Removed
  • admin/auth.php

    r73 r133  
    365365               echo '<legend>'.__('Safe mode login').'</legend>'; 
    366366               echo  
    367                     '<p class="form-note">'. 
    368                     __('This mode allows you to login without activating any of your plugins. This may be useful to solve compatibility problems').'&nbsp;'. 
     367                    '<p class="form-note info">'. 
     368                    __('This mode allows you to login without activating any of your plugins. This may be useful to solve compatibility problems').'&nbsp;<br />'. 
    369369                    __('Disable or delete any plugin suspected to cause trouble, then log out and log back in normally.'). 
    370370                    '</p>'; 
  • admin/blog.php

    r38 r133  
    7878     '<p><label class="required"><abbr title="'.__('Required field').'">*</abbr> '.__('Blog ID:').' '. 
    7979     form::field('blog_id',30,32,html::escapeHTML($blog_id)).'</label></p>'. 
    80      '<p class="form-note">'.__('At least 2 characters using letters, numbers or symbols.').' '. 
    81      __('Please note that changing your blog ID may require changes in your public index.php file.').'</p>'. 
     80     '<p class="form-note">'.__('At least 2 characters using letters, numbers or symbols.').'</p> '. 
     81     '<p class="form-note warn">'.__('Please note that changing your blog ID may require changes in your public index.php file.').'</p>'. 
    8282      
    8383     '<p><label class="required"><abbr title="'.__('Required field').'">*</abbr> '.__('Blog name:').' '. 
  • admin/blog_pref.php

    r122 r133  
    268268          '<p><label for="blog_id" class="required"><abbr title="'.__('Required field').'">*</abbr> '.__('Blog ID:'). 
    269269          form::field('blog_id',30,32,html::escapeHTML($blog_id)).'</label></p>'. 
    270           '<p class="form-note">'.__('At least 2 characters using letters, numbers or symbols.').' '. 
    271           __('Please note that changing your blog ID may require changes in your public index.php file.').'</p>'; 
     270          '<p class="form-note">'.__('At least 2 characters using letters, numbers or symbols.').'</p> '. 
     271          '<p class="form-note warn">'.__('Please note that changing your blog ID may require changes in your public index.php file.').'</p>'; 
    272272     } 
    273273      
  • admin/media.php

    r68 r133  
    328328     echo 
    329329     '<div class="col"><h3 id="add-file">'.__('Add files').'</h3>'. 
     330     '<p class="form-note info">'.__('Please take care to publish media that you own and that are not protected by copyright.').'</p>'. 
    330331     '<form id="media-upload" class="clear" action="'.html::escapeURL($page_url).'" method="post" enctype="multipart/form-data">'. 
    331332     '<div>'.form::hidden(array('MAX_FILE_SIZE'),DC_MAX_UPLOAD_SIZE). 
     
    343344     '</fieldset>'. 
    344345     '</form>'. 
    345      '<p class="form-note">'.__('Please take care to publish media that you own and that are not protected by copyright.').'</p>'. 
    346346     '</div>'; 
    347347      
  • admin/preferences.php

    r115 r133  
    487487 
    488488echo '<div id="default-favs"><h3>'.__('Default favorites').'</h3>'; 
    489 echo '<p class="form-note clear">'.__('Those favorites are displayed when My Favorites list is empty.').'</p>'; 
     489echo '<p class="form-note info clear">'.__('Those favorites are displayed when My Favorites list is empty.').'</p>'; 
    490490$count = 0; 
    491491foreach ($ws->dumpPrefs() as $k => $v) { 
  • admin/style/default.css

    r132 r133  
    10741074} 
    10751075p.form-note { 
    1076      font-style:normal; 
     1076     font-style:italic; 
     1077     margin-top: -.7em; 
     1078     color: #666; 
     1079} 
     1080p.form-note.warn, p.form-note.info { 
     1081     font-style: normal; 
     1082     padding: .2em 1em .1em 24px; 
     1083} 
     1084p.form-note.warn { 
     1085     background: #ffd url(warning.png) no-repeat .2em .2em; 
     1086     border: 1px solid #f0c020; 
     1087} 
     1088p.form-note.info { 
    10771089     background: #eef url(info.png) no-repeat .2em .2em; 
    10781090     border: 1px solid #99f; 
    1079      padding: .2em 1em .1em 24px; 
    1080      margin-top: -.7em; 
    1081      color: #666; 
    10821091} 
    10831092.form-note a {border-bottom: 1px solid #99f;} 
Note: See TracChangeset for help on using the changeset viewer.

Sites map