Пример #1
0
$form->assign("PARENT_ID", $focus->parent_id);
$form->assign("ID", $focus->id);
$form->assign("REL_MODULE1", $focus->rel_module1);
$form->assign("REL_MODULE2", $focus->rel_module2);
$form->assign("FIELD_VALUE", $focus->field_value);
////////Middle Items/////////////////////////////
/////////////////End Items 	//////////////////////
insert_popup_header($theme);
$form->parse("embeded");
$form->out("embeded");
//////////New way of processing page
require_once 'include/ListView/ProcessView.php';
//Check to see if this workflow object is bridging, and if so, use its parent workflow object as the object
$ProcessView = new ProcessView($target_workflow_object, $focus);
$ProcessView->no_count = true;
$ProcessView->write("AlertsCreateStep1");
$form->assign("TOP_BLOCK", $ProcessView->top_block);
$form->assign("BOTTOM_BLOCK", $ProcessView->bottom_block);
//close window and refresh parent if needed
if (!empty($_REQUEST['special_action']) && $_REQUEST['special_action'] == "refresh") {
    $special_javascript = "window.opener.document.DetailView.action.value = 'DetailView'; \n";
    $special_javascript .= "window.opener.document.DetailView.submit(); \n";
    $special_javascript .= "window.close();";
    $form->assign("SPECIAL_JAVASCRIPT", $special_javascript);
}
$form->parse("main");
$form->out("main");
?>

<?php 
insert_popup_footer();
Пример #2
0
    $form->assign("PLUGIN_JAVASCRIPT2", $plugin_array['jscript_part2']);
}
//END - WFLOW PLUGINS INFORMATION//////
$form->assign("JAVASCRIPT_LANGUAGE_FILES", $javascript_language_files);
$form->assign("MODULE_NAME", $currentModule);
//$form->assign("FORM", $_REQUEST['form']);
$form->assign("GRIDLINE", $gridline);
$form->assign("SET_RETURN_JS", $the_javascript);
insert_popup_header($theme);
$form->parse("embeded");
$form->out("embeded");
//////////New way of processing page
require_once 'include/ListView/ProcessView.php';
$ProcessView = new ProcessView($seed_object, $focus);
$ProcessView->no_count = true;
$ProcessView->write("ActionsCreateStep1");
$form->assign("TOP_BLOCK", $ProcessView->top_block);
$form->assign("BOTTOM_BLOCK", $ProcessView->bottom_block);
//close window and refresh parent if needed
if (!empty($_REQUEST['special_action']) && $_REQUEST['special_action'] == "refresh") {
    $special_javascript = "window.opener.document.DetailView.action.value = 'DetailView'; \n";
    $special_javascript .= "window.opener.document.DetailView.submit(); \n";
    $special_javascript .= "window.close();";
    $form->assign("SPECIAL_JAVASCRIPT", $special_javascript);
}
$form->parse("main");
$form->out("main");
?>

<?php 
insert_popup_footer();
Пример #3
0
} else {
    $meta_array_type = "time_trigger";
}
$form->assign("META_FILTER_NAME", $meta_array_type);
insert_popup_header($theme);
$form->parse("embeded");
$form->out("embeded");
//////////New way of processing page
require_once 'include/ListView/ProcessView.php';
$ProcessView = new ProcessView($workflow_object, $focus);
//Check multi_trigger filter conditions
if (!empty($_REQUEST['frame_type']) && $_REQUEST['frame_type'] == "Secondary") {
    $ProcessView->add_filter = true;
    $form->assign("FRAME_TYPE", $_REQUEST['frame_type']);
} else {
    $form->assign("FRAME_TYPE", "Primary");
}
$ProcessView->write("TriggersCreateStep1");
$form->assign("TOP_BLOCK", $ProcessView->top_block);
$form->assign("BOTTOM_BLOCK", $ProcessView->bottom_block);
if (!empty($_REQUEST['frame_type']) && $_REQUEST['frame_type'] == "Secondary") {
    echo getClassicModuleTitle($mod_strings['LBL_FILTER_FORM_TITLE'], array($mod_strings['LBL_FILTER_FORM_TITLE'], $mod_strings['LBL_FILTER_FORM_TITLE']), false);
} else {
    echo getClassicModuleTitle($mod_strings['LBL_TRIGGER_FORM_TITLE'], array($mod_strings['LBL_TRIGGER_FORM_TITLE'], $mod_strings['LBL_TRIGGER_FORM_TITLE']), false);
}
$form->parse("main");
$form->out("main");
?>

<?php 
insert_popup_footer();