* rewrite the ui code.

This commit is contained in:
wangchunsheng
2011-03-02 16:16:58 +00:00
parent c78e275080
commit 1374ea5c3e
5 changed files with 30 additions and 39 deletions
+1
View File
@@ -0,0 +1 @@
body{background:white; margin-top:50px}
+1 -1
View File
@@ -16,7 +16,7 @@
<table align='center' class='table-6 f-14px'>
<caption><?php echo $lang->upgrade->confirm;?></caption>
<tr>
<td><textarea rows='20' class='area-1'><?php echo $confirm;?></textarea></td>
<td class='a-center'><textarea rows='20' class='area-1'><?php echo $confirm;?></textarea></td>
<tr>
<td class='a-center'><?php echo html::submitButton($lang->upgrade->sureExecute) . html::hidden('fromVersion', $fromVersion);?></td>
</tr>
+17 -20
View File
@@ -10,24 +10,21 @@
*/
?>
<?php include '../../common/view/header.lite.html.php';?>
<style>body{background:white}</style>
<div class='yui-d0' style='margin-top:50px'>
<table align='center' class='table-5 f-14px'>
<caption><?php echo $lang->upgrade->$result;?></caption>
<tr>
<td>
<?php
if($result == 'fail')
{
echo nl2br(join('\n', $errors));
}
else
{
echo html::linkButton($lang->upgrade->tohome, 'index.php');
}
?>
</td>
</tr>
</table>
</div>
<table align='center' class='table-5 f-14px'>
<caption><?php echo $lang->upgrade->$result;?></caption>
<tr>
<td>
<?php
if($result == 'fail')
{
echo nl2br(join('\n', $errors));
}
else
{
echo html::linkButton($lang->upgrade->tohome, 'index.php');
}
?>
</td>
</tr>
</table>
<?php include '../../common/view/footer.html.php';?>
+9 -13
View File
@@ -10,17 +10,13 @@
*/
?>
<?php include '../../common/view/header.lite.html.php';?>
<style>body{background:white}</style>
<div class='yui-d0' style='margin-top:50px'>
<table align='center' class='table-5 f-14px'>
<caption><?php echo $lang->upgrade->warnning;?></caption>
<tr>
<td><?php echo $lang->upgrade->warnningContent;?></td>
</tr>
<tr>
<td colspan='2' class='a-center'><?php echo html::linkButton($lang->upgrade->common, inlink('selectVersion'));?></td>
</tr>
</table>
</form>
</div>
<table align='center' class='table-5 f-14px'>
<caption><?php echo $lang->upgrade->warnning;?></caption>
<tr>
<td><?php echo $lang->upgrade->warnningContent;?></td>
</tr>
<tr>
<td colspan='2' class='a-center'><?php echo html::linkButton($lang->upgrade->common, inlink('selectVersion'));?></td>
</tr>
</table>
<?php include '../../common/view/footer.html.php';?>
+2 -5
View File
@@ -10,9 +10,7 @@
*/
?>
<?php include '../../common/view/header.lite.html.php';?>
<style>body{background:white}</style>
<div class='yui-d0' style='margin-top:50px'>
<form method='post' action='<?php echo inlink('confirm');?>'>
<form method='post' action='<?php echo inlink('confirm');?>'>
<table align='center' class='table-5 f-14px'>
<caption><?php echo $lang->upgrade->selectVersion;?></caption>
<tr>
@@ -27,6 +25,5 @@
<td colspan='2' class='a-center'><?php echo html::submitButton($lang->upgrade->common);?></td>
</tr>
</table>
</form>
</div>
</form>
<?php include '../../common/view/footer.html.php';?>