summaryrefslogtreecommitdiff
path: root/views/mods/mod_revocation/page_form.phtml
diff options
context:
space:
mode:
authorjlbeer <noreply@maennchen1.de>2026-09-07 14:45:02 +0200
committerjlbeer <noreply@maennchen1.de>2026-09-07 14:45:02 +0200
commit99b01f24a799a2696c5acb5636334aa5ab384352 (patch)
tree54e41621d34147124f04973644a082115dc404b8 /views/mods/mod_revocation/page_form.phtml
parentf69370577e8d61d2a4356acba41985fab71cff78 (diff)
- Übersetzungsfunktionen vereinheitlicht (manchmal nur _() )
- PHP 8.5 / WP 7.1 - Warnungen, die im Plugin "Plugin Check" erwähnt wurden behoben
Diffstat (limited to 'views/mods/mod_revocation/page_form.phtml')
-rw-r--r--views/mods/mod_revocation/page_form.phtml22
1 files changed, 11 insertions, 11 deletions
diff --git a/views/mods/mod_revocation/page_form.phtml b/views/mods/mod_revocation/page_form.phtml
index daa8eff..5640420 100644
--- a/views/mods/mod_revocation/page_form.phtml
+++ b/views/mods/mod_revocation/page_form.phtml
@@ -48,14 +48,14 @@
<fieldset class="wpsg_revocation_order_product">
<div class="form_field">
- <div class="label"><?php echo \__('Artikel - Nr.', 'wpsgRevocation'); ?></div>
+ <div class="label"><?php echo \__('Artikel - Nr.', 'wpsg'); ?></div>
<div class="value">
<input type="text" name="wpsg_revocation_reason[row][<?php echo $key; ?>][product_nr]" value="<?php echo \esc_attr($get_product); ?>" />
</div>
</div>
<div class="form_field">
- <div class="label"><?php echo \__('Bestellnummer / Menge', 'wpsgRevocation'); ?></div>
+ <div class="label"><?php echo \__('Bestellnummer / Menge', 'wpsg'); ?></div>
<div class="value">
<input type="text" name="wpsg_revocation_reason[row][<?php echo $key; ?>][order_nr]" value="<?php echo \esc_attr($get_order); ?>" />
<input type="number" min="1" name="wpsg_revocation_reason[row][<?php echo $key; ?>][amount]" value="<?php echo intval($get_amount); ?>" />
@@ -63,10 +63,10 @@
</div>
<div class="form_field">
- <div class="label"><?php echo \__('Widerrufsgrund', 'wpsgRevocation'); ?></div>
+ <div class="label"><?php echo \__('Widerrufsgrund', 'wpsg'); ?></div>
<div class="value">
<select name="wpsg_revocation_reason[row][<?php echo $key; ?>][reason]" required>
- <option value=""><?php echo __("Keinen Grund angeben", 'wpsgRevocation') ?></option>
+ <option value=""><?php echo __("Keinen Grund angeben", 'wpsg') ?></option>
<?php foreach ($arReason as $reason) { ?>
<option value="<?php echo \htmlspecialchars($reason['id']); ?>"><?php echo \htmlspecialchars($reason['text']); ?></option>
<?php } ?>
@@ -75,7 +75,7 @@
</div>
<div class="form_field">
- <div class="label"><?php echo \__('Bemerkung', 'wpsgRevocation'); ?></div>
+ <div class="label"><?php echo \__('Bemerkung', 'wpsg'); ?></div>
<div class="value">
<textarea name="wpsg_revocation_reason[row][<?php echo $key; ?>][comment]"></textarea>
</div>
@@ -84,7 +84,7 @@
</fieldset>
<div class="form_field">
- <div class="label"><?php echo \__('Kontakt - E-Mail', 'wpsgRevocation'); ?></div>
+ <div class="label"><?php echo \__('Kontakt - E-Mail', 'wpsg'); ?></div>
<div class="value">
<input type="email" required name="wpsg_revocation_reason[contact]" value="<?php echo \esc_attr($contact_email); ?>"
<?php echo (($customer_login_id > 0 && $contact_email !== '') ? 'readonly' : ''); ?>
@@ -93,12 +93,12 @@
</div>
<p class="wpsg_revocation_page_datenschutz">
- <?php echo \__('Es gelten unsere', 'wpsgRevocation'); ?>
- <a href="<?php echo $GLOBALS['wpsg_sc']->getURL(wpsg_ShopController::URL_DATENSCHUTZ); ?>"><?php echo \__('Datenschutzbestimmungen', 'wpsgRevocation'); ?></a>.
+ <?php echo \__('Es gelten unsere', 'wpsg'); ?>
+ <a href="<?php echo $GLOBALS['wpsg_sc']->getURL(wpsg_ShopController::URL_DATENSCHUTZ); ?>"><?php echo \__('Datenschutzbestimmungen', 'wpsg'); ?></a>.
</p>
<div class="form_field wpsg_revocation_page_submit_wrap">
- <button type="submit" class="button button-primary wpsg_revocation_page_submit"><?php echo \__('Widerruf bestätigen', 'wpsgRevocation'); ?></button>
+ <button type="submit" class="button button-primary wpsg_revocation_page_submit"><?php echo \__('Widerruf bestätigen', 'wpsg'); ?></button>
</div>
</form>
@@ -173,7 +173,7 @@
} else {
form.style.display = 'none';
- msg.innerHTML = '<div class="wpsg_revocation_page_success"><?php echo \esc_js(\__('Ihr Widerruf ist bei uns eingegangen und wird nun bearbeitet.', 'wpsgRevocation')); ?></div>';
+ msg.innerHTML = '<div class="wpsg_revocation_page_success"><?php echo \esc_js(\__('Ihr Widerruf ist bei uns eingegangen und wird nun bearbeitet.', 'wpsg')); ?></div>';
msg.scrollIntoView({ behavior: 'smooth', block: 'center' });
}
@@ -181,7 +181,7 @@
}).catch(() => {
button.disabled = false;
- msg.innerHTML = '<ul id="wpsg_error" class="wpsg_error"><li><?php echo \esc_js(\__('Es ist ein Fehler aufgetreten. Bitte versuchen Sie es später erneut.', 'wpsgRevocation')); ?></li></ul>';
+ msg.innerHTML = '<ul id="wpsg_error" class="wpsg_error"><li><?php echo \esc_js(\__('Es ist ein Fehler aufgetreten. Bitte versuchen Sie es später erneut.', 'wpsg')); ?></li></ul>';
});