managecol.managecol = "Manage your collections"
managecol.managefields = "Manage your fields for:"
+manageentry.select.bulkedit = "Select bulk edit option"
+manageentry.select.bulkedit.add = global.add
+manageentry.select.bulkedit.replace = global.replace
+manageentry.select.bulkedit.clear = global.clear
+manageentry.missingtemplate = "Missing template for:"
+manageentry.updateentry = "Update an entry in:"
+manageentry.viewentry = "View entry"
+manageentry.possibleduplicate = "Possible duplicate"
+manageentry.addentry = "Add an entry to:"
+manageentry.availabletools = "Available tools"
+manageentry.addentrycollection = "Add an entry to your collection"
+
managefields.addorremove = "Add or remove a field"
managefields.addorremove.description = "Just use drag and drop below to add, remove or order your fields.<br />Removing a field will <b>remove</b> the stored data from the collection.<br />Make sure at least the <b>title</b>, <b>cover image</b> and <b>description</b> fields are available."
managefields.fieldsavailable = "Available fields"
global.description = "Description"
global.displayresultfor = "Display result for: <b>%s</b>"
global.edit = "Edit"
-global.field.select.bulkoption = "Select bulk edit option"
global.field.writeenter = "Write and press enter."
global.fields = "Fields"
global.group = "Group"
-<p>Missing template for: <?php echo $field['identifier']; ?></p>
+<p><?php echo $I18n->t('manageentry.missingtemplate'); ?> <?php echo $field['identifier']; ?></p>
foreach($existingFieldValue as $ev) { ?>
<div class="input-multiple-template" id="<?php echo $field['identifier']; ?>-<?php echo $ev; ?>">
- <a onclick="removeTag('<?php echo $ev; ?>','<?php echo $field['identifier']; ?>')" title="click to remove"><span><?php echo $ev; ?></span></a>
+ <a onclick="removeTag('<?php echo $ev; ?>','<?php echo $field['identifier']; ?>')" title="<?php echo $I18n->t('global.clickremove'); ?>"><span><?php echo $ev; ?></span></a>
</div>
<?php
name="<?php echo $field['identifier']; ?>-input"
list="<?php echo $field['identifier']; ?>-datalist"
onkeypress="addTag(event,'<?php echo $field['identifier']; ?>','<?php echo $field['inputValidation']; ?>')"
- placeholder="Write and press enter."
+ placeholder="<?php echo $I18n->t('global.writeenter'); ?>"
>
<?php if(isset($field['bulkedit'])) { ?>
<select name="fdata[additionalEditOption][<?php echo $field['identifier']; ?>]">
- <option value="">Select bulk edit option</option>
- <option value="add">Add</option>
- <option value="replace">Replace</option>
- <option value="empty">Clear</option>
+ <option value=""><?php echo $I18n->t('manageentry.select.bulkedit'); ?></option>
+ <option value="add"><?php echo $I18n->t('manageentry.select.bulkedit.add'); ?></option>
+ <option value="replace"><?php echo $I18n->t('manageentry.select.bulkedit.replace'); ?></option>
+ <option value="empty"><?php echo $I18n->t('manageentry.select.bulkedit.clear'); ?></option>
</select>
<?php } ?>
<input type="hidden" name="fdata[<?php echo $field['identifier']; ?>]" id="<?php echo $field['identifier']; ?>-save" value="<?php echo implode(',',$existingFieldValue); ?>" />
<div class="input-multiple-template" id="<?php echo $field['identifier']; ?>-template" style="display: none;">
- <a onclick="removeTag('','<?php echo $field['identifier']; ?>')" title="click to remove"><span></span></a>
+ <a onclick="removeTag('','<?php echo $field['identifier']; ?>')" title="<?php echo $I18n->t('global.clickremove'); ?>"><span></span></a>
</div>
<?php if(isset($field['bulkedit'])) { ?>
<select name="fdata[additionalEditOption][<?php echo $field['identifier']; ?>]">
- <option value="">Select bulk edit option</option>
- <option value="replace">Replace</option>
- <option value="empty">Clear</option>
+ <option value=""><?php echo $I18n->t('manageentry.select.bulkedit'); ?></option>
+ <option value="replace"><?php echo $I18n->t('manageentry.select.bulkedit.replace'); ?></option>
+ <option value="empty"><?php echo $I18n->t('manageentry.select.bulkedit.clear'); ?></option>
</select>
<?php } ?>
</div>
<?php if(isset($field['bulkedit'])) { ?>
<select name="fdata[additionalEditOption][<?php echo $field['identifier']; ?>]">
- <option value="">Select bulk edit option</option>
- <option value="replace">Replace</option>
- <option value="empty">Clear</option>
+ <<option value=""><?php echo $I18n->t('manageentry.select.bulkedit'); ?></option>
+ <option value="replace"><?php echo $I18n->t('manageentry.select.bulkedit.replace'); ?></option>
+ <option value="empty"><?php echo $I18n->t('manageentry.select.bulkedit.clear'); ?></option>
</select>
<?php } ?>
</div>
<?php if(isset($field['bulkedit'])) { ?>
<select name="fdata[additionalEditOption][<?php echo $field['identifier']; ?>]">
- <option value="">Select bulk edit option</option>
- <option value="add">Add</option>
- <option value="replace">Replace</option>
- <option value="empty">Clear</option>
+ <option value=""><?php echo $I18n->t('manageentry.select.bulkedit'); ?></option>
+ <option value="add"><?php echo $I18n->t('manageentry.select.bulkedit.add'); ?></option>
+ <option value="replace"><?php echo $I18n->t('manageentry.select.bulkedit.replace'); ?></option>
+ <option value="empty"><?php echo $I18n->t('manageentry.select.bulkedit.clear'); ?></option>
</select>
<?php } ?>
</div>
<?php if(isset($field['bulkedit'])) { ?>
<select name="fdata[additionalEditOption][<?php echo $field['identifier']; ?>]">
- <option value="">Select bulk edit option</option>
- <option value="add">Add</option>
- <option value="replace">Replace</option>
- <option value="empty">Clear</option>
+ <option value=""><?php echo $I18n->t('manageentry.select.bulkedit'); ?></option>
+ <option value="add"><?php echo $I18n->t('manageentry.select.bulkedit.add'); ?></option>
+ <option value="replace"><?php echo $I18n->t('manageentry.select.bulkedit.replace'); ?></option>
+ <option value="empty"><?php echo $I18n->t('manageentry.select.bulkedit.clear'); ?></option>
</select>
<?php } ?>
</div>
name="fdata[<?php echo $field['identifier']; ?>]"><?php echo $TemplateData['editData'][$field['identifier']] ?? ''; ?></textarea>
<?php if(isset($field['bulkedit'])) { ?>
<select name="fdata[additionalEditOption][<?php echo $field['identifier']; ?>]">
- <option value="">Select bulk edit option</option>
- <option value="add">Add</option>
- <option value="replace">Replace</option>
- <option value="empty">Clear</option>
+ <option value=""><?php echo $I18n->t('manageentry.select.bulkedit'); ?></option>
+ <option value="add"><?php echo $I18n->t('manageentry.select.bulkedit.add'); ?></option>
+ <option value="replace"><?php echo $I18n->t('manageentry.select.bulkedit.replace'); ?></option>
+ <option value="empty"><?php echo $I18n->t('manageentry.select.bulkedit.clear'); ?></option>
</select>
<?php } ?>
</div>
<div class="field-row-stacked">
- <label>Missing template for: <?php echo $field['identifier']; ?></label>
+ <label><?php echo $I18n->t('manageentry.missingtemplate'); ?> <?php echo $field['identifier']; ?></label>
</div>
<a target="_blank" href="<?php echo $TemplateData['storagePath'].'/'.$TemplateData['editData'][$field['identifier']]; ?>"><?php echo $TemplateData['editData'][$field['identifier']]; ?></a>
<input type="checkbox" value="<?php echo $TemplateData['editData'][$field['identifier']] ?? ''; ?>"
name="fdata[<?php echo $field['identifier']; ?>_delete]"
- title="Delete"
+ title="<?php echo $I18n->t('global.delete'); ?>"
id="fdata[<?php echo $field['identifier']; ?>_delete"
/>
- <label for="fdata[<?php echo $field['identifier']; ?>_delete">Delete</label>
+ <label for="fdata[<?php echo $field['identifier']; ?>_delete"><?php echo $I18n->t('global.delete'); ?></label>
<?php } ?>
</div>
title="Delete"
id="<?php echo $field['identifier'].$_i; ?>_delete"
/>
- <label for="<?php echo $field['identifier'].$_i; ?>_delete">Delete</label>
+ <label for="<?php echo $field['identifier'].$_i; ?>_delete"><?php echo $I18n->t('global.delete'); ?></label>
<br>
<?php
$_i++;
<?php if(isset($field['bulkedit'])) { ?>
<select name="fdata[additionalEditOption][<?php echo $field['identifier']; ?>]">
- <option value="">Select bulk edit option</option>
- <option value="replace">Replace</option>
- <option value="empty">Clear</option>
+ <option value=""><?php echo $I18n->t('manageentry.select.bulkedit'); ?></option>
+ <option value="replace"><?php echo $I18n->t('manageentry.select.bulkedit.replace'); ?></option>
+ <option value="empty"><?php echo $I18n->t('manageentry.select.bulkedit.clear'); ?></option>
</select>
<?php } ?>
</div>
if(!empty($TemplateData['editData']) && isset($TemplateData['editData']['id'])) {
$_entry = $TemplateData['editData']['id'];
?>
- <h3>Update an entry in: <a href="index.php?p=collections&collection=<?php echo $TemplateData['loadedCollection']['id']; ?>"><?php echo $TemplateData['loadedCollection']['name']; ?></a></h3>
+ <h3><?php echo $I18n->t('manageentry.updateentry'); ?> <a href="index.php?p=collections&collection=<?php echo $TemplateData['loadedCollection']['id']; ?>"><?php echo $TemplateData['loadedCollection']['name']; ?></a></h3>
<p>
- <a href="index.php?p=entry&collection=<?php echo $TemplateData['loadedCollection']['id']; ?>&id=<?php echo $TemplateData['editData']['id']; ?>">View entry</a>
+ <a href="index.php?p=entry&collection=<?php echo $TemplateData['loadedCollection']['id']; ?>&id=<?php echo $TemplateData['editData']['id']; ?>"><?php echo $I18n->t('manageentry.viewentry'); ?></a>
</p>
<?php if(!empty($TemplateData['possibleDuplicates'])) { ?>
-Possible duplicate
+<?php echo $I18n->t('manageentry.possibleduplicate'); ?>
<ul>
<?php
foreach($TemplateData['possibleDuplicates'] as $key=>$entry) {
</ul>
<?php } ?>
<?php } else { ?>
- <h3>Add an entry to: <a href="index.php?p=collections&collection=<?php echo $TemplateData['loadedCollection']['id']; ?>"><?php echo $TemplateData['loadedCollection']['name']; ?></a></h3>
+ <h3><?php echo $I18n->t('manageentry.addentry'); ?> <a href="index.php?p=collections&collection=<?php echo $TemplateData['loadedCollection']['id']; ?>"><?php echo $TemplateData['loadedCollection']['name']; ?></a></h3>
<?php } ?>
<?php if(!empty($TemplateData['availableTools'])) { ?>
-<h4>Available tools</h4>
+<h4><?php echo $I18n->t('manageentry.availabletools'); ?></h4>
<ul>
<?php foreach($TemplateData['availableTools'] as $tool) { ?>
<li><a href="index.php?p=tool&t=<?php echo $tool['action']; ?>&collection=<?php echo $TemplateData['loadedCollection']['id']; ?>&id=<?php echo $_entry; ?>"
?>
<div class="field-row-stacked">
- <label>Rights *</label>
+ <label><?php echo $I18n->t('global.rights'); ?> *</label>
<table>
<thead>
<tr>
- <th>User</th>
- <th>Group</th>
- <th>Other</th>
+ <th><?php echo $I18n->t('global.user'); ?></th>
+ <th><?php echo $I18n->t('global.group'); ?></th>
+ <th><?php echo $I18n->t('global.other'); ?></th>
</tr>
</thead>
<tbody>
<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('global.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('global.save'); ?>">
</div>
</form>
<?php } else { ?>
-<h3>Please select a collection first</h3>
+<h3><?php echo $I18n->t('global.collection.select.notice'); ?></h3>
<div class="sunken-panel">
<table width="100%">
<thead>
<tr>
- <th width="100px">Name</th>
- <th>Description</th>
+ <th width="100px"><?php echo $I18n->t('global.name'); ?></th>
+ <th><?php echo $I18n->t('global.description'); ?></th>
</tr>
</thead>
<tbody>
if(!empty($TemplateData['editData'])) {
$_entry = $TemplateData['editData']['id'];
?>
- <h3 class="uk-h3">Update an entry in: <a href="index.php?p=collections&collection=<?php echo $TemplateData['loadedCollection']['id']; ?>"><?php echo $TemplateData['loadedCollection']['name']; ?></a></h3>
+ <h3 class="uk-h3"><?php echo $I18n->t('manageentry.updateentry'); ?> <a href="index.php?p=collections&collection=<?php echo $TemplateData['loadedCollection']['id']; ?>"><?php echo $TemplateData['loadedCollection']['name']; ?></a></h3>
<p>
<span uk-icon="arrow-left"></span>
- <a href="index.php?p=entry&collection=<?php echo $TemplateData['loadedCollection']['id']; ?>&id=<?php echo $TemplateData['editData']['id']; ?>">View entry</a>
+ <a href="index.php?p=entry&collection=<?php echo $TemplateData['loadedCollection']['id']; ?>&id=<?php echo $TemplateData['editData']['id']; ?>"><?php echo $I18n->t('manageentry.viewentry'); ?></a>
</p>
<?php if(!empty($TemplateData['possibleDuplicates'])) { ?>
-Possible duplicate
+<?php echo $I18n->t('manageentry.possibleduplicate'); ?>
<ul>
<?php
foreach($TemplateData['possibleDuplicates'] as $key=>$entry) {
</ul>
<?php } ?>
<?php } else { ?>
- <h3 class="uk-h3">Add an entry to: <a href="index.php?p=collections&collection=<?php echo $TemplateData['loadedCollection']['id']; ?>"><?php echo $TemplateData['loadedCollection']['name']; ?></a></h3>
+ <h3 class="uk-h3"><?php echo $I18n->t('manageentry.addentry'); ?> <a href="index.php?p=collections&collection=<?php echo $TemplateData['loadedCollection']['id']; ?>"><?php echo $TemplateData['loadedCollection']['name']; ?></a></h3>
<?php } ?>
<div class="uk-grid-small uk-grid-row-small" uk-grid>
<div class="uk-width-2-3">
<hr class="uk-margin-medium">
<div class="uk-margin">
- <div class="uk-form-label">Rights</div>
+ <div class="uk-form-label"><?php echo $I18n->t('global.rights'); ?></div>
<div class="uk-form-controls uk-form-controls-text">
<table class="uk-table uk-table-small">
<tr>
- <th>User</th>
- <th>Group</th>
- <th>Other</th>
+ <th><?php echo $I18n->t('global.user'); ?></th>
+ <th><?php echo $I18n->t('global.group'); ?></th>
+ <th><?php echo $I18n->t('global.other'); ?></th>
</tr>
<tr>
<td>
<hr class="uk-margin-medium">
<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('global.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">
<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-3">
<?php if(!empty($TemplateData['availableTools'])) { ?>
- <h4>Available tools</h4>
+ <h4><?php echo $I18n->t('manageentry.availabletools'); ?></h4>
<ul>
<?php foreach($TemplateData['availableTools'] as $tool) { ?>
<li><a href="index.php?p=tool&t=<?php echo $tool['action']; ?>&collection=<?php echo $TemplateData['loadedCollection']['id']; ?>&id=<?php echo $_entry; ?>"
</div>
<script type="text/javascript" src="view/default/ui/js/suggest-tag.js"></script>
<?php } else { ?>
-<h3 class="uk-h3">Add an entry to your collection</h3>
+<h3 class="uk-h3"><?php echo $I18n->t('manageentry.addentrycollection'); ?></h3>
<div class="uk-grid-small uk-grid-row-small uk-grid-row-small" uk-grid>
<div class="uk-width-2-3@m uk-width-1-2@xl">
- <h4 class="uk-heading-divider">Please select a collection first:</h4>
+ <h4 class="uk-heading-divider"><?php echo $I18n->t('global.collection.select.notice'); ?></h4>
<dl class="uk-description-list">
<?php foreach($TemplateData['existingCollections'] as $k=>$v) { ?>
<dt><a href="index.php?p=manageentry&collection=<?php echo $k; ?>"><?php echo $v['name']; ?></a></dt>
-<p>Missing template for: <?php echo $field['identifier']; ?></p>
+<p><?php echo $I18n->t('manageentry.missingtemplate'); ?> <?php echo $field['identifier']; ?></p>
foreach($existingFieldValue as $ev) { ?>
<div class="input-multiple-template" id="<?php echo $field['identifier']; ?>-<?php echo $ev; ?>">
- <a onclick="removeTag('<?php echo $ev; ?>','<?php echo $field['identifier']; ?>')" title="click to remove"><span class="uk-label"><?php echo $ev; ?></span></a>
+ <a onclick="removeTag('<?php echo $ev; ?>','<?php echo $field['identifier']; ?>')" title="<?php echo $I18n->t('global.clickremove'); ?>"><span class="uk-label"><?php echo $ev; ?></span></a>
</div>
<?php
name="<?php echo $field['identifier']; ?>-input"
list="<?php echo $field['identifier']; ?>-datalist"
onkeypress="addTag(event,'<?php echo $field['identifier']; ?>','<?php echo $field['inputValidation']; ?>')"
- placeholder="Write and press enter."
+ placeholder="<?php echo $I18n->t('global.writeenter'); ?>"
>
<?php if(isset($field['bulkedit'])) { ?>
<select class="uk-select" name="fdata[additionalEditOption][<?php echo $field['identifier']; ?>]">
- <option value="">Select bulk edit option</option>
- <option value="add">Add</option>
- <option value="replace">Replace</option>
- <option value="empty">Clear</option>
+ <option value=""><?php echo $I18n->t('manageentry.select.bulkedit'); ?></option>
+ <option value="add"><?php echo $I18n->t('manageentry.select.bulkedit.add'); ?></option>
+ <option value="replace"><?php echo $I18n->t('manageentry.select.bulkedit.replace'); ?></option>
+ <option value="empty"><?php echo $I18n->t('manageentry.select.bulkedit.clear'); ?></option>
</select>
<?php } ?>
</div>
<input type="hidden" name="fdata[<?php echo $field['identifier']; ?>]" id="<?php echo $field['identifier']; ?>-save" value="<?php echo implode(',',$existingFieldValue); ?>" />
<div class="input-multiple-template" id="<?php echo $field['identifier']; ?>-template" style="display: none;">
- <a onclick="removeTag('','<?php echo $field['identifier']; ?>')" title="click to remove"><span class="uk-label"></span></a>
+ <a onclick="removeTag('','<?php echo $field['identifier']; ?>')" title="<?php echo $I18n->t('global.clickremove'); ?>"><span class="uk-label"></span></a>
</div>
>
<?php if(isset($field['bulkedit'])) { ?>
<select class="uk-select" name="fdata[additionalEditOption][<?php echo $field['identifier']; ?>]">
- <option value="">Select bulk edit option</option>
- <option value="replace">Replace</option>
- <option value="empty">Clear</option>
+ <option value=""><?php echo $I18n->t('manageentry.select.bulkedit'); ?></option>
+ <option value="replace"><?php echo $I18n->t('manageentry.select.bulkedit.replace'); ?></option>
+ <option value="empty"><?php echo $I18n->t('manageentry.select.bulkedit.clear'); ?></option>
</select>
<?php } ?>
</div>
<label class="uk-form-label" for="<?php echo $field['identifier']; ?>"><?php echo $field['displayname']; ?></label>
<div class="uk-form-controls">
<select class="uk-select" id="<?php echo $field['identifier']; ?>" name="fdata[<?php echo $field['identifier']; ?>]">
- <option value="">Please select</option>
+ <option value=""><?php echo $I18n->t('global.pleaseselect'); ?></option>
<?php foreach($field['options'] as $k=>$v) { ?>
<option value="<?php echo $v; ?>"
<?php echo ($TemplateData['editData'][$field['identifier']] ?? '') == $v ? 'selected' : ''; ?>
</select>
<?php if(isset($field['bulkedit'])) { ?>
<select class="uk-select" name="fdata[additionalEditOption][<?php echo $field['identifier']; ?>]">
- <option value="">Select bulk edit option</option>
- <option value="replace">Replace</option>
- <option value="empty">Clear</option>
+ <option value=""><?php echo $I18n->t('manageentry.select.bulkedit'); ?></option>
+ <option value="replace"><?php echo $I18n->t('manageentry.select.bulkedit.replace'); ?></option>
+ <option value="empty"><?php echo $I18n->t('manageentry.select.bulkedit.clear'); ?></option>
</select>
<?php } ?>
</div>
<small id="<?php echo $field['identifier']; ?>_counter" class="uk-float-right"><?php echo 128-strlen($TemplateData['editData'][$field['identifier']] ?? ''); ?></small>
<?php if(isset($field['bulkedit'])) { ?>
<select class="uk-select" name="fdata[additionalEditOption][<?php echo $field['identifier']; ?>]">
- <option value="">Select bulk edit option</option>
- <option value="add">Add</option>
- <option value="replace">Replace</option>
- <option value="empty">Clear</option>
+ <option value=""><?php echo $I18n->t('manageentry.select.bulkedit'); ?></option>
+ <option value="add"><?php echo $I18n->t('manageentry.select.bulkedit.add'); ?></option>
+ <option value="replace"><?php echo $I18n->t('manageentry.select.bulkedit.replace'); ?></option>
+ <option value="empty"><?php echo $I18n->t('manageentry.select.bulkedit.clear'); ?></option>
</select>
<?php } ?>
</div>
<small id="<?php echo $field['identifier']; ?>_counter" class="uk-float-right"><?php echo 255-strlen($TemplateData['editData'][$field['identifier']] ?? ''); ?></small>
<?php if(isset($field['bulkedit'])) { ?>
<select class="uk-select" name="fdata[additionalEditOption][<?php echo $field['identifier']; ?>]">
- <option value="">Select bulk edit option</option>
- <option value="add">Add</option>
- <option value="replace">Replace</option>
- <option value="empty">Clear</option>
+ <option value=""><?php echo $I18n->t('manageentry.select.bulkedit'); ?></option>
+ <option value="add"><?php echo $I18n->t('manageentry.select.bulkedit.add'); ?></option>
+ <option value="replace"><?php echo $I18n->t('manageentry.select.bulkedit.replace'); ?></option>
+ <option value="empty"><?php echo $I18n->t('manageentry.select.bulkedit.clear'); ?></option>
</select>
<?php } ?>
</div>
name="fdata[<?php echo $field['identifier']; ?>]"><?php echo $TemplateData['editData'][$field['identifier']] ?? ''; ?></textarea>
<?php if(isset($field['bulkedit'])) { ?>
<select class="uk-select" name="fdata[additionalEditOption][<?php echo $field['identifier']; ?>]">
- <option value="">Select bulk edit option</option>
- <option value="add">Add</option>
- <option value="replace">Replace</option>
- <option value="empty">Clear</option>
+ <option value=""><?php echo $I18n->t('manageentry.select.bulkedit'); ?></option>
+ <option value="add"><?php echo $I18n->t('manageentry.select.bulkedit.add'); ?></option>
+ <option value="replace"><?php echo $I18n->t('manageentry.select.bulkedit.replace'); ?></option>
+ <option value="empty"><?php echo $I18n->t('manageentry.select.bulkedit.clear'); ?></option>
</select>
<?php } ?>
</div>
<div class="uk-margin">
- Missing template for: <?php echo $field['identifier']; ?>
+ <?php echo $I18n->t('manageentry.missingtemplate'); ?> <?php echo $field['identifier']; ?>
</div>
<a href="<?php echo $TemplateData['storagePath'].'/'.$TemplateData['editData'][$field['identifier']]; ?>" target="_blank"><?php echo $TemplateData['editData'][$field['identifier']]; ?></a>
<input type="checkbox" value="<?php echo $TemplateData['editData'][$field['identifier']] ?? ''; ?>"
name="fdata[<?php echo $field['identifier']; ?>_delete]"
- title="Delete"
- /> Delete
+ title="<?php echo $I18n->t('global.delete'); ?>"
+ /> <?php echo $I18n->t('global.delete'); ?>
</div>
<?php } ?>
</div>
>
<?php if(isset($field['bulkedit'])) { ?>
<select class="uk-select" name="fdata[additionalEditOption][<?php echo $field['identifier']; ?>]">
- <option value="">Select bulk edit option</option>
- <option value="replace">Replace</option>
- <option value="empty">Clear</option>
+ <option value=""><?php echo $I18n->t('manageentry.select.bulkedit'); ?></option>
+ <option value="replace"><?php echo $I18n->t('manageentry.select.bulkedit.replace'); ?></option>
+ <option value="empty"><?php echo $I18n->t('manageentry.select.bulkedit.clear'); ?></option>
</select>
<?php } ?>
</div>
if(!empty($TemplateData['editData'])) {
$_entry = $TemplateData['editData']['id'];
?>
- <h3 class="uk-h3">Update an entry in: <a href="index.php?p=collections&collection=<?php echo $TemplateData['loadedCollection']['id']; ?>"><?php echo $TemplateData['loadedCollection']['name']; ?></a></h3>
+ <h3 class="uk-h3"><?php echo $I18n->t('manageentry.updateentry'); ?> <a href="index.php?p=collections&collection=<?php echo $TemplateData['loadedCollection']['id']; ?>"><?php echo $TemplateData['loadedCollection']['name']; ?></a></h3>
<p>
<span uk-icon="arrow-left"></span>
- <a href="index.php?p=entry&collection=<?php echo $TemplateData['loadedCollection']['id']; ?>&id=<?php echo $TemplateData['editData']['id']; ?>">View entry</a>
+ <a href="index.php?p=entry&collection=<?php echo $TemplateData['loadedCollection']['id']; ?>&id=<?php echo $TemplateData['editData']['id']; ?>"><?php echo $I18n->t('manageentry.viewentry'); ?></a>
</p>
<?php if(!empty($TemplateData['possibleDuplicates'])) { ?>
-Possible duplicate
+<?php echo $I18n->t('manageentry.possibleduplicate'); ?>
<ul>
<?php
foreach($TemplateData['possibleDuplicates'] as $key=>$entry) {
</ul>
<?php } ?>
<?php } else { ?>
- <h3 class="uk-h3">Add an entry to: <a href="index.php?p=collections&collection=<?php echo $TemplateData['loadedCollection']['id']; ?>"><?php echo $TemplateData['loadedCollection']['name']; ?></a></h3>
+ <h3 class="uk-h3"><?php echo $I18n->t('manageentry.addentry'); ?> <a href="index.php?p=collections&collection=<?php echo $TemplateData['loadedCollection']['id']; ?>"><?php echo $TemplateData['loadedCollection']['name']; ?></a></h3>
<?php } ?>
<div class="uk-grid-small uk-grid-row-small" uk-grid>
<div class="uk-width-2-3">
<hr class="uk-margin-medium">
<div class="uk-margin">
- <div class="uk-form-label">Rights</div>
+ <div class="uk-form-label"><?php echo $I18n->t('global.rights'); ?></div>
<div class="uk-form-controls uk-form-controls-text">
<table class="uk-table uk-table-small">
<tr>
- <th>User</th>
- <th>Group</th>
- <th>Other</th>
+ <th><?php echo $I18n->t('global.user'); ?></th>
+ <th><?php echo $I18n->t('global.group'); ?></th>
+ <th><?php echo $I18n->t('global.other'); ?></th>
</tr>
<tr>
<td>
<hr class="uk-margin-medium">
<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('global.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">
<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-3">
<?php if(!empty($TemplateData['availableTools'])) { ?>
- <h4>Available tools</h4>
+ <h4><?php echo $I18n->t('manageentry.availabletools'); ?></h4>
<ul>
<?php foreach($TemplateData['availableTools'] as $tool) { ?>
<li><a href="index.php?p=tool&t=<?php echo $tool['action']; ?>&collection=<?php echo $TemplateData['loadedCollection']['id']; ?>&id=<?php echo $_entry; ?>"
</div>
<script type="text/javascript" src="view/default/ui/js/suggest-tag.js"></script>
<?php } else { ?>
-<h3 class="uk-h3">Add an entry to your collection</h3>
+<h3 class="uk-h3"><?php echo $I18n->t('manageentry.addentrycollection'); ?></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">Please select a collection first:</h4>
+ <h4 class="uk-h4"><?php echo $I18n->t('global.collection.select.notice'); ?></h4>
<dl class="uk-description-list uk-description-list-divider">
<?php foreach($TemplateData['existingCollections'] as $k=>$v) { ?>
<dt><a href="index.php?p=manageentry&collection=<?php echo $k; ?>"><?php echo $v['name']; ?></a></dt>