diff options
| author | jlbeer <noreply@maennchen1.de> | 2026-09-07 14:45:02 +0200 |
|---|---|---|
| committer | jlbeer <noreply@maennchen1.de> | 2026-09-07 14:45:02 +0200 |
| commit | 99b01f24a799a2696c5acb5636334aa5ab384352 (patch) | |
| tree | 54e41621d34147124f04973644a082115dc404b8 /views/mods/mod_revocation/ajaxDialogContent.phtml | |
| parent | f69370577e8d61d2a4356acba41985fab71cff78 (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/ajaxDialogContent.phtml')
| -rw-r--r-- | views/mods/mod_revocation/ajaxDialogContent.phtml | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/views/mods/mod_revocation/ajaxDialogContent.phtml b/views/mods/mod_revocation/ajaxDialogContent.phtml index 633f643..89a32c3 100644 --- a/views/mods/mod_revocation/ajaxDialogContent.phtml +++ b/views/mods/mod_revocation/ajaxDialogContent.phtml @@ -61,7 +61,7 @@ $arReason = \wpsgRevocation\Revocation::getReasons(); <input type="hidden" readonly name="wpsg_revocation_reason[row][<?php echo $key; ?>][order_product_id]" value="<?php echo $oOrderProduct->getId(); ?>" /> <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" readonly name="wpsg_revocation_reason[row][<?php echo $key; ?>][order_nr]" value="<?php echo $oOrder->getNr(); ?>" /> <input type="number" min="1" max="<?php echo $amount; ?>" name="wpsg_revocation_reason[row][<?php echo $key; ?>][amount]" value="<?php echo $amount; ?>" /> @@ -69,10 +69,10 @@ $arReason = \wpsgRevocation\Revocation::getReasons(); </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 } ?> @@ -81,7 +81,7 @@ $arReason = \wpsgRevocation\Revocation::getReasons(); </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> @@ -101,14 +101,14 @@ $arReason = \wpsgRevocation\Revocation::getReasons(); <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 ($dialog_config['set_product_anr']??''); ?>" /> </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="" /> <input type="number" name="wpsg_revocation_reason[row][<?php echo $key; ?>][amount]" value="1" /> @@ -116,10 +116,10 @@ $arReason = \wpsgRevocation\Revocation::getReasons(); </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]"> - <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 } ?> @@ -128,7 +128,7 @@ $arReason = \wpsgRevocation\Revocation::getReasons(); </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> @@ -139,7 +139,7 @@ $arReason = \wpsgRevocation\Revocation::getReasons(); <?php } ?> <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 $contact_email; ?>" <?php echo (($contact_email !== '')?'readonly':''); ?> |
