tickets
12 years ago
app-shop.php
12 years ago
datepicker.php
12 years ago
event-map.php
12 years ago
event-sidebar-options.php
12 years ago
events-audit-trail.php
12 years ago
events-meta-box.php
12 years ago
no-comments.php
12 years ago
organizer-meta-box.php
12 years ago
recurrence-dialog.php
12 years ago
tribe-options-display.php
12 years ago
tribe-options-general.php
12 years ago
tribe-options-help.php
12 years ago
tribe-options-network.php
12 years ago
venue-meta-box.php
12 years ago
widget-admin-list.php
12 years ago
widget-admin-list.php
31 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Widget admin for the event list widget. |
| 4 | */ |
| 5 | |
| 6 | // Don't load directly |
| 7 | if ( !defined('ABSPATH') ) { die('-1'); } |
| 8 | |
| 9 | ?> |
| 10 | <p> |
| 11 | <label for="<?php echo $this->get_field_id( 'title' ); ?>"><?php _e('Title:','tribe-events-calendar');?></label> |
| 12 | <input class="widefat" id="<?php echo $this->get_field_id( 'title' ); ?>" name="<?php echo $this->get_field_name( 'title' ); ?>" type="text" value="<?php echo esc_attr( $instance['title'] ); ?>" /> |
| 13 | </p> |
| 14 | |
| 15 | <p> |
| 16 | <label for="<?php echo $this->get_field_id( 'limit' ); ?>"><?php _e('Show:','tribe-events-calendar');?></label> |
| 17 | <select id="<?php echo $this->get_field_id( 'limit' ); ?>" name="<?php echo $this->get_field_name( 'limit' ); ?>" class="widefat"> |
| 18 | <?php for ($i=1; $i<=10; $i++) |
| 19 | {?> |
| 20 | <option <?php if ( $i == $instance['limit'] ) {echo 'selected="selected"';}?> > <?php echo $i;?> </option> |
| 21 | <?php } ?> |
| 22 | </select> |
| 23 | </p> |
| 24 | <label for="<?php echo $this->get_field_id( 'no_upcoming_events' ); ?>"><?php _e('Show widget only if there are upcoming events:','tribe-events-calendar');?></label> |
| 25 | <input id="<?php echo $this->get_field_id( 'no_upcoming_events' ); ?>" name="<?php echo $this->get_field_name( 'no_upcoming_events' ); ?>" type="checkbox" <?php checked( $instance['no_upcoming_events'], 1 ); ?> value="1" /> |
| 26 | <p> |
| 27 | |
| 28 | </p> |
| 29 | |
| 30 | |
| 31 |