From 8b1e6867f0550ad9884cf56ca7c5471a9e0391c7 Mon Sep 17 00:00:00 2001 From: fen Date: Sat, 12 Oct 2013 23:55:10 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E7=BB=93=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- admin/css/style.css | 13 ++- admin/manage-comments.php | 190 +++++++++++++++---------------- admin/manage-medias.php | 130 +++++++++++----------- admin/manage-metas.php | 149 +++++++++++++------------ admin/manage-pages.php | 133 +++++++++++----------- admin/manage-posts.php | 227 +++++++++++++++++++------------------- admin/manage-users.php | 136 ++++++++++++----------- admin/plugins.php | 212 ++++++++++++++++++----------------- admin/themes.php | 69 ++++++------ 9 files changed, 643 insertions(+), 616 deletions(-) diff --git a/admin/css/style.css b/admin/css/style.css index d5b4d0f2..bd36b7c9 100644 --- a/admin/css/style.css +++ b/admin/css/style.css @@ -569,7 +569,8 @@ margin-top: 25px; * 后台分页 */ .typecho-pager { - margin-top: 30px; + padding-top: 30px; + border-top: 1px solid #F0F0EC; font-size: 1.14286em; text-align: center; } @@ -1037,6 +1038,11 @@ a.operate-reply { text-align: center; } +.typecho-list-wrap { + padding: 30px; + background: #FFF; +} + .typecho-list-table { width: 100%; background: #FFF; @@ -1842,8 +1848,9 @@ ul.autocompleter-choices span.autocompleter-queried { * 标签列表 */ .typecho-page-main ul.tag-list { - padding: 5px 10px; - background: #EFF5D9; + list-style: none; + margin: 0; + padding: 0; } .typecho-page-main ul.tag-list li { diff --git a/admin/manage-comments.php b/admin/manage-comments.php index 990ef1d4..a6a1bf5b 100644 --- a/admin/manage-comments.php +++ b/admin/manage-comments.php @@ -75,104 +75,104 @@ $comments = Typecho_Widget::widget('Widget_Comments_Admin'); +
+
+ + + + + + + + + + + + + + + + + have()): ?> + next()): ?> + + + + + -
+ + +
+ gravatar(40); ?> +
+
+
+ + author(true); ?> + mail): ?> +
mail(); ?> + + ip): ?> +
ip(); ?> + +
+
+
dateWord(); ?> 于 title(); ?>
+
+ content(); ?> +
+
+ status): ?> + + + + + + status): ?> + + + + + + status): ?> + + + + + + - - - - - - - - - - - - - - + status && 'comment' == $comments->type): ?> + + + + + + - - - have()): ?> - next()): ?> - - - - - - - - - -
- + + + +
+ + + +
- - -
- gravatar(40); ?> -
-
-
- - author(true); ?> - mail): ?> -
mail(); ?> - - ip): ?> -
ip(); ?> - -
-
-
dateWord(); ?> 于 title(); ?>
-
- content(); ?> -
-
- status): ?> - - - - - - status): ?> - - - - - - status): ?> - - - - - - - - status && 'comment' == $comments->type): ?> - - - - -
-
+ cid)): ?> + -
- cid)): ?> - - -
- - have()): ?> -
-
-
    - pageNav(); ?> -
-
-
- - + + have()): ?> +
+
+
    + pageNav(); ?> +
+
+
+ + +
diff --git a/admin/manage-medias.php b/admin/manage-medias.php index 2a45880a..97e7c746 100644 --- a/admin/manage-medias.php +++ b/admin/manage-medias.php @@ -34,71 +34,73 @@ $stat = Typecho_Widget::widget('Widget_Stat'); -
- - - - - - - - - - - - - - - - - - - - - - - - - have()): ?> - next()): ?> - attachment->mime); ?> - - - - - - - - - - - - - - - +
+ +
commentsNum(); ?>title(); ?> - view - author(); ?> - parentPost->cid): ?> - parentPost->title(); ?> - - - - dateWord(); ?>
+ + + + + + + + + + + + + + + + + + + + + + + + have()): ?> + next()): ?> + attachment->mime); ?> + + + + + + + + + + + + + + + + + +
commentsNum(); ?>title(); ?> + view + author(); ?> + parentPost->cid): ?> + parentPost->title(); ?> + + + + dateWord(); ?>
+ + have()): ?> +
+
+
    + pageNav(); ?> +
+
+
- - -
- - have()): ?> -
-
-
    - pageNav(); ?> -
