* @package block * @version $Id$ * @link http://www.zentao.net */ ?>
block->emptyTip;?>
'> type; if($type == 'projectreview') $type = 'review'; $typeName = ''; if(isset($lang->{$review->type}->common)) $typeName = $lang->{$review->type}->common; if($type == 'story') $typeName = $lang->SRCommon; if($review->type == 'projectreview') $typeName = $lang->project->common; if(isset($flows[$review->type])) $typeName = $flows[$review->type]; $statusList = array(); if(isset($lang->$type->statusList)) $statusList = $lang->$type->statusList; if($type == 'attend') $statusList = $lang->attend->reviewStatusList; if(!in_array($type, array('story', 'testcase', 'feedback', 'review')) and strpos(",{$config->my->oaObjectType},", ",$type,") === false) { $statusList = $lang->approval->nodeList; } ?>
idAB);?> my->auditField->title);?> my->auditField->type);?> my->auditField->time);?> my->auditField->status);?> actions)?>
id?> title; if($type == 'attend') { $titleHtml = html::a($this->createLink($type, 'review', "objectID=$review->id", 'html', true), $review->title, '', "data-toggle='modal'"); } else { $class = "class='iframe' data-width='90%'"; if(strpos(",{$config->my->oaObjectType},", ",{$type},") !== false) $class = "data-toggle='modal'"; $titleHtml = html::a($this->createLink($type, 'view', "objectID=$review->id", 'html', true), $review->title, '', $class); } echo $titleHtml; ?> time?> status, '')?> id"; $reviewIcon = ''; $passIcon = ''; $rejectIcon = ''; if($module == 'review') { $method = 'assess'; $params = "reviewID=$review->id"; common::printLink($module, $method, $params, $reviewIcon, '', "class='btn' title='{$lang->review->common}'"); } elseif($module == 'attend') { common::printLink($module, 'review', "attendID={$review->id}&status=", $reviewIcon, '', "class='btn' data-toggle='modal' title='{$lang->review->common}'", true, true); } elseif(strpos(",{$config->my->oaObjectType},", ",$module,") !== false) { common::printLink($module, 'view', $params, $reviewIcon, '', "class='btn' data-toggle='modal' title='{$lang->review->common}'", true, true); } elseif(!in_array($module, array('story', 'testcase', 'feedback'))) { common::printLink($module, 'approvalreview', $params, $reviewIcon, '', "class='btn' data-toggle='modal' title='{$lang->review->common}'", true, true); } else { common::printLink($module, $method, $params, $reviewIcon, '', "class='btn iframe' title='{$lang->review->common}'", true, true); } ?>