* @package product
* @version $Id: browse.html.php 4909 2013-06-26 07:23:50Z chencongzhi520@gmail.com $
* @link http://www.zentao.net
*/
?>
createLink('story', 'batchCreate', "productID=$productID&branch=$branch&moduleID=$moduleID"), "
{$lang->story->batchCreate}", '', "class='btn btn btn-secondary'");?>
createLink('tutorial', 'wizard', "module=story&method=create¶ms=$wizardParams");
echo html::a($link, "
{$lang->story->create}", '', "class='btn btn-primary create-story-btn'");
}
else
{
$link = $this->createLink('story', 'create', "productID=$productID&branch=$branch&moduleID=$moduleID");
if(common::hasPriv('story', 'create')) echo html::a($link, "
{$lang->story->create}", '', "class='btn btn-primary'");
}
?>
createLink('tutorial', 'wizard', "module=story&method=create¶ms=$wizardParams");
echo html::a($link, " {$lang->story->create} ", '', "class='btn btn-primary create-story-btn'");
}
else
{
$link = $this->createLink('story', 'create', "product=$productID&branch=$branch&moduleID=$moduleID");
$disabled = '';
if(!common::hasPriv('story', 'create'))
{
$link = '###';
$disabled = 'disabled';
}
echo html::a($link, " {$lang->story->create} ", '', "class='btn btn-primary $disabled'");
}
?>