From e7692f1fc814d5cae7a164b2f67ab7b750885266 Mon Sep 17 00:00:00 2001 From: fen Date: Sun, 13 Oct 2013 10:25:01 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AE=80=E5=8C=96=E8=A1=A8=E6=A0=BC=E7=BB=93?= =?UTF-8?q?=E6=9E=84=20=E7=AE=80=E5=8C=96=E5=88=86=E9=A1=B5=E7=BB=93?= =?UTF-8?q?=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- admin/css/style.css | 33 ++--- admin/manage-comments.php | 246 +++++++++++++++++++------------------- admin/manage-medias.php | 122 +++++++++---------- admin/manage-metas.php | 116 +++++++++--------- admin/manage-pages.php | 132 ++++++++++---------- admin/manage-posts.php | 163 ++++++++++++------------- admin/manage-users.php | 132 ++++++++++---------- admin/plugins.php | 212 ++++++++++++++++---------------- admin/themes.php | 68 +++++------ 9 files changed, 593 insertions(+), 631 deletions(-) diff --git a/admin/css/style.css b/admin/css/style.css index 42e4124a..10084666 100644 --- a/admin/css/style.css +++ b/admin/css/style.css @@ -568,30 +568,19 @@ margin-top: 25px; /** * 后台分页 */ + .typecho-pager { - padding-top: 30px; - border-top: 1px solid #F0F0EC; + list-style: none; + margin: 30px 0 0; + padding: 0; font-size: 1.14286em; line-height: 1; text-align: center; -} - -.typecho-pager .typecho-pager-content { -} - -.typecho-pager h5 { -} - -.typecho-pager ul { - display: inline-block; - list-style: none; - margin: 0; - padding: 0; zoom: 1; } .typecho-pager li { - float: left; + display: inline-block; margin: 0 2px; height: 32px; line-height: 32px; @@ -1038,12 +1027,8 @@ a.operate-reply { text-align: center; } -.typecho-list-wrap { - padding: 30px; - background: #FFF; -} - .typecho-list-table { + border: 30px solid #FFF; width: 100%; background: #FFF; } @@ -1080,6 +1065,12 @@ a.operate-reply { border-top: 1px solid #F0F0EC; } +/*.typecho-list-table tfoot td { + border: none; + padding: 0; + height: 0; +}*/ + .typecho-list-table td .thumb-box { } diff --git a/admin/manage-comments.php b/admin/manage-comments.php index 4b4a31e6..d4dca18e 100644 --- a/admin/manage-comments.php +++ b/admin/manage-comments.php @@ -41,136 +41,134 @@ $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)): ?> + + +
+ + have()): ?> + + diff --git a/admin/manage-medias.php b/admin/manage-medias.php index 78811b2f..d41e498b 100644 --- a/admin/manage-medias.php +++ b/admin/manage-medias.php @@ -34,72 +34,68 @@ $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(); ?> -
- - have()): ?> -
-
    - pageNav(); ?> -
-
- -
-
+ + dateWord(); ?> + + + + +
+ + + + + + + have()): ?> + + diff --git a/admin/manage-metas.php b/admin/manage-metas.php index 4935d981..7f2ca2e9 100644 --- a/admin/manage-metas.php +++ b/admin/manage-metas.php @@ -35,54 +35,52 @@ include 'menu.php'; -
- - - - - - - - - - - - - - - - - - - - - have()): ?> - next()): ?> - - - - - - - - - +
name(); ?> - view - slug(); ?> - defaultCategory == $categories->mid): ?> - - - - - count(); ?>
+ + + + + + + + + + + + + + + + + + + + have()): ?> + next()): ?> + + + + + + - - + - -
name(); ?> + view + slug(); ?> + defaultCategory == $categories->mid): ?> + -
-
+ + count(); ?> + + + + +
+ + + + to($tags); ?> @@ -102,20 +100,18 @@ include 'menu.php'; -
- -
+ diff --git a/admin/manage-pages.php b/admin/manage-pages.php index 36e89897..f9ba8a1c 100644 --- a/admin/manage-pages.php +++ b/admin/manage-pages.php @@ -31,74 +31,72 @@ $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 4d1d2352..2124d800 100644 --- a/admin/manage-posts.php +++ b/admin/manage-posts.php @@ -41,92 +41,85 @@ $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(); ?> -
-
+ + + + + + + + + + + + + + + + + + + + + + + + + + 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 31ccacd6..ccd9a5ea 100644 --- a/admin/manage-users.php +++ b/admin/manage-users.php @@ -29,74 +29,70 @@ 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(); ?>
-
- - have()): ?> -
-
    - pageNav(); ?> -
-
- -
+
+ + + + + + + + + + + + + + + + + + + + + + + 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()): ?> + + diff --git a/admin/plugins.php b/admin/plugins.php index 11422230..faa00bea 100644 --- a/admin/plugins.php +++ b/admin/plugins.php @@ -11,122 +11,118 @@ 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()): ?> + + -
title(); ?> + dependence): ?> + <?php _e('%s 无法在此版本的typecho下正常工作', $activatedPlugins->title); ?> - -
-
+ + description(); ?> + version(); ?> + homepage) ? $activatedPlugins->author : '' . $activatedPlugins->author . ''; ?> + + activate || $activatedPlugins->deactivate || $activatedPlugins->config || $activatedPlugins->personalConfig): ?> + activated): ?> + config): ?> + + • + + + + + + + + + + + + + activatedPlugins)): ?> + activatedPlugins as $key => $val): ?> + + + + + + + + + + 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 e9aae956..6eb73a35 100644 --- a/admin/themes.php +++ b/admin/themes.php @@ -16,42 +16,40 @@ 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): ?> +

    +   + +

    + + + + + +