manageuser.groups = "Group(s)"
manageuser.status = "Status"
manageuser.created = global.created
+manageuser.input.apitoken.current = "Current Token:"
+
+profile.yourprofile = "Manage your profile"
+profile.input.maingroup = "Main group"
+profile.input.addgroups = "Additional groups"
+profile.input.createtoken = "Create API Token"
+profile.input.apitoken.valid = manageuser.input.apitoken.valid
+profile.input.apitoken.current = manageuser.input.apitoken.current
global.add = "Add"
global.ascending = "Ascending"
-<h3>Manage your profile</h3>
+<h3><?php echo $I18n->t('profile.yourprofile'); ?></h3>
<form method="post" class="maxSizeForm">
<div class="field-row-stacked">
<input id="password" type="password" autocomplete="off" name="fdata[password]">
</div>
<div class="field-row-stacked">
- <label for="group">Main group</label>
+ <label for="group"><?php echo $I18n->t('profile.input.maingroup'); ?></label>
<input id="group" type="text" name="fdata[group]" disabled
value="<?php echo $TemplateData['editData']['baseGroupName'] ?? ''; ?>">
</div>
<div class="field-row-stacked">
- <label for="additionalGroups">Additional groups</label>
+ <label for="additionalGroups"><?php echo $I18n->t('profile.input.addgroups'); ?></label>
<select multiple="multiple" size="5" id="additionalGroups" name="fdata[additionalGroups]" disabled>
<?php
foreach($TemplateData['editData']['groups'] as $k=>$v) {
</div>
<div class="field-row-stacked">
<input id="refreshApiToken" type="checkbox" name="fdata[refreshApiToken]" value="1">
- <label for="refreshApiToken">Create API Token</label>
+ <label for="refreshApiToken"><?php echo $I18n->t('profile.input.createtoken'); ?></label>
</div>
<div class="field-row-stacked">
<label>
- Valid until: <?php echo $TemplateData['editData']['apiTokenValidDate'] ?? ''; ?><br />
- Token: <?php echo $TemplateData['editData']['apiToken'] ?? ''; ?>
+ <?php echo $I18n->t('profile.input.apitoken.valid'); ?> <?php echo $TemplateData['editData']['apiTokenValidDate'] ?? ''; ?><br />
+ <?php echo $I18n->t('profile.input.apitoken.current'); ?> <?php echo $TemplateData['editData']['apiToken'] ?? ''; ?>
</label>
</div>
<div class="field-row-stacked">
- <input type="submit" name="submitForm" value="Save">
+ <input type="submit" name="submitForm" value="<?php echo $I18n->t('global.save'); ?>">
</div>
</form>
-<h3 class="uk-h3">Manage your profile</h3>
+<h3 class="uk-h3"><?php echo $I18n->t('profile.yourprofile'); ?></h3>
<div class="uk-grid-small uk-grid-row-small uk-grid-row-small" uk-grid>
<div class="uk-width-1-2">
<form class="uk-form-horizontal uk-margin-small" method="post">
</div>
</div>
<div class="uk-margin">
- <label class="uk-form-label" for="group">Main group</label>
+ <label class="uk-form-label" for="group"><?php echo $I18n->t('profile.input.maingroup'); ?></label>
<div class="uk-form-controls">
<input class="uk-input" id="group" type="text" name="fdata[group]" disabled
value="<?php echo $TemplateData['editData']['baseGroupName'] ?? ''; ?>"
</div>
</div>
<div class="uk-margin">
- <label class="uk-form-label" for="additionalGroups">Additional groups</label>
+ <label class="uk-form-label" for="additionalGroups"><?php echo $I18n->t('profile.input.addgroups'); ?></label>
<div class="uk-form-controls">
<select class="uk-select" multiple="multiple" size="5" id="additionalGroups" name="fdata[additionalGroups]" disabled>
<?php
</div>
</div>
<div class="uk-margin">
- <div class="uk-form-label">Create API Token</div>
+ <div class="uk-form-label"><?php echo $I18n->t('profile.input.createtoken'); ?></div>
<div class="uk-form-controls uk-form-controls-text">
<label>
<input class="uk-checkbox" type="checkbox" name="fdata[refreshApiToken]" value="1"><br />
- Valid until: <?php echo $TemplateData['editData']['apiTokenValidDate'] ?? ''; ?><br />
- Key: <?php echo $TemplateData['editData']['apiToken'] ?? ''; ?>
+ <?php echo $I18n->t('profile.input.apitoken.valid'); ?> <?php echo $TemplateData['editData']['apiTokenValidDate'] ?? ''; ?><br />
+ <?php echo $I18n->t('profile.input.apitoken.current'); ?> <?php echo $TemplateData['editData']['apiToken'] ?? ''; ?>
</label>
</div>
</div>
<div class="uk-margin">
<button class="uk-button uk-button-primary" type="submit" name="submitForm">
- Save
+ <?php echo $I18n->t('global.save'); ?>
</button>
</div>
</form>