new form layout and other tpl fixes

This commit is contained in:
Dennis Eichhorn 2021-04-18 22:29:45 +02:00
parent 872770844b
commit a76bf19b9e
4 changed files with 478 additions and 389 deletions

View File

@ -33,7 +33,7 @@ echo $this->getData('nav')->render(); ?>
<?= $this->getHtml('Accounts'); ?> <?= $this->getHtml('Accounts'); ?>
<?php include __DIR__ . '/../../../../Web/Backend/Themes/popup-export-data.tpl.php'; ?> <?php include __DIR__ . '/../../../../Web/Backend/Themes/popup-export-data.tpl.php'; ?>
</div> </div>
<table id="accountList" class="default"> <table id="accountList" class="default sticky">
<thead> <thead>
<template> <template>
@ -48,7 +48,7 @@ echo $this->getData('nav')->render(); ?>
<input id="accountList-r1-desc" name="accountList-sort" type="radio"> <input id="accountList-r1-desc" name="accountList-sort" type="radio">
<i class="sort-desc fa fa-chevron-down"></i> <i class="sort-desc fa fa-chevron-down"></i>
</label> </label>
<?php include __DIR__ . '/../../../../Web/Backend/Themes/popup-export-data.tpl.php'; ?> <?php include __DIR__ . '/../../../../Web/Backend/Themes/popup-filter-table.tpl.php'; ?>
<td><?= $this->getHtml('Status'); ?> <td><?= $this->getHtml('Status'); ?>
<label for="accountList-r2-asc"> <label for="accountList-r2-asc">
<input id="accountList-r2-asc" name="accountList-sort" type="radio"> <input id="accountList-r2-asc" name="accountList-sort" type="radio">

View File

@ -31,7 +31,7 @@ echo $this->getData('nav')->render(); ?>
<div class="col-xs-12"> <div class="col-xs-12">
<div class="portlet"> <div class="portlet">
<div class="portlet-head"><?= $this->getHtml('Groups'); ?><i class="fa fa-download floatRight download btn"></i></div> <div class="portlet-head"><?= $this->getHtml('Groups'); ?><i class="fa fa-download floatRight download btn"></i></div>
<table id="groupList" class="default"> <table id="groupList" class="default sticky">
<thead> <thead>
<tr> <tr>
<td><?= $this->getHtml('ID', '0', '0'); ?> <td><?= $this->getHtml('ID', '0', '0'); ?>

View File

@ -28,7 +28,7 @@ $isntalled = $this->getData('isntalled') ?? [];
<div class="col-xs-12"> <div class="col-xs-12">
<div class="portlet"> <div class="portlet">
<div class="portlet-head"><?= $this->getHtml('Modules'); ?><i class="fa fa-download floatRight download btn"></i></div> <div class="portlet-head"><?= $this->getHtml('Modules'); ?><i class="fa fa-download floatRight download btn"></i></div>
<table id="moduleList" class="default"> <table id="moduleList" class="default sticky">
<thead> <thead>
<tr> <tr>
<td><?= $this->getHtml('ID', '0', '0'); ?> <td><?= $this->getHtml('ID', '0', '0'); ?>

View File

