fix languages 4

This commit is contained in:
Dennis Eichhorn 2024-05-18 19:57:10 +00:00
parent 7fe7d0e25e
commit c22a1b351d

View File

@ -34,24 +34,24 @@ $temperatures = TemperatureType::getConstants();
<div class="col-xs-12 col-md-4">
<section class="portlet">
<form id="fLocalization" name="fLocalization" action="<?= UriFactory::build('{/api}admin/localization?csrf={$CSRF}'); ?>" method="post">
<div class="portlet-head"><?= $this->getHtml('Localization'); ?></div>
<div class="portlet-head"><?= $this->getHtml('Localization', 'Admin', 'Backend'); ?></div>
<div class="portlet-body">
<div class="form-group">
<label for="iDefaultLocalizations"><?= $this->getHtml('Defaults'); ?></label>
<label for="iDefaultLocalizations"><?= $this->getHtml('Defaults', 'Admin', 'Backend'); ?></label>
<div class="ipt-wrap wf-100">
<div class="ipt-first"><select id="iDefaultLocalizations" name="localization_load">
<option value="-1" selected disabled><?= $this->getHtml('Customized'); ?>
<option value="-1" selected disabled><?= $this->getHtml('Customized', 'Admin', 'Backend'); ?>
<?php foreach ($l11nDefinitions as $def) : ?>
<option value="<?= $this->printHtml(\explode('.', $def)[0]); ?>"><?= $this->printHtml(\explode('.', $def)[0]); ?>
<?php endforeach; ?>
</select>
</div>
<div class="ipt-second"><input id="iLoadLocalization" type="submit" name="loadDefaultLocalization" formaction="<?= UriFactory::build('{/api}admin/localization?csrf={$CSRF}'); ?>" value="<?= $this->getHtml('Load'); ?>"></div>
<div class="ipt-second"><input id="iLoadLocalization" type="submit" name="loadDefaultLocalization" formaction="<?= UriFactory::build('{/api}admin/localization?csrf={$CSRF}'); ?>" value="<?= $this->getHtml('Load', 'Admin', 'Backend'); ?>"></div>
</div>
</div>
<div class="form-group">
<label for="iCountries"><?= $this->getHtml('Country'); ?></label>
<label for="iCountries"><?= $this->getHtml('Country', 'Admin', 'Backend'); ?></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]); ?>
@ -60,7 +60,7 @@ $temperatures = TemperatureType::getConstants();
</div>
<div class="form-group">
<label for="iLanguages"><?= $this->getHtml('Language'); ?></label>
<label for="iLanguages"><?= $this->getHtml('Language', 'Admin', 'Backend'); ?></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); ?>
@ -69,7 +69,7 @@ $temperatures = TemperatureType::getConstants();
</div>
<div class="form-group">
<label for="iTemperature"><?= $this->getHtml('Temperature'); ?></label>
<label for="iTemperature"><?= $this->getHtml('Temperature', 'Admin', 'Backend'); ?></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); ?>
@ -87,10 +87,10 @@ $temperatures = TemperatureType::getConstants();
<div class="col-xs-12 col-md-4">
<section class="portlet">
<div class="portlet-head"><?= $this->getHtml('Time'); ?></div>
<div class="portlet-head"><?= $this->getHtml('Time', 'Admin', 'Backend'); ?></div>
<div class="portlet-body">
<div class="form-group">
<label for="iTimezones"><?= $this->getHtml('Timezone'); ?></label>
<label for="iTimezones"><?= $this->getHtml('Timezone', 'Admin', 'Backend'); ?></label>
<select form="fLocalization" id="iTimezones" name="settings_timezone">
<?php foreach ($timezones as $timezone) : ?>
<option value="<?= $this->printHtml($timezone); ?>"<?= $this->printHtml($timezone === $l11n->getTimezone() ? ' selected' : ''); ?>><?= $this->printHtml($timezone); ?>
@ -99,31 +99,31 @@ $temperatures = TemperatureType::getConstants();
</div>
<div class="form-group">
<h2><?= $this->getHtml('Timeformat'); ?></h2>
<h2><?= $this->getHtml('Timeformat', 'Admin', 'Backend'); ?></h2>
</div>
<div class="form-group">
<label for="iTimeformatVeryShort"><?= $this->getHtml('VeryShort'); ?></label>
<label for="iTimeformatVeryShort"><?= $this->getHtml('VeryShort', 'Admin', 'Backend'); ?></label>
<input form="fLocalization" id="iTimeformatVeryShort" name="settings_timeformat_vs" type="text" value="<?= $this->printHtml($l11n->getDatetime()['very_short']); ?>" placeholder="d.m" required>
</div>
<div class="form-group">
<label for="iTimeformatShort"><?= $this->getHtml('Short'); ?></label>
<label for="iTimeformatShort"><?= $this->getHtml('Short', 'Admin', 'Backend'); ?></label>
<input form="fLocalization" id="iTimeformatShort" name="settings_timeformat_s" type="text" value="<?= $this->printHtml($l11n->getDatetime()['short']); ?>" placeholder="m.y" required>
</div>
<div class="form-group">
<label for="iTimeformatMedium"><?= $this->getHtml('Medium'); ?></label>
<label for="iTimeformatMedium"><?= $this->getHtml('Medium', 'Admin', 'Backend'); ?></label>
<input form="fLocalization" id="iTimeformatMedium" name="settings_timeformat_m" type="text" value="<?= $this->printHtml($l11n->getDatetime()['medium']); ?>" placeholder="Y.m.d" required>
</div>
<div class="form-group">
<label for="iTimeformatLong"><?= $this->getHtml('Long'); ?></label>
<label for="iTimeformatLong"><?= $this->getHtml('Long', 'Admin', 'Backend'); ?></label>
<input form="fLocalization" id="iTimeformatLong" name="settings_timeformat_l" type="text" value="<?= $this->printHtml($l11n->getDatetime()['long']); ?>" placeholder="Y.m.d h:i" required>
</div>
<div class="form-group">
<label for="iTimeformatVeryLong"><?= $this->getHtml('VeryLong'); ?></label>
<label for="iTimeformatVeryLong"><?= $this->getHtml('VeryLong', 'Admin', 'Backend'); ?></label>
<input form="fLocalization" id="iTimeformatVeryLong" name="settings_timeformat_vl" type="text" value="<?= $this->printHtml($l11n->getDatetime()['very_long']); ?>" placeholder="Y.m.d h:i:s" required>
</div>
</div>
@ -132,10 +132,10 @@ $temperatures = TemperatureType::getConstants();
<div class="col-xs-12 col-md-4">
<section class="portlet">
<div class="portlet-head"><?= $this->getHtml('Numeric'); ?></div>
<div class="portlet-head"><?= $this->getHtml('Numeric', 'Admin', 'Backend'); ?></div>
<div class="portlet-body">
<div class="form-group">
<label for="iCurrencies"><?= $this->getHtml('Currency'); ?></label>
<label for="iCurrencies"><?= $this->getHtml('Currency', 'Admin', 'Backend'); ?></label>
<select form="fLocalization" id="iCurrencies" name="settings_currency">
<?php foreach ($currencies as $code => $currency) : $code = \substr($code, 1); ?>
<option value="<?= $this->printHtml($code); ?>"<?= $this->printHtml($code === $l11n->currency ? ' selected' : ''); ?>><?= $this->printHtml($currency); ?>
@ -144,15 +144,15 @@ $temperatures = TemperatureType::getConstants();
</div>
<div class="form-group">
<label><?= $this->getHtml('Currencyformat'); ?></label>
<label><?= $this->getHtml('Currencyformat', 'Admin', 'Backend'); ?></label>
<select form="fLocalization" name="settings_currencyformat">
<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="0"<?= $this->printHtml($l11n->getCurrencyFormat() === '0' ? ' selected' : ''); ?>><?= $this->getHtml('Amount', 'Admin', 'Backend') , ' ' , $this->printHtml($l11n->currency); ?>
<option value="1"<?= $this->printHtml($l11n->getCurrencyFormat() === '1' ? ' selected' : ''); ?>><?= $this->printHtml($l11n->currency) , ' ' , $this->getHtml('Amount', 'Admin', 'Backend'); ?>
</select>
</div>
<div class="form-group">
<h2><?= $this->getHtml('Numberformat'); ?></h2>
<h2><?= $this->getHtml('Numberformat', 'Admin', 'Backend'); ?></h2>
</div>
<!-- @question consider to change to input-control (/var/www/html/Karaka/Modules/Admin/Admin/Settings/Theme/Backend/settings.tpl.php)
@ -160,14 +160,14 @@ $temperatures = TemperatureType::getConstants();
<div class="flex-line">
<div>
<div class="form-group">
<label for="iDecimalPoint"><?= $this->getHtml('DecimalPoint'); ?></label>
<label for="iDecimalPoint"><?= $this->getHtml('DecimalPoint', 'Admin', 'Backend'); ?></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>
<label for="iThousandSep"><?= $this->getHtml('ThousandsSeparator', 'Admin', 'Backend'); ?></label>
<input form="fLocalization" id="iThousandSep" name="settings_thousands" type="text" value="<?= $this->printHtml($l11n->getThousands()); ?>" placeholder="," required>
</div>
</div>
@ -178,30 +178,30 @@ $temperatures = TemperatureType::getConstants();
<div class="col-xs-12 col-md-4">
<section class="portlet">
<div class="portlet-head"><?= $this->getHtml('Precision'); ?></div>
<div class="portlet-head"><?= $this->getHtml('Precision', 'Admin', 'Backend'); ?></div>
<div class="portlet-body">
<div class="form-group">
<label for="iPrecisionVeryShort"><?= $this->getHtml('VeryShort'); ?></label>
<label for="iPrecisionVeryShort"><?= $this->getHtml('VeryShort', 'Admin', 'Backend'); ?></label>
<input form="fLocalization" id="iPrecisionVeryShort" name="settings_precision_vs" value="<?= $l11n->getPrecision()['very_short']; ?>" type="number">
</div>
<div class="form-group">
<label for="iPrecisionShort"><?= $this->getHtml('Short'); ?></label>
<label for="iPrecisionShort"><?= $this->getHtml('Short', 'Admin', 'Backend'); ?></label>
<input form="fLocalization" id="iPrecisionLight" name="settings_precision_s" value="<?= $l11n->getPrecision()['short']; ?>" type="number">
</div>
<div class="form-group">
<label for="iPrecisionMedium"><?= $this->getHtml('Medium'); ?></label>
<label for="iPrecisionMedium"><?= $this->getHtml('Medium', 'Admin', 'Backend'); ?></label>
<input form="fLocalization" id="iPrecisionMedium" name="settings_precision_m" value="<?= $l11n->getPrecision()['medium']; ?>" type="number">
</div>
<div class="form-group">
<label for="iPrecisionLong"><?= $this->getHtml('Long'); ?></label>
<label for="iPrecisionLong"><?= $this->getHtml('Long', 'Admin', 'Backend'); ?></label>
<input form="fLocalization" id="iPrecisionLong" name="settings_precision_l" value="<?= $l11n->getPrecision()['long']; ?>" type="number">
</div>
<div class="form-group">
<label for="iPrecisionVeryLong"><?= $this->getHtml('VeryLong'); ?></label>
<label for="iPrecisionVeryLong"><?= $this->getHtml('VeryLong', 'Admin', 'Backend'); ?></label>
<input form="fLocalization" id="iPrecisionVeryLong" name="settings_precision_vl" value="<?= $l11n->getPrecision()['very_long']; ?>" type="number">
</div>
</div>
@ -210,10 +210,10 @@ $temperatures = TemperatureType::getConstants();
<div class="col-xs-12 col-md-4">
<section class="portlet">
<div class="portlet-head"><?= $this->getHtml('Weight'); ?></div>
<div class="portlet-head"><?= $this->getHtml('Weight', 'Admin', 'Backend'); ?></div>
<div class="portlet-body">
<div class="form-group">
<label for="iWeightVeryLight"><?= $this->getHtml('VeryLight'); ?></label>
<label for="iWeightVeryLight"><?= $this->getHtml('VeryLight', 'Admin', 'Backend'); ?></label>
<select form="fLocalization" id="iWeightVeryLight" name="settings_weight_vl">
<?php foreach ($weights as $code => $weight) : ?>
<option value="<?= $this->printHtml($weight); ?>"<?= $this->printHtml($weight === $l11n->getWeight()['very_light'] ? ' selected' : ''); ?>><?= $this->printHtml($weight); ?>
@ -222,7 +222,7 @@ $temperatures = TemperatureType::getConstants();
</div>
<div class="form-group">
<label for="iWeightLight"><?= $this->getHtml('Light'); ?></label>
<label for="iWeightLight"><?= $this->getHtml('Light', 'Admin', 'Backend'); ?></label>
<select form="fLocalization" id="iWeightLight" name="settings_weight_l">
<?php foreach ($weights as $code => $weight) : ?>
<option value="<?= $this->printHtml($weight); ?>"<?= $this->printHtml($weight === $l11n->getWeight()['light'] ? ' selected' : ''); ?>><?= $this->printHtml($weight); ?>
@ -231,7 +231,7 @@ $temperatures = TemperatureType::getConstants();
</div>
<div class="form-group">
<label for="iWeightMedium"><?= $this->getHtml('Medium'); ?></label>
<label for="iWeightMedium"><?= $this->getHtml('Medium', 'Admin', 'Backend'); ?></label>
<select form="fLocalization" id="iWeightMedium" name="settings_weight_m">
<?php foreach ($weights as $code => $weight) : ?>
<option value="<?= $this->printHtml($weight); ?>"<?= $this->printHtml($weight === $l11n->getWeight()['medium'] ? ' selected' : ''); ?>><?= $this->printHtml($weight); ?>
@ -240,7 +240,7 @@ $temperatures = TemperatureType::getConstants();
</div>
<div class="form-group">
<label for="iWeightHeavy"><?= $this->getHtml('Heavy'); ?></label>
<label for="iWeightHeavy"><?= $this->getHtml('Heavy', 'Admin', 'Backend'); ?></label>
<select form="fLocalization" id="iWeightHeavy" name="settings_weight_h">
<?php foreach ($weights as $code => $weight) : ?>
<option value="<?= $this->printHtml($weight); ?>"<?= $this->printHtml($weight === $l11n->getWeight()['heavy'] ? ' selected' : ''); ?>><?= $this->printHtml($weight); ?>
@ -249,7 +249,7 @@ $temperatures = TemperatureType::getConstants();
</div>
<div class="form-group">
<label for="iWeightVeryHeavy"><?= $this->getHtml('VeryHeavy'); ?></label>
<label for="iWeightVeryHeavy"><?= $this->getHtml('VeryHeavy', 'Admin', 'Backend'); ?></label>
<select form="fLocalization" id="iWeightVeryHeavy" name="settings_weight_vh">
<?php foreach ($weights as $code => $weight) : ?>
<option value="<?= $this->printHtml($weight); ?>"<?= $this->printHtml($weight === $l11n->getWeight()['very_heavy'] ? ' selected' : ''); ?>><?= $this->printHtml($weight); ?>
@ -262,10 +262,10 @@ $temperatures = TemperatureType::getConstants();
<div class="col-xs-12 col-md-4">
<section class="portlet">
<div class="portlet-head"><?= $this->getHtml('Speed'); ?></div>
<div class="portlet-head"><?= $this->getHtml('Speed', 'Admin', 'Backend'); ?></div>
<div class="portlet-body">
<div class="form-group">
<label for="iSpeedVerySlow"><?= $this->getHtml('VerySlow'); ?></label>
<label for="iSpeedVerySlow"><?= $this->getHtml('VerySlow', 'Admin', 'Backend'); ?></label>
<select form="fLocalization" id="iSpeedVerySlow" name="settings_speed_vs">
<?php foreach ($speeds as $code => $speed) : ?>
<option value="<?= $this->printHtml($speed); ?>"<?= $this->printHtml($speed === $l11n->getSpeed()['very_slow'] ? ' selected' : ''); ?>><?= $this->printHtml($speed); ?>
@ -274,7 +274,7 @@ $temperatures = TemperatureType::getConstants();
</div>
<div class="form-group">
<label for="iSpeedSlow"><?= $this->getHtml('Slow'); ?></label>
<label for="iSpeedSlow"><?= $this->getHtml('Slow', 'Admin', 'Backend'); ?></label>
<select form="fLocalization" id="iSpeedSlow" name="settings_speed_s">
<?php foreach ($speeds as $code => $speed) : ?>
<option value="<?= $this->printHtml($speed); ?>"<?= $this->printHtml($speed === $l11n->getSpeed()['slow'] ? ' selected' : ''); ?>><?= $this->printHtml($speed); ?>
@ -283,7 +283,7 @@ $temperatures = TemperatureType::getConstants();
</div>
<div class="form-group">
<label for="iSpeedMedium"><?= $this->getHtml('Medium'); ?></label>
<label for="iSpeedMedium"><?= $this->getHtml('Medium', 'Admin', 'Backend'); ?></label>
<select form="fLocalization" id="iSpeedMedium" name="settings_speed_m">
<?php foreach ($speeds as $code => $speed) : ?>
<option value="<?= $this->printHtml($speed); ?>"<?= $this->printHtml($speed === $l11n->getSpeed()['medium'] ? ' selected' : ''); ?>><?= $this->printHtml($speed); ?>
@ -292,7 +292,7 @@ $temperatures = TemperatureType::getConstants();
</div>
<div class="form-group">
<label for="iSpeedFast"><?= $this->getHtml('Fast'); ?></label>
<label for="iSpeedFast"><?= $this->getHtml('Fast', 'Admin', 'Backend'); ?></label>
<select form="fLocalization" id="iSpeedFast" name="settings_speed_f">
<?php foreach ($speeds as $code => $speed) : ?>
<option value="<?= $this->printHtml($speed); ?>"<?= $this->printHtml($speed === $l11n->getSpeed()['fast'] ? ' selected' : ''); ?>><?= $this->printHtml($speed); ?>
@ -301,7 +301,7 @@ $temperatures = TemperatureType::getConstants();
</div>
<div class="form-group">
<label for="iSpeedVeryFast"><?= $this->getHtml('VeryFast'); ?></label>
<label for="iSpeedVeryFast"><?= $this->getHtml('VeryFast', 'Admin', 'Backend'); ?></label>
<select form="fLocalization" id="iSpeedVeryFast" name="settings_speed_vf">
<?php foreach ($speeds as $code => $speed) : ?>
<option value="<?= $this->printHtml($speed); ?>"<?= $this->printHtml($speed === $l11n->getSpeed()['very_fast'] ? ' selected' : ''); ?>><?= $this->printHtml($speed); ?>
@ -310,7 +310,7 @@ $temperatures = TemperatureType::getConstants();
</div>
<div class="form-group">
<label for="iSpeedSea"><?= $this->getHtml('Sea'); ?></label>
<label for="iSpeedSea"><?= $this->getHtml('Sea', 'Admin', 'Backend'); ?></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); ?>
@ -323,10 +323,10 @@ $temperatures = TemperatureType::getConstants();
<div class="col-xs-12 col-md-4">
<section class="portlet">
<div class="portlet-head"><?= $this->getHtml('Length'); ?></div>
<div class="portlet-head"><?= $this->getHtml('Length', 'Admin', 'Backend'); ?></div>
<div class="portlet-body">
<div class="form-group">
<label for="iLengthVeryShort"><?= $this->getHtml('VeryShort'); ?></label>
<label for="iLengthVeryShort"><?= $this->getHtml('VeryShort', 'Admin', 'Backend'); ?></label>
<select form="fLocalization" id="iLengthVeryShort" name="settings_length_vs">
<?php foreach ($lengths as $code => $length) : ?>
<option value="<?= $this->printHtml($length); ?>"<?= $this->printHtml($length === $l11n->getLength()['very_short'] ? ' selected' : ''); ?>><?= $this->printHtml($length); ?>
@ -335,7 +335,7 @@ $temperatures = TemperatureType::getConstants();
</div>
<div class="form-group">
<label for="iLengthShort"><?= $this->getHtml('Short'); ?></label>
<label for="iLengthShort"><?= $this->getHtml('Short', 'Admin', 'Backend'); ?></label>
<select form="fLocalization" id="iLengthShort" name="settings_length_s">
<?php foreach ($lengths as $code => $length) : ?>
<option value="<?= $this->printHtml($length); ?>"<?= $this->printHtml($length === $l11n->getLength()['short'] ? ' selected' : ''); ?>><?= $this->printHtml($length); ?>
@ -344,7 +344,7 @@ $temperatures = TemperatureType::getConstants();
</div>
<div class="form-group">
<label for="iLengthMedium"><?= $this->getHtml('Medium'); ?></label>
<label for="iLengthMedium"><?= $this->getHtml('Medium', 'Admin', 'Backend'); ?></label>
<select form="fLocalization" id="iLengthMedium" name="settings_length_m">
<?php foreach ($lengths as $code => $length) : ?>
<option value="<?= $this->printHtml($length); ?>"<?= $this->printHtml($length === $l11n->getLength()['medium'] ? ' selected' : ''); ?>><?= $this->printHtml($length); ?>
@ -353,7 +353,7 @@ $temperatures = TemperatureType::getConstants();
</div>
<div class="form-group">
<label for="iLengthLong"><?= $this->getHtml('Long'); ?></label>
<label for="iLengthLong"><?= $this->getHtml('Long', 'Admin', 'Backend'); ?></label>
<select form="fLocalization" id="iLengthLong" name="settings_length_l">
<?php foreach ($lengths as $code => $length) : ?>
<option value="<?= $this->printHtml($length); ?>"<?= $this->printHtml($length === $l11n->getLength()['long'] ? ' selected' : ''); ?>><?= $this->printHtml($length); ?>
@ -362,7 +362,7 @@ $temperatures = TemperatureType::getConstants();
</div>
<div class="form-group">
<label for="iLengthVeryLong"><?= $this->getHtml('VeryLong'); ?></label>
<label for="iLengthVeryLong"><?= $this->getHtml('VeryLong', 'Admin', 'Backend'); ?></label>
<select form="fLocalization" id="iLengthVeryLong" name="settings_length_vl">
<?php foreach ($lengths as $code => $length) : ?>
<option value="<?= $this->printHtml($length); ?>"<?= $this->printHtml($length === $l11n->getLength()['very_long'] ? ' selected' : ''); ?>><?= $this->printHtml($length); ?>
@ -371,7 +371,7 @@ $temperatures = TemperatureType::getConstants();
</div>
<div class="form-group">
<label for="iLengthSea"><?= $this->getHtml('Sea'); ?></label>
<label for="iLengthSea"><?= $this->getHtml('Sea', 'Admin', 'Backend'); ?></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); ?>
@ -384,10 +384,10 @@ $temperatures = TemperatureType::getConstants();
<div class="col-xs-12 col-md-4">
<section class="portlet">
<div class="portlet-head"><?= $this->getHtml('Area'); ?></div>
<div class="portlet-head"><?= $this->getHtml('Area', 'Admin', 'Backend'); ?></div>
<div class="portlet-body">
<div class="form-group">
<label for="iAreaVerySmall"><?= $this->getHtml('VerySmall'); ?></label>
<label for="iAreaVerySmall"><?= $this->getHtml('VerySmall', 'Admin', 'Backend'); ?></label>
<select form="fLocalization" id="iAreaVerySmall" name="settings_area_vs">
<?php foreach ($areas as $code => $area) : ?>
<option value="<?= $this->printHtml($area); ?>"<?= $this->printHtml($area === $l11n->getArea()['very_small'] ? ' selected' : ''); ?>><?= $this->printHtml($area); ?>
@ -396,7 +396,7 @@ $temperatures = TemperatureType::getConstants();
</div>
<div class="form-group">
<label for="iAreaSmall"><?= $this->getHtml('Small'); ?></label>
<label for="iAreaSmall"><?= $this->getHtml('Small', 'Admin', 'Backend'); ?></label>
<select form="fLocalization" id="iAreaSmall" name="settings_area_s">
<?php foreach ($areas as $code => $area) : ?>
<option value="<?= $this->printHtml($area); ?>"<?= $this->printHtml($area === $l11n->getArea()['small'] ? ' selected' : ''); ?>><?= $this->printHtml($area); ?>
@ -405,7 +405,7 @@ $temperatures = TemperatureType::getConstants();
</div>
<div class="form-group">
<label for="iAreaMedium"><?= $this->getHtml('Medium'); ?></label>
<label for="iAreaMedium"><?= $this->getHtml('Medium', 'Admin', 'Backend'); ?></label>
<select form="fLocalization" id="iAreaMedium" name="settings_area_m">
<?php foreach ($areas as $code => $area) : ?>
<option value="<?= $this->printHtml($area); ?>"<?= $this->printHtml($area === $l11n->getArea()['medium'] ? ' selected' : ''); ?>><?= $this->printHtml($area); ?>
@ -414,7 +414,7 @@ $temperatures = TemperatureType::getConstants();
</div>
<div class="form-group">
<label for="iAreaLarge"><?= $this->getHtml('Large'); ?></label>
<label for="iAreaLarge"><?= $this->getHtml('Large', 'Admin', 'Backend'); ?></label>
<select form="fLocalization" id="iAreaLarge" name="settings_area_l">
<?php foreach ($areas as $code => $area) : ?>
<option value="<?= $this->printHtml($area); ?>"<?= $this->printHtml($area === $l11n->getArea()['large'] ? ' selected' : ''); ?>><?= $this->printHtml($area); ?>
@ -423,7 +423,7 @@ $temperatures = TemperatureType::getConstants();
</div>
<div class="form-group">
<label for="iAreaVeryLarge"><?= $this->getHtml('VeryLarge'); ?></label>
<label for="iAreaVeryLarge"><?= $this->getHtml('VeryLarge', 'Admin', 'Backend'); ?></label>
<select form="fLocalization" id="iAreaVeryLarge" name="settings_area_vl">
<?php foreach ($areas as $code => $area) : ?>
<option value="<?= $this->printHtml($area); ?>"<?= $this->printHtml($area === $l11n->getArea()['very_large'] ? ' selected' : ''); ?>><?= $this->printHtml($area); ?>
@ -436,10 +436,10 @@ $temperatures = TemperatureType::getConstants();
<div class="col-xs-12 col-md-4">
<section class="portlet">
<div class="portlet-head"><?= $this->getHtml('Volume'); ?></div>
<div class="portlet-head"><?= $this->getHtml('Volume', 'Admin', 'Backend'); ?></div>
<div class="portlet-body">
<div class="form-group">
<label for="iVolumeVerySmall"><?= $this->getHtml('VerySmall'); ?></label>
<label for="iVolumeVerySmall"><?= $this->getHtml('VerySmall', 'Admin', 'Backend'); ?></label>
<select form="fLocalization" id="iVolumeVerySmall" name="settings_volume_vs">
<?php foreach ($volumes as $code => $volume) : ?>
<option value="<?= $this->printHtml($volume); ?>"<?= $this->printHtml($volume === $l11n->getVolume()['very_small'] ? ' selected' : ''); ?>><?= $this->printHtml($volume); ?>
@ -448,7 +448,7 @@ $temperatures = TemperatureType::getConstants();
</div>
<div class="form-group">
<label for="iVolumeSmall"><?= $this->getHtml('Small'); ?></label>
<label for="iVolumeSmall"><?= $this->getHtml('Small', 'Admin', 'Backend'); ?></label>
<select form="fLocalization" id="iVolumeSmall" name="settings_volume_s">
<?php foreach ($volumes as $code => $volume) : ?>
<option value="<?= $this->printHtml($volume); ?>"<?= $this->printHtml($volume === $l11n->getVolume()['small'] ? ' selected' : ''); ?>><?= $this->printHtml($volume); ?>
@ -457,7 +457,7 @@ $temperatures = TemperatureType::getConstants();
</div>
<div class="form-group">
<label for="iVolumeMedium"><?= $this->getHtml('Medium'); ?></label>
<label for="iVolumeMedium"><?= $this->getHtml('Medium', 'Admin', 'Backend'); ?></label>
<select form="fLocalization" id="iVolumeMedium" name="settings_volume_m">
<?php foreach ($volumes as $code => $volume) : ?>
<option value="<?= $this->printHtml($volume); ?>"<?= $this->printHtml($volume === $l11n->getVolume()['medium'] ? ' selected' : ''); ?>><?= $this->printHtml($volume); ?>
@ -466,7 +466,7 @@ $temperatures = TemperatureType::getConstants();
</div>
<div class="form-group">
<label for="iVolumeLarge"><?= $this->getHtml('Large'); ?></label>
<label for="iVolumeLarge"><?= $this->getHtml('Large', 'Admin', 'Backend'); ?></label>
<select form="fLocalization" id="iVolumeLarge" name="settings_volume_l">
<?php foreach ($volumes as $code => $volume) : ?>
<option value="<?= $this->printHtml($volume); ?>"<?= $this->printHtml($volume === $l11n->getVolume()['large'] ? ' selected' : ''); ?>><?= $this->printHtml($volume); ?>
@ -475,7 +475,7 @@ $temperatures = TemperatureType::getConstants();
</div>
<div class="form-group">
<label for="iVolumeVeryLarge"><?= $this->getHtml('VeryLarge'); ?></label>
<label for="iVolumeVeryLarge"><?= $this->getHtml('VeryLarge', 'Admin', 'Backend'); ?></label>
<select form="fLocalization" id="iVolumeVeryLarge" name="settings_volume_vl">
<?php foreach ($volumes as $code => $volume) : ?>
<option value="<?= $this->printHtml($volume); ?>"<?= $this->printHtml($volume === $l11n->getVolume()['very_large'] ? ' selected' : ''); ?>><?= $this->printHtml($volume); ?>
@ -484,7 +484,7 @@ $temperatures = TemperatureType::getConstants();
</div>
<div class="form-group">
<label for="iVolumeTeaspoon"><?= $this->getHtml('Teaspoon'); ?></label>
<label for="iVolumeTeaspoon"><?= $this->getHtml('Teaspoon', 'Admin', 'Backend'); ?></label>
<select form="fLocalization" id="iVolumeTeaspoon" name="settings_volume_teaspoon">
<?php foreach ($volumes as $code => $volume) : ?>
<option value="<?= $this->printHtml($volume); ?>"<?= $this->printHtml($volume === $l11n->getVolume()['teaspoon'] ? ' selected' : ''); ?>><?= $this->printHtml($volume); ?>
@ -493,7 +493,7 @@ $temperatures = TemperatureType::getConstants();
</div>
<div class="form-group">
<label for="iVolumeTablespoon"><?= $this->getHtml('Tablespoon'); ?></label>
<label for="iVolumeTablespoon"><?= $this->getHtml('Tablespoon', 'Admin', 'Backend'); ?></label>
<select form="fLocalization" id="iVolumeTablespoon" name="settings_volume_tablespoon">
<?php foreach ($volumes as $code => $volume) : ?>
<option value="<?= $this->printHtml($volume); ?>"<?= $this->printHtml($volume === $l11n->getVolume()['tablespoon'] ? ' selected' : ''); ?>><?= $this->printHtml($volume); ?>
@ -502,7 +502,7 @@ $temperatures = TemperatureType::getConstants();
</div>
<div class="form-group">
<label for="iVolumeGlass"><?= $this->getHtml('Glass'); ?></label>
<label for="iVolumeGlass"><?= $this->getHtml('Glass', 'Admin', 'Backend'); ?></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); ?>