PATH:
home
/
letacommog
/
aacote
/
wp-content
/
plugins
/
wp-job-manager
/
templates
<?php /** * Job dashboard shortcode content. * * This template can be overridden by copying it to yourtheme/job_manager/job-dashboard.php. * * @see https://wpjobmanager.com/document/template-overrides/ * @author Automattic * @package WP Job Manager * @category Template * @version 1.32.0 */ if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly. } ?> <div id="job-manager-job-dashboard"> <p><?php esc_html_e( 'Your listings are shown in the table below.', 'wp-job-manager' ); ?></p> <table class="job-manager-jobs"> <thead> <tr> <?php foreach ( $job_dashboard_columns as $key => $column ) : ?> <th class="<?php echo esc_attr( $key ); ?>"><?php echo esc_html( $column ); ?></th> <?php endforeach; ?> </tr> </thead> <tbody> <?php if ( ! $jobs ) : ?> <tr> <td colspan="<?php echo intval( count( $job_dashboard_columns ) ); ?>"><?php esc_html_e( 'You do not have any active listings.', 'wp-job-manager' ); ?></td> </tr> <?php else : ?> <?php foreach ( $jobs as $job ) : ?> <tr> <?php foreach ( $job_dashboard_columns as $key => $column ) : ?> <td class="<?php echo esc_attr( $key ); ?>"> <?php if ('job_title' === $key ) : ?> <?php if ( $job->post_status == 'publish' ) : ?> <a href="<?php echo esc_url( get_permalink( $job->ID ) ); ?>"><?php wpjm_the_job_title( $job ); ?></a> <?php else : ?> <?php wpjm_the_job_title( $job ); ?> <small>(<?php the_job_status( $job ); ?>)</small> <?php endif; ?> <?php echo is_position_featured( $job ) ? '<span class="featured-job-icon" title="' . esc_attr__( 'Featured Job', 'wp-job-manager' ) . '"></span>' : ''; ?> <ul class="job-dashboard-actions"> <?php $actions = array(); switch ( $job->post_status ) { case 'publish' : if ( wpjm_user_can_edit_published_submissions() ) { $actions[ 'edit' ] = array( 'label' => __( 'Edit', 'wp-job-manager' ), 'nonce' => false ); } if ( is_position_filled( $job ) ) { $actions['mark_not_filled'] = array( 'label' => __( 'Mark not filled', 'wp-job-manager' ), 'nonce' => true ); } else { $actions['mark_filled'] = array( 'label' => __( 'Mark filled', 'wp-job-manager' ), 'nonce' => true ); } $actions['duplicate'] = array( 'label' => __( 'Duplicate', 'wp-job-manager' ), 'nonce' => true ); break; case 'expired' : if ( job_manager_get_permalink( 'submit_job_form' ) ) { $actions['relist'] = array( 'label' => __( 'Relist', 'wp-job-manager' ), 'nonce' => true ); } break; case 'pending_payment' : case 'pending' : if ( job_manager_user_can_edit_pending_submissions() ) { $actions['edit'] = array( 'label' => __( 'Edit', 'wp-job-manager' ), 'nonce' => false ); } break; case 'draft' : case 'preview' : $actions['continue'] = array( 'label' => __( 'Continue Submission', 'wp-job-manager' ), 'nonce' => true ); break; } $actions['delete'] = array( 'label' => __( 'Delete', 'wp-job-manager' ), 'nonce' => true ); $actions = apply_filters( 'job_manager_my_job_actions', $actions, $job ); foreach ( $actions as $action => $value ) { $action_url = add_query_arg( array( 'action' => $action, 'job_id' => $job->ID ) ); if ( $value['nonce'] ) { $action_url = wp_nonce_url( $action_url, 'job_manager_my_job_actions' ); } echo '<li><a href="' . esc_url( $action_url ) . '" class="job-dashboard-action-' . esc_attr( $action ) . '">' . esc_html( $value['label'] ) . '</a></li>'; } ?> </ul> <?php elseif ('date' === $key ) : ?> <?php echo esc_html( date_i18n( get_option( 'date_format' ), strtotime( $job->post_date ) ) ); ?> <?php elseif ('expires' === $key ) : ?> <?php echo esc_html( $job->_job_expires ? date_i18n( get_option( 'date_format' ), strtotime( $job->_job_expires ) ) : '–' ); ?> <?php elseif ('filled' === $key ) : ?> <?php echo is_position_filled( $job ) ? '✔' : '–'; ?> <?php else : ?> <?php do_action( 'job_manager_job_dashboard_column_' . $key, $job ); ?> <?php endif; ?> </td> <?php endforeach; ?> </tr> <?php endforeach; ?> <?php endif; ?> </tbody> </table> <?php get_job_manager_template( 'pagination.php', array( 'max_num_pages' => $max_num_pages ) ); ?> </div>
[+]
..
[-] job-preview.php
[edit]
[-] job-application-email.php
[edit]
[-] job-dashboard-login.php
[edit]
[-] content-widget-no-jobs-found.php
[edit]
[-] content-widget-job_listing.php
[edit]
[-] job-submit.php
[edit]
[-] job-pagination.php
[edit]
[-] job-submitted.php
[edit]
[-] content-no-jobs-found.php
[edit]
[-] job-filters.php
[edit]
[-] account-signin.php
[edit]
[-] content-job_listing.php
[edit]
[+]
form-fields
[-] job-listings-start.php
[edit]
[-] content-single-job_listing.php
[edit]
[-] job-filter-job-types.php
[edit]
[-] content-summary-job_listing.php
[edit]
[-] content-single-job_listing-company.php
[edit]
[-] job-listings-end.php
[edit]
[-] content-single-job_listing-meta.php
[edit]
[-] job-application.php
[edit]
[-] pagination.php
[edit]
[-] job-dashboard.php
[edit]
[+]
emails
[-] job-application-url.php
[edit]