修复php时间格式错误链接
修复个人页面布局
This commit is contained in:
+9
-9
@@ -725,7 +725,8 @@ margin-top: 25px;
|
||||
position: absolute;
|
||||
top: 36px;
|
||||
margin: 0;
|
||||
width: 160px;
|
||||
min-width: 160px;
|
||||
max-width: 240px;
|
||||
background: #202328;
|
||||
overflow: hidden;
|
||||
z-index: 250;
|
||||
@@ -997,7 +998,8 @@ margin-top: 25px;
|
||||
.typecho-list-operate span.operate-button {
|
||||
}
|
||||
|
||||
.typecho-list-operate span.operate-delete, a.operate-delete {
|
||||
.typecho-list-operate span.operate-delete, a.operate-delete,
|
||||
.typecho-list-operate span.operate-button-delete, a.operate-button-delete {
|
||||
color: #B94A48;
|
||||
}
|
||||
|
||||
@@ -1009,10 +1011,6 @@ a.operate-reply {
|
||||
color: #545c30;
|
||||
}
|
||||
|
||||
.typecho-list-operate span.operate-button-delete, a.operate-button-delete {
|
||||
background: #B94A48;
|
||||
}
|
||||
|
||||
.typecho-list-operate a:hover {
|
||||
text-decoration: none;
|
||||
}
|
||||
@@ -1556,8 +1554,8 @@ ul.typecho-list-notable li .loading {
|
||||
* 编写页面
|
||||
*/
|
||||
|
||||
.typecho-post-area {
|
||||
}
|
||||
.typecho-post-area .edit-draft-notice { color: #999; }
|
||||
.typecho-post-area .edit-draft-notice a { color: #B94A48; }
|
||||
|
||||
.typecho-post-area .typecho-label {
|
||||
display: block;
|
||||
@@ -1715,7 +1713,8 @@ ul.typecho-list-notable li .loading {
|
||||
.typecho-post-area textarea#trackback {
|
||||
}
|
||||
|
||||
.typecho-post-area br {
|
||||
.typecho-post-area #advance-panel-btn {
|
||||
color: #999;
|
||||
}
|
||||
|
||||
.typecho-post-area #advance-panel {
|
||||
@@ -2032,6 +2031,7 @@ ul.typecho-list-notable li .loading {
|
||||
*/
|
||||
#ui-datepicker-div {
|
||||
display: none;
|
||||
margin-top: -1px;
|
||||
padding: 10px;
|
||||
border: 1px solid #D9D9D6;
|
||||
background: #FFF;
|
||||
|
||||
@@ -44,12 +44,12 @@ $stat = Typecho_Widget::widget('Widget_Stat');
|
||||
<form method="post" name="manage_posts" class="operate-form">
|
||||
<table class="typecho-list-table">
|
||||
<colgroup>
|
||||
<col width="3%"/>
|
||||
<col width="20"/>
|
||||
<col width="5%"/>
|
||||
<col width="47%"/>
|
||||
<col width=""/>
|
||||
<col width="10%"/>
|
||||
<col width="20%"/>
|
||||
<col width="15%"/>
|
||||
<col width="18%"/>
|
||||
<col width="18%"/>
|
||||
</colgroup>
|
||||
<thead>
|
||||
<tr>
|
||||
|
||||
+26
-23
@@ -10,29 +10,9 @@ $stat = Typecho_Widget::widget('Widget_Stat');
|
||||
<div class="body container">
|
||||
<?php include 'page-title.php'; ?>
|
||||
<div class="col-group typecho-page-main">
|
||||
<div class="col-mb-12 col-tb-8 typecho-content-panel">
|
||||
<fieldset>
|
||||
<legend><?php _e('个人资料'); ?></legend>
|
||||
<?php Typecho_Widget::widget('Widget_Users_Profile')->profileForm()->render(); ?>
|
||||
</fieldset>
|
||||
|
||||
<?php if($user->pass('contributor', true)): ?>
|
||||
<fieldset id="writing-option">
|
||||
<legend><?php _e('撰写设置'); ?></legend>
|
||||
<?php Typecho_Widget::widget('Widget_Users_Profile')->optionsForm()->render(); ?>
|
||||
</fieldset>
|
||||
<?php endif; ?>
|
||||
|
||||
<fieldset id="change-password">
|
||||
<legend><?php _e('密码修改'); ?></legend>
|
||||
<?php Typecho_Widget::widget('Widget_Users_Profile')->personalFormList(); ?>
|
||||
<?php Typecho_Widget::widget('Widget_Users_Profile')->passwordForm()->render(); ?>
|
||||
</fieldset>
|
||||
|
||||
</div>
|
||||
<div class="col-tb-3 col-tb-offset-1">
|
||||
<?php echo '<img class="avatar" src="http://www.gravatar.com/avatar/' . md5($user->mail) . '?s=128&r=X' .
|
||||
'&d=" alt="' . $user->screenName . '" />'; ?>
|
||||
<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>
|
||||
<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>
|
||||
@@ -42,6 +22,29 @@ $stat = Typecho_Widget::widget('Widget_Stat');
|
||||
}
|
||||
?></p>
|
||||
</div>
|
||||
|
||||
<div class="col-mb-12 col-tb-7 col-tb-offset-1 typecho-content-panel">
|
||||
<section>
|
||||
<h3><?php _e('个人资料'); ?></h3>
|
||||
<?php Typecho_Widget::widget('Widget_Users_Profile')->profileForm()->render(); ?>
|
||||
</section>
|
||||
|
||||
<?php if($user->pass('contributor', true)): ?>
|
||||
<br>
|
||||
<section id="writing-option">
|
||||
<h3><?php _e('撰写设置'); ?></h3>
|
||||
<?php Typecho_Widget::widget('Widget_Users_Profile')->optionsForm()->render(); ?>
|
||||
</section>
|
||||
<?php endif; ?>
|
||||
|
||||
<br>
|
||||
|
||||
<section id="change-password">
|
||||
<h3><?php _e('密码修改'); ?></h3>
|
||||
<?php Typecho_Widget::widget('Widget_Users_Profile')->personalFormList(); ?>
|
||||
<?php Typecho_Widget::widget('Widget_Users_Profile')->passwordForm()->render(); ?>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
+1
-1
@@ -19,7 +19,7 @@ $(document).ready(function() {
|
||||
'<?php _e('周四'); ?>', '<?php _e('周五'); ?>', '<?php _e('周六'); ?>'],
|
||||
dayNamesMin : ['<?php _e('日'); ?>', '<?php _e('一'); ?>', '<?php _e('二'); ?>', '<?php _e('三'); ?>',
|
||||
'<?php _e('四'); ?>', '<?php _e('五'); ?>', '<?php _e('六'); ?>'],
|
||||
closeText : '<?php _e('关闭'); ?>',
|
||||
closeText : '<?php _e('完成'); ?>',
|
||||
timeOnlyTitle : '<?php _e('选择时间'); ?>',
|
||||
timeText : '<?php _e('时间'); ?>',
|
||||
hourText : '<?php _e('时'); ?>',
|
||||
|
||||
@@ -12,9 +12,10 @@ Typecho_Widget::widget('Widget_Contents_Post_Edit')->to($post);
|
||||
<div class="col-mb-12 col-tb-9">
|
||||
<?php if ($post->draft && $post->draft['cid'] != $post->cid): ?>
|
||||
<?php $postModifyDate = new Typecho_Date($post->draft['modified']); ?>
|
||||
<cite><?php _e('当前正在编辑的是保存于%s的草稿, 你可以<a href="%s">删除它</a>', $postModifyDate->word(),
|
||||
<cite class="edit-draft-notice"><?php _e('你正在编辑的是保存于 %s 的草稿, 你也可以 <a href="%s">删除它</a>', $postModifyDate->word(),
|
||||
Typecho_Common::url('/action/contents-post-edit?do=deleteDraft&cid=' . $post->cid, $options->index)); ?></cite>
|
||||
<?php endif; ?>
|
||||
|
||||
<p class="title"><input type="text" id="title" name="title" value="<?php echo htmlspecialchars($post->title); ?>" placeholder="<?php _e('标题'); ?>" class="w-100 text title" /></p>
|
||||
|
||||
<p class="mono url-slug"><?php _e('缩略名'); ?> http://xxxxxxxxxxxx.com/2011/08/29/<input type="text" id="slug" name="slug" value="<?php $post->slug(); ?>" class="mono" />/</p>
|
||||
|
||||
Reference in New Issue
Block a user