From 3ae7501320988e4c9e8b6b3ae5e0ee5d02a40abe Mon Sep 17 00:00:00 2001 From: wlx Date: Wed, 12 Oct 2011 14:53:03 +0000 Subject: [PATCH] clean code --- .../views/scripts/data/attachments.phtml | 12 +++-------- .../views/scripts/data/attachmentsadd.phtml | 5 +---- .../admin/views/scripts/data/attmanager.phtml | 8 +------- .../admin/views/scripts/down/data.phtml | 19 ++++++------------ .../admin/views/scripts/down/fixoffline.phtml | 15 +++++--------- .../admin/views/scripts/down/index.phtml | 2 -- .../admin/views/scripts/down/nouserid.phtml | 6 ++---- .../admin/views/scripts/down/offline.phtml | 6 ++---- .../admin/views/scripts/down/offlineapp.phtml | 4 +--- .../admin/views/scripts/down/online.phtml | 6 ++---- .../admin/views/scripts/down/onlineshow.phtml | 3 --- .../admin/views/scripts/down/showdata.phtml | 16 +++++---------- .../admin/views/scripts/down/showuser.phtml | 16 +++++---------- .../admin/views/scripts/down/update.phtml | 15 +++++--------- .../admin/views/scripts/down/user.phtml | 20 ++++++------------- .../admin/views/scripts/index/index.phtml | 2 -- 16 files changed, 44 insertions(+), 111 deletions(-) diff --git a/application/admin/views/scripts/data/attachments.phtml b/application/admin/views/scripts/data/attachments.phtml index 2ae4e37f..e1372a1c 100644 --- a/application/admin/views/scripts/data/attachments.phtml +++ b/application/admin/views/scripts/data/attachments.phtml @@ -8,12 +8,11 @@ $this->breadcrumb('数据管理'); $this->breadcrumb()->setSeparator(' > '); ?> -
partial('data/left.phtml'); ?>
- +
msg or $this->messages) :?>
msg) : ?> @@ -24,7 +23,6 @@
-
上传新附件 | 查看我的附件
- -
+
\ No newline at end of file diff --git a/application/admin/views/scripts/data/attachmentsadd.phtml b/application/admin/views/scripts/data/attachmentsadd.phtml index 982305eb..c87736fb 100644 --- a/application/admin/views/scripts/data/attachmentsadd.phtml +++ b/application/admin/views/scripts/data/attachmentsadd.phtml @@ -13,11 +13,10 @@ $this->headScript()->appendFile('/js/swfupload/fileprogress.js'); ?> -
partial('data/left.phtml'); ?>
- +
msg or $this->messages) :?>
msg) : ?> @@ -27,7 +26,6 @@
-
@@ -64,5 +62,4 @@ " />
-
\ No newline at end of file diff --git a/application/admin/views/scripts/data/attmanager.phtml b/application/admin/views/scripts/data/attmanager.phtml index 51c21cd0..a0a33d74 100644 --- a/application/admin/views/scripts/data/attmanager.phtml +++ b/application/admin/views/scripts/data/attmanager.phtml @@ -8,12 +8,11 @@ $this->breadcrumb('数据管理'); $this->breadcrumb()->setSeparator(' > '); ?> -
partial('data/left.phtml'); ?>
- +
msg or $this->messages) :?>
msg) : ?> @@ -24,7 +23,6 @@
-
@@ -55,8 +53,4 @@ } ?>
-
-
- -
\ No newline at end of file diff --git a/application/admin/views/scripts/down/data.phtml b/application/admin/views/scripts/down/data.phtml index 4aa8d6fe..929b2986 100755 --- a/application/admin/views/scripts/down/data.phtml +++ b/application/admin/views/scripts/down/data.phtml @@ -10,12 +10,11 @@ $this->breadcrumb()->setSeparator(' > '); $this->headScript()->appendFile('/js/prototype.js'); ?> -
partial('down/left.phtml'); ?>
- +
msg or $this->messages) :?>
msg) : ?> @@ -26,9 +25,6 @@
- -
-
title)) echo $this->title;?>共 count;?> 数据下载记录
- - +
+ - +paginator)): ?> paginator as $item): ?> -> +
数据 下载次数 操作
@@ -61,8 +57,5 @@
-
-paginator; ?> -
-
+
\ No newline at end of file diff --git a/application/admin/views/scripts/down/fixoffline.phtml b/application/admin/views/scripts/down/fixoffline.phtml index 530d5085..b3907f08 100755 --- a/application/admin/views/scripts/down/fixoffline.phtml +++ b/application/admin/views/scripts/down/fixoffline.phtml @@ -7,7 +7,6 @@ $this->breadcrumb('后台首页'); $this->breadcrumb()->setSeparator(' > '); ?> -
partial('down/left.phtml'); ?>
@@ -24,8 +23,8 @@
离线申请中可能与网站会员关联的账户列表 (count;?> 条)
- - +
+ @@ -33,12 +32,12 @@ - +paginator)): ?> paginator as $item): ?> -> + @@ -55,9 +54,5 @@ -
-paginator; ?> -
- - + \ No newline at end of file diff --git a/application/admin/views/scripts/down/index.phtml b/application/admin/views/scripts/down/index.phtml index 48c95d57..aaae3534 100644 --- a/application/admin/views/scripts/down/index.phtml +++ b/application/admin/views/scripts/down/index.phtml @@ -8,11 +8,9 @@ $this->breadcrumb('申请管理'); $this->breadcrumb()->setSeparator(' > '); ?> -
partial('down/left.phtml'); ?>
-
\ No newline at end of file diff --git a/application/admin/views/scripts/down/nouserid.phtml b/application/admin/views/scripts/down/nouserid.phtml index d4e9d867..739405b0 100644 --- a/application/admin/views/scripts/down/nouserid.phtml +++ b/application/admin/views/scripts/down/nouserid.phtml @@ -39,7 +39,7 @@ paginator as $item): ?> - > + @@ -57,7 +57,5 @@
选择 离线申请ID 离线申请姓名用户名 用户姓名 用户单位
-
-paginator; ?> -
+
\ No newline at end of file diff --git a/application/admin/views/scripts/down/offline.phtml b/application/admin/views/scripts/down/offline.phtml index d8bdeef0..b995f433 100644 --- a/application/admin/views/scripts/down/offline.phtml +++ b/application/admin/views/scripts/down/offline.phtml @@ -40,7 +40,7 @@ paginator as $item): ?> - > + @@ -58,7 +58,5 @@ -
-paginator; ?> -
+
\ No newline at end of file diff --git a/application/admin/views/scripts/down/offlineapp.phtml b/application/admin/views/scripts/down/offlineapp.phtml index 32451d5f..c6883fe4 100644 --- a/application/admin/views/scripts/down/offlineapp.phtml +++ b/application/admin/views/scripts/down/offlineapp.phtml @@ -63,7 +63,5 @@ -
-paginator; ?> -
+
\ No newline at end of file diff --git a/application/admin/views/scripts/down/online.phtml b/application/admin/views/scripts/down/online.phtml index 82337c2e..2bf31ae0 100644 --- a/application/admin/views/scripts/down/online.phtml +++ b/application/admin/views/scripts/down/online.phtml @@ -52,7 +52,7 @@ paginator as $item): ?> -> + @@ -66,7 +66,5 @@ -
-paginator; ?> -
+
\ No newline at end of file diff --git a/application/admin/views/scripts/down/onlineshow.phtml b/application/admin/views/scripts/down/onlineshow.phtml index b96097a3..0483ecfa 100755 --- a/application/admin/views/scripts/down/onlineshow.phtml +++ b/application/admin/views/scripts/down/onlineshow.phtml @@ -10,8 +10,6 @@ $this->breadcrumb()->setSeparator(' > '); $this->headScript()->appendFile('/js/prototype.js'); ?> -
-
partial('down/left.phtml'); ?>
@@ -41,5 +39,4 @@ 时间infos['ts_created']));?> 数据infos['title'];?>数据下载记录) -
\ No newline at end of file diff --git a/application/admin/views/scripts/down/showdata.phtml b/application/admin/views/scripts/down/showdata.phtml index 3de54f3b..7ccc93be 100755 --- a/application/admin/views/scripts/down/showdata.phtml +++ b/application/admin/views/scripts/down/showdata.phtml @@ -10,8 +10,6 @@ $this->breadcrumb()->setSeparator(' > '); $this->headScript()->appendFile('/js/prototype.js'); ?> -
-
partial('down/left.phtml'); ?>
@@ -26,21 +24,20 @@
-
infos['title']; ?>” 的下载记录
- - +
+ - +paginator)): ?> paginator as $item): ?> -> + @@ -56,8 +53,5 @@
用户 姓名 下载时间 操作
-
-paginator; ?> -
-
+ \ No newline at end of file diff --git a/application/admin/views/scripts/down/showuser.phtml b/application/admin/views/scripts/down/showuser.phtml index 5de4be0a..e4112e01 100755 --- a/application/admin/views/scripts/down/showuser.phtml +++ b/application/admin/views/scripts/down/showuser.phtml @@ -10,8 +10,6 @@ $this->breadcrumb()->setSeparator(' > '); $this->headScript()->appendFile('/js/prototype.js'); ?> -
-
partial('down/left.phtml'); ?>
@@ -26,21 +24,20 @@
-
用户 “infos['username']; ?>” 的下载记录
- - +
+ - +paginator)): ?> paginator as $item): ?> -> + @@ -54,8 +51,5 @@
姓名 数据 下载时间 操作
-
-paginator; ?> -
-
+ \ No newline at end of file diff --git a/application/admin/views/scripts/down/update.phtml b/application/admin/views/scripts/down/update.phtml index 97323961..c01b8198 100755 --- a/application/admin/views/scripts/down/update.phtml +++ b/application/admin/views/scripts/down/update.phtml @@ -8,7 +8,6 @@ $this->breadcrumb('申请管理'); $this->breadcrumb()->setSeparator(' > '); ?> -
partial('down/left.phtml'); ?>
@@ -16,20 +15,20 @@
离线申请中可能与网站会员关联的账户列表 (count;?> 条)
- - +
+ - +paginator)): ?> paginator as $item): ?> -> + @@ -40,9 +39,5 @@
离线申请姓名 离线申请Email 用户姓名 用户Email 用户ID sql
-
-paginator; ?> +
- -
- \ No newline at end of file diff --git a/application/admin/views/scripts/down/user.phtml b/application/admin/views/scripts/down/user.phtml index fa613924..746875c5 100755 --- a/application/admin/views/scripts/down/user.phtml +++ b/application/admin/views/scripts/down/user.phtml @@ -10,12 +10,10 @@ $this->breadcrumb()->setSeparator(' > '); $this->headScript()->appendFile('/js/prototype.js'); ?> -
-
partial('down/left.phtml'); ?>
- +
msg or $this->messages) :?>
msg) : ?> @@ -26,9 +24,6 @@
- -
-
title)) echo $this->title;?>共 count;?> 数据下载记录
- - +
+ - +paginator)): ?> paginator as $item): ?> -> + @@ -63,8 +58,5 @@
姓名 单位 下载次数 操作
-
-paginator; ?> -
-
+
\ No newline at end of file diff --git a/application/admin/views/scripts/index/index.phtml b/application/admin/views/scripts/index/index.phtml index 29270363..521feba3 100755 --- a/application/admin/views/scripts/index/index.phtml +++ b/application/admin/views/scripts/index/index.phtml @@ -7,7 +7,6 @@ $this->breadcrumb('后台管理首页'); $this->breadcrumb()->setSeparator(' > '); ?> -
partial('data/left.phtml'); ?> partial('down/left.phtml'); ?> @@ -20,5 +19,4 @@
  • WATER元数据处理工具
  • 数据测试管理
  • -
    \ No newline at end of file