Dotclear

Changeset 1464:ca126bb08940 for plugins


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

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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