{ var str = \$(this).serialize(); BlockContent(\$('#job-content')); \$('#job-content').load(dle_root + "?" + str); return false; }); }); JS; } if ($JS) { $JS = "<script type='text/javascript'>\n{$JS}</script>"; } $template->Compile('content', $JS); } $JScript = ShowEditMenu('vacancy'); if ($JScript) { $JScript = <<<JS <script type="text/javascript" > {$JScript} </script> JS; } if ($id) { $job->SearchVacancy(array('id' => $id), array('get_count' => 0)); if (empty($job->vacancies[$id])) { $template->msg($job->lang['error'], $job->lang['vacancy_not_found']); return; } $job->VacancyAddView($id); $template->load("vacancy_full");
{ var str = \$(this).serialize(); BlockContent(\$('#job-content')); \$('#job-content').load(dle_root + "?" + str); return false; }); }); JS; } if ($JS) { $JS = "<script type='text/javascript'>\n{$JS}</script>"; } $template->Compile('content', $JS); } $JScript = ShowEditMenu('resume'); if ($JScript) { $JScript = <<<JS <script type="text/javascript" > {$JScript} </script> JS; } if ($id) { $job->SearchResume(array('id' => $id), array('get_count' => 0)); if (empty($job->resumes[$id])) { $template->msg($job->lang['error'], $job->lang['resume_not_found']); return; } $job->ResumeAddView($id); $template->load("resume_full");