PluginProbe ʕ •ᴥ•ʔ
WP Job Manager / trunk
WP Job Manager vtrunk
2.4.6 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 / account-signin.php
wp-job-manager / templates Last commit date
emails 1 week ago form-fields 1 week 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 3 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 1 week ago content-summary-job_listing.php 3 months ago content-widget-job_listing.php 3 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 3 months ago job-submit.php 2 years ago job-submitted.php 2 years ago notice.php 2 years ago pagination.php 6 years ago
account-signin.php
75 lines
1 <?php
2 /**
3 * In job listing creation flow, this template shows above the job creation form.
4 *
5 * This template can be overridden by copying it to yourtheme/job_manager/account-signin.php.
6 *
7 * @see https://wpjobmanager.com/document/template-overrides/
8 * @author Automattic
9 * @package wp-job-manager
10 * @category Template
11 * @version 1.33.0
12 */
13
14 if ( ! defined( 'ABSPATH' ) ) {
15 exit; // Exit if accessed directly.
16 }
17 ?>
18 <?php if ( is_user_logged_in() ) : ?>
19
20 <fieldset class="fieldset-logged_in">
21 <label><?php esc_html_e( 'Your account', 'wp-job-manager' ); ?></label>
22 <div class="field account-sign-in">
23 <?php
24 $user = wp_get_current_user();
25 // translators: Placeholder %s is the username.
26 printf( wp_kses_post( __( 'You are currently signed in as <strong>%s</strong>.', 'wp-job-manager' ) ), esc_html( $user->user_login ) );
27 ?>
28
29 <a class="button" href="<?php echo esc_url( apply_filters( 'submit_job_form_logout_url', wp_logout_url( get_permalink() ) ) ); ?>"><?php esc_html_e( 'Sign out', 'wp-job-manager' ); ?></a>
30 </div>
31 </fieldset>
32
33 <?php else :
34 $account_required = job_manager_user_requires_account();
35 $registration_enabled = job_manager_enable_registration();
36 $registration_fields = wpjm_get_registration_fields();
37 $use_standard_password_email = wpjm_use_standard_password_setup_email();
38 ?>
39 <fieldset class="fieldset-login_required">
40 <label><?php esc_html_e( 'Have an account?', 'wp-job-manager' ); ?></label>
41 <div class="field account-sign-in">
42 <a class="button" href="<?php echo esc_url( apply_filters( 'submit_job_form_login_url', wp_login_url( get_permalink() ) ) ); ?>"><?php esc_html_e( 'Sign in', 'wp-job-manager' ); ?></a>
43
44 <?php if ( $registration_enabled ) : ?>
45
46 <?php printf( esc_html__( 'If you don\'t have an account you can create one below by entering your email address/username.', 'wp-job-manager' ), $account_required ? '' : esc_html__( 'optionally', 'wp-job-manager' ) . ' ' ); ?>
47 <?php if ( $use_standard_password_email ) : ?>
48 <?php printf( esc_html__( 'Your account details will be confirmed via email.', 'wp-job-manager' ) ); ?>
49 <?php endif; ?>
50
51 <?php elseif ( $account_required ) : ?>
52
53 <?php echo wp_kses_post( apply_filters( 'submit_job_form_login_required_message', __( 'You must sign in to create a new listing.', 'wp-job-manager' ) ) ); ?>
54
55 <?php endif; ?>
56 </div>
57 </fieldset>
58 <?php
59 if ( ! empty( $registration_fields ) ) {
60 foreach ( $registration_fields as $key => $field ) {
61 ?>
62 <fieldset class="fieldset-<?php echo esc_attr( $key ); ?>">
63 <label
64 for="<?php echo esc_attr( $key ); ?>"><?php echo esc_html( $field[ 'label' ] ) . wp_kses_post( apply_filters( 'submit_job_form_required_label', $field[ 'required' ] ? '' : ' <small>' . __( '(optional)', 'wp-job-manager' ) . '</small>', $field ) ); ?></label>
65 <div class="field <?php echo $field[ 'required' ] ? 'required-field draft-required' : ''; ?>">
66 <?php get_job_manager_template( 'form-fields/' . $field[ 'type' ] . '-field.php', [ 'key' => $key, 'field' => $field ] ); ?>
67 </div>
68 </fieldset>
69 <?php
70 }
71 do_action( 'job_manager_register_form' );
72 }
73 ?>
74 <?php endif; ?>
75