?>
</select>
<?php 
    ?>
<BR>
<BR>
<?php 
    echo $mod_strings_users['LBL_REASS_TEAM_TO'];
    ?>
<BR>

<?php 
    $teamSetField = new SugarFieldTeamset('Teamset');
    $lead = BeanFactory::getBean('Leads');
    $teamSetField->initClassicView($lead->field_defs, 'EditView');
    $sqs_objects = $teamSetField->getClassicViewQS();
    $json = getJSONobj();
    $quicksearch_js = '<script type="text/javascript" language="javascript">sqs_objects = ' . $json->encode($sqs_objects) . '</script>';
    echo $teamSetField->getClassicView();
    ?>

<?php 
    ?>
<BR>
<?php 
    echo $mod_strings_users['LBL_REASS_MOD_REASSIGN'];
    ?>
<BR>
<select size="6" name='modules[]' multiple="true" id='modulemultiselect' onchange="updateDivDisplay(this);">
<?php 
    if (!isset($_SESSION['reassignRecords']['assignedModuleListCache'])) {
Example #2
0
}
// handle Create $module then Cancel
if (empty($_REQUEST['return_id'])) {
    $xtpl->assign("RETURN_ACTION", 'index');
}
$xtpl->assign("THEME", SugarThemeRegistry::current()->__toString());
$xtpl->assign("PRINT_URL", "index.php?" . $GLOBALS['request_string']);
$javascript = get_set_focus_js() . get_validate_record_js();
require_once 'include/QuickSearchDefaults.php';
require_once 'modules/KBDocuments/SearchUtils.php';
$qsd = QuickSearchDefaults::getQuickSearchDefaults();
$sqs_objects = array('team_name' => $qsd->getQSTeam(), 'EditView_assigned_user_name' => $qsd->getQSUser(), 'EditView_kbdoc_approver_name' => getQSApprover());
require_once 'include/SugarFields/Fields/Teamset/SugarFieldTeamset.php';
$teamSetField = new SugarFieldTeamset('Teamset');
$teamSetField->initClassicView($focus->field_defs);
$sqs_objects = array_merge($sqs_objects, $teamSetField->getClassicViewQS());
$quicksearch_js = '<script type="text/javascript" language="javascript">sqs_objects = ' . $json->encode($sqs_objects) . '; enableQS();</script>';
/*
$quicksearch_js .= '<script type="text/javascript" language="javascript">
						sqs_objects[\'tags\'] = ' . $json->encode($sqs_objects['tags']) . ';
						sqs_objects[\'team_name\'] = ' . $json->encode($sqs_objects['team_name']) . ';
						</script>';
*/
$javascript = get_set_focus_js() . $quicksearch_js;
$tag = BeanFactory::getBean('KBTags');
$xtpl->assign("TAG_NAME", $tag->tag_name);
//tree header.
$tagstree = new Tree('tagstree');
$tagstree->set_param('module', 'KBTags');
$tagstree->set_param('moduleview', 'modal');
//$nodes = get_tags_nodes_cached(null);