90 lines
2.7 KiB
PHP
90 lines
2.7 KiB
PHP
<?php
|
||
/**
|
||
* The view view file of webapp 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 Yidong Wang <yidong@cnezsoft.com>
|
||
* @package webapp
|
||
* @version $Id$
|
||
* @link http://www.zentao.net
|
||
*/
|
||
?>
|
||
<?php include '../../common/view/header.lite.html.php';?>
|
||
<table class='table-1'>
|
||
<caption>
|
||
<?php echo $lang->webapp->view?>
|
||
<span class='f-right'><?php if($type =='local') common::printLink('webapp', 'edit', "webappID=$webapp->id", $lang->edit);?></span>
|
||
</caption>
|
||
<?php if($type == 'local'):?>
|
||
<tr>
|
||
<th class='text-right'><?php echo $lang->webapp->module?></th>
|
||
<td><?php echo $modules[$webapp->module]?></td>
|
||
</tr>
|
||
<?php endif;?>
|
||
<tr>
|
||
<th class='text-right' width='60'><?php echo $lang->webapp->name?></th>
|
||
<td><?php echo $webapp->name?></td>
|
||
</tr>
|
||
<tr>
|
||
<th class='text-right'><?php echo $lang->webapp->url?></th>
|
||
<td><?php echo $webapp->url?></td>
|
||
</tr>
|
||
<tr>
|
||
<th class='text-right'><?php echo $lang->webapp->author?></th>
|
||
<td><?php echo $webapp->author?></td>
|
||
</tr>
|
||
<tr>
|
||
<th class='text-right'><?php echo $lang->webapp->target?></th>
|
||
<td><?php echo $lang->webapp->targetList[$webapp->target]?></td>
|
||
</tr>
|
||
<?php if($webapp->target == 'popup'):?>
|
||
<?php
|
||
if(!array_key_exists($webapp->size, $lang->webapp->sizeList))
|
||
{
|
||
$size = $webapp->size;
|
||
$webapp->size = 'custom';
|
||
}
|
||
?>
|
||
<tr>
|
||
<th class='text-right'><?php echo $lang->webapp->size?></th>
|
||
<td>
|
||
<?php
|
||
echo $lang->webapp->sizeList[$webapp->size];
|
||
if(isset($size)) echo ' : ' . $size;
|
||
?>
|
||
</td>
|
||
</tr>
|
||
<?php endif;?>
|
||
<tr>
|
||
<th class='text-right'><?php echo $lang->webapp->abstract?></th>
|
||
<td><?php echo $webapp->abstract?></td>
|
||
</tr>
|
||
<tr>
|
||
<th class='text-right'><?php echo $lang->webapp->desc?></th>
|
||
<td><?php echo $webapp->desc?></td>
|
||
</tr>
|
||
<?php if($type == 'local'):?>
|
||
<tr>
|
||
<th class='text-right'><?php echo $lang->webapp->addType?></th>
|
||
<td><?php echo $lang->webapp->addTypeList[$webapp->addType]?></td>
|
||
</tr>
|
||
<tr>
|
||
<th class='text-right'><?php echo $lang->webapp->addedBy?></th>
|
||
<td><?php echo $users[$webapp->addedBy]?></td>
|
||
</tr>
|
||
<tr>
|
||
<th class='text-right'><?php echo $lang->webapp->addedDate?></th>
|
||
<td><?php echo $webapp->addedDate?></td>
|
||
</tr>
|
||
<?php endif;?>
|
||
<?php if($type == 'api'):?>
|
||
<tr>
|
||
<th class='text-right'><?php echo $lang->webapp->downloads?></th>
|
||
<td><?php echo $webapp->downloads?></td>
|
||
</tr>
|
||
<?php endif;?>
|
||
</table>
|
||
<?php include '../../common/view/footer.lite.html.php';?>
|
||
|