\n"; $button .= "\n"; $button .= "\n"; $button .= "\n"; $button .= "\n"; $button .= "\n"; $form =new XTemplate ('modules/Users/Popup_Users_picker.html'); $GLOBALS['log']->debug("using file modules/Users/Popup_Users_picker.html"); $form->assign("MOD", $mod_strings); $form->assign("APP", $app_strings); $form->assign("MODULE_NAME", $currentModule); $form->assign("parent_id", $parent_id); $form->assign("parent_name", $parent_name); if (isset($_REQUEST['form_submit'])) $form->assign("FORM_SUBMIT", $_REQUEST['form_submit']); $form->assign("FORM", $from_form); $form->assign("RECORD_VALUE", $_REQUEST['record']); if (isset($_REQUEST['first_name'])) $last_search['FIRST_NAME'] = $_REQUEST['first_name']; if (isset($_REQUEST['last_name'])) $last_search['LAST_NAME'] = $_REQUEST['last_name']; if (isset($_REQUEST['user_name'])) $last_search['USER_NAME'] = $_REQUEST['user_name']; insert_popup_header($theme); // Quick search. echo "