Changeset 1353:745f14d89686 for inc
- Timestamp:
- 08/14/13 10:35:15 (12 years ago)
- Branch:
- default
- Location:
- inc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
inc/admin/lib.pager.php
r1179 r1353 93 93 switch ($this->rs->post_status) { 94 94 case 1: 95 $img_status = sprintf($img,__(' published'),'check-on.png');95 $img_status = sprintf($img,__('Published'),'check-on.png'); 96 96 break; 97 97 case 0: 98 $img_status = sprintf($img,__(' unpublished'),'check-off.png');98 $img_status = sprintf($img,__('Unpublished'),'check-off.png'); 99 99 break; 100 100 case -1: 101 $img_status = sprintf($img,__(' scheduled'),'scheduled.png');101 $img_status = sprintf($img,__('Scheduled'),'scheduled.png'); 102 102 break; 103 103 case -2: 104 $img_status = sprintf($img,__(' pending'),'check-wrn.png');104 $img_status = sprintf($img,__('Pending'),'check-wrn.png'); 105 105 break; 106 106 } … … 108 108 $protected = ''; 109 109 if ($this->rs->post_password) { 110 $protected = sprintf($img,__(' protected'),'locker.png');110 $protected = sprintf($img,__('Protected'),'locker.png'); 111 111 } 112 112 113 113 $selected = ''; 114 114 if ($this->rs->post_selected) { 115 $selected = sprintf($img,__(' selected'),'selected.png');115 $selected = sprintf($img,__('Selected'),'selected.png'); 116 116 } 117 117 … … 192 192 switch ($this->rs->post_status) { 193 193 case 1: 194 $img_status = sprintf($img,__(' published'),'check-on.png');194 $img_status = sprintf($img,__('Published'),'check-on.png'); 195 195 break; 196 196 case 0: 197 $img_status = sprintf($img,__(' unpublished'),'check-off.png');197 $img_status = sprintf($img,__('Unpublished'),'check-off.png'); 198 198 break; 199 199 case -1: 200 $img_status = sprintf($img,__(' scheduled'),'scheduled.png');200 $img_status = sprintf($img,__('Scheduled'),'scheduled.png'); 201 201 break; 202 202 case -2: 203 $img_status = sprintf($img,__(' pending'),'check-wrn.png');203 $img_status = sprintf($img,__('Pending'),'check-wrn.png'); 204 204 break; 205 205 } … … 207 207 $protected = ''; 208 208 if ($this->rs->post_password) { 209 $protected = sprintf($img,__(' protected'),'locker.png');209 $protected = sprintf($img,__('Protected'),'locker.png'); 210 210 } 211 211 212 212 $selected = ''; 213 213 if ($this->rs->post_selected) { 214 $selected = sprintf($img,__(' selected'),'selected.png');214 $selected = sprintf($img,__('Selected'),'selected.png'); 215 215 } 216 216 … … 306 306 switch ($this->rs->comment_status) { 307 307 case 1: 308 $img_status = sprintf($img,__(' published'),'check-on.png');308 $img_status = sprintf($img,__('Published'),'check-on.png'); 309 309 break; 310 310 case 0: 311 $img_status = sprintf($img,__(' unpublished'),'check-off.png');311 $img_status = sprintf($img,__('Unpublished'),'check-off.png'); 312 312 break; 313 313 case -1: 314 $img_status = sprintf($img,__(' pending'),'check-wrn.png');314 $img_status = sprintf($img,__('Pending'),'check-wrn.png'); 315 315 break; 316 316 case -2: 317 $img_status = sprintf($img,__(' junk'),'junk.png');317 $img_status = sprintf($img,__('Junk'),'junk.png'); 318 318 break; 319 319 } -
inc/core/class.dc.blog.php
r1280 r1353 91 91 $this->public_path = path::fullFromRoot($this->settings->system->public_path,DC_ROOT); 92 92 93 $this->post_status['-2'] = __(' pending');94 $this->post_status['-1'] = __(' scheduled');95 $this->post_status['0'] = __(' unpublished');96 $this->post_status['1'] = __(' published');97 98 $this->comment_status['-2'] = __(' junk');99 $this->comment_status['-1'] = __(' pending');100 $this->comment_status['0'] = __(' unpublished');101 $this->comment_status['1'] = __(' published');93 $this->post_status['-2'] = __('Pending'); 94 $this->post_status['-1'] = __('Scheduled'); 95 $this->post_status['0'] = __('Unpublished'); 96 $this->post_status['1'] = __('Published'); 97 98 $this->comment_status['-2'] = __('Junk'); 99 $this->comment_status['-1'] = __('Pending'); 100 $this->comment_status['0'] = __('Unpublished'); 101 $this->comment_status['1'] = __('Published'); 102 102 103 103 # --BEHAVIOR-- coreBlogConstruct
Note: See TracChangeset
for help on using the changeset viewer.