PATH:
home
/
letacommog
/
rdvenunclick.fr1
/
wp-content
/
plugins
/
woocommerce-bookings
/
includes
/
admin
/
views
<div class="wrap woocommerce"> <h2><?php esc_html_e( 'Schedule', 'woocommerce-bookings' ); ?></h2> <form method="get" id="mainform" enctype="multipart/form-data" class="wc_bookings_calendar_form"> <input type="hidden" name="post_type" value="wc_booking" /> <input type="hidden" name="page" value="booking_calendar" /> <input type="hidden" name="view" value="<?php echo esc_attr( $view ); ?>" /> <input type="hidden" name="tab" value="calendar" /> <input type="hidden" name="calendar_day" value="<?php echo esc_attr( $day ); ?>" /> <?php include 'html-calendar-nav.php'; ?> <ul class="wc-bookings-schedule-days"> <?php foreach ( $this->days as $day ) : ?> <?php $on_today_class = current_time( 'Y-m-d' ) === $day->format( 'Y-m-d' ) ? 'wc-booking-schedule-today' : ''; ?> <li> <div class="wc-bookings-schedule-date <?php echo esc_attr( $on_today_class ); ?>"> <div class="wc-bookings-schedule-day"><?php echo esc_html( $day->format( 'd' ) ); ?></div> <div class="wc-bookings-schedule-weekday"><?php echo esc_html( $day->format( 'M, D' ) ); ?></div> </div> <ul class="wc-bookings-schedule-day-events"> <?php while ( isset( $this->events_data[0] ) && date( 'Y-m-d', $this->events_data[0]['start'] ) === $day->format( 'Y-m-d' ) ) : ?> <?php $event_data = array_shift( $this->events_data ); $description = ! empty( $event_data['customer'] ) ? '<span class="wc-bookings-schedule-customer-name">' . $event_data['customer'] . '</span>, ' . $event_data['title'] : $event_data['title']; ?> <li> <a class="wc-bookings-schedule-event" href="<?php echo esc_url( $event_data['url'] ); ?>"> <div class="wc-bookings-schedule-booking-duration"> <?php echo esc_html( $event_data['time'] ); ?> </div> <div class="wc-bookings-schedule-booking-info"> <div class="wc-bookings-schedule-booking-description"> <?php echo wp_kses_post( $description ); ?> </div> <div class="wc-bookings-schedule-booking-details"> <?php $resources = array(); if ( ! empty( $event_data['resource'] ) ) { array_push( $resources, $event_data['resource'] ); } if ( ! empty( $event_data['resources'] ) ) { echo esc_html( __( 'Resources: ', 'woocommerce-bookings' ) ); echo esc_html( implode( ', ', $event_data['resources'] ) ); } ?> </div> <div class="wc-bookings-schedule-booking-details"> <?php $persons = ''; if ( ! empty( $event_data['persons'] ) ) { $persons = $event_data['persons']; } if ( ! empty( $persons ) ) { // Persons from Booking data already contains label echo esc_html( $persons ); } ?> </div> <?php if ( ! empty( $event_data['note'] ) ) : ?> <div class="wc-bookings-schedule-booking-details"> <?php echo esc_html( sprintf( __( "Note: %s", 'woocommerce-bookings' ), $event_data['note'] ) ); ?> </div> <?php endif; ?> </div> </a> </li> <?php endwhile; ?> </ul> </li> <?php endforeach; ?> </ul> </form> </div>
[+]
..
[-] html-notifications-page.php
[edit]
[-] html-booking-pricing-fields.php
[edit]
[-] html-booking-availability-fields.php
[edit]
[-] html-calendar-month.php
[edit]
[-] html-booking-persons.php
[edit]
[-] html-settings-page.php
[edit]
[-] html-availability-nav.php
[edit]
[-] html-classic-availability-settings.php
[edit]
[-] html-booking-tab.php
[edit]
[-] html-availability-views-nav.php
[edit]
[-] html-booking-resources.php
[edit]
[-] html-calendar-nav.php
[edit]
[-] html-store-availability-settings.php
[edit]
[-] html-booking-resource.php
[edit]
[-] html-booking-data.php
[edit]
[-] html-calendar-schedule.php
[edit]
[-] html-booking-person.php
[edit]
[-] html-booking-pricing.php
[edit]
[-] html-create-booking-page.php
[edit]
[-] html-booking-availability.php
[edit]
[-] html-calendar-day.php
[edit]
[-] html-create-booking-page-2.php
[edit]