@ -57,15 +57,13 @@ $l11n = $this->getData('defaultlocalization') ?? new NullLocalization();
<form id="iGeneralSettings" action="<?= UriFactory::build('{/api}admin/settings/general'); ?>" method="post"> <form id="iGeneralSettings" action="<?= UriFactory::build('{/api}admin/settings/general'); ?>" method="post">
<div class="portlet-head"><?= $this->getHtml('Settings'); ?></div> <div class="portlet-head"><?= $this->getHtml('Settings'); ?></div>
<div class="portlet-body"> <div class="portlet-body">
<table class="layout wf-100"> <div class="form-group">
<tbody> <label for="iOname"><?= $this->getHtml('OrganizationName'); ?></label>
<tr><td><label for="iOname"><?= $this->getHtml('OrganizationName'); ?></label> <select id="iOname" name="settings_1000000009">
<tr><td> <?php $unit = UnitMapper::get((int) $generalSettings[1000000009]); ?>
<select id="iOname" name="settings_1000000009"> <option value="<?= $unit->getId(); ?>"><?= $this->printHtml($unit->name); ?>
<?php $unit = UnitMapper::get((int) $generalSettings[1000000009]); ?> </select>
<option value="<?= $unit->getId(); ?>"><?= $this->printHtml($unit->name); ?> </div>
</select>
</table>
</div> </div>
<div class="portlet-foot"><input id="iSubmitGeneral" name="submitGeneral" type="submit" value="<?= $this->getHtml('Save', '0', '0'); ?>"></div> <div class="portlet-foot"><input id="iSubmitGeneral" name="submitGeneral" type="submit" value="<?= $this->getHtml('Save', '0', '0'); ?>"></div>
</form> </form>
@ -77,53 +75,82 @@ $l11n = $this->getData('defaultlocalization') ?? new NullLocalization();
<form id="iSecuritySettings" action="<?= UriFactory::build('{/api}admin/settings/general'); ?>" method="post"> <form id="iSecuritySettings" action="<?= UriFactory::build('{/api}admin/settings/general'); ?>" method="post">
<div class="portlet-head"><?= $this->getHtml('Security'); ?></div> <div class="portlet-head"><?= $this->getHtml('Security'); ?></div>
<div class="portlet-body"> <div class="portlet-body">
<table class="layout wf-100"> <div class="form-group">
<tbody> <label for="iPassword">
<tr><td> <?= $this->getHtml('PasswordRegex'); ?>
<label for="iPassword"><?= $this->getHtml('PasswordRegex'); ?></label> <i class="tooltip" data-tooltip="<?= $this->getHtml('i:PasswordRegex'); ?>"><i class="fa fa-info-circle"></i></i>
<i class="tooltip" data-tooltip="<?= $this->getHtml('i:PasswordRegex'); ?>"><i class="fa fa-info-circle"></i></i> </label>
<tr><td><input id="iPassword" name="settings_1000000001" type="text" value="<?= $this->printHtml($generalSettings['1000000001']['content']); ?>" placeholder="&#xf023; ^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[$@$!%*?&;:\(\)\[\]=\{\}\+\-])[A-Za-z\d$@$!%*?&;:\(\)\[\]=\{\}\+\-]{8,}">
<tr><td> <input id="iPassword" name="settings_1000000001" type="text" value="<?= $this->printHtml($generalSettings['1000000001']['content']); ?>" placeholder="&#xf023; ^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[$@$!%*?&;:\(\)\[\]=\{\}\+\-])[A-Za-z\d$@$!%*?&;:\(\)\[\]=\{\}\+\-]{8,}">
<label for="iLoginRetries"><?= $this->getHtml('LoginRetries'); ?></label> </div>
<i class="tooltip" data-tooltip="<?= $this->getHtml('i:LoginRetries'); ?>"><i class="fa fa-info-circle"></i></i>
<tr><td><input id="iLoginRetries" name="settings_1000000005" type="number" value="<?= $this->printHtml($generalSettings['1000000005']['content']); ?>" min="-1"> <div class="form-group">
<tr><td> <label for="iLoginRetries">
<label for="iTimeoutPeriod"><?= $this->getHtml('TimeoutPeriod'); ?></label> <?= $this->getHtml('LoginRetries'); ?>
<i class="tooltip" data-tooltip="<?= $this->getHtml('i:TimeoutPeriod'); ?>"><i class="fa fa-info-circle"></i></i> <i class="tooltip" data-tooltip="<?= $this->getHtml('i:LoginRetries'); ?>"><i class="fa fa-info-circle"></i></i>
<tr><td><input id="iTimeoutPeriod" name="settings_1000000002" type="number" value="<?= $this->printHtml($generalSettings['1000000002']['content']); ?>"> </label>
<tr><td>
<label for="iPasswordChangeInterval"><?= $this->getHtml('PasswordChangeInterval'); ?></label> <input id="iLoginRetries" name="settings_1000000005" type="number" value="<?= $this->printHtml($generalSettings['1000000005']['content']); ?>" min="-1">
<i class="tooltip" data-tooltip="<?= $this->getHtml('i:PasswordChangeInterval'); ?>"><i class="fa fa-info-circle"></i></i> </div>
<tr><td><input id="iPasswordChangeInterval" name="settings_1000000003" type="number" value="<?= $this->printHtml($generalSettings['1000000003']['content']); ?>">
<tr><td> <div class="form-group">
<label for="iPasswordHistory"><?= $this->getHtml('PasswordHistory'); ?></label> <label for="iTimeoutPeriod">
<i class="tooltip" data-tooltip="<?= $this->getHtml('i:PasswordHistory'); ?>"><i class="fa fa-info-circle"></i></i> <?= $this->getHtml('TimeoutPeriod'); ?>
<tr><td><input id="iPasswordHistory" name="settings_1000000004" type="number" value="<?= $this->printHtml($generalSettings['1000000004']['content']); ?>"> <i class="tooltip" data-tooltip="<?= $this->getHtml('i:TimeoutPeriod'); ?>"><i class="fa fa-info-circle"></i></i>
</table> </label>
<input id="iTimeoutPeriod" name="settings_1000000002" type="number" value="<?= $this->printHtml($generalSettings['1000000002']['content']); ?>">
</div>
<div class="form-group">
<label for="iPasswordChangeInterval">
<?= $this->getHtml('PasswordChangeInterval'); ?>
<i class="tooltip" data-tooltip="<?= $this->getHtml('i:PasswordChangeInterval'); ?>"><i class="fa fa-info-circle"></i></i>
</label>
<input id="iPasswordChangeInterval" name="settings_1000000003" type="number" value="<?= $this->printHtml($generalSettings['1000000003']['content']); ?>">
</div>
<div class="form-group">
<label for="iPasswordHistory">
<?= $this->getHtml('PasswordHistory'); ?>
<i class="tooltip" data-tooltip="<?= $this->getHtml('i:PasswordHistory'); ?>"><i class="fa fa-info-circle"></i></i>
</label>
<input id="iPasswordHistory" name="settings_1000000004" type="number" value="<?= $this->printHtml($generalSettings['1000000004']['content']); ?>">
</div>
</div>
<div class="portlet-foot">
<input id="iSubmitGeneral" name="submitGeneral" type="submit" value="<?= $this->getHtml('Save', '0', '0'); ?>">
</div> </div>
<div class="portlet-foot"><input id="iSubmitGeneral" name="submitGeneral" type="submit" value="<?= $this->getHtml('Save', '0', '0'); ?>"></div>
</form> </form>
</section> </section>
</div> </div>
<div class="col-xs-12 col-md-6"> <div class="col-xs-12 col-md-6">
<section class="portlet"> <section class="portlet">
<form id="iLoggingSettings" action="<?= UriFactory::build('{/api}admin/settings/general'); ?>" method="post"> <form id="iLoggingSettings"
action="<?= UriFactory::build('{/api}admin/settings/general'); ?>"
method="post">
<div class="portlet-head"><?= $this->getHtml('Logging'); ?></div> <div class="portlet-head"><?= $this->getHtml('Logging'); ?></div>
<div class="portlet-body"> <div class="portlet-body">
<table class="layout wf-100"> <div class="form-group">
<tbody> <label class="checkbox" for="iLog">
<tr><td> <input id="iLog" type="checkbox" name="settings_1000000006" value="1">
<label class="checkbox" for="iLog"> <span class="checkmark"></span>
<input id="iLog" type="checkbox" name="settings_1000000006" value="1"> <?= $this->getHtml('Log'); ?>
<span class="checkmark"></span> </label>
<?= $this->getHtml('Log'); ?> </div>
</label>
<tr><td><label for="iLogPath"><?= $this->getHtml('LogPath'); ?></label> <div class="form-group">
<tr><td><input id="iLogPath" name="settings_1000000007" type="text" value="<?= $this->printHtml($generalSettings['1000000007']['content']); ?>" placeholder="&#xf023; /Logs"> <label for="iLogPath"><?= $this->getHtml('LogPath'); ?></label>
</table> <input id="iLogPath" name="settings_1000000007" type="text" value="<?= $this->printHtml($generalSettings['1000000007']['content']); ?>" placeholder="&#xf023; /Logs">
</div>
</div>
<div class="portlet-foot">
<input id="iSubmitGeneral" name="submitGeneral" type="submit" value="<?= $this->getHtml('Save', '0', '0'); ?>">
</div> </div>
<div class="portlet-foot"><input id="iSubmitGeneral" name="submitGeneral" type="submit" value="<?= $this->getHtml('Save', '0', '0'); ?>"></div>
</form> </form>
</section> </section>
</div> </div>
@ -134,45 +161,52 @@ $l11n = $this->getData('defaultlocalization') ?? new NullLocalization();
<div class="row"> <div class="row">
<div class="col-xs-12 col-md-4"> <div class="col-xs-12 col-md-4">
<div class="portlet"> <div class="portlet">
<form id="fLocalization" name="fLocalization" action="<?= UriFactory::build('{/api}profile/settings/localization'); ?>" method="post"> <form id="fLocalization"
<div class="portlet-head"><?= $this->getHtml('Localization'); ?></div> name="fLocalization"
<div class="portlet-body"> action="<?= UriFactory::build('{/api}profile/settings/localization'); ?>"
<table class="layout wf-100"> method="post">
<tbody> <div class="portlet-head"><?= $this->getHtml('Localization'); ?></div>
<tr><td><label for="iDefaultLocalizations"><?= $this->getHtml('Defaults'); ?></label> <div class="portlet-body">
<tr><td> <div class="form-group">
<div class="ipt-wrap"> <label for="iDefaultLocalizations"><?= $this->getHtml('Defaults'); ?></label>
<div class="ipt-first"><select id="iDefaultLocalizations" name="localization_load"> <div class="ipt-wrap wf-100">
<option selected disabled><?= $this->getHtml('Customized'); ?> <div class="ipt-first"><select id="iDefaultLocalizations" name="localization_load">
<?php foreach ($l11nDefinitions as $def) : ?> <option selected disabled><?= $this->getHtml('Customized'); ?>
<option value="<?= $this->printHtml(\explode('.', $def)[0]); ?>"><?= $this->printHtml(\explode('.', $def)[0]); ?> <?php foreach ($l11nDefinitions as $def) : ?>
<?php endforeach; ?> <option value="<?= $this->printHtml(\explode('.', $def)[0]); ?>"><?= $this->printHtml(\explode('.', $def)[0]); ?>
</select> <?php endforeach; ?>
</div> </select>
<div class="ipt-second"><input type="submit" name="loadDefaultLocalization" formaction="<?= UriFactory::build('{/api}profile/settings/localization?load=1'); ?>" value="<?= $this->getHtml('Load'); ?>"></div>
</div> </div>
<tr><td colspan="2"><label for="iCountries"><?= $this->getHtml('Country'); ?></label> <div class="ipt-second"><input type="submit" name="loadDefaultLocalization" formaction="<?= UriFactory::build('{/api}profile/settings/localization?load=1'); ?>" value="<?= $this->getHtml('Load'); ?>"></div>
<tr><td colspan="2"> </div>
<select id="iCountries" name="settings_country"> </div>
<?php foreach ($countryCodes as $code3 => $code2) : ?>
<option value="<?= $this->printHtml($code2); ?>"<?= $this->printHtml($code2 === $l11n->getCountry() ? ' selected' : ''); ?>><?= $this->printHtml($countries[$code3]); ?> <div class="form-group">
<?php endforeach; ?> <label for="iCountries"><?= $this->getHtml('Country'); ?></label>
</select> <select id="iCountries" name="settings_country">
<tr><td colspan="2"><label for="iLanguages"><?= $this->getHtml('Language'); ?></label> <?php foreach ($countryCodes as $code3 => $code2) : ?>
<tr><td colspan="2"> <option value="<?= $this->printHtml($code2); ?>"<?= $this->printHtml($code2 === $l11n->getCountry() ? ' selected' : ''); ?>><?= $this->printHtml($countries[$code3]); ?>
<select id="iLanguages" name="settings_language"> <?php endforeach; ?>
<?php foreach ($languages as $code => $language) : $code = \strtolower(\substr($code, 1)); ?> </select>
<option value="<?= $this->printHtml($code); ?>"<?= $this->printHtml($code === $l11n->getLanguage() ? ' selected' : ''); ?>><?= $this->printHtml($language); ?> </div>
<?php endforeach; ?>
</select> <div class="form-group">
<tr><td colspan="2"><label for="iTemperature"><?= $this->getHtml('Temperature'); ?></label> <label for="iLanguages"><?= $this->getHtml('Language'); ?></label>
<tr><td colspan="2"> <select id="iLanguages" name="settings_language">
<select id="iTemperature" name="settings_temperature"> <?php foreach ($languages as $code => $language) : $code = \strtolower(\substr($code, 1)); ?>
<?php foreach ($temperatures as $temperature) : ?> <option value="<?= $this->printHtml($code); ?>"<?= $this->printHtml($code === $l11n->getLanguage() ? ' selected' : ''); ?>><?= $this->printHtml($language); ?>
<option value="<?= $this->printHtml($temperature); ?>"<?= $this->printHtml($temperature === $l11n->getTemperature() ? ' selected' : ''); ?>><?= $this->printHtml($temperature); ?> <?php endforeach; ?>
<?php endforeach; ?> </select>
</select> </div>
</table>
<div class="form-group">
<label for="iTemperature"><?= $this->getHtml('Temperature'); ?></label>
<select id="iTemperature" name="settings_temperature">
<?php foreach ($temperatures as $temperature) : ?>
<option value="<?= $this->printHtml($temperature); ?>"<?= $this->printHtml($temperature === $l11n->getTemperature() ? ' selected' : ''); ?>><?= $this->printHtml($temperature); ?>
<?php endforeach; ?>
</select>
</div>
</div> </div>
<div class="portlet-foot"> <div class="portlet-foot">
<input id="iSubmitLocalization" name="submitLocalization" type="submit" value="<?= $this->getHtml('Save', '0', '0'); ?>"> <input id="iSubmitLocalization" name="submitLocalization" type="submit" value="<?= $this->getHtml('Save', '0', '0'); ?>">
@ -185,29 +219,41 @@ $l11n = $this->getData('defaultlocalization') ?? new NullLocalization();
<div class="portlet"> <div class="portlet">
<div class="portlet-head"><?= $this->getHtml('Time'); ?></div> <div class="portlet-head"><?= $this->getHtml('Time'); ?></div>
<div class="portlet-body"> <div class="portlet-body">
<form> <div class="form-group">
<table class="layout wf-100"> <label for="iTimezones"><?= $this->getHtml('Timezone'); ?></label>
<tbody> <select form="fLocalization" id="iTimezones" name="settings_timezone">
<tr><td><label for="iTimezones"><?= $this->getHtml('Timezone'); ?></label> <?php foreach ($timezones as $timezone) : ?>
<tr><td> <option value="<?= $this->printHtml($timezone); ?>"<?= $this->printHtml($timezone === $l11n->getTimezone() ? ' selected' : ''); ?>><?= $this->printHtml($timezone); ?>
<select form="fLocalization" id="iTimezones" name="settings_timezone"> <?php endforeach; ?>
<?php foreach ($timezones as $timezone) : ?> </select>
<option value="<?= $this->printHtml($timezone); ?>"<?= $this->printHtml($timezone === $l11n->getTimezone() ? ' selected' : ''); ?>><?= $this->printHtml($timezone); ?> </div>
<?php endforeach; ?>
</select> <div class="form-group">
<tr><td><h2><?= $this->getHtml('Timeformat'); ?></h2> <label for="iTimeformatVeryShort"><?= $this->getHtml('VeryShort'); ?></label>
<tr><td><label for="iTimeformatVeryShort"><?= $this->getHtml('VeryShort'); ?></label> <input form="fLocalization" id="iTimeformatVeryShort" name="settings_timeformat_vs" type="text" value="<?= $this->printHtml($l11n->getDatetime()['very_short']); ?>" placeholder="Y" required>
<tr><td><input form="fLocalization" id="iTimeformatVeryShort" name="settings_timeformat_vs" type="text" value="<?= $this->printHtml($l11n->getDatetime()['very_short']); ?>" placeholder="Y" required> </div>
<tr><td><label for="iTimeformatShort"><?= $this->getHtml('Short'); ?></label>
<tr><td><input form="fLocalization" id="iTimeformatShort" name="settings_timeformat_s" type="text" value="<?= $this->printHtml($l11n->getDatetime()['short']); ?>" placeholder="Y" required> <h2><?= $this->getHtml('Timeformat'); ?></h2>
<tr><td><label for="iTimeformatMedium"><?= $this->getHtml('Medium'); ?></label>
<tr><td><input form="fLocalization" id="iTimeformatMedium" name="settings_timeformat_m" type="text" value="<?= $this->printHtml($l11n->getDatetime()['medium']); ?>" placeholder="Y" required> <div class="form-group">
<tr><td><label for="iTimeformatLong"><?= $this->getHtml('Long'); ?></label> <label for="iTimeformatShort"><?= $this->getHtml('Short'); ?></label>
<tr><td><input form="fLocalization" id="iTimeformatLong" name="settings_timeformat_l" type="text" value="<?= $this->printHtml($l11n->getDatetime()['long']); ?>" placeholder="Y" required> <input form="fLocalization" id="iTimeformatShort" name="settings_timeformat_s" type="text" value="<?= $this->printHtml($l11n->getDatetime()['short']); ?>" placeholder="Y" required>
<tr><td><label for="iTimeformatVeryLong"><?= $this->getHtml('VeryLong'); ?></label> </div>
<tr><td><input form="fLocalization" id="iTimeformatVeryLong" name="settings_timeformat_vl" type="text" value="<?= $this->printHtml($l11n->getDatetime()['very_long']); ?>" placeholder="Y" required>
</table> <div class="form-group">
</form> <label for="iTimeformatMedium"><?= $this->getHtml('Medium'); ?></label>
<input form="fLocalization" id="iTimeformatMedium" name="settings_timeformat_m" type="text" value="<?= $this->printHtml($l11n->getDatetime()['medium']); ?>" placeholder="Y" required>
</div>
<div class="form-group">
<label for="iTimeformatLong"><?= $this->getHtml('Long'); ?></label>
<input form="fLocalization" id="iTimeformatLong" name="settings_timeformat_l" type="text" value="<?= $this->printHtml($l11n->getDatetime()['long']); ?>" placeholder="Y" required>
</div>
<div class="form-group">
<label for="iTimeformatVeryLong"><?= $this->getHtml('VeryLong'); ?></label>
<input form="fLocalization" id="iTimeformatVeryLong" name="settings_timeformat_vl" type="text" value="<?= $this->printHtml($l11n->getDatetime()['very_long']); ?>" placeholder="Y" required>
</div>
</div> </div>
</div> </div>
</div> </div>
@ -216,28 +262,36 @@ $l11n = $this->getData('defaultlocalization') ?? new NullLocalization();
<div class="portlet"> <div class="portlet">
<div class="portlet-head"><?= $this->getHtml('Numeric'); ?></div> <div class="portlet-head"><?= $this->getHtml('Numeric'); ?></div>
<div class="portlet-body"> <div class="portlet-body">
<form> <div class="form-group">
<table class="layout wf-100"> <label for="iCurrencies"><?= $this->getHtml('Currency'); ?></label>
<tr><td colspan="2"><label for="iCurrencies"><?= $this->getHtml('Currency'); ?></label> <select form="fLocalization" id="iCurrencies" name="settings_currency">
<tr><td colspan="2"> <?php foreach ($currencies as $code => $currency) : $code = \substr($code, 1); ?>
<select form="fLocalization" id="iCurrencies" name="settings_currency"> <option value="<?= $this->printHtml($code); ?>"<?= $this->printHtml($code === $l11n->getCurrency() ? ' selected' : ''); ?>><?= $this->printHtml($currency); ?>
<?php foreach ($currencies as $code => $currency) : $code = \substr($code, 1); ?> <?php endforeach; ?>
<option value="<?= $this->printHtml($code); ?>"<?= $this->printHtml($code === $l11n->getCurrency() ? ' selected' : ''); ?>><?= $this->printHtml($currency); ?> </select>
<?php endforeach; ?> </div>
</select>
<tr><td colspan="2"><label><?= $this->getHtml('Currencyformat'); ?></label> <div class="form-group">
<tr><td colspan="2"> <label><?= $this->getHtml('Currencyformat'); ?></label>
<select form="fLocalization" name="settings_currencyformat"> <select form="fLocalization" name="settings_currencyformat">
<option value="0"<?= $this->printHtml('0' === $l11n->getCurrencyFormat() ? ' selected' : ''); ?>><?= $this->getHtml('Amount') , ' ' , $this->printHtml($l11n->getCurrency()); ?> <option value="0"<?= $this->printHtml('0' === $l11n->getCurrencyFormat() ? ' selected' : ''); ?>><?= $this->getHtml('Amount') , ' ' , $this->printHtml($l11n->getCurrency()); ?>
<option value="1"<?= $this->printHtml('1' === $l11n->getCurrencyFormat() ? ' selected' : ''); ?>><?= $this->printHtml($l11n->getCurrency()) , ' ' , $this->getHtml('Amount'); ?> <option value="1"<?= $this->printHtml('1' === $l11n->getCurrencyFormat() ? ' selected' : ''); ?>><?= $this->printHtml($l11n->getCurrency()) , ' ' , $this->getHtml('Amount'); ?>
</select> </select>
<tr><td colspan="2"><h2><?= $this->getHtml('Numberformat'); ?></h2> </div>
<tr><td><label for="iDecimalPoint"><?= $this->getHtml('DecimalPoint'); ?></label>
<td><label for="iThousandSep"><?= $this->getHtml('ThousandsSeparator'); ?></label> <h2><?= $this->getHtml('Numberformat'); ?></h2>
<tr><td><input form="fLocalization" id="iDecimalPoint" name="settings_decimal" type="text" value="<?= $this->printHtml($l11n->getDecimal()); ?>" placeholder="." required>
<td><input form="fLocalization" id="iThousandSep" name="settings_thousands" type="text" value="<?= $this->printHtml($l11n->getThousands()); ?>" placeholder="," required> <div class="form-group">
</table> <div class="input-control">
</form> <label for="iDecimalPoint"><?= $this->getHtml('DecimalPoint'); ?></label>
<input form="fLocalization" id="iDecimalPoint" name="settings_decimal" type="text" value="<?= $this->printHtml($l11n->getDecimal()); ?>" placeholder="." required>
</div>
<div class="input-control">
<label for="iThousandSep"><?= $this->getHtml('ThousandsSeparator'); ?></label>
<input form="fLocalization" id="iThousandSep" name="settings_thousands" type="text" value="<?= $this->printHtml($l11n->getThousands()); ?>" placeholder="," required>
</div>
</div>
</div> </div>
</div> </div>
</div> </div>
@ -246,26 +300,30 @@ $l11n = $this->getData('defaultlocalization') ?? new NullLocalization();
<div class="portlet"> <div class="portlet">
<div class="portlet-head"><?= $this->getHtml('Precision'); ?></div> <div class="portlet-head"><?= $this->getHtml('Precision'); ?></div>
<div class="portlet-body"> <div class="portlet-body">
<form> <div class="form-group">
<table class="layout wf-100"> <label for="iPrecisionVeryShort"><?= $this->getHtml('VeryShort'); ?></label>
<tbody> <input form="fLocalization" id="iPrecisionVeryShort" name="settings_precision_vs" value="<?= $l11n->getPrecision()['very_short']; ?>" type="number">
<tr><td><label for="iPrecisionVeryShort"><?= $this->getHtml('VeryShort'); ?></label> </div>
<tr><td>
<input form="fLocalization" id="iPrecisionVeryShort" name="settings_precision_vs" value="<?= $l11n->getPrecision()['very_short']; ?>" type="number"> <div class="form-group">
<tr><td><label for="iPrecisionShort"><?= $this->getHtml('Short'); ?></label> <label for="iPrecisionShort"><?= $this->getHtml('Short'); ?></label>
<tr><td> <input form="fLocalization" id="iPrecisionLight" name="settings_precision_s" value="<?= $l11n->getPrecision()['short']; ?>" type="number">
<input form="fLocalization" id="iPrecisionLight" name="settings_precision_s" value="<?= $l11n->getPrecision()['short']; ?>" type="number"> </div>
<tr><td><label for="iPrecisionMedium"><?= $this->getHtml('Medium'); ?></label>
<tr><td> <div class="form-group">
<input form="fLocalization" id="iPrecisionMedium" name="settings_precision_m" value="<?= $l11n->getPrecision()['medium']; ?>" type="number"> <label for="iPrecisionMedium"><?= $this->getHtml('Medium'); ?></label>
<tr><td><label for="iPrecisionLong"><?= $this->getHtml('Long'); ?></label> <input form="fLocalization" id="iPrecisionMedium" name="settings_precision_m" value="<?= $l11n->getPrecision()['medium']; ?>" type="number">
<tr><td> </div>
<input form="fLocalization" id="iPrecisionLong" name="settings_precision_l" value="<?= $l11n->getPrecision()['long']; ?>" type="number">
<tr><td><label for="iPrecisionVeryLong"><?= $this->getHtml('VeryLong'); ?></label> <div class="form-group">
<tr><td> <label for="iPrecisionLong"><?= $this->getHtml('Long'); ?></label>
<input form="fLocalization" id="iPrecisionVeryLong" name="settings_precision_vl" value="<?= $l11n->getPrecision()['very_long']; ?>" type="number"> <input form="fLocalization" id="iPrecisionLong" name="settings_precision_l" value="<?= $l11n->getPrecision()['long']; ?>" type="number">
</table> </div>
</form>
<div class="form-group">
<label for="iPrecisionVeryLong"><?= $this->getHtml('VeryLong'); ?></label>
<input form="fLocalization" id="iPrecisionVeryLong" name="settings_precision_vl" value="<?= $l11n->getPrecision()['very_long']; ?>" type="number">
</div>
</div> </div>
</div> </div>
</div> </div>
@ -274,46 +332,50 @@ $l11n = $this->getData('defaultlocalization') ?? new NullLocalization();
<div class="portlet"> <div class="portlet">
<div class="portlet-head"><?= $this->getHtml('Weight'); ?></div> <div class="portlet-head"><?= $this->getHtml('Weight'); ?></div>
<div class="portlet-body"> <div class="portlet-body">
<form> <div class="form-group">
<table class="layout wf-100"> <label for="iWeightVeryLight"><?= $this->getHtml('VeryLight'); ?></label>
<tbody> <select form="fLocalization" id="iWeightVeryLight" name="settings_weight_vl">
<tr><td><label for="iWeightVeryLight"><?= $this->getHtml('VeryLight'); ?></label> <?php foreach ($weights as $code => $weight) : ?>
<tr><td> <option value="<?= $this->printHtml($weight); ?>"<?= $this->printHtml($weight === $l11n->getWeight()['very_light'] ? ' selected' : ''); ?>><?= $this->printHtml($weight); ?>
<select form="fLocalization" id="iWeightVeryLight" name="settings_weight_vl"> <?php endforeach; ?>
<?php foreach ($weights as $code => $weight) : ?> </select>
<option value="<?= $this->printHtml($weight); ?>"<?= $this->printHtml($weight === $l11n->getWeight()['very_light'] ? ' selected' : ''); ?>><?= $this->printHtml($weight); ?> </div>
<?php endforeach; ?>
</select> <div class="form-group">
<tr><td><label for="iWeightLight"><?= $this->getHtml('Light'); ?></label> <label for="iWeightLight"><?= $this->getHtml('Light'); ?></label>
<tr><td> <select form="fLocalization" id="iWeightLight" name="settings_weight_l">
<select form="fLocalization" id="iWeightLight" name="settings_weight_l"> <?php foreach ($weights as $code => $weight) : ?>
<?php foreach ($weights as $code => $weight) : ?> <option value="<?= $this->printHtml($weight); ?>"<?= $this->printHtml($weight === $l11n->getWeight()['light'] ? ' selected' : ''); ?>><?= $this->printHtml($weight); ?>
<option value="<?= $this->printHtml($weight); ?>"<?= $this->printHtml($weight === $l11n->getWeight()['light'] ? ' selected' : ''); ?>><?= $this->printHtml($weight); ?> <?php endforeach; ?>
<?php endforeach; ?> </select>
</select> </div>
<tr><td><label for="iWeightMedium"><?= $this->getHtml('Medium'); ?></label>
<tr><td> <div class="form-group">
<select form="fLocalization" id="iWeightMedium" name="settings_weight_m"> <label for="iWeightMedium"><?= $this->getHtml('Medium'); ?></label>
<?php foreach ($weights as $code => $weight) : ?> <select form="fLocalization" id="iWeightMedium" name="settings_weight_m">
<option value="<?= $this->printHtml($weight); ?>"<?= $this->printHtml($weight === $l11n->getWeight()['medium'] ? ' selected' : ''); ?>><?= $this->printHtml($weight); ?> <?php foreach ($weights as $code => $weight) : ?>
<?php endforeach; ?> <option value="<?= $this->printHtml($weight); ?>"<?= $this->printHtml($weight === $l11n->getWeight()['medium'] ? ' selected' : ''); ?>><?= $this->printHtml($weight); ?>
</select> <?php endforeach; ?>
<tr><td><label for="iWeightHeavy"><?= $this->getHtml('Heavy'); ?></label> </select>
<tr><td> </div>
<select form="fLocalization" id="iWeightHeavy" name="settings_weight_h">
<?php foreach ($weights as $code => $weight) : ?> <div class="form-group">
<option value="<?= $this->printHtml($weight); ?>"<?= $this->printHtml($weight === $l11n->getWeight()['heavy'] ? ' selected' : ''); ?>><?= $this->printHtml($weight); ?> <label for="iWeightHeavy"><?= $this->getHtml('Heavy'); ?></label>
<?php endforeach; ?> <select form="fLocalization" id="iWeightHeavy" name="settings_weight_h">
</select> <?php foreach ($weights as $code => $weight) : ?>
<tr><td><label for="iWeightVeryHeavy"><?= $this->getHtml('VeryHeavy'); ?></label> <option value="<?= $this->printHtml($weight); ?>"<?= $this->printHtml($weight === $l11n->getWeight()['heavy'] ? ' selected' : ''); ?>><?= $this->printHtml($weight); ?>
<tr><td> <?php endforeach; ?>
<select form="fLocalization" id="iWeightVeryHeavy" name="settings_weight_vh"> </select>
<?php foreach ($weights as $code => $weight) : ?> </div>
<option value="<?= $this->printHtml($weight); ?>"<?= $this->printHtml($weight === $l11n->getWeight()['very_heavy'] ? ' selected' : ''); ?>><?= $this->printHtml($weight); ?>
<?php endforeach; ?> <div class="form-group">
</select> <label for="iWeightVeryHeavy"><?= $this->getHtml('VeryHeavy'); ?></label>
</table> <select form="fLocalization" id="iWeightVeryHeavy" name="settings_weight_vh">
</form> <?php foreach ($weights as $code => $weight) : ?>
<option value="<?= $this->printHtml($weight); ?>"<?= $this->printHtml($weight === $l11n->getWeight()['very_heavy'] ? ' selected' : ''); ?>><?= $this->printHtml($weight); ?>
<?php endforeach; ?>
</select>
</div>
</div> </div>
</div> </div>
</div> </div>
@ -322,53 +384,59 @@ $l11n = $this->getData('defaultlocalization') ?? new NullLocalization();
<div class="portlet"> <div class="portlet">
<div class="portlet-head"><?= $this->getHtml('Speed'); ?></div> <div class="portlet-head"><?= $this->getHtml('Speed'); ?></div>
<div class="portlet-body"> <div class="portlet-body">
<form> <div class="form-group">
<table class="layout wf-100"> <label for="iSpeedVerySlow"><?= $this->getHtml('VerySlow'); ?></label>
<tbody> <select form="fLocalization" id="iSpeedVerySlow" name="settings_speed_vs">
<tr><td><label for="iSpeedVerySlow"><?= $this->getHtml('VerySlow'); ?></label> <?php foreach ($speeds as $code => $speed) : ?>
<tr><td> <option value="<?= $this->printHtml($speed); ?>"<?= $this->printHtml($speed === $l11n->getSpeed()['very_slow'] ? ' selected' : ''); ?>><?= $this->printHtml($speed); ?>
<select form="fLocalization" id="iSpeedVerySlow" name="settings_speed_vs"> <?php endforeach; ?>
<?php foreach ($speeds as $code => $speed) : ?> </select>
<option value="<?= $this->printHtml($speed); ?>"<?= $this->printHtml($speed === $l11n->getSpeed()['very_slow'] ? ' selected' : ''); ?>><?= $this->printHtml($speed); ?> </div>
<?php endforeach; ?>
</select> <div class="form-group">
<tr><td><label for="iSpeedSlow"><?= $this->getHtml('Slow'); ?></label> <label for="iSpeedSlow"><?= $this->getHtml('Slow'); ?></label>
<tr><td> <select form="fLocalization" id="iSpeedSlow" name="settings_speed_s">
<select form="fLocalization" id="iSpeedSlow" name="settings_speed_s"> <?php foreach ($speeds as $code => $speed) : ?>
<?php foreach ($speeds as $code => $speed) : ?> <option value="<?= $this->printHtml($speed); ?>"<?= $this->printHtml($speed === $l11n->getSpeed()['slow'] ? ' selected' : ''); ?>><?= $this->printHtml($speed); ?>
<option value="<?= $this->printHtml($speed); ?>"<?= $this->printHtml($speed === $l11n->getSpeed()['slow'] ? ' selected' : ''); ?>><?= $this->printHtml($speed); ?> <?php endforeach; ?>
<?php endforeach; ?> </select>
</select> </div>
<tr><td><label for="iSpeedMedium"><?= $this->getHtml('Medium'); ?></label>
<tr><td> <div class="form-group">
<select form="fLocalization" id="iSpeedMedium" name="settings_speed_m"> <label for="iSpeedMedium"><?= $this->getHtml('Medium'); ?></label>
<?php foreach ($speeds as $code => $speed) : ?> <select form="fLocalization" id="iSpeedMedium" name="settings_speed_m">
<option value="<?= $this->printHtml($speed); ?>"<?= $this->printHtml($speed === $l11n->getSpeed()['medium'] ? ' selected' : ''); ?>><?= $this->printHtml($speed); ?> <?php foreach ($speeds as $code => $speed) : ?>
<?php endforeach; ?> <option value="<?= $this->printHtml($speed); ?>"<?= $this->printHtml($speed === $l11n->getSpeed()['medium'] ? ' selected' : ''); ?>><?= $this->printHtml($speed); ?>
</select> <?php endforeach; ?>
<tr><td><label for="iSpeedFast"><?= $this->getHtml('Fast'); ?></label> </select>
<tr><td> </div>
<select form="fLocalization" id="iSpeedFast" name="settings_speed_f">
<?php foreach ($speeds as $code => $speed) : ?> <div class="form-group">
<option value="<?= $this->printHtml($speed); ?>"<?= $this->printHtml($speed === $l11n->getSpeed()['fast'] ? ' selected' : ''); ?>><?= $this->printHtml($speed); ?> <label for="iSpeedFast"><?= $this->getHtml('Fast'); ?></label>
<?php endforeach; ?> <select form="fLocalization" id="iSpeedFast" name="settings_speed_f">
</select> <?php foreach ($speeds as $code => $speed) : ?>
<tr><td><label for="iSpeedVeryFast"><?= $this->getHtml('VeryFast'); ?></label> <option value="<?= $this->printHtml($speed); ?>"<?= $this->printHtml($speed === $l11n->getSpeed()['fast'] ? ' selected' : ''); ?>><?= $this->printHtml($speed); ?>
<tr><td> <?php endforeach; ?>
<select form="fLocalization" id="iSpeedVeryFast" name="settings_speed_vf"> </select>
<?php foreach ($speeds as $code => $speed) : ?> </div>
<option value="<?= $this->printHtml($speed); ?>"<?= $this->printHtml($speed === $l11n->getSpeed()['very_fast'] ? ' selected' : ''); ?>><?= $this->printHtml($speed); ?>
<?php endforeach; ?> <div class="form-group">
</select> <label for="iSpeedVeryFast"><?= $this->getHtml('VeryFast'); ?></label>
<tr><td><label for="iSpeedSea"><?= $this->getHtml('Sea'); ?></label> <select form="fLocalization" id="iSpeedVeryFast" name="settings_speed_vf">
<tr><td> <?php foreach ($speeds as $code => $speed) : ?>
<select form="fLocalization" id="iSpeedSea" name="settings_speed_sea"> <option value="<?= $this->printHtml($speed); ?>"<?= $this->printHtml($speed === $l11n->getSpeed()['very_fast'] ? ' selected' : ''); ?>><?= $this->printHtml($speed); ?>
<?php foreach ($speeds as $code => $speed) : ?> <?php endforeach; ?>
<option value="<?= $this->printHtml($speed); ?>"<?= $this->printHtml($speed === $l11n->getSpeed()['sea'] ? ' selected' : ''); ?>><?= $this->printHtml($speed); ?> </select>
<?php endforeach; ?> </div>
</select>
</table> <div class="form-group">
</form> <label for="iSpeedSea"><?= $this->getHtml('Sea'); ?></label>
<select form="fLocalization" id="iSpeedSea" name="settings_speed_sea">
<?php foreach ($speeds as $code => $speed) : ?>
<option value="<?= $this->printHtml($speed); ?>"<?= $this->printHtml($speed === $l11n->getSpeed()['sea'] ? ' selected' : ''); ?>><?= $this->printHtml($speed); ?>
<?php endforeach; ?>
</select>
</div>
</div> </div>
</div> </div>
</div> </div>
@ -377,53 +445,59 @@ $l11n = $this->getData('defaultlocalization') ?? new NullLocalization();
<div class="portlet"> <div class="portlet">
<div class="portlet-head"><?= $this->getHtml('Length'); ?></div> <div class="portlet-head"><?= $this->getHtml('Length'); ?></div>
<div class="portlet-body"> <div class="portlet-body">
<form> <div class="form-group">
<table class="layout wf-100"> <label for="iLengthVeryShort"><?= $this->getHtml('VeryShort'); ?></label>
<tbody> <select form="fLocalization" id="iLengthVeryShort" name="settings_length_vs">
<tr><td><label for="iLengthVeryShort"><?= $this->getHtml('VeryShort'); ?></label> <?php foreach ($lengths as $code => $length) : ?>
<tr><td> <option value="<?= $this->printHtml($length); ?>"<?= $this->printHtml($length === $l11n->getLength()['very_short'] ? ' selected' : ''); ?>><?= $this->printHtml($length); ?>
<select form="fLocalization" id="iLengthVeryShort" name="settings_length_vs"> <?php endforeach; ?>
<?php foreach ($lengths as $code => $length) : ?> </select>
<option value="<?= $this->printHtml($length); ?>"<?= $this->printHtml($length === $l11n->getLength()['very_short'] ? ' selected' : ''); ?>><?= $this->printHtml($length); ?> </div>
<?php endforeach; ?>
</select> <div class="form-group">
<tr><td><label for="iLengthShort"><?= $this->getHtml('Short'); ?></label> <label for="iLengthShort"><?= $this->getHtml('Short'); ?></label>
<tr><td> <select form="fLocalization" id="iLengthShort" name="settings_length_s">
<select form="fLocalization" id="iLengthShort" name="settings_length_s"> <?php foreach ($lengths as $code => $length) : ?>
<?php foreach ($lengths as $code => $length) : ?> <option value="<?= $this->printHtml($length); ?>"<?= $this->printHtml($length === $l11n->getLength()['short'] ? ' selected' : ''); ?>><?= $this->printHtml($length); ?>
<option value="<?= $this->printHtml($length); ?>"<?= $this->printHtml($length === $l11n->getLength()['short'] ? ' selected' : ''); ?>><?= $this->printHtml($length); ?> <?php endforeach; ?>
<?php endforeach; ?> </select>
</select> </div>
<tr><td><label for="iLengthMedium"><?= $this->getHtml('Medium'); ?></label>
<tr><td> <div class="form-group">
<select form="fLocalization" id="iLengthMedium" name="settings_length_m"> <label for="iLengthMedium"><?= $this->getHtml('Medium'); ?></label>
<?php foreach ($lengths as $code => $length) : ?> <select form="fLocalization" id="iLengthMedium" name="settings_length_m">
<option value="<?= $this->printHtml($length); ?>"<?= $this->printHtml($length === $l11n->getLength()['medium'] ? ' selected' : ''); ?>><?= $this->printHtml($length); ?> <?php foreach ($lengths as $code => $length) : ?>
<?php endforeach; ?> <option value="<?= $this->printHtml($length); ?>"<?= $this->printHtml($length === $l11n->getLength()['medium'] ? ' selected' : ''); ?>><?= $this->printHtml($length); ?>
</select> <?php endforeach; ?>
<tr><td><label for="iLengthLong"><?= $this->getHtml('Long'); ?></label> </select>
<tr><td> </div>
<select form="fLocalization" id="iLengthLong" name="settings_length_l">
<?php foreach ($lengths as $code => $length) : ?> <div class="form-group">
<option value="<?= $this->printHtml($length); ?>"<?= $this->printHtml($length === $l11n->getLength()['long'] ? ' selected' : ''); ?>><?= $this->printHtml($length); ?> <label for="iLengthLong"><?= $this->getHtml('Long'); ?></label>
<?php endforeach; ?> <select form="fLocalization" id="iLengthLong" name="settings_length_l">
</select> <?php foreach ($lengths as $code => $length) : ?>
<tr><td><label for="iLengthVeryLong"><?= $this->getHtml('VeryLong'); ?></label> <option value="<?= $this->printHtml($length); ?>"<?= $this->printHtml($length === $l11n->getLength()['long'] ? ' selected' : ''); ?>><?= $this->printHtml($length); ?>
<tr><td> <?php endforeach; ?>
<select form="fLocalization" id="iLengthVeryLong" name="settings_length_vl"> </select>
<?php foreach ($lengths as $code => $length) : ?> </div>
<option value="<?= $this->printHtml($length); ?>"<?= $this->printHtml($length === $l11n->getLength()['very_long'] ? ' selected' : ''); ?>><?= $this->printHtml($length); ?>
<?php endforeach; ?> <div class="form-group">
</select> <label for="iLengthVeryLong"><?= $this->getHtml('VeryLong'); ?></label>
<tr><td><label for="iLengthSea"><?= $this->getHtml('Sea'); ?></label> <select form="fLocalization" id="iLengthVeryLong" name="settings_length_vl">
<tr><td> <?php foreach ($lengths as $code => $length) : ?>
<select form="fLocalization" id="iLengthSea" name="settings_length_sea"> <option value="<?= $this->printHtml($length); ?>"<?= $this->printHtml($length === $l11n->getLength()['very_long'] ? ' selected' : ''); ?>><?= $this->printHtml($length); ?>
<?php foreach ($lengths as $code => $length) : ?> <?php endforeach; ?>
<option value="<?= $this->printHtml($length); ?>"<?= $this->printHtml($length === $l11n->getLength()['sea'] ? ' selected' : ''); ?>><?= $this->printHtml($length); ?> </select>
<?php endforeach; ?> </div>
</select>
</table> <div class="form-group">
</form> <label for="iLengthSea"><?= $this->getHtml('Sea'); ?></label>
<select form="fLocalization" id="iLengthSea" name="settings_length_sea">
<?php foreach ($lengths as $code => $length) : ?>
<option value="<?= $this->printHtml($length); ?>"<?= $this->printHtml($length === $l11n->getLength()['sea'] ? ' selected' : ''); ?>><?= $this->printHtml($length); ?>
<?php endforeach; ?>
</select>
</div>
</div> </div>
</div> </div>
</div> </div>
@ -432,46 +506,50 @@ $l11n = $this->getData('defaultlocalization') ?? new NullLocalization();
<div class="portlet"> <div class="portlet">
<div class="portlet-head"><?= $this->getHtml('Area'); ?></div> <div class="portlet-head"><?= $this->getHtml('Area'); ?></div>
<div class="portlet-body"> <div class="portlet-body">
<form> <div class="form-group">
<table class="layout wf-100"> <label for="iAreaVerySmall"><?= $this->getHtml('VerySmall'); ?></label>
<tbody> <select form="fLocalization" id="iAreaVerySmall" name="settings_area_vs">
<tr><td><label for="iAreaVerySmall"><?= $this->getHtml('VerySmall'); ?></label> <?php foreach ($areas as $code => $area) : ?>
<tr><td> <option value="<?= $this->printHtml($area); ?>"<?= $this->printHtml($area === $l11n->getArea()['very_small'] ? ' selected' : ''); ?>><?= $this->printHtml($area); ?>
<select form="fLocalization" id="iAreaVerySmall" name="settings_area_vs"> <?php endforeach; ?>
<?php foreach ($areas as $code => $area) : ?> </select>
<option value="<?= $this->printHtml($area); ?>"<?= $this->printHtml($area === $l11n->getArea()['very_small'] ? ' selected' : ''); ?>><?= $this->printHtml($area); ?> </div>
<?php endforeach; ?>
</select> <div class="form-group">
<tr><td><label for="iAreaSmall"><?= $this->getHtml('Small'); ?></label> <label for="iAreaSmall"><?= $this->getHtml('Small'); ?></label>
<tr><td> <select form="fLocalization" id="iAreaSmall" name="settings_area_s">
<select form="fLocalization" id="iAreaSmall" name="settings_area_s"> <?php foreach ($areas as $code => $area) : ?>
<?php foreach ($areas as $code => $area) : ?> <option value="<?= $this->printHtml($area); ?>"<?= $this->printHtml($area === $l11n->getArea()['small'] ? ' selected' : ''); ?>><?= $this->printHtml($area); ?>
<option value="<?= $this->printHtml($area); ?>"<?= $this->printHtml($area === $l11n->getArea()['small'] ? ' selected' : ''); ?>><?= $this->printHtml($area); ?> <?php endforeach; ?>
<?php endforeach; ?> </select>
</select> </div>
<tr><td><label for="iAreaMedium"><?= $this->getHtml('Medium'); ?></label>
<tr><td> <div class="form-group">
<select form="fLocalization" id="iAreaMedium" name="settings_area_m"> <label for="iAreaMedium"><?= $this->getHtml('Medium'); ?></label>
<?php foreach ($areas as $code => $area) : ?> <select form="fLocalization" id="iAreaMedium" name="settings_area_m">
<option value="<?= $this->printHtml($area); ?>"<?= $this->printHtml($area === $l11n->getArea()['medium'] ? ' selected' : ''); ?>><?= $this->printHtml($area); ?> <?php foreach ($areas as $code => $area) : ?>
<?php endforeach; ?> <option value="<?= $this->printHtml($area); ?>"<?= $this->printHtml($area === $l11n->getArea()['medium'] ? ' selected' : ''); ?>><?= $this->printHtml($area); ?>
</select> <?php endforeach; ?>
<tr><td><label for="iAreaLarge"><?= $this->getHtml('Large'); ?></label> </select>
<tr><td> </div>
<select form="fLocalization" id="iAreaLarge" name="settings_area_l">
<?php foreach ($areas as $code => $area) : ?> <div class="form-group">
<option value="<?= $this->printHtml($area); ?>"<?= $this->printHtml($area === $l11n->getArea()['large'] ? ' selected' : ''); ?>><?= $this->printHtml($area); ?> <label for="iAreaLarge"><?= $this->getHtml('Large'); ?></label>
<?php endforeach; ?> <select form="fLocalization" id="iAreaLarge" name="settings_area_l">
</select> <?php foreach ($areas as $code => $area) : ?>
<tr><td><label for="iAreaVeryLarge"><?= $this->getHtml('VeryLarge'); ?></label> <option value="<?= $this->printHtml($area); ?>"<?= $this->printHtml($area === $l11n->getArea()['large'] ? ' selected' : ''); ?>><?= $this->printHtml($area); ?>
<tr><td> <?php endforeach; ?>
<select form="fLocalization" id="iAreaVeryLarge" name="settings_area_vl"> </select>
<?php foreach ($areas as $code => $area) : ?> </div>
<option value="<?= $this->printHtml($area); ?>"<?= $this->printHtml($area === $l11n->getArea()['very_large'] ? ' selected' : ''); ?>><?= $this->printHtml($area); ?>
<?php endforeach; ?> <div class="form-group">
</select> <label for="iAreaVeryLarge"><?= $this->getHtml('VeryLarge'); ?></label>
</table> <select form="fLocalization" id="iAreaVeryLarge" name="settings_area_vl">
</form> <?php foreach ($areas as $code => $area) : ?>
<option value="<?= $this->printHtml($area); ?>"<?= $this->printHtml($area === $l11n->getArea()['very_large'] ? ' selected' : ''); ?>><?= $this->printHtml($area); ?>
<?php endforeach; ?>
</select>
</div>
</div> </div>
</div> </div>
</div> </div>
@ -480,73 +558,84 @@ $l11n = $this->getData('defaultlocalization') ?? new NullLocalization();
<div class="portlet"> <div class="portlet">
<div class="portlet-head"><?= $this->getHtml('Volume'); ?></div> <div class="portlet-head"><?= $this->getHtml('Volume'); ?></div>
<div class="portlet-body"> <div class="portlet-body">
<form> <div class="form-group">
<table class="layout wf-100"> <label for="iVolumeVerySmall"><?= $this->getHtml('VerySmall'); ?></label>
<tbody> <select form="fLocalization" id="iVolumeVerySmall" name="settings_volume_vs">
<tr><td><label for="iVolumeVerySmall"><?= $this->getHtml('VerySmall'); ?></label> <?php foreach ($volumes as $code => $volume) : ?>
<tr><td> <option value="<?= $this->printHtml($volume); ?>"<?= $this->printHtml($volume === $l11n->getVolume()['very_small'] ? ' selected' : ''); ?>><?= $this->printHtml($volume); ?>
<select form="fLocalization" id="iVolumeVerySmall" name="settings_volume_vs"> <?php endforeach; ?>
<?php foreach ($volumes as $code => $volume) : ?> </select>
<option value="<?= $this->printHtml($volume); ?>"<?= $this->printHtml($volume === $l11n->getVolume()['very_small'] ? ' selected' : ''); ?>><?= $this->printHtml($volume); ?> </div>
<?php endforeach; ?>
</select> <div class="form-group">
<tr><td><label for="iVolumeSmall"><?= $this->getHtml('Small'); ?></label> <label for="iVolumeSmall"><?= $this->getHtml('Small'); ?></label>
<tr><td> <select form="fLocalization" id="iVolumeSmall" name="settings_volume_s">
<select form="fLocalization" id="iVolumeSmall" name="settings_volume_s"> <?php foreach ($volumes as $code => $volume) : ?>
<?php foreach ($volumes as $code => $volume) : ?> <option value="<?= $this->printHtml($volume); ?>"<?= $this->printHtml($volume === $l11n->getVolume()['small'] ? ' selected' : ''); ?>><?= $this->printHtml($volume); ?>
<option value="<?= $this->printHtml($volume); ?>"<?= $this->printHtml($volume === $l11n->getVolume()['small'] ? ' selected' : ''); ?>><?= $this->printHtml($volume); ?> <?php endforeach; ?>
<?php endforeach; ?> </select>
</select> </div>
<tr><td><label for="iVolumeMedium"><?= $this->getHtml('Medium'); ?></label>
<tr><td> <div class="form-group">
<select form="fLocalization" id="iVolumeMedium" name="settings_volume_m"> <label for="iVolumeMedium"><?= $this->getHtml('Medium'); ?></label>
<?php foreach ($volumes as $code => $volume) : ?> <select form="fLocalization" id="iVolumeMedium" name="settings_volume_m">
<option value="<?= $this->printHtml($volume); ?>"<?= $this->printHtml($volume === $l11n->getVolume()['medium'] ? ' selected' : ''); ?>><?= $this->printHtml($volume); ?> <?php foreach ($volumes as $code => $volume) : ?>
<?php endforeach; ?> <option value="<?= $this->printHtml($volume); ?>"<?= $this->printHtml($volume === $l11n->getVolume()['medium'] ? ' selected' : ''); ?>><?= $this->printHtml($volume); ?>
</select> <?php endforeach; ?>
<tr><td><label for="iVolumeLarge"><?= $this->getHtml('Large'); ?></label> </select>
<tr><td> </div>
<select form="fLocalization" id="iVolumeLarge" name="settings_volume_l">
<?php foreach ($volumes as $code => $volume) : ?> <div class="form-group">
<option value="<?= $this->printHtml($volume); ?>"<?= $this->printHtml($volume === $l11n->getVolume()['large'] ? ' selected' : ''); ?>><?= $this->printHtml($volume); ?> <label for="iVolumeLarge"><?= $this->getHtml('Large'); ?></label>
<?php endforeach; ?> <select form="fLocalization" id="iVolumeLarge" name="settings_volume_l">
</select> <?php foreach ($volumes as $code => $volume) : ?>
<tr><td><label for="iVolumeVeryLarge"><?= $this->getHtml('VeryLarge'); ?></label> <option value="<?= $this->printHtml($volume); ?>"<?= $this->printHtml($volume === $l11n->getVolume()['large'] ? ' selected' : ''); ?>><?= $this->printHtml($volume); ?>
<tr><td> <?php endforeach; ?>
<select form="fLocalization" id="iVolumeVeryLarge" name="settings_volume_vl"> </select>
<?php foreach ($volumes as $code => $volume) : ?> </div>
<option value="<?= $this->printHtml($volume); ?>"<?= $this->printHtml($volume === $l11n->getVolume()['very_large'] ? ' selected' : ''); ?>><?= $this->printHtml($volume); ?>
<?php endforeach; ?> <div class="form-group">
</select> <label for="iVolumeVeryLarge"><?= $this->getHtml('VeryLarge'); ?></label>
<tr><td><label for="iVolumeTeaspoon"><?= $this->getHtml('Teaspoon'); ?></label> <select form="fLocalization" id="iVolumeVeryLarge" name="settings_volume_vl">
<tr><td> <?php foreach ($volumes as $code => $volume) : ?>
<select form="fLocalization" id="iVolumeTeaspoon" name="settings_volume_teaspoon"> <option value="<?= $this->printHtml($volume); ?>"<?= $this->printHtml($volume === $l11n->getVolume()['very_large'] ? ' selected' : ''); ?>><?= $this->printHtml($volume); ?>
<?php foreach ($volumes as $code => $volume) : ?> <?php endforeach; ?>
<option value="<?= $this->printHtml($volume); ?>"<?= $this->printHtml($volume === $l11n->getVolume()['teaspoon'] ? ' selected' : ''); ?>><?= $this->printHtml($volume); ?> </select>
<?php endforeach; ?> </div>
</select>
<tr><td><label for="iVolumeTablespoon"><?= $this->getHtml('Tablespoon'); ?></label> <div class="form-group">
<tr><td> <label for="iVolumeTeaspoon"><?= $this->getHtml('Teaspoon'); ?></label>
<select form="fLocalization" id="iVolumeTablespoon" name="settings_volume_tablespoon"> <select form="fLocalization" id="iVolumeTeaspoon" name="settings_volume_teaspoon">
<?php foreach ($volumes as $code => $volume) : ?> <?php foreach ($volumes as $code => $volume) : ?>
<option value="<?= $this->printHtml($volume); ?>"<?= $this->printHtml($volume === $l11n->getVolume()['tablespoon'] ? ' selected' : ''); ?>><?= $this->printHtml($volume); ?> <option value="<?= $this->printHtml($volume); ?>"<?= $this->printHtml($volume === $l11n->getVolume()['teaspoon'] ? ' selected' : ''); ?>><?= $this->printHtml($volume); ?>
<?php endforeach; ?> <?php endforeach; ?>
</select> </select>
<tr><td><label for="iVolumeGlass"><?= $this->getHtml('Glass'); ?></label> </div>
<tr><td>
<select form="fLocalization" id="iVolumeGlass" name="settings_volume_glass"> <div class="form-group">
<?php foreach ($volumes as $code => $volume) : ?> <label for="iVolumeTablespoon"><?= $this->getHtml('Tablespoon'); ?></label>
<option value="<?= $this->printHtml($volume); ?>"<?= $this->printHtml($volume === $l11n->getVolume()['glass'] ? ' selected' : ''); ?>><?= $this->printHtml($volume); ?> <select form="fLocalization" id="iVolumeTablespoon" name="settings_volume_tablespoon">
<?php endforeach; ?> <?php foreach ($volumes as $code => $volume) : ?>
</select> <option value="<?= $this->printHtml($volume); ?>"<?= $this->printHtml($volume === $l11n->getVolume()['tablespoon'] ? ' selected' : ''); ?>><?= $this->printHtml($volume); ?>
</table> <?php endforeach; ?>
</form> </select>
</div>
<div class="form-group">
<label for="iVolumeGlass"><?= $this->getHtml('Glass'); ?></label>
<select form="fLocalization" id="iVolumeGlass" name="settings_volume_glass">
<?php foreach ($volumes as $code => $volume) : ?>
<option value="<?= $this->printHtml($volume); ?>"<?= $this->printHtml($volume === $l11n->getVolume()['glass'] ? ' selected' : ''); ?>><?= $this->printHtml($volume); ?>
<?php endforeach; ?>
</select>
</div>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
<input type="radio" id="c-tab-3" name="tabular-2"<?= $this->request->uri->fragment === 'c-tab-3' ? ' checked' : ''; ?>> <input type="radio" id="c-tab-3"
name="tabular-2"<?= $this->request->uri->fragment === 'c-tab-3' ? ' checked' : ''; ?>>
<div class="tab"> <div class="tab">
<div class="row"> <div class="row">
<div class="col-xs-12"> <div class="col-xs-12">