* 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
+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';?>