Files
EasySoft-ZenTaoPMS/trunk/module/project/view/linkstory.html.php
2009-12-17 06:44:54 +00:00

61 lines
2.3 KiB
PHP

<?php
/**
* The link story view of project 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 project
* @version $Id$
* @link http://www.zentao.cn
*/
?>
<?php include '../../common/header.html.php';?>
<?php include '../../common/tablesorter.html.php';?>
<div class='yui-d0'>
<form method='post' target='hiddenwin'>
<table align='center' class='table-1 tablesorter fixed a-center'>
<thead>
<tr class='colhead'>
<th><?php echo $lang->story->id;?></th>
<th><?php echo $lang->story->pri;?></th>
<th><?php echo $lang->story->product;?></th>
<th class='w-p50'><?php echo $lang->story->title;?></th>
<th><?php echo $lang->story->linkStory;?></th>
</tr>
</thead>
<tbody>
<?php foreach($allStories as $story):?>
<?php if(isset($prjStories[$story->id])) continue;?>
<tr>
<td><?php echo $story->id;?></td>
<td><?php echo $story->pri;?></td>
<td><?php echo html::a($this->createLink('product', 'browse', "productID=$story->product"), $products[$story->product], '_blank');?></td>
<td class='a-left nobr'><?php echo $story->title;?></td>
<td>
<input type='checkbox' name='stories[]' value='<?php echo $story->id;?>' />
<input type='hidden' name='products[]' value='<?php echo $story->product;?>' />
</td>
</tr>
<?php endforeach;?>
</tbody>
<tr>
<td colspan='5'><?php echo html::submitButton();?></td>
</tr>
</table>
</form>
</div>
<?php include '../../common/footer.html.php';?>