Changeset 985:1be537185fa9
- Timestamp:
- 11/10/12 22:22:18 (13 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/pages/page.php
r957 r985 56 56 $status_combo[$v] = (string) $k; 57 57 } 58 $img_status_pattern = '<img class="img_select_option" alt="%1$s" title="%1$s" src="images/%2$s" />'; 58 59 59 60 # Formaters combo … … 339 340 ' › <a href="'.$p_url.'">'.__('Pages').'</a> › <span class="page-title">'.$page_title; 340 341 if ($post_id) { 341 echo ' “'.$post_title.'”'; 342 switch ($post_status) { 343 case 1: 344 $img_status = sprintf($img_status_pattern,__('published'),'check-on.png'); 345 break; 346 case 0: 347 $img_status = sprintf($img_status_pattern,__('unpublished'),'check-off.png'); 348 break; 349 case -1: 350 $img_status = sprintf($img_status_pattern,__('scheduled'),'scheduled.png'); 351 break; 352 case -2: 353 $img_status = sprintf($img_status_pattern,__('pending'),'check-wrn.png'); 354 break; 355 default: 356 $img_status = ''; 357 } 358 echo ' “'.$post_title.'”'.' '.$img_status; 342 359 } 343 360 echo '</span></h2>';
Note: See TracChangeset
for help on using the changeset viewer.