Changeset 933:16f917091b24
- Timestamp:
- 10/29/12 13:50:52 (13 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/post.php
r916 r933 66 66 $status_combo[$v] = (string) $k; 67 67 } 68 $img_status_pattern = '<img class="img_select_option" alt="%1$s" title="%1$s" src="images/%2$s" />'; 68 69 69 70 # Formaters combo … … 320 321 321 322 echo '<h2>'.html::escapeHTML($core->blog->name).' › '.'<a href="posts.php">'.__('Entries').'</a> › <span class="page-title">'.$page_title; 322 323 if ($post_id) { 324 echo ' “'.$post_title.'”'; 325 } 323 if ($post_id) { 324 switch ($post_status) { 325 case 1: 326 $img_status = sprintf($img_status_pattern,__('published'),'check-on.png'); 327 break; 328 case 0: 329 $img_status = sprintf($img_status_pattern,__('unpublished'),'check-off.png'); 330 break; 331 case -1: 332 $img_status = sprintf($img_status_pattern,__('scheduled'),'scheduled.png'); 333 break; 334 case -2: 335 $img_status = sprintf($img_status_pattern,__('pending'),'check-wrn.png'); 336 break; 337 default: 338 $img_status = ''; 339 } 340 echo ' “'.$post_title.'”'.' '.$img_status; 341 } 326 342 echo '</span></h2>'; 327 343
Note: See TracChangeset
for help on using the changeset viewer.