PluginProbe ʕ •ᴥ•ʔ
WP Job Manager / trunk
WP Job Manager vtrunk
2.4.5 2.4.4 2.4.3 2.4.2 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.1.0 1.1.1 1.1.2 1.1.3 1.10.0 1.11.0 1.11.1 1.12.0 1.12.1 1.13.0 1.14.0 1.15.0 1.16.0 1.16.1 1.17.0 1.18.0 1.19.0 1.2.0 1.20.0 1.20.1 1.21.0 1.21.1 1.21.2 1.21.3 1.21.4 1.22.0 1.22.1 1.22.2 1.22.3 1.23.0 1.23.1 1.23.10 1.23.11 1.23.12 1.23.13 1.23.2 1.23.3 1.23.4 1.23.5 1.23.6 1.23.7 1.23.8 1.23.9 1.24.0 1.24.0.1 1.25.0 1.25.0.1 1.25.1 1.25.1.1 1.25.2 1.25.2.1 1.25.3 1.25.3.1 1.26.0 1.26.0.1 1.26.1 1.26.1.1 1.26.2 1.26.2.1 1.27.0 1.27.0.1 1.28.0 1.28.0.1 1.29.0 1.29.0.1 1.29.1 1.29.1.1 1.29.2 1.29.2.1 1.29.3 1.29.3.1 1.3.0 1.3.1 1.30.0 1.30.0.1 1.30.1 1.30.1.1 1.30.2 1.30.2.1 1.31.0 1.31.0.1 1.31.1 1.31.1.1 1.31.2 1.31.3 1.32.0 1.32.1 1.32.2 1.32.3 1.33.0 1.33.1 1.33.2 1.33.3 1.33.4 1.33.5 1.34.0 1.34.1 1.34.2 1.34.3 1.34.4 1.34.5 1.35.0 1.35.1 1.35.2 1.35.3 1.36.0 1.36.1 1.36.2 1.37.0 1.38.0 1.38.1 1.39.0 1.4.0 1.40.0 1.40.1 1.40.2 1.41.0 1.42.0 1.5.0 1.5.1 1.5.2 1.6.0 1.7.0 1.7.1 1.7.3 1.8.0 1.8.1 1.8.2 1.9.0 1.9.1 1.9.2 1.9.3 2.0.0 2.1.0 2.1.1 2.2.0 2.2.1 2.2.2 2.3.0 2.4.0 2.4.1
wp-job-manager / templates / job-submit.php
wp-job-manager / templates Last commit date
emails 2 years ago form-fields 4 weeks ago access-denied-browse-job_listings.php 4 years ago access-denied-single-job_listing.php 3 years ago account-signin.php 4 years ago content-job_listing.php 2 months ago content-no-jobs-found.php 7 years ago content-single-job_listing-company.php 3 years ago content-single-job_listing-meta.php 4 years ago content-single-job_listing.php 4 years ago content-summary-job_listing.php 2 months ago content-widget-job_listing.php 2 months ago content-widget-no-jobs-found.php 7 years ago job-application-email.php 4 years ago job-application-url.php 7 years ago job-application.php 7 years ago job-dashboard-login.php 7 years ago job-dashboard-overlay.php 2 years ago job-dashboard.php 2 years ago job-filter-job-types.php 2 years ago job-filters.php 2 years ago job-listings-end.php 7 years ago job-listings-start.php 7 years ago job-pagination.php 7 years ago job-preview.php 2 years ago job-stats.php 2 months ago job-submit.php 2 years ago job-submitted.php 2 years ago notice.php 2 years ago pagination.php 6 years ago
job-submit.php
93 lines
1 <?php
2 /**
3 * Content for job submission (`[submit_job_form]`) shortcode.
4 *
5 * This template can be overridden by copying it to yourtheme/job_manager/job-submit.php.
6 *
7 * @see https://wpjobmanager.com/document/template-overrides/
8 * @author Automattic
9 * @package wp-job-manager
10 * @category Template
11 * @version 1.34.3
12 */
13
14 if ( ! defined( 'ABSPATH' ) ) {
15 exit; // Exit if accessed directly.
16 }
17
18 global $job_manager;
19 $captcha_version = WP_Job_Manager\WP_Job_Manager_Recaptcha::instance()->get_recaptcha_version();
20 ?>
21 <form action="<?php echo esc_url( $action ); ?>" method="post" id="submit-job-form" class="job-manager-form" enctype="multipart/form-data">
22
23 <?php
24 if ( isset( $resume_edit ) && $resume_edit ) {
25 printf( '<p><strong>' . esc_html__( "You are editing an existing job. %s", 'wp-job-manager' ) . '</strong></p>', '<a href="?job_manager_form=submit-job&new=1&key=' . esc_attr( $resume_edit ) . '">' . esc_html__( 'Create A New Job', 'wp-job-manager' ) . '</a>' );
26 }
27 ?>
28
29 <?php do_action( 'submit_job_form_start' ); ?>
30
31 <?php if ( apply_filters( 'submit_job_form_show_signin', true ) ) : ?>
32
33 <?php get_job_manager_template( 'account-signin.php' ); ?>
34
35 <?php endif; ?>
36
37 <?php if ( job_manager_user_can_post_job() || job_manager_user_can_edit_job( $job_id ) ) : ?>
38
39 <!-- Job Information Fields -->
40 <?php do_action( 'submit_job_form_job_fields_start' ); ?>
41
42 <?php foreach ( $job_fields as $key => $field ) : ?>
43 <fieldset class="fieldset-<?php echo esc_attr( $key ); ?> fieldset-type-<?php echo esc_attr( $field['type'] ); ?>">
44 <label for="<?php echo esc_attr( $key ); ?>"><?php echo wp_kses_post( $field['label'] ) . wp_kses_post( apply_filters( 'submit_job_form_required_label', $field['required'] ? '' : ' <small>' . __( '(optional)', 'wp-job-manager' ) . '</small>', $field ) ); ?></label>
45 <div class="field <?php echo $field['required'] ? 'required-field' : ''; ?>">
46 <?php get_job_manager_template( 'form-fields/' . $field['type'] . '-field.php', [ 'key' => $key, 'field' => $field ] ); ?>
47 </div>
48 </fieldset>
49 <?php endforeach; ?>
50
51 <?php do_action( 'submit_job_form_job_fields_end' ); ?>
52
53 <!-- Company Information Fields -->
54 <?php if ( $company_fields ) : ?>
55 <h2><?php esc_html_e( 'Company Details', 'wp-job-manager' ); ?></h2>
56
57 <?php do_action( 'submit_job_form_company_fields_start' ); ?>
58
59 <?php foreach ( $company_fields as $key => $field ) : ?>
60 <fieldset class="fieldset-<?php echo esc_attr( $key ); ?> fieldset-type-<?php echo esc_attr( $field['type'] ); ?>">
61 <label for="<?php echo esc_attr( $key ); ?>"><?php echo wp_kses_post( $field['label'] ) . wp_kses_post( apply_filters( 'submit_job_form_required_label', $field['required'] ? '' : ' <small>' . __( '(optional)', 'wp-job-manager' ) . '</small>', $field ) ); ?></label>
62 <div class="field <?php echo $field['required'] ? 'required-field' : ''; ?>">
63 <?php get_job_manager_template( 'form-fields/' . $field['type'] . '-field.php', [ 'key' => $key, 'field' => $field ] ); ?>
64 </div>
65 </fieldset>
66 <?php endforeach; ?>
67
68 <?php do_action( 'submit_job_form_company_fields_end' ); ?>
69 <?php endif; ?>
70
71 <?php do_action( 'submit_job_form_end' ); ?>
72
73 <p>
74 <input type="hidden" name="job_manager_form" value="<?php echo esc_attr( $form ); ?>" />
75 <input type="hidden" name="job_id" value="<?php echo esc_attr( $job_id ); ?>" />
76 <input type="hidden" name="step" value="<?php echo esc_attr( $step ); ?>" />
77 <input type="submit" name="submit_job" class="button"
78 <?php if ('v3' === $captcha_version) echo 'onclick="jm_job_submit_click(event)"'; ?> value="<?php echo esc_attr($submit_button_text); ?>" />
79 <?php
80 if ( isset( $can_continue_later ) && $can_continue_later ) {
81 echo '<input type="submit" name="save_draft" class="button secondary save_draft" value="' . esc_attr__( 'Save Draft', 'wp-job-manager' ) . '" formnovalidate />';
82 }
83 ?>
84 <span class="spinner" style="background-image: url(<?php echo esc_url( includes_url( 'images/spinner.gif' ) ); ?>);"></span>
85 </p>
86
87 <?php else : ?>
88
89 <?php do_action( 'submit_job_form_disabled' ); ?>
90
91 <?php endif; ?>
92 </form>
93