mirror of
https://github.com/Karaka-Management/oms-Admin.git
synced 2026-02-17 04:48:40 +00:00
Change path
This commit is contained in:
parent
43cd7cbaf7
commit
399f9fe315
|
|
@ -32,8 +32,18 @@ $timezones = \phpOMS\Localization\TimeZoneEnumArray::getConstants();
|
||||||
$timeformats = \phpOMS\Localization\ISO8601EnumArray::getConstants();
|
$timeformats = \phpOMS\Localization\ISO8601EnumArray::getConstants();
|
||||||
$languages = \phpOMS\Localization\ISO639Enum::getConstants();
|
$languages = \phpOMS\Localization\ISO639Enum::getConstants();
|
||||||
$currencies = \phpOMS\Localization\ISO4217Enum::getConstants();
|
$currencies = \phpOMS\Localization\ISO4217Enum::getConstants();
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
<div class="tabular-2">
|
||||||
|
<div class="box">
|
||||||
|
<ul class="tab-links">
|
||||||
|
<li><label for="c-tab-1"><?= $this->getText('General') ?></label></li>
|
||||||
|
<li><label for="c-tab-2"><?= $this->getText('Localization') ?></label></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div class="tab-content">
|
||||||
|
<input type="radio" id="c-tab-1" name="tabular-2" checked>
|
||||||
|
<div class="tab">
|
||||||
<section class="box w-50 floatLeft">
|
<section class="box w-50 floatLeft">
|
||||||
<header><h1><?= $this->getText('Settings') ?></h1></header>
|
<header><h1><?= $this->getText('Settings') ?></h1></header>
|
||||||
<div class="inner">
|
<div class="inner">
|
||||||
|
|
@ -49,11 +59,13 @@ $currencies = \phpOMS\Localization\ISO4217Enum::getConstants();
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
</div>
|
||||||
<section class="box w-50 floatLeft">
|
<input type="radio" id="c-tab-2" name="tabular-2">
|
||||||
|
<div class="tab">
|
||||||
|
<section class="box w-33 floatLeft">
|
||||||
<header><h1><?= $this->getText('Localization') ?></h1></header>
|
<header><h1><?= $this->getText('Localization') ?></h1></header>
|
||||||
<div class="inner">
|
<div class="inner">
|
||||||
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/admin/settings/localization'); ?>" method="post">
|
<form id="fLocalization" action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/admin/settings/localization'); ?>" method="post">
|
||||||
<table class="layout wf-100">
|
<table class="layout wf-100">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr><td colspan="2"><label for="iCountries"><?= $this->getText('Country') ?></label>
|
<tr><td colspan="2"><label for="iCountries"><?= $this->getText('Country') ?></label>
|
||||||
|
|
@ -80,19 +92,180 @@ $currencies = \phpOMS\Localization\ISO4217Enum::getConstants();
|
||||||
<option value="<?= $code; ?>"<?= strtolower($code) == strtolower($_language) ? ' selected' : ''; ?>><?= $language; ?>
|
<option value="<?= $code; ?>"<?= strtolower($code) == strtolower($_language) ? ' selected' : ''; ?>><?= $language; ?>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
</select>
|
</select>
|
||||||
<tr><td colspan="2"><label for="iCurrencies"><?= $this->getText('Currency') ?></label>
|
<tr><td colspan="2"><label for="iTemperature"><?= $this->getText('Temperature') ?></label>
|
||||||
<tr><td colspan="2"><select id="iCurrencies" name="currency">
|
<tr><td colspan="2"><select id="iTemperature" name="temperature">
|
||||||
<?php foreach($currencies as $code => $currency) : ?>
|
|
||||||
<option value="<?= $code; ?>"<?= strtolower($code) == strtolower($_currency) ? ' selected' : ''; ?>><?= $currency[0]; ?>
|
|
||||||
<?php endforeach; ?>
|
|
||||||
</select>
|
</select>
|
||||||
<tr><td colspan="2"><h2><?= $this->getText('Numberformat') ?></h2>
|
|
||||||
<tr><td><label for="iDecimalPoint"><?= $this->getText('DecimalPoint') ?></label>
|
|
||||||
<td><label for="iThousandSep"><?= $this->getText('ThousandsSeparator') ?></label>
|
|
||||||
<tr><td><input id="iDecimalPoint" name="decimalpoint" type="text" value="<?= $_decimal_point; ?>" placeholder="." required>
|
|
||||||
<td><input id="iThousandSep" name="thousandsep" type="text" value="<?= $_thousands_sep; ?>" placeholder="," required>
|
|
||||||
<tr><td colspan="2"><input type="submit" value="<?= $this->getText('Save', 0) ?>">
|
<tr><td colspan="2"><input type="submit" value="<?= $this->getText('Save', 0) ?>">
|
||||||
</table>
|
</table>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
<section class="box w-33 floatLeft">
|
||||||
|
<header><h1><?= $this->getText('Numeric') ?></h1></header>
|
||||||
|
<div class="inner">
|
||||||
|
<form>
|
||||||
|
<table class="layout wf-100">
|
||||||
|
<tr><td colspan="2"><label for="iCurrencies"><?= $this->getText('Currency') ?></label>
|
||||||
|
<tr><td colspan="2"><select form="fLocalization" id="iCurrencies" name="currency">
|
||||||
|
<?php foreach($currencies as $code => $currency) : ?>
|
||||||
|
<option value="<?= $code; ?>"<?= strtolower($code) == strtolower($_currency) ? ' selected' : ''; ?>><?= $currency; ?>
|
||||||
|
<?php endforeach; ?>
|
||||||
|
</select>
|
||||||
|
<tr><td colspan="2"><h2><?= $this->getText('Numberformat') ?></h2>
|
||||||
|
<tr><td><label for="iDecimalPoint"><?= $this->getText('DecimalPoint') ?></label>
|
||||||
|
<td><label for="iThousandSep"><?= $this->getText('ThousandsSeparator') ?></label>
|
||||||
|
<tr><td><input form="fLocalization" id="iDecimalPoint" name="decimalpoint" type="text" value="<?= $_decimal_point; ?>" placeholder="." required>
|
||||||
|
<td><input form="fLocalization" id="iThousandSep" name="thousandsep" type="text" value="<?= $_thousands_sep; ?>" placeholder="," required>
|
||||||
|
</table>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section class="box w-33 floatLeft">
|
||||||
|
<header><h1><?= $this->getText('Weight') ?></h1></header>
|
||||||
|
<div class="inner">
|
||||||
|
<form>
|
||||||
|
<table class="layout wf-100">
|
||||||
|
<tbody>
|
||||||
|
<tr><label for="iVeryLight"><?= $this->getText('VeryLight') ?></label>
|
||||||
|
<tr><select form="fLocalization" id="iVeryLight" name="very_light">
|
||||||
|
</select>
|
||||||
|
<tr><label for="iLight"><?= $this->getText('Light') ?></label>
|
||||||
|
<tr><select form="fLocalization" id="iLight" name="light">
|
||||||
|
</select>
|
||||||
|
<tr><label for="iMedium"><?= $this->getText('Medium') ?></label>
|
||||||
|
<tr><select form="fLocalization" id="iMedium" name="medium">
|
||||||
|
</select>
|
||||||
|
<tr><label for="iHeavy"><?= $this->getText('Heavy') ?></label>
|
||||||
|
<tr><select form="fLocalization" id="iHeavy" name="heavy">
|
||||||
|
</select>
|
||||||
|
<tr><label for="iVeryHeavy"><?= $this->getText('VeryHeavy') ?></label>
|
||||||
|
<tr><select form="fLocalization" id="iVeryHeavy" name="very_heavy">
|
||||||
|
</select>
|
||||||
|
</table>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section class="box w-33 floatLeft">
|
||||||
|
<header><h1><?= $this->getText('Speed') ?></h1></header>
|
||||||
|
<div class="inner">
|
||||||
|
<form>
|
||||||
|
<table class="layout wf-100">
|
||||||
|
<tbody>
|
||||||
|
<tr><label for="iVerySlow"><?= $this->getText('VerySlow') ?></label>
|
||||||
|
<tr><select form="fLocalization" id="iVerySlow" name="very_slow">
|
||||||
|
</select>
|
||||||
|
<tr><label for="iSlow"><?= $this->getText('Slow') ?></label>
|
||||||
|
<tr><select form="fLocalization" id="iSlow" name="slow">
|
||||||
|
</select>
|
||||||
|
<tr><label for="iMedium"><?= $this->getText('Medium') ?></label>
|
||||||
|
<tr><select form="fLocalization" id="iMedium" name="medium">
|
||||||
|
</select>
|
||||||
|
<tr><label for="iFast"><?= $this->getText('Fast') ?></label>
|
||||||
|
<tr><select form="fLocalization" id="iFast" name="fast">
|
||||||
|
</select>
|
||||||
|
<tr><label for="iVeryFast"><?= $this->getText('VeryFast') ?></label>
|
||||||
|
<tr><select form="fLocalization" id="iVeryFast" name="very_fast">
|
||||||
|
</select>
|
||||||
|
<tr><label for="iSeaSpeed"><?= $this->getText('Sea') ?></label>
|
||||||
|
<tr><select form="fLocalization" id="iSeaSpeed" name="sea_speed">
|
||||||
|
</select>
|
||||||
|
</table>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section class="box w-33 floatLeft">
|
||||||
|
<header><h1><?= $this->getText('Length') ?></h1></header>
|
||||||
|
<div class="inner">
|
||||||
|
<form>
|
||||||
|
<table class="layout wf-100">
|
||||||
|
<tbody>
|
||||||
|
<tr><label for="iVeryShort"><?= $this->getText('VeryShort') ?></label>
|
||||||
|
<tr><select form="fLocalization" id="iVeryShort" name="very_short">
|
||||||
|
</select>
|
||||||
|
<tr><label for="iShort"><?= $this->getText('Short') ?></label>
|
||||||
|
<tr><select form="fLocalization" id="iShort" name="short">
|
||||||
|
</select>
|
||||||
|
<tr><label for="iMedium"><?= $this->getText('Medium') ?></label>
|
||||||
|
<tr><select form="fLocalization" id="iMedium" name="medium">
|
||||||
|
</select>
|
||||||
|
<tr><label for="iLong"><?= $this->getText('Long') ?></label>
|
||||||
|
<tr><select form="fLocalization" id="iLong" name="long">
|
||||||
|
</select>
|
||||||
|
<tr><label for="iVeryLong"><?= $this->getText('VeryLong') ?></label>
|
||||||
|
<tr><select form="fLocalization" id="iVeryLong" name="very_long">
|
||||||
|
</select>
|
||||||
|
<tr><label for="iSeaLength"><?= $this->getText('Sea') ?></label>
|
||||||
|
<tr><select form="fLocalization" id="iSeaLength" name="sea_length">
|
||||||
|
</select>
|
||||||
|
</table>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section class="box w-33 floatLeft">
|
||||||
|
<header><h1><?= $this->getText('Area') ?></h1></header>
|
||||||
|
<div class="inner">
|
||||||
|
<form>
|
||||||
|
<table class="layout wf-100">
|
||||||
|
<tbody>
|
||||||
|
<tr><label for="iVerySmall"><?= $this->getText('VerySmall') ?></label>
|
||||||
|
<tr><select form="fLocalization" id="iVerySmall" name="very_small">
|
||||||
|
</select>
|
||||||
|
<tr><label for="iSmall"><?= $this->getText('Small') ?></label>
|
||||||
|
<tr><select form="fLocalization" id="iSmall" name="small">
|
||||||
|
</select>
|
||||||
|
<tr><label for="iMedium"><?= $this->getText('Medium') ?></label>
|
||||||
|
<tr><select form="fLocalization" id="iMedium" name="medium">
|
||||||
|
</select>
|
||||||
|
<tr><label for="iLarge"><?= $this->getText('Large') ?></label>
|
||||||
|
<tr><select form="fLocalization" id="iLarge" name="large">
|
||||||
|
</select>
|
||||||
|
<tr><label for="iVeryLarge"><?= $this->getText('VeryLarge') ?></label>
|
||||||
|
<tr><select form="fLocalization" id="iVeryLarge" name="very_large">
|
||||||
|
</select>
|
||||||
|
</table>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section class="box w-33 floatLeft">
|
||||||
|
<header><h1><?= $this->getText('Volume') ?></h1></header>
|
||||||
|
<div class="inner">
|
||||||
|
<form>
|
||||||
|
<table class="layout wf-100">
|
||||||
|
<tbody>
|
||||||
|
<tr><label for="iVerySmall"><?= $this->getText('VerySmall') ?></label>
|
||||||
|
<tr><select form="fLocalization" id="iVerySmall" name="very_small">
|
||||||
|
</select>
|
||||||
|
<tr><label for="iSmall"><?= $this->getText('Small') ?></label>
|
||||||
|
<tr><select form="fLocalization" id="iSmall" name="small">
|
||||||
|
</select>
|
||||||
|
<tr><label for="iMedium"><?= $this->getText('Medium') ?></label>
|
||||||
|
<tr><select form="fLocalization" id="iMedium" name="medium">
|
||||||
|
</select>
|
||||||
|
<tr><label for="iLarge"><?= $this->getText('Large') ?></label>
|
||||||
|
<tr><select form="fLocalization" id="iLarge" name="large">
|
||||||
|
</select>
|
||||||
|
<tr><label for="iVeryLarge"><?= $this->getText('VeryLarge') ?></label>
|
||||||
|
<tr><select form="fLocalization" id="iVeryLarge" name="very_large">
|
||||||
|
</select>
|
||||||
|
<tr><label for="iTeaspoon"><?= $this->getText('Teaspoon') ?></label>
|
||||||
|
<tr><select form="fLocalization" id="iTeaspoon" name="teaspoon">
|
||||||
|
</select>
|
||||||
|
<tr><label for="iTablespoon"><?= $this->getText('Tablespoon') ?></label>
|
||||||
|
<tr><select form="fLocalization" id="iTablespoon" name="tablespoon">
|
||||||
|
</select>
|
||||||
|
<tr><label for="iGlass"><?= $this->getText('Glass') ?></label>
|
||||||
|
<tr><select form="fLocalization" id="iGlass" name="glass">
|
||||||
|
</select>
|
||||||
|
</table>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user