This commit is contained in:
Dennis Eichhorn 2024-03-10 02:24:57 +00:00
parent 972fba6278
commit eb2813e1d8

View File

@ -189,47 +189,51 @@ echo $this->data['nav']->render();
<form id="fLocalization" name="fLocalization" action="<?= UriFactory::build('{/api}profile/settings/localization'); ?>" method="post"> <form id="fLocalization" name="fLocalization" action="<?= UriFactory::build('{/api}profile/settings/localization'); ?>" method="post">
<div class="portlet-head"><?= $this->getHtml('Localization'); ?></div> <div class="portlet-head"><?= $this->getHtml('Localization'); ?></div>
<div class="portlet-body"> <div class="portlet-body">
<table class="layout wf-100"> <div class="form-group">
<tbody> <label for="iDefaultLocalizations"><?= $this->getHtml('Defaults'); ?></label>
<tr><td><label for="iDefaultLocalizations"><?= $this->getHtml('Defaults'); ?></label> <div class="ipt-wrap wf-100">
<tr><td> <div class="ipt-first"><select id="iDefaultLocalizations" name="localization_load">
<div class="ipt-wrap"> <option value="-1" selected disabled><?= $this->getHtml('Customized'); ?>
<div class="ipt-first"><select id="iDefaultLocalizations" name="localization_load"> <?php foreach ($l11nDefinitions as $def) : ?>
<option value="-1" 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'); ?>" value="<?= $this->getHtml('Load'); ?>"></div>
</div> </div>
<div class="ipt-second"><input type="submit" name="loadDefaultLocalization" formaction="<?= UriFactory::build('{/api}profile/settings/localization'); ?>" value="<?= $this->getHtml('Load'); ?>"></div>
</div>
<tr><td colspan="2"><label for="iCountries"><?= $this->getHtml('Country'); ?></label>
<tr><td colspan="2">
<select id="iCountries" name="settings_country">
<?php foreach ($countryCodes as $code3 => $code2) : ?>
<option value="<?= $this->printHtml($code2); ?>"<?= $this->printHtml($code2 === $l11n->country ? ' selected' : ''); ?>><?= $this->printHtml($countries[$code3]); ?>
<?php endforeach; ?>
</select>
<tr><td colspan="2"><label for="iLanguages"><?= $this->getHtml('Language'); ?></label>
<tr><td colspan="2">
<select id="iLanguages" name="settings_language">
<?php foreach ($languages as $code => $language) : $code = \strtolower(\substr($code, 1)); ?>
<option value="<?= $this->printHtml($code); ?>"<?= $this->printHtml($code === $l11n->language ? ' selected' : ''); ?>><?= $this->printHtml($language); ?>
<?php endforeach; ?>
</select>
<tr><td colspan="2"><label for="iTemperature"><?= $this->getHtml('Temperature'); ?></label>
<tr><td colspan="2">
<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>
</table>
</div> </div>
<div class="portlet-foot">
<input type="hidden" name="account_id" value="<?= $profile->account->id; ?>"> <div class="form-group">
<input id="iSubmitLocalization" name="submitLocalization" type="submit" value="<?= $this->getHtml('Save', '0', '0'); ?>"> <label for="iCountries"><?= $this->getHtml('Country'); ?></label>
<select id="iCountries" name="settings_country">
<?php foreach ($countryCodes as $code3 => $code2) : ?>
<option value="<?= $this->printHtml($code2); ?>"<?= $this->printHtml($code2 === $l11n->country ? ' selected' : ''); ?>><?= $this->printHtml($countries[$code3]); ?>
<?php endforeach; ?>
</select>
</div> </div>
<div class="form-group">
<label for="iLanguages"><?= $this->getHtml('Language'); ?></label>
<select id="iLanguages" name="settings_language">
<?php foreach ($languages as $code => $language) : $code = \strtolower(\substr($code, 1)); ?>
<option value="<?= $this->printHtml($code); ?>"<?= $this->printHtml($code === $l11n->language ? ' selected' : ''); ?>><?= $this->printHtml($language); ?>
<?php endforeach; ?>
</select>
</div>
<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 class="portlet-foot">
<input type="hidden" name="account_id" value="<?= $profile->account->id; ?>">
<input id="iSubmitLocalization" name="submitLocalization" type="submit" value="<?= $this->getHtml('Save', '0', '0'); ?>">
</div>
</form> </form>
</div> </div>
</div> </div>
@ -238,29 +242,43 @@ echo $this->data['nav']->render();
<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> <h2><?= $this->getHtml('Timeformat'); ?></h2>
<tr><td><label for="iTimeformatVeryShort"><?= $this->getHtml('VeryShort'); ?></label> </div>
<tr><td><input form="fLocalization" id="iTimeformatVeryShort" name="settings_timeformat_vs" type="text" value="<?= $this->printHtml($l11n->getDatetime()['very_short']); ?>" placeholder="Y" required>
<tr><td><label for="iTimeformatShort"><?= $this->getHtml('Short'); ?></label> <div class="form-group">
<tr><td><input form="fLocalization" id="iTimeformatShort" name="settings_timeformat_s" type="text" value="<?= $this->printHtml($l11n->getDatetime()['short']); ?>" placeholder="Y" required> <label for="iTimeformatVeryShort"><?= $this->getHtml('VeryShort'); ?></label>
<tr><td><label for="iTimeformatMedium"><?= $this->getHtml('Medium'); ?></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="iTimeformatMedium" name="settings_timeformat_m" type="text" value="<?= $this->printHtml($l11n->getDatetime()['medium']); ?>" placeholder="Y" required> </div>
<tr><td><label for="iTimeformatLong"><?= $this->getHtml('Long'); ?></label>
<tr><td><input form="fLocalization" id="iTimeformatLong" name="settings_timeformat_l" type="text" value="<?= $this->printHtml($l11n->getDatetime()['long']); ?>" placeholder="Y" required> <div class="form-group">
<tr><td><label for="iTimeformatVeryLong"><?= $this->getHtml('VeryLong'); ?></label> <label for="iTimeformatShort"><?= $this->getHtml('Short'); ?></label>
<tr><td><input form="fLocalization" id="iTimeformatVeryLong" name="settings_timeformat_vl" type="text" value="<?= $this->printHtml($l11n->getDatetime()['very_long']); ?>" placeholder="Y" required> <input form="fLocalization" id="iTimeformatShort" name="settings_timeformat_s" type="text" value="<?= $this->printHtml($l11n->getDatetime()['short']); ?>" placeholder="Y" required>
</table> </div>
</form>
<div class="form-group">
<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>
@ -269,28 +287,42 @@ echo $this->data['nav']->render();
<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->currency ? ' 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->currency ? ' 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($l11n->getCurrencyFormat() === '0' ? ' selected' : ''); ?>><?= $this->getHtml('Amount') , ' ' , $this->printHtml($l11n->currency); ?> <option value="0"<?= $this->printHtml($l11n->getCurrencyFormat() === '0' ? ' selected' : ''); ?>><?= $this->getHtml('Amount') , ' ' , $this->printHtml($l11n->currency); ?>
<option value="1"<?= $this->printHtml($l11n->getCurrencyFormat() === '1' ? ' selected' : ''); ?>><?= $this->printHtml($l11n->currency) , ' ' , $this->getHtml('Amount'); ?> <option value="1"<?= $this->printHtml($l11n->getCurrencyFormat() === '1' ? ' selected' : ''); ?>><?= $this->printHtml($l11n->currency) , ' ' , $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> <div class="form-group">
<tr><td><input form="fLocalization" id="iDecimalPoint" name="settings_decimal" type="text" value="<?= $this->printHtml($l11n->getDecimal()); ?>" placeholder="." required> <h2><?= $this->getHtml('Numberformat'); ?></h2>
<td><input form="fLocalization" id="iThousandSep" name="settings_thousands" type="text" value="<?= $this->printHtml($l11n->getThousands()); ?>" placeholder="," required> </div>
</table>
</form> <div class="flex-line">
<div>
<div class="form-group">
<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>
<div>
<div class="form-group">
<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> </div>
@ -299,26 +331,30 @@ echo $this->data['nav']->render();
<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>
@ -327,46 +363,50 @@ echo $this->data['nav']->render();
<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>
@ -375,53 +415,59 @@ echo $this->data['nav']->render();
<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>
@ -430,53 +476,59 @@ echo $this->data['nav']->render();
<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>
@ -485,46 +537,50 @@ echo $this->data['nav']->render();
<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>
@ -533,67 +589,77 @@ echo $this->data['nav']->render();
<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>