Breadcrumb tweaks

git-svn-id: http://svn.automattic.com/wordpress/trunk@8994 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2008-09-27 04:56:51 +00:00
parent d02b08f07c
commit 1354cd8012
1 changed files with 8 additions and 1 deletions

View File

@ -80,7 +80,14 @@ unset($hook_suffixes, $hook_suffix);
<div id="sidemenu-bg"><br /></div>
<div id="wpcontent">
<div id="wphead">
<h1><?php if ( '' == get_bloginfo('name', 'display') ) echo '&nbsp;'; else echo get_bloginfo('name', 'display'); ?><span id="breadcrumb"><a href="index.php"><?php _e('Dashboard') ?></a> &rsaquo; <?php echo $title ?></span></h1>
<?php
if ( 'index.php' == $pagenow ) {
$breadcrumb = __('Dashboard');
} else {
$breadcrumb = '<a href="index.php">' . __('Dashboard') . '</a> &rsaquo; ' . $title;
}
?>
<h1><?php if ( '' == get_bloginfo('name', 'display') ) echo '&nbsp;'; else echo get_bloginfo('name', 'display'); ?><span id="breadcrumb"><?php echo $breadcrumb ?></span></h1>
</div>
<?php