$feedback .= ' POSTING fetch FAILED '; echo '<H2>No Such posting For This Project</H2>'; } else { echo ' <H3>Select Required Skills</H3> <P> Now you can edit/change the list of skills attached to this posting. Developers will be able to match their skills with your requirements. <P> All postings are automatically closed after two weeks. <P> <FORM ACTION="' . $PHP_SELF . '" METHOD="POST"> <INPUT TYPE="HIDDEN" NAME="group_id" VALUE="' . $group_id . '"> <INPUT TYPE="HIDDEN" NAME="job_id" VALUE="' . $job_id . '"> <B>Category:</B><BR> ' . people_job_category_box('category_id', db_result($result, 0, 'category_id')) . ' <P> <B>Status:</B><BR> ' . people_job_status_box('status_id', db_result($result, 0, 'status_id')) . ' <P> <B>Short Description:</B><BR> <INPUT TYPE="TEXT" NAME="title" VALUE="' . db_result($result, 0, 'title') . '" SIZE="40" MAXLENGTH="60"> <P> <B>Long Description:</B><BR> <TEXTAREA NAME="description" ROWS="10" COLS="60" WRAP="SOFT">' . db_result($result, 0, 'description') . '</TEXTAREA> <P> <INPUT TYPE="SUBMIT" NAME="update_job" VALUE="Update Descriptions"> </FORM>'; //now show the list of desired skills echo '<P>' . people_edit_job_inventory($job_id, $group_id); echo '<P><FORM ACTION="/people/" METHOD="POST"><INPUT TYPE="SUBMIT" NAME="SUBMIT" VALUE="Finished"></FORM>';
exit_disabled(); } $group_id = getIntFromRequest('group_id'); if ($group_id && user_ismember($group_id, 'A')) { project_admin_header(array()); /* Fill in the info to create a job */ echo ' <p>' . _('Start by filling in the fields below. When you click continue, you will be shown a list of skills and experience levels that this job requires.') . ' </p> <p> <form action="' . util_make_url('/people/editjob.php') . '" method="post"> <input type="hidden" name="group_id" value="' . $group_id . '" /> <input type="hidden" name="form_key" value="' . form_generate_key() . '"> <strong>' . _('Category') . '</strong>' . utils_requiredField() . '<br /></p> ' . people_job_category_box('category_id') . ' <p> <strong>' . _('Short Description') . ':</strong>' . utils_requiredField() . '<br /> <input type="text" name="title" value="" size="40" maxlength="60" /></p> <p> <strong>' . _('Long Description') . ':</strong>' . utils_requiredField() . '<br /> <textarea name="description" rows="10" cols="60" wrap="soft"></textarea></p> <p> <input type="submit" name="add_job" value="' . _('Continue >>') . '" /> </form></p>'; people_footer(array()); } else { /* Not logged in or insufficient privileges */ if (!$group_id) {