mirror of
https://github.com/dwaxweiler/connector-mobilizon
synced 2025-06-05 21:59:25 +02:00
remove unneeded folder
This commit is contained in:
13
source/view/settings/is-short-offset-name-shown-field.php
Normal file
13
source/view/settings/is-short-offset-name-shown-field.php
Normal file
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
// Exit if this file is called directly.
|
||||
if (!defined('ABSPATH')) {
|
||||
exit;
|
||||
}
|
||||
?>
|
||||
<input id="<?php echo esc_attr($args['label_for']); ?>"
|
||||
name="<?php echo esc_attr(self::$OPTION_NAME_IS_SHORT_OFFSET_NAME_SHOWN); ?>"
|
||||
type="checkbox"
|
||||
<?php echo $isShortOffsetNameShown == true ? 'checked' : ''; ?>>
|
||||
<p class="description">
|
||||
<?php esc_html_e('The time zone of this WordPress installation is used. Whether the current offset should be displayed in brackets after the time, e.g. 10:00 (UTC)', 'connector-mobilizon'); ?>
|
||||
</p>
|
16
source/view/settings/page.php
Normal file
16
source/view/settings/page.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
// Exit if this file is called directly.
|
||||
if (!defined('ABSPATH')) {
|
||||
exit;
|
||||
}
|
||||
?>
|
||||
<div class="wrap">
|
||||
<h1><?php echo esc_html(get_admin_page_title()); ?></h1>
|
||||
<form action="options.php" method="post">
|
||||
<?php
|
||||
settings_fields(self::$OPTIONS_GROUP_NAME);
|
||||
do_settings_sections(self::$PAGE_NAME);
|
||||
submit_button('Save');
|
||||
?>
|
||||
</form>
|
||||
</div>
|
14
source/view/settings/url-field.php
Normal file
14
source/view/settings/url-field.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
// Exit if this file is called directly.
|
||||
if (!defined('ABSPATH')) {
|
||||
exit;
|
||||
}
|
||||
?>
|
||||
<input class="regular-text code"
|
||||
id="<?php echo esc_attr($args['label_for']); ?>"
|
||||
name="<?php echo esc_attr(self::$OPTION_NAME_URL); ?>"
|
||||
type="url"
|
||||
value="<?php echo esc_attr($url); ?>">
|
||||
<p class="description">
|
||||
<?php esc_html_e('The URL of the Mobilizon instance whose events you want to list, e.g. https://example.net', 'connector-mobilizon'); ?>
|
||||
</p>
|
Reference in New Issue
Block a user