Files
EasySoft-ZenTaoPMS/trunk/module/release/view/view.html.php
2010-04-12 07:17:29 +00:00

64 lines
2.4 KiB
PHP

<?php
/**
* The view file of release module's view method 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-2010 Chunsheng Wang
* @author Chunsheng Wang <wwccss@263.net>
* @package release
* @version $Id$
* @link http://www.zentao.cn
*/
?>
<?php include '../../common/view/header.html.php';?>
<div class='yui-d0'>
<table class='table-1'>
<caption><?php echo $lang->release->view;?></caption>
<tr>
<th class='rowhead'><?php echo $lang->release->product;?></th>
<td><?php echo $release->productName;?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->release->name;?></th>
<td class='<?php if($release->deleted) echo 'deleted';?>'><?php echo $release->name;?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->release->build;?></th>
<td><?php echo $release->buildName;?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->release->date;?></th>
<td><?php echo $release->date;?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->release->desc;?></th>
<td><?php echo nl2br($release->desc);?></td>
</tr>
</table>
<div class='a-center f-16px strong'>
<?php
$browseLink = $this->session->releaseList ? $this->session->releaseList : inlink('browse', "productID=$release->product");
if(!$release->deleted)
{
common::printLink('release', 'edit', "releaseID=$release->id", $lang->edit);
common::printLink('release', 'delete', "releaseID=$release->id", $lang->delete, 'hiddenwin');
}
echo html::a($browseLink, $lang->goback);
?>
</div>
<?php include '../../common/view/action.html.php';?>
</div>
<?php include '../../common/view/footer.html.php';?>