From 0e86a91c9d1153bb7872531d0ea04c14df217496 Mon Sep 17 00:00:00 2001 From: fen Date: Sat, 12 Oct 2013 21:32:01 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E5=B8=83=E5=B1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- admin/css/style.css | 11 +++++++++-- admin/media.php | 4 ++-- admin/profile.php | 40 ++++++++++++++++++++++++---------------- 3 files changed, 35 insertions(+), 20 deletions(-) diff --git a/admin/css/style.css b/admin/css/style.css index 01d18e9e..4941e199 100644 --- a/admin/css/style.css +++ b/admin/css/style.css @@ -332,6 +332,10 @@ button.primary:active, button.primary.active { margin-bottom: .5em; font-weight: bold; } +.typecho-option label.required:after { + content: " *"; + color: #B94A48; +} .typecho-option label.typecho-label+input { } @@ -808,6 +812,9 @@ margin-top: 25px; .typecho-page-title { margin-top: 1em; } +.typecho-page-title h2 { + font-size: 1.28571em; +} /** @@ -1002,7 +1009,7 @@ margin-top: 25px; } .typecho-list-operate span.operate-delete, a.operate-delete { - color: #CC0000; + color: #B94A48; } a.operate-edit { @@ -1014,7 +1021,7 @@ a.operate-reply { } .typecho-list-operate span.operate-button-delete, a.operate-button-delete { - background: #CC0000; + background: #B94A48; } .typecho-list-operate a:hover { diff --git a/admin/media.php b/admin/media.php index def86f93..5d3c0a56 100644 --- a/admin/media.php +++ b/admin/media.php @@ -10,7 +10,7 @@ Typecho_Widget::widget('Widget_Contents_Attachment_Edit')->to($attachment);
-
+
attachment->isImage): ?> <?php $attachment->attachment->name(); ?> @@ -27,7 +27,7 @@ Typecho_Widget::widget('Widget_Contents_Attachment_Edit')->to($attachment);
-
+
form()->render(); ?>
diff --git a/admin/profile.php b/admin/profile.php index 58077872..e9fdee49 100644 --- a/admin/profile.php +++ b/admin/profile.php @@ -10,12 +10,30 @@ $stat = Typecho_Widget::widget('Widget_Stat');
-
-

- mail) . '?s=50&r=X' . - '&d=" alt="' . $user->screenName . '" width="50" height="50" />'; ?> - name(); ?>(screenName(); ?>) -

+
+
+ + profileForm()->render(); ?> +
+ + pass('contributor', true)): ?> +
+ + optionsForm()->render(); ?> +
+ + +
+ + personalFormList(); ?> + passwordForm()->render(); ?> +
+ +
+
+ mail) . '?s=128&r=X' . + '&d=" alt="' . $user->screenName . '" />'; ?> +

screenName(); ?>
name(); ?>

%s 篇 Blog,并有 %s 条关于你的评论在已设定的 %s 个分类中.', $stat->myPublishedPostsNum, $stat->myPublishedCommentsNum, $stat->categoriesNum); ?>

logged + $options->timezone, $options->gmtTime + $options->timezone)); } ?>

- pass('contributor', true)): ?> -

- optionsForm()->render(); ?> - - personalFormList(); ?> -

- passwordForm()->render(); ?> -
-
- profileForm()->render(); ?>