-
-
- + + diff --git a/admin/manage-metas.php b/admin/manage-metas.php index 4a3992ac..978124aa 100644 --- a/admin/manage-metas.php +++ b/admin/manage-metas.php @@ -19,69 +19,70 @@ include 'menu.php'; type) || 'category' == $request->get('type')): ?> to($categories); ?>
-
-
- -
- - +
+
+ +
+ + +
+
+
+ + + + + + + + + + + + + + + + + + + + + have()): ?> + next()): ?> + + + + + + + + + + + + + + + +
name(); ?> + view + slug(); ?> + defaultCategory == $categories->mid): ?> + + + + + count(); ?>
-
- - - - - - - - - - - - - - - - - - - - - - have()): ?> - next()): ?> - - - - - - - - - - - - - - - -
name(); ?> - view - slug(); ?> - defaultCategory == $categories->mid): ?> - - - - - count(); ?>
to($tags); ?> @@ -101,18 +102,20 @@ include 'menu.php';
- +
+ +
diff --git a/admin/manage-pages.php b/admin/manage-pages.php index b88d8127..0f860570 100644 --- a/admin/manage-pages.php +++ b/admin/manage-pages.php @@ -31,71 +31,74 @@ $stat = Typecho_Widget::widget('Widget_Stat'); -
- - - - - - - - - - - - - - - - - - - - - - - - - to($pages); ?> - have()): ?> - next()): ?> - - - - status): ?> colspan="2">title(); ?> - status): ?> - - - - - - - - - - - - - - - -
commentsNum(); ?> - - - status): ?> - view - - slug(); ?>author(); ?> - hasSaved): ?> - - modified); ?> - word()); ?> - - - dateWord(); ?> - -
-
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + to($pages); ?> + have()): ?> + next()): ?> + + + + status): ?> colspan="2">title(); ?> + status): ?> + + + + + + + + + + + + + + + +
commentsNum(); ?> + + + status): ?> + view + + slug(); ?>author(); ?> + hasSaved): ?> + + modified); ?> + word()); ?> + + + dateWord(); ?> + +
+
+
diff --git a/admin/manage-posts.php b/admin/manage-posts.php index 0bf8957d..dd0f9eab 100644 --- a/admin/manage-posts.php +++ b/admin/manage-posts.php @@ -11,119 +11,124 @@ $stat = Typecho_Widget::widget('Widget_Stat');
-
-
- -
- - -
-
- -
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - to($posts); ?> - have()): ?> - next()): ?> - - - - status && 'waiting' != $posts->status && 'private' != $posts->status && !$posts->password): ?> colspan="2"> - title(); ?> - status || 'waiting' == $posts->status || 'private' == $posts->status || $posts->password): ?> - - - - - - - - - - - - + +
+ +
+ + +
+
+ -
commentsNum(); ?> - status ? _e('草稿') : ('waiting' == $posts->status ? _e('待审核') : ('private' == $posts->status ? _e('私密') : _e(''))); ?> password ? _e('密码') : _e(''); ?> - - status): ?> - view - - author(); ?>categories; $length = count($categories); ?> - $val): ?> - adminUrl('manage-posts.php?category=' . $val['mid'] - . (isset($request->uid) ? '&uid=' . $request->uid : '') - . (isset($request->status) ? '&status=' . $request->status : '')); - echo '">' . $val['name'] . '' . ($key < $length - 1 ? ', ' : ''); ?> - - - hasSaved): ?> - - modified); ?> - word()); ?> - - - dateWord(); ?> - -
-
- - have()): ?> -
-
-
    - pageNav(); ?> -
+ + + + uid)): ?> + + +
+
-
- + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + to($posts); ?> + have()): ?> + next()): ?> + + + + status && 'waiting' != $posts->status && 'private' != $posts->status && !$posts->password): ?> colspan="2"> + title(); ?> + status || 'waiting' == $posts->status || 'private' == $posts->status || $posts->password): ?> + + + + + + + + + + + + + + +
commentsNum(); ?> + status ? _e('草稿') : ('waiting' == $posts->status ? _e('待审核') : ('private' == $posts->status ? _e('私密') : _e(''))); ?> password ? _e('密码') : _e(''); ?> + + status): ?> + view + + author(); ?>categories; $length = count($categories); ?> + $val): ?> + adminUrl('manage-posts.php?category=' . $val['mid'] + . (isset($request->uid) ? '&uid=' . $request->uid : '') + . (isset($request->status) ? '&status=' . $request->status : '')); + echo '">' . $val['name'] . '' . ($key < $length - 1 ? ', ' : ''); ?> + + + hasSaved): ?> + + modified); ?> + word()); ?> + + + dateWord(); ?> + +
+ + have()): ?> +
+
+
    + pageNav(); ?> +
