mirror of
https://github.com/typecho/typecho.git
synced 2025-03-20 01:49:40 +01:00
改进导航菜单
This commit is contained in:
parent
81f9dd4ae9
commit
ee723e3101
@ -611,14 +611,14 @@ margin-top: 25px;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.typecho-head-nav .site-name {
|
||||
/*.typecho-head-nav .site-name {
|
||||
display: inline-block;
|
||||
float: left;
|
||||
padding: 0 20px 0 10px;
|
||||
height: 36px;
|
||||
line-height: 36px;
|
||||
font-weight: bold;
|
||||
}
|
||||
}*/
|
||||
|
||||
#typecho-nav-list ul {
|
||||
list-style: none;
|
||||
|
@ -1,13 +1,13 @@
|
||||
<?php if(!defined('__TYPECHO_ROOT_DIR__')) exit; ?>
|
||||
<div class="typecho-head-nav clearfix">
|
||||
<a class="site-name" href="<?php $options->siteUrl(); ?>"><?php $options->title(); ?></a>
|
||||
<nav id="typecho-nav-list">
|
||||
<?php $menu->output(); ?>
|
||||
</nav>
|
||||
<div class="operate">
|
||||
<!-- <?php Typecho_Plugin::factory('admin/menu.php')->navBar(); _e('欢迎'); ?>, -->
|
||||
<a href="<?php $options->adminUrl('profile.php'); ?>" class="author"><?php $user->screenName(); ?></a><!--
|
||||
--><a class="exit" href="<?php $options->logoutUrl(); ?>"><?php _e('登出'); ?></a>
|
||||
--><a class="exit" href="<?php $options->logoutUrl(); ?>"><?php _e('登出'); ?></a><!--
|
||||
--><a href="<?php $options->siteUrl(); ?>">网站</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -11,8 +11,8 @@ $stat = Typecho_Widget::widget('Widget_Stat');
|
||||
<?php include 'page-title.php'; ?>
|
||||
<div class="col-group typecho-page-main">
|
||||
<div class="col-mb-12 col-tb-3">
|
||||
<p><?php echo '<img class="avatar" src="http://www.gravatar.com/avatar/' . md5($user->mail) . '?s=128&r=X' .
|
||||
'&d=" alt="' . $user->screenName . '" />'; ?></p>
|
||||
<p><a href="http://gravatar.com/emails/" title="<?php _e('在 Gravatar 上修改头像'); ?>"><?php echo '<img class="avatar" src="http://www.gravatar.com/avatar/' . md5($user->mail) . '?s=220&r=X' .
|
||||
'&d=" alt="' . $user->screenName . '" />'; ?></a></p>
|
||||
<h2><?php $user->screenName(); ?><br><small><?php $user->name(); ?></small></h2>
|
||||
<p><?php _e('目前有 <em>%s</em> 篇 Blog,并有 <em>%s</em> 条关于你的评论在已设定的 <em>%s</em> 个分类中.',
|
||||
$stat->myPublishedPostsNum, $stat->myPublishedCommentsNum, $stat->categoriesNum); ?></p>
|
||||
|
Loading…
x
Reference in New Issue
Block a user