Dotclear

Changeset 1464:ca126bb08940


Ignore:
Timestamp:
08/18/13 22:17:56 (11 years ago)
Author:
Anne Kozlika <kozlika@…>
Branch:
default
Message:

Style: now you can use class="fieldset" to have a frame without using html cheating.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • admin/style/default.css

    r1452 r1464  
    10451045     margin-top:    1em; 
    10461046} 
     1047.fieldset { 
     1048     background: #fff; 
     1049     border: 1px solid #aaa; 
     1050     border-radius: 6px;  
     1051     padding: 1em .7em .5em; 
     1052     margin-bottom: 1em; 
     1053} 
     1054.fieldset h3 { 
     1055     color: #333; 
     1056} 
     1057 
    10471058/* paragraphe pour bouton Nouveau bidule */ 
    10481059p.top-add { 
     
    11501161 
    11511162th, td { 
    1152      border-width: 0 0 1px 0; 
     1163     border-width: 1px 0; 
    11531164     border-style: solid; 
    11541165     border-color: #e3e3e3; 
     
    11581169th { 
    11591170     text-align: left; 
    1160      border-bottom-color: #aaa; 
     1171     border-color: #bbb; 
     1172     background: #f3f3ff; 
    11611173} 
    11621174.noborder td, td.noborder, .noborder th, th.noborder { 
     
    12431255     padding: 0; 
    12441256} 
    1245 fieldset, .fieldset { 
     1257fieldset { 
    12461258     display: block; 
    12471259     margin: 0 0 1em 0; 
     
    12511263     border-color: #ccc; 
    12521264     background: #f5f5f5; 
    1253 } 
    1254 .fieldset { 
    1255      background: #eef; 
    12561265} 
    12571266legend { 
     
    15891598     -webkit-border-radius: 4px;  
    15901599     border-radius: 4px;  
     1600     clear: left; 
    15911601} 
    15921602.pagination a, .pagination strong { 
  • plugins/pages/list.php

    r1416 r1464  
    6666          switch ($this->rs->post_status) { 
    6767               case 1: 
    68                     $img_status = sprintf($img,__('published'),'check-on.png'); 
     68                    $img_status = sprintf($img,__('Published'),'check-on.png'); 
    6969                    break; 
    7070               case 0: 
    71                     $img_status = sprintf($img,__('unpublished'),'check-off.png'); 
     71                    $img_status = sprintf($img,__('Unpublished'),'check-off.png'); 
    7272                    break; 
    7373               case -1: 
    74                     $img_status = sprintf($img,__('scheduled'),'scheduled.png'); 
     74                    $img_status = sprintf($img,__('Scheduled'),'scheduled.png'); 
    7575                    break; 
    7676               case -2: 
    77                     $img_status = sprintf($img,__('pending'),'check-wrn.png'); 
     77                    $img_status = sprintf($img,__('Pending'),'check-wrn.png'); 
    7878                    break; 
    7979          } 
     
    8181          $protected = ''; 
    8282          if ($this->rs->post_password) { 
    83                $protected = sprintf($img,__('protected'),'locker.png'); 
     83               $protected = sprintf($img,__('Protected'),'locker.png'); 
    8484          } 
    8585           
    8686          $selected = ''; 
    8787          if ($this->rs->post_selected) { 
    88                $selected = sprintf($img,__('hidden'),'hidden.png'); 
     88               $selected = sprintf($img,__('Hidden'),'hidden.png'); 
    8989          } 
    9090           
     
    101101          $res .= 
    102102          '<td class="nowrap">'. 
    103           form::checkbox(array('entries[]'),$this->rs->post_id,'','','',!$this->rs->isEditable(),'title="'.__('select this page').'"').'</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>'. 
     
    145145if ($core->auth->check('publish,contentadmin',$core->blog->id)) 
    146146{ 
    147      $combo_action[__('publish')] = 'publish'; 
    148      $combo_action[__('unpublish')] = 'unpublish'; 
    149      $combo_action[__('schedule')] = 'schedule'; 
    150      $combo_action[__('mark as pending')] = 'pending'; 
     147     $combo_action[__('Publish')] = 'publish'; 
     148     $combo_action[__('Unpublish')] = 'unpublish'; 
     149     $combo_action[__('Schedule')] = 'schedule'; 
     150     $combo_action[__('Mark as pending')] = 'pending'; 
    151151} 
    152152if ($core->auth->check('admin',$core->blog->id)) { 
    153      $combo_action[__('change author')] = 'author'; 
     153     $combo_action[__('Change author')] = 'author'; 
    154154} 
    155155if ($core->auth->check('delete,contentadmin',$core->blog->id)) 
    156156{ 
    157      $combo_action[__('delete')] = 'delete'; 
     157     $combo_action[__('Delete')] = 'delete'; 
    158158} 
    159159 
Note: See TracChangeset for help on using the changeset viewer.

Sites map