+ add upgrade module.

This commit is contained in:
wangchunsheng
2010-01-25 06:18:03 +00:00
parent 2ba462ea4d
commit e00c2163bc
5 changed files with 278 additions and 0 deletions
+44
View File
@@ -0,0 +1,44 @@
<?php
/**
* The html template file of execute method of upgrade module of ZenTaoMS.
*
* ZenTaoMS is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* ZenTaoMS is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with ZenTaoMS. If not, see <http://www.gnu.org/licenses/>.
*
* @copyright Copyright: 2009 Chunsheng Wang
* @author Chunsheng Wang <wwccss@263.net>
* @package upgrade
* @version $Id$
*/
?>
<?php include '../../common/header.html.php';?>
<div class='yui-d0'>
<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, $this->createLink('index'));
}
?>
</td>
</tr>
</table>
</div>
<?php include '../../common/footer.html.php';?>