Localization fix

This commit is contained in:
Dennis Eichhorn 2016-10-17 22:00:09 +02:00
parent 240d7ff853
commit e2f81eb07a
2 changed files with 3 additions and 3 deletions

View File

@ -55,7 +55,7 @@ $id = $this->request->getData('id') ?? 1;
<button data-reload="<?= \phpOMS\Uri\UriFactory::build('POST:/{/lang}/backend/admin/module/deactivate?id=' . $id); ?>"><?= $this->getText('Activate') ?></button>
<?php elseif (isset($modules[$id])) : ?>
<button data-reload="<?= \phpOMS\Uri\UriFactory::build('PUT:/{/lang}/backend/admin/module/install?id=' . $id); ?>"><?= $this->getText('Install') ?></button>
<button data-reload="<?= \phpOMS\Uri\UriFactory::build('DELETE:/{/lang}/backend/admin/module/delete?id=' . $id); ?>"><?= $this->getText('Delete') ?></button>
<button data-reload="<?= \phpOMS\Uri\UriFactory::build('DELETE:/{/lang}/backend/admin/module/delete?id=' . $id); ?>"><?= $this->getText('Delete', 0) ?></button>
<?php endif; ?>
</table>
</div>

View File

@ -44,7 +44,7 @@ $currencies = \phpOMS\Localization\ISO4217Enum::getConstants();
<tr><td><input id="iOname" name="oname" type="text" value="<?= $_oname; ?>" placeholder="&#xf12e; Money Bin" required>
<tr><td><label for="iPassword"><?= $this->getText('PasswordRegex') ?></label>
<tr><td><input id="iPassword" name="passpattern" type="text" value="<?= $_password; ?>" placeholder="&#xf023; ^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[$@$!%*?&;:\(\)\[\]=\{\}\+\-])[A-Za-z\d$@$!%*?&;:\(\)\[\]=\{\}\+\-]{8,}">
<tr><td><input type="submit" value="<?= $this->getText('Save') ?>">
<tr><td><input type="submit" value="<?= $this->getText('Save', 0) ?>">
</table>
</form>
</div>
@ -91,7 +91,7 @@ $currencies = \phpOMS\Localization\ISO4217Enum::getConstants();
<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') ?>">
<tr><td colspan="2"><input type="submit" value="<?= $this->getText('Save', 0) ?>">
</table>
</form>
</div>