Changeset 1339:11fdde189adb for plugins/pages/page.php
- Timestamp:
- 08/12/13 14:10:18 (12 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/pages/page.php
r1336 r1339 338 338 } 339 339 340 echo '<h2>'.html::escapeHTML($core->blog->name). 341 ' › <a href="'.$p_url.'">'.__('Pages').'</a> › <span class="page-title">'.$page_title; 342 if ($post_id) { 343 switch ($post_status) { 344 case 1: 345 $img_status = sprintf($img_status_pattern,__('published'),'check-on.png'); 346 break; 347 case 0: 348 $img_status = sprintf($img_status_pattern,__('unpublished'),'check-off.png'); 349 break; 350 case -1: 351 $img_status = sprintf($img_status_pattern,__('scheduled'),'scheduled.png'); 352 break; 353 case -2: 354 $img_status = sprintf($img_status_pattern,__('pending'),'check-wrn.png'); 355 break; 356 default: 357 $img_status = ''; 358 } 359 echo ' “'.$post_title.'”'.' '.$img_status; 360 } 361 echo '</span></h2>'; 340 if ($post_id) { 341 switch ($post_status) { 342 case 1: 343 $img_status = sprintf($img_status_pattern,__('published'),'check-on.png'); 344 break; 345 case 0: 346 $img_status = sprintf($img_status_pattern,__('unpublished'),'check-off.png'); 347 break; 348 case -1: 349 $img_status = sprintf($img_status_pattern,__('scheduled'),'scheduled.png'); 350 break; 351 case -2: 352 $img_status = sprintf($img_status_pattern,__('pending'),'check-wrn.png'); 353 break; 354 default: 355 $img_status = ''; 356 } 357 $edit_entry_title = ' “'.$post_title.'”'.' '.$img_status; 358 } else { 359 $edit_entry_title = ''; 360 } 361 dcPage::breadcrumb( 362 array( 363 html::escapeHTML($core->blog->name) => '', 364 __('Pages') => $p_url, 365 '<span class="page-title">'.$page_title.$edit_entry_title.'</span>' => '' 366 )); 362 367 363 368 if ($post_id && $post->post_status == 1) {
Note: See TracChangeset
for help on using the changeset viewer.