+
+
+ +
+
+ +
diff --git a/admin/manage-users.php b/admin/manage-users.php index 4ab0d484..8d341cb8 100644 --- a/admin/manage-users.php +++ b/admin/manage-users.php @@ -29,74 +29,76 @@ include 'menu.php'; -
- - - - - - - - - - - - - - - - - - - - - - - to($users); ?> - next()): ?> - - - - - - - - - - - -
name(); ?>screenName(); ?> - view - mail): ?>mail(); ?>group) { - case 'administrator': - _e('管理员'); - break; - case 'editor': - _e('编辑'); - break; - case 'contributor': - _e('贡献者'); - break; - case 'subscriber': - _e('关注者'); - break; - case 'visitor': - _e('访问者'); - break; - default: - break; - } ?>postsNum(); ?>
-
+
+
+ + + + + + + + + + + + + + + + + + + + + + + to($users); ?> + next()): ?> + + + + + + + + + + + +
name(); ?>screenName(); ?> + view + mail): ?>mail(); ?>group) { + case 'administrator': + _e('管理员'); + break; + case 'editor': + _e('编辑'); + break; + case 'contributor': + _e('贡献者'); + break; + case 'subscriber': + _e('关注者'); + break; + case 'visitor': + _e('访问者'); + break; + default: + break; + } ?>postsNum(); ?>
+
- have()): ?> -
-
-
    - pageNav(); ?> -
-
-
- + have()): ?> +
+
+
    + pageNav(); ?> +
+
+
+ +
diff --git a/admin/plugins.php b/admin/plugins.php index 9ea55ac3..068f9b6b 100644 --- a/admin/plugins.php +++ b/admin/plugins.php @@ -11,118 +11,122 @@ include 'menu.php'; to($activatedPlugins); ?> have()): ?> - - - - - - - - - - - - - - - - - - - next()): ?> - - - - - - + + + + + + + + activatedPlugins)): ?> + activatedPlugins as $key => $val): ?> + + + + + + + + + +
title(); ?> - dependence): ?> - <?php _e('%s 无法在此版本的typecho下正常工作', $activatedPlugins->title); ?> - - description(); ?>version(); ?>homepage) ? $activatedPlugins->author : '' . $activatedPlugins->author . ''; ?> - activate || $activatedPlugins->deactivate || $activatedPlugins->config || $activatedPlugins->personalConfig): ?> - activated): ?> - config): ?> - - • - - - - - - - +
+ + + + + + + + + + + + + + + + + + + next()): ?> + + - - - - activatedPlugins)): ?> - activatedPlugins as $key => $val): ?> - - - - - - - - - -
title(); ?> + dependence): ?> + <?php _e('%s 无法在此版本的typecho下正常工作', $activatedPlugins->title); ?> -
+
description(); ?>version(); ?>homepage) ? $activatedPlugins->author : '' . $activatedPlugins->author . ''; ?> + activate || $activatedPlugins->deactivate || $activatedPlugins->config || $activatedPlugins->personalConfig): ?> + activated): ?> + config): ?> + + • + + + + + + + + +
+ to($deactivatedPlugins); ?> have() || !$activatedPlugins->have()): ?>

- - - - - - - - - - - - - - - - - - - have()): ?> - next()): ?> - - - - - - + + + + + + + + +
title(); ?>description(); ?>version(); ?>homepage) ? $deactivatedPlugins->author : '' . $deactivatedPlugins->author . ''; ?> - activate || $deactivatedPlugins->deactivate || $deactivatedPlugins->config || $deactivatedPlugins->personalConfig): ?> - activated): ?> - config): ?> - - | +
+ + + + + + + + + + + + + + + + + + + have()): ?> + next()): ?> + + + + + + - - - - - - - - -
title(); ?>description(); ?>version(); ?>homepage) ? $deactivatedPlugins->author : '' . $deactivatedPlugins->author . ''; ?> + activate || $deactivatedPlugins->deactivate || $deactivatedPlugins->config || $deactivatedPlugins->personalConfig): ?> + activated): ?> + config): ?> + + | + + + + - - - - -
+
+ diff --git a/admin/themes.php b/admin/themes.php index f9454d53..e9aae956 100644 --- a/admin/themes.php +++ b/admin/themes.php @@ -16,41 +16,42 @@ include 'menu.php';
  • - - - - - - - - - - - +
    +
    截图详情
    + + + + + + + + + - - to($themes); ?> - next()): ?> - - - - - - -
    截图详情
    <?php $themes->name(); ?> -

    title ? $themes->title() : $themes->name(); ?>

    - - author): ?>: homepage): ?>author(); ?>homepage): ?>    - version): ?>: version() ?> - -

    description); ?>

    - theme != $themes->name): ?> -

    -   - -

    - -
    + + to($themes); ?> + next()): ?> + + <?php $themes->name(); ?> + +

    title ? $themes->title() : $themes->name(); ?>

    + + author): ?>: homepage): ?>author(); ?>homepage): ?>    + version): ?>: version() ?> + +

    description); ?>

    + theme != $themes->name): ?> +

    +   + +

    + + + + + + +