* @package story
* @version $Id: view.html.php 4952 2013-07-02 01:14:58Z chencongzhi520@gmail.com $
* @link http://www.zentao.net
*/
?>
deleted) echo "class='deleted'";?>>STORY #id . ' ' . $story->title;?>
version > 1):?>
version; $i >= 1; $i --)
{
$class = $i == $version ? "class='blue'" : "class='gray'";
echo html::a(inlink('view', "storyID=$story->id&version=$i"), '#' . $i, '', "$class");
}
echo ")";
?>
session->storyList != false ? $app->session->storyList : $this->createLink('product', 'browse', "productID=$story->product&moduleID=$story->module");
$actionLinks = '';
if(!$story->deleted)
{
ob_start();
common::printIcon('story', 'change', "storyID=$story->id", $story);
common::printIcon('story', 'review', "storyID=$story->id", $story);
common::printIcon('story', 'close', "storyID=$story->id", $story, 'button', '', '', 'iframe showinonlybody', true);
common::printIcon('story', 'activate', "storyID=$story->id", $story, 'button', '', '', 'iframe showinonlybody', true);
common::printIcon('story', 'createCase', "productID=$story->product&moduleID=0&from=¶m=0&storyID=$story->id", '', 'button', 'createCase');
common::printDivider();
common::printIcon('story', 'edit', "storyID=$story->id");
common::printCommentIcon('story');
common::printIcon('story', 'create', "productID=$story->product&moduleID=$story->module&storyID=$story->id", '', 'button', 'copy');
common::printIcon('story', 'delete', "storyID=$story->id", '', 'button', '', 'hiddenwin');
common::printDivider();
common::printRPN($browseLink, $preAndNext);
$actionLinks = ob_get_contents();
ob_clean();
echo $actionLinks;
}
else
{
common::printRPN($browseLink);
}
?>
|
fetch('file', 'printFiles', array('files' => $story->files, 'fieldset' => 'true'));?>
deleted) echo $actionLinks;?>
|
|
|