managetags.rename = "Rename"
managetags.delete = global.delete
+manageuser.usermanagement = "User management"
+manageuser.addormodify = "Add or modify a user"
+manageuser.input.maingroup = "Main group"
+manageuser.input.addgroups = "Additional groups"
+manageuser.input.canloging = "Can login"
+manageuser.input.delete = global.delete
+manageuser.input.delete.howto = "Warning: Content owned by this user will not be deleted and thus only manageable by admin!<br />Better disable the user if there is content."
+manageuser.input.apitoken = "Create API Token"
+manageuser.input.apitoken.valid = "Valid until:"
+manageuser.availableusers = "Available users"
+manageuser.groups = "Group(s)"
+manageuser.status = "Status"
+manageuser.created = global.created
+
global.add = "Add"
global.ascending = "Ascending"
global.clear = "Clear"
-<h3>User management</h3>
-<h4>Add or modify a user</h4>
+<h3><?php echo $I18n->t('manageuser.usermanagement'); ?></h3>
+<h4><?php echo $I18n->t('manageuser.addormodify'); ?></h4>
<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('manageuser.input.maingroup'); ?> *</label>
<select id="group" name="fdata[group]">
- <option value="">Please select</option>
+ <option value=""><?php echo $I18n->t('global.none'); ?></option>
<?php foreach($TemplateData['existingGroups'] as $k=>$v) { ?>
<option value="<?php echo $k; ?>"
<?php ($TemplateData['editData']['baseGroupId'] ?? '') == $k ? 'selected' : ''; ?>
</select>
</div>
<div class="field-row-stacked">
- <label for="groups">Additional groups</label>
+ <label for="groups"><?php echo $I18n->t('manageuser.input.addgroups'); ?></label>
<select id="groups" name="fdata[groups][]" multiple="multiple"
size="5">
- <option value="">None</option>
+ <option value=""><?php echo $I18n->t('global.none'); ?></option>
<?php foreach($TemplateData['existingGroups'] as $k=>$v) { ?>
<option value="<?php echo $k; ?>"
<?php if(isset($TemplateData['editData']['groups'][$k])) echo 'selected'; ?>
<div class="field-row-stacked">
<input id="active" type="checkbox" name="fdata[active]" value="1"
<?php if(isset($TemplateData['editData']['active'])) echo "checked"; ?>>
- <label for="active">Can login</label>
+ <label for="active"><?php echo $I18n->t('manageuser.input.canloging'); ?></label>
</div>
<?php if(isset($TemplateData['editData']['name']) && (($TemplateData['editData']['protected'] ?? '') == '0' ? true : false)) { ?>
<div class="field-row-stacked">
<input id="delete" type="checkbox" name="fdata[doDelete]" value="1">
- <label for="delete">Delete.</label>
- Warning: Content owned by this user will not be deleted and thus only manageable by admin! Better disable the user if there is content.</label>
+ <label for="delete"><?php echo $I18n->t('manageuser.input.delete'); ?></label>
+ <?php echo $I18n->t('manageuser.input.delete.howto'); ?>
</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('manageuser.input.apitoken'); ?></label>
</div>
<div class="field-row-stacked">
<label>
- Current Token: <?php echo $TemplateData['editData']['apiToken'] ?? ''; ?><br />
- Valid until: <?php echo $TemplateData['editData']['apiTokenValidDate'] ?? ''; ?>
+ <?php echo $I18n->t('manageuser.input.apitoken.current'); ?> <?php echo $TemplateData['editData']['apiToken'] ?? ''; ?><br />
+ <?php echo $I18n->t('manageuser.input.apitoken.valid'); ?> <?php echo $TemplateData['editData']['apiTokenValidDate'] ?? ''; ?>
</label>
</div>
<?php } ?>
<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>
-<h4>Available users</h4>
+<h4><?php echo $I18n->t('manageuser.availableusers'); ?></h4>
<div class="sunken-panel">
<table width="100%">
<thead>
<tr>
<th><?php echo $I18n->t('global.login'); ?></th>
- <th>Created</th>
+ <th><?php echo $I18n->t('manageuser.created'); ?></th>
<th><?php echo $I18n->t('global.username'); ?></th>
- <th>Group(s)</th>
- <th>Status</th>
+ <th><?php echo $I18n->t('manageuser.groups'); ?></th>
+ <th><?php echo $I18n->t('manageuser.status'); ?></th>
<th></th>
</tr>
</thead>
-<h3 class="uk-h3">User management</h3>
+<h3 class="uk-h3"><?php echo $I18n->t('manageuser.usermanagement'); ?></h3>
<div class="uk-grid-small uk-grid-row-small uk-grid-row-small" uk-grid>
<div class="uk-width-1-2">
- <h4 class="uk-h4">Add or modify a user</h4>
+ <h4 class="uk-h4"><?php echo $I18n->t('manageuser.addormodify'); ?></h4>
<form class="uk-form-horizontal uk-margin-small" method="post">
<div class="uk-margin">
<label class="uk-form-label" for="username"><?php echo $I18n->t('global.username'); ?> *</label>
</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('manageuser.input.maingroup'); ?> *</label>
<div class="uk-form-controls">
<select class="uk-select" id="group" name="fdata[group]">
- <option value="">Please select</option>
+ <option value=""><?php echo $I18n->t('global.pleaseselect'); ?></option>
<?php foreach($TemplateData['existingGroups'] as $k=>$v) { ?>
<option value="<?php echo $k; ?>"
<?php echo ($TemplateData['editData']['baseGroupId'] ?? '') == $k ? 'selected' : ''; ?>
</div>
</div>
<div class="uk-margin">
- <label class="uk-form-label" for="groups">Additional groups</label>
+ <label class="uk-form-label" for="groups"><?php echo $I18n->t('manageuser.input.addgroups'); ?></label>
<div class="uk-form-controls">
<select class="uk-select" id="groups" name="fdata[groups][]" multiple="multiple"
size="5">
- <option value="">None</option>
+ <option value=""><?php echo $I18n->t('global.none'); ?></option>
<?php foreach($TemplateData['existingGroups'] as $k=>$v) { ?>
<option value="<?php echo $k; ?>"
<?php if(isset($TemplateData['editData']['groups'][$k])) echo 'selected'; ?>
</div>
</div>
<div class="uk-margin">
- <div class="uk-form-label">Can login</div>
+ <div class="uk-form-label"><?php echo $I18n->t('manageuser.input.canloging'); ?></div>
<div class="uk-form-controls uk-form-controls-text">
<label>
<input class="uk-checkbox" type="checkbox" name="fdata[active]" value="1"
</div>
<?php if(isset($TemplateData['editData']['name']) && (($TemplateData['editData']['protected'] ?? '') == '0' ? true : false)) { ?>
<div class="uk-margin">
- <div class="uk-form-label">Delete <span uk-icon="warning"></span></div>
+ <div class="uk-form-label"><?php echo $I18n->t('manageuser.input.delete'); ?> <span uk-icon="warning"></span></div>
<div class="uk-form-controls uk-form-controls-text">
<label>
<input class="uk-checkbox" type="checkbox" name="fdata[doDelete]" value="1">
- Warning: Content owned by this user will not be deleted and thus only manageable by admin!<br />
- Better disable the user if there is content.
+ <?php echo $I18n->t('manageuser.input.delete.howto'); ?>
</label>
</div>
</div>
<div class="uk-margin">
- <div class="uk-form-label">Create API Token</div>
+ <div class="uk-form-label"><?php echo $I18n->t('manageuser.input.apitoken'); ?></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 />
+ <?php echo $I18n->t('manageuser.input.apitoken.valid'); ?> <?php echo $TemplateData['editData']['apiTokenValidDate'] ?? ''; ?><br />
<?php echo $TemplateData['editData']['apiToken'] ?? ''; ?>
</label>
</div>
<?php } ?>
<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>
</div>
<div class="uk-width-1-2">
- <h4 class="uk-h4">Available users</h4>
+ <h4 class="uk-h4"><?php echo $I18n->t('manageuser.availableusers'); ?></h4>
<table class="uk-table">
<thead>
<tr>
<th><?php echo $I18n->t('global.login'); ?></th>
<th><?php echo $I18n->t('global.username'); ?></th>
- <th>Group(s)</th>
- <th>Status</th>
+ <th><?php echo $I18n->t('manageuser.groups'); ?></th>
+ <th><?php echo $I18n->t('manageuser.status'); ?></th>
<th></th>
</tr>
</thead>