' />
|
message->setting) ? json_decode($config->message->setting, true) : $config->message->setting;?>
message->typeList as $type => $typeName):?>
message->available[$type][$objectType])):?>
message->available[$type][$objectType] as $action)
{
if(!isset($objectActions[$objectType][$action])) continue;
$availableActions[$action] = $objectActions[$objectType][$action];
}
?>
$value)
{
$checked = strpos(",$selected,", ",{$key},") !== false ? "checked='checked'" : '';
echo " ";
echo "";
echo " ";
}
if(isset($config->message->condition[$type][$objectType]))
{
$moduleName = $objectType == 'case' ? 'testcase' : $objectType;
$this->app->loadLang($moduleName);
foreach(explode(',', $config->message->condition[$type][$objectType]) as $condition)
{
$listKey = $condition . 'List';
$list = isset($this->lang->$moduleName->$listKey) ? $this->lang->$moduleName->$listKey : $users;
echo html::select("messageSetting[$type][condition][$objectType][$condition][]", $list, isset($messageSetting[$type]['condition'][$objectType][$condition]) ? join(',', $messageSetting[$type]['condition'][$objectType][$condition]) : '', "class='form-control chosen' multiple data-placeholder='{$this->lang->$moduleName->$condition}'");
}
}
?>
|
|