Dotclear

Changeset 158:0feef9838bd0 for admin


Ignore:
Timestamp:
05/05/11 07:43:36 (14 years ago)
Author:
kozlika
Branch:
userprefs
Message:

Now le bouton Add New Machin est en full CSS. Je me charge de convaincre Gautier ;-)

Location:
admin
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • admin/blogs.php

    r123 r158  
    8484{ 
    8585     if ($core->auth->isSuperAdmin()) { 
    86           echo '<p class="top-add"><a class="button add" href="blog.php"><img src="images/add.png" alt="" />'.__('Create a new blog').'</a></p>'; 
     86          echo '<p class="top-add"><a class="button add" href="blog.php">'.__('Create a new blog').'</a></p>'; 
    8787     } 
    8888      
  • admin/posts.php

    r96 r158  
    232232     echo  
    233233     '<h2>'.html::escapeHTML($core->blog->name).' &rsaquo; '.__('Entries').'</h2>'. 
    234      '<p class="top-add"><a class="button add" href="post.php"><img src="images/add.png" alt="" /> '.__('New entry').'</a></p>'; 
     234     '<p class="top-add"><a class="button add" href="post.php">'.__('New entry').'</a></p>'; 
    235235      
    236236     if (!$show_filters) { 
  • admin/style/default.css

    r148 r158  
    11801180input[type=button], 
    11811181a.button, 
    1182 a.button.add, 
    11831182a.back { 
    11841183     display: inline-block; 
     
    11961195/* validation */ 
    11971196input[type=submit], 
    1198 input[type=button], 
    1199 a.button.add { 
     1197input[type=button] { 
    12001198     color: #fff; 
    12011199     border: 1px solid #2373A8; 
     
    12091207input[type=submit]:focus, 
    12101208input[type=reset]:focus, 
    1211 input[type=button]:focus, 
    1212 a.button.add:hover, 
    1213 a.button.add:focus { 
     1209input[type=button]:focus { 
    12141210     background: #2373A8; 
    12151211     background: -webkit-gradient(linear, left top, left bottom, from(#2373A8), to(#2C8FD1)); 
     
    12681264     content: "\ab\a0"; 
    12691265} 
     1266a.button.add { 
     1267     -webkit-border-radius: .5em; 
     1268     -moz-border-radius: .5em; 
     1269     border-radius: .5em; 
     1270     margin-bottom: .1em;      
     1271     background: #2C8FD1 url(add.png) no-repeat .2em center; 
     1272     color: #fff; 
     1273     padding: .2em 1em .2em 28px; 
     1274     border: 1px solid #2373A8; 
     1275} 
     1276a.button.add:hover, a.button.add:focus { 
     1277     background-color: #2373A8; 
     1278} 
  • admin/users.php

    r70 r158  
    119119     echo  
    120120     '<h2>'.__('Users').'</h2>'. 
    121      '<p class="top-add"><strong><a class="button add" href="user.php"><img src="images/add.png" alt="" />'.__('Create a new user').'</a></strong></p>'; 
     121     '<p class="top-add"><strong><a class="button add" href="user.php">'.__('Create a new user').'</a></strong></p>'; 
    122122      
    123123     if (!$show_filters) { 
Note: See TracChangeset for help on using the changeset viewer.

Sites map