2021-01-08 14:08:40 +01:00
|
|
|
<?php
|
2024-04-05 23:26:11 +02:00
|
|
|
namespace MobilizonConnector;
|
|
|
|
|
2021-01-08 14:08:40 +01:00
|
|
|
// Exit if this file is called directly.
|
|
|
|
if (!defined('ABSPATH')) {
|
|
|
|
exit;
|
|
|
|
}
|
|
|
|
?>
|
|
|
|
<p>
|
2021-05-06 09:22:13 +02:00
|
|
|
<label for="<?php echo esc_attr($this->get_field_id('title')); ?>"><?php esc_html_e('Title', 'connector-mobilizon'); ?>:</label>
|
2021-01-08 14:08:40 +01:00
|
|
|
<input class="widefat" id="<?php echo esc_attr($this->get_field_id('title')); ?>" name="<?php echo esc_attr($this->get_field_name('title')); ?>" type="text" value="<?php echo esc_attr($title); ?>">
|
|
|
|
</p>
|
|
|
|
<p>
|
2021-05-06 09:22:13 +02:00
|
|
|
<label for="<?php echo esc_attr($this->get_field_id('eventsCount')); ?>"><?php esc_html_e('Number of events to show', 'connector-mobilizon'); ?>:</label>
|
2021-01-08 14:08:40 +01:00
|
|
|
<input class="tiny-text" id="<?php echo esc_attr($this->get_field_id('eventsCount')); ?>" name="<?php echo esc_attr($this->get_field_name('eventsCount')); ?>" type="number" value="<?php echo esc_attr($eventsCount); ?>" min="1">
|
|
|
|
</p>
|
2021-01-15 20:30:05 +01:00
|
|
|
<p>
|
2021-05-06 09:22:13 +02:00
|
|
|
<label for="<?php echo esc_attr($this->get_field_id('groupName')); ?>"><?php esc_html_e('Group name (optional)', 'connector-mobilizon'); ?>:</label>
|
2021-01-15 20:30:05 +01:00
|
|
|
<input class="widefat" id="<?php echo esc_attr($this->get_field_id('groupName')); ?>" name="<?php echo esc_attr($this->get_field_name('groupName')); ?>" type="text" value="<?php echo esc_attr($groupName); ?>">
|
|
|
|
</p>
|