Files
EasySoft-ZenTaoPMS/module/extension/view/uninstall.html.php
T
2014-03-17 03:49:45 +00:00

46 lines
1.5 KiB
PHP

<?php
/**
* The uninstall view file of extension module of ZenTaoPMS.
*
* @copyright Copyright 2009-2013 青岛易软天创网络科技有限公司 (QingDao Nature Easy Soft Network Technology Co,LTD www.cnezsoft.com)
* @license LGPL (http://www.gnu.org/licenses/lgpl.html)
* @author Chunsheng Wang <chunsheng@cnezsoft.com>
* @package extension
* @version $Id$
* @link http://www.zentao.net
*/
?>
<?php include '../../common/view/header.lite.html.php';?>
<table class='table-1'>
<caption><?php echo $title;?></caption>
<tr>
<td valign='middle'>
<?php if(isset($confirm) and $confirm == 'no'):?>
<?php
echo "<p class='waring'>{$lang->extension->confirmUninstall}";
echo html::a(inlink('uninstall', "extension=$code&confirm=yes"), $lang->extension->uninstall);
echo "</p>";
?>
<?php elseif(!empty($error)):?>
<?php
echo "<h3 class='error'>" . $lang->extension->uninstallFailed . "</h3>";
echo "<p>$error</p>";
?>
<?php else:?>
<?php
echo "<h3 class='a-center success'>{$title}</h3>";
if(!empty($backDBName)) echo '<p>' . sprintf($lang->extension->backDBFile, $backDBName) . '</p>';
if($removeCommands)
{
echo "<p class='strong'>{$lang->extension->unremovedFiles}</p>";
echo join($removeCommands, '<br />');
}
echo "<p class='a-center'>" . html::commonButton($lang->extension->viewAvailable, 'onclick=parent.location.href="' . inlink('browse', 'type=available') . '"') . '</p>';
?>
<?php endif;?>
</td>
</tr>
</table>
</body>
</html>