Skip to content

Commit

Permalink
rexstan fix
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiasKrais committed Apr 21, 2023
1 parent 3b46229 commit c345fa0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pages/settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,18 +30,18 @@
<legend><small><i class="rex-icon fa-book"></i></small> <?= rex_i18n::msg('d2u_helper_settings') ?></legend>
<div class="panel-body-wrapper slide">
<?php
d2u_addon_backend_helper::form_input('d2u_guestbook_settings_request_form_email', 'settings[request_form_email]', $this->getConfig('request_form_email'), true, false, 'email');
d2u_addon_backend_helper::form_input('d2u_guestbook_settings_request_form_email', 'settings[request_form_email]', (string) $this->getConfig('request_form_email'), true, false, 'email');
d2u_addon_backend_helper::form_linkfield('d2u_guestbook_settings_article', '1', $this->getConfig('guestbook_article_id'), (int) rex_config::get('d2u_helper', 'default_lang', rex_clang::getStartId()));
d2u_addon_backend_helper::form_checkbox('d2u_guestbook_settings_allow_answer', 'settings[allow_answer]', 'true', 'true' == $this->getConfig('allow_answer'));
d2u_addon_backend_helper::form_input('d2u_guestbook_settings_no_entries_page', 'settings[no_entries_page]', $this->getConfig('no_entries_page', 10), true, false, 'number');
d2u_addon_backend_helper::form_checkbox('d2u_guestbook_settings_allow_answer', 'settings[allow_answer]', 'true', 'true' === (string) $this->getConfig('allow_answer'));
d2u_addon_backend_helper::form_input('d2u_guestbook_settings_no_entries_page', 'settings[no_entries_page]', (int) $this->getConfig('no_entries_page', 10), true, false, 'number');
?>
</div>
</fieldset>
<fieldset>
<legend><small><i class="rex-icon rex-icon-language"></i></small> <?= rex_i18n::msg('d2u_helper_lang_replacements') ?></legend>
<div class="panel-body-wrapper slide">
<?php
d2u_addon_backend_helper::form_checkbox('d2u_helper_lang_wildcard_overwrite', 'settings[lang_wildcard_overwrite]', 'true', 'true' == $this->getConfig('lang_wildcard_overwrite'));
d2u_addon_backend_helper::form_checkbox('d2u_helper_lang_wildcard_overwrite', 'settings[lang_wildcard_overwrite]', 'true', 'true' === $this->getConfig('lang_wildcard_overwrite'));
foreach (rex_clang::getAll() as $rex_clang) {
echo '<dl class="rex-form-group form-group">';
echo '<dt><label>'. $rex_clang->getName() .'</label></dt>';
Expand Down

0 comments on commit c345fa0

Please sign in to comment.