From 934255f18476348cc5c5c6df628516e35c268328 Mon Sep 17 00:00:00 2001 From: wangchunsheng Date: Fri, 25 Feb 2011 13:52:19 +0000 Subject: [PATCH] * rewrite the ui code. --- module/convert/view/checkconfig.html.php | 34 +++++++++++------------ module/convert/view/execute.html.php | 12 ++++---- module/convert/view/index.html.php | 12 ++++---- module/convert/view/selectsource.html.php | 6 ++-- module/convert/view/setconfig.html.php | 6 ++-- 5 files changed, 30 insertions(+), 40 deletions(-) diff --git a/module/convert/view/checkconfig.html.php b/module/convert/view/checkconfig.html.php index d07047298e..34819d3c6d 100644 --- a/module/convert/view/checkconfig.html.php +++ b/module/convert/view/checkconfig.html.php @@ -10,22 +10,20 @@ */ ?> -
-
'> - - - -
convert->checkConfig . $lang->colon . strtoupper($source);?>
- post->dbHost); - echo html::hidden('dbPort', $this->post->dbPort); - echo html::hidden('dbUser', $this->post->dbUser); - echo html::hidden('dbPassword', $this->post->dbPassword); - echo html::hidden('dbName', $this->post->dbName); - echo html::hidden('dbCharset', $this->post->dbCharset); - echo html::hidden('dbPrefix', $this->post->dbPrefix); - echo html::hidden('installPath',$this->post->installPath); - ?> -
-
+
'> + + + +
convert->checkConfig . $lang->colon . strtoupper($source);?>
+post->dbHost); +echo html::hidden('dbPort', $this->post->dbPort); +echo html::hidden('dbUser', $this->post->dbUser); +echo html::hidden('dbPassword', $this->post->dbPassword); +echo html::hidden('dbName', $this->post->dbName); +echo html::hidden('dbCharset', $this->post->dbCharset); +echo html::hidden('dbPrefix', $this->post->dbPrefix); +echo html::hidden('installPath',$this->post->installPath); +?> +
diff --git a/module/convert/view/execute.html.php b/module/convert/view/execute.html.php index b187123c66..eb6c33fcff 100644 --- a/module/convert/view/execute.html.php +++ b/module/convert/view/execute.html.php @@ -10,11 +10,9 @@ */ ?> -
- - - -
convert->execute . $lang->colon . strtoupper($source);?>
- -
+ + + +
convert->execute . $lang->colon . strtoupper($source);?>
+ diff --git a/module/convert/view/index.html.php b/module/convert/view/index.html.php index 1f6bf22625..90c3ebb38b 100644 --- a/module/convert/view/index.html.php +++ b/module/convert/view/index.html.php @@ -10,11 +10,9 @@ */ ?> -
- - - - -
convert->common;?>
convert->desc);?>

createLink('convert', 'selectsource'), $lang->convert->start);?>

-
+ + + + +
convert->common;?>
convert->desc);?>

createLink('convert', 'selectsource'), $lang->convert->start);?>

diff --git a/module/convert/view/selectsource.html.php b/module/convert/view/selectsource.html.php index 9ddcab0cc4..5bce35736a 100644 --- a/module/convert/view/selectsource.html.php +++ b/module/convert/view/selectsource.html.php @@ -10,8 +10,7 @@ */ ?> -
-
'> +'> @@ -28,6 +27,5 @@
convert->selectSource;?>
-
-
+ diff --git a/module/convert/view/setconfig.html.php b/module/convert/view/setconfig.html.php index 493114d347..7023461116 100644 --- a/module/convert/view/setconfig.html.php +++ b/module/convert/view/setconfig.html.php @@ -10,8 +10,7 @@ */ ?> -
-
'> +'> @@ -20,6 +19,5 @@
convert->setting . $lang->colon . strtoupper($source);?>
-
-
+