Changeset 1464:ca126bb08940 for plugins
- Timestamp:
- 08/18/13 22:17:56 (12 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/pages/list.php
r1416 r1464 66 66 switch ($this->rs->post_status) { 67 67 case 1: 68 $img_status = sprintf($img,__(' published'),'check-on.png');68 $img_status = sprintf($img,__('Published'),'check-on.png'); 69 69 break; 70 70 case 0: 71 $img_status = sprintf($img,__(' unpublished'),'check-off.png');71 $img_status = sprintf($img,__('Unpublished'),'check-off.png'); 72 72 break; 73 73 case -1: 74 $img_status = sprintf($img,__(' scheduled'),'scheduled.png');74 $img_status = sprintf($img,__('Scheduled'),'scheduled.png'); 75 75 break; 76 76 case -2: 77 $img_status = sprintf($img,__(' pending'),'check-wrn.png');77 $img_status = sprintf($img,__('Pending'),'check-wrn.png'); 78 78 break; 79 79 } … … 81 81 $protected = ''; 82 82 if ($this->rs->post_password) { 83 $protected = sprintf($img,__(' protected'),'locker.png');83 $protected = sprintf($img,__('Protected'),'locker.png'); 84 84 } 85 85 86 86 $selected = ''; 87 87 if ($this->rs->post_selected) { 88 $selected = sprintf($img,__(' hidden'),'hidden.png');88 $selected = sprintf($img,__('Hidden'),'hidden.png'); 89 89 } 90 90 … … 101 101 $res .= 102 102 '<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>'. 104 104 '<td class="maximal"><a href="'.$this->core->getPostAdminURL($this->rs->post_type,$this->rs->post_id).'">'. 105 105 html::escapeHTML($this->rs->post_title).'</a></td>'. … … 145 145 if ($core->auth->check('publish,contentadmin',$core->blog->id)) 146 146 { 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'; 151 151 } 152 152 if ($core->auth->check('admin',$core->blog->id)) { 153 $combo_action[__(' change author')] = 'author';153 $combo_action[__('Change author')] = 'author'; 154 154 } 155 155 if ($core->auth->check('delete,contentadmin',$core->blog->id)) 156 156 { 157 $combo_action[__(' delete')] = 'delete';157 $combo_action[__('Delete')] = 'delete'; 158 158 } 159 159
Note: See TracChangeset
for help on using the changeset viewer.