managefields.fieldsavailable = "Available fields"
managefields.fieldsfor = "Manage your fields for:"
+managegroups.groupmanagement = "Group management"
+managegroups.addormodify = "Add or modify a group"
+managegroups.input.description = global.description
+managegroups.input.name = global.name
+managegroups.input.delete = global.delete
+managegroups.input.save = global.save
+managegroups.input.delete.howto = "Warning: Content owned by this group will not be deleted and thus only manageable by admin!<br />Right now don't do this. Only if you are sure there is no usage of this group."
+managegroups.availablegroups = "Available groups"
+
global.add = "Add"
global.ascending = "Ascending"
global.clear = "Clear"
-<h3>Group management</h3>
-<h4>Add or modify a group</h4>
+<h3><?php echo $I18n->t('managegroups.groupmanagement'); ?></h3>
+<h4><?php echo $I18n->t('managegroups.addormodify'); ?></h4>
<form class="maxSizeForm" method="post">
<div class="field-row-stacked">
- <label for="name">Name *</label>
+ <label for="name"><?php echo $I18n->t('managegroups.input.name'); ?> *</label>
<input id="name" type="text" autocomplete="off" name="fdata[name]"
value="<?php echo $TemplateData['editData']['name'] ?? ''; ?>">
</div>
<div class="field-row-stacked">
- <label for="description">Description *</label>
+ <label for="description"><?php echo $I18n->t('managegroups.input.description'); ?> *</label>
<input id="description" type="text" autocomplete="off" name="fdata[description]"
value="<?php echo $TemplateData['editData']['description'] ?? ''; ?>">
</div>
<?php if(isset($TemplateData['editData']['name']) && (($TemplateData['editData']['protected'] ?? '') == '0' ? true : false)) { ?>
<div class="field-row-stacked">
<p>
- Warning: Content owned by this group will not be deleted and thus only manageable by admin!<br />
- Right now don't do this. Only if you are sure there is no usage of this group.
+ <?php echo $I18n->t('managegroups.input.delete.howto'); ?>
</p>
</div>
<div class="field-row-stacked">
<input id="doDelete" type="checkbox" name="fdata[doDelete]" value="1">
- <label for="doDelete">Delete</label>
+ <label for="doDelete"><?php echo $I18n->t('managegroups.input.delete'); ?></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('managegroups.input.save'); ?>" />
</div>
</form>
-<h4>Available groups</h4>
+<h4><?php echo $I18n->t('managegroups.availablegroups'); ?></h4>
<div class="sunken-panel">
<table width="100%">
<thead>
<tr>
- <th width="200px">Name</th>
- <th>Created</th>
- <th>Description</th>
+ <th width="200px"><?php echo $I18n->t('global.name'); ?></th>
+ <th><?php echo $I18n->t('global.created'); ?></th>
+ <th><?php echo $I18n->t('global.description'); ?></th>
<th></th>
</tr>
</thead>
<td><?php echo $v['created']; ?></td>
<td><?php echo $v['description']; ?></td>
<td>
- <a href="index.php?p=managegroups&m=edit&id=<?php echo $k; ?>">Edit</a>
+ <a href="index.php?p=managegroups&m=edit&id=<?php echo $k; ?>"><?php echo $I18n->t('global.edit'); ?></a>
</td>
</tr>
<?php } ?>
-<h3 class="uk-h3">Group management</h3>
+<h3 class="uk-h3"><?php echo $I18n->t('managegroups.groupmanagement'); ?></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 group</h4>
+ <h4 class="uk-h4"><?php echo $I18n->t('managegroups.addormodify'); ?></h4>
<form class="uk-form-horizontal uk-margin-small" method="post">
<div class="uk-margin">
- <label class="uk-form-label" for="name">Name *</label>
+ <label class="uk-form-label" for="name"><?php echo $I18n->t('managegroups.input.name'); ?> *</label>
<div class="uk-form-controls">
<input class="uk-input" id="name" type="text" autocomplete="off" name="fdata[name]"
value="<?php echo $TemplateData['editData']['name'] ?? ''; ?>">
</div>
</div>
<div class="uk-margin">
- <label class="uk-form-label" for="description">Description *</label>
+ <label class="uk-form-label" for="description"><?php echo $I18n->t('managegroups.input.description'); ?> *</label>
<div class="uk-form-controls">
<input class="uk-input" id="description" type="text" autocomplete="off" name="fdata[description]"
value="<?php echo $TemplateData['editData']['description'] ?? ''; ?>">
<?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('managegroups.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 group will not be deleted and thus only manageable by admin!<br />
- Right now don't do this. Only if you are sure there is no usage of this group.
+ <?php echo $I18n->t('managegroups.input.delete.howto'); ?>
</label>
</div>
</div>
<?php } ?>
<div class="uk-margin">
<button class="uk-button uk-button-primary" type="submit" name="submitForm">
- Save
+ <?php echo $I18n->t('managegroups.input.save'); ?>
</button>
</div>
</form>
</div>
<div class="uk-width-1-2">
- <h4 class="uk-h4">Available groups</h4>
+ <h4 class="uk-h4"><?php echo $I18n->t('managegroups.availablegroups'); ?></h4>
<table class="uk-table">
<thead>
<tr>
- <th>Name</th>
- <th>Description</th>
+ <th><?php echo $I18n->t('global.name'); ?></th>
+ <th><?php echo $I18n->t('global.description'); ?></th>
<th></th>
</tr>
</thead>