global.password = "Password"
global.username = "Username"
global.login = "Login"
+global.close = "Close"
pagination.previous = "previous"
pagination.gotopage = "Goto page"
<?php if(!empty($TemplateData['search'])) { ?>
<div class="window">
<div class="title-bar">
- <div class="title-bar-text">Search</div>
+ <div class="title-bar-text"><?php echo $I18n->t('global.search'); ?></div>
<div class="title-bar-controls">
- <button aria-label="Close" id="searchNoteWindowCloseButton"></button>
+ <button aria-label="<?php echo $I18n->t('global.close'); ?>" id="searchNoteWindowCloseButton"></button>
</div>
</div>
<div class="window-body">
- <p>Display result for: <b><?php echo $TemplateData['search']; ?></b></p>
+ <p><?php echo $I18n->t('global.search.resultfor', $TemplateData['search'] ?? ''); ?></p>
</div>
</div>
<script>
<table width="100%">
<thead>
<tr>
- <th width="60px">Image</th>
- <th width="300px">Title</th>
- <th>Description</th>
- <th width="60px">View</th>
+ <th width="60px"><?php echo $I18n->t('global.image'); ?></th>
+ <th width="300px"><?php echo $I18n->t('global.title'); ?></th>
+ <th><?php echo $I18n->t('global.description'); ?></th>
+ <th width="60px"><?php echo $I18n->t('global.view'); ?></th>
</tr>
</thead>
<tbody>
} ?>
</td>
<td>
- <a href="index.php?p=entry&collection=<?php echo $k ?>&id=<?php echo $entryK; ?>">View</a>
+ <a href="index.php?p=entry&collection=<?php echo $k ?>&id=<?php echo $entryK; ?>"><?php echo $I18n->t('global.view'); ?></a>
</td>
</tr>
<?php } ?>
<h3><a href="index.php?p=collections&collection=<?php echo $TemplateData['loadedCollection']['id'] ?? ''; ?>"><?php echo $TemplateData['loadedCollection']['name'] ?? ''; ?></a></h3>
<article>
<?php if($TemplateData['showEdit'] === true) { ?>
- <p><a href="index.php?p=manageentry&collection=<?php echo $TemplateData['loadedCollection']['id'] ?? ''; ?>&id=<?php echo $TemplateData['entry']['id'] ?? ''; ?>">EDIT</a></p>
+ <p><a href="index.php?p=manageentry&collection=<?php echo $TemplateData['loadedCollection']['id'] ?? ''; ?>&id=<?php echo $TemplateData['entry']['id'] ?? ''; ?>"><?php echo $I18n->t('global.edit'); ?></a></p>
<?php
}
<?php if(!empty($TemplateData['search'])) { ?>
<div uk-alert id="searchNotice">
<button class="uk-alert-close" type="button" uk-close></button>
- <p>Display result for: <b><?php echo $TemplateData['search']; ?></b></p>
+ <p><?php echo $I18n->t('global.search.resultfor', $TemplateData['search'] ?? ''); ?></p>
</div>
<script type="text/javascript">
UIkit.util.on('#searchNotice', 'hide', function () {
<?php } ?>
</div>
<div class="uk-card-footer">
- <a href="index.php?p=entry&collection=<?php echo $k ?>&id=<?php echo $entryK; ?>" class="uk-button uk-button-text">View</a>
+ <a href="index.php?p=entry&collection=<?php echo $k ?>&id=<?php echo $entryK; ?>" class="uk-button uk-button-text"><?php echo $I18n->t('global.view'); ?></a>
</div>
</div>
</div>
<li><a href="index.php?p=collections" class="uk-icon-link" uk-icon="database"></a></li>
<li><a href="index.php?p=collections&collection=<?php echo $TemplateData['loadedCollection']['id'] ?? ''; ?>"><?php echo $TemplateData['loadedCollection']['name'] ?? ''; ?></a></li>
<?php if($TemplateData['showEdit'] === true) { ?>
- <li><a href="index.php?p=manageentry&collection=<?php echo $TemplateData['loadedCollection']['id'] ?? ''; ?>&id=<?php echo $TemplateData['entry']['id']; ?>">Edit</a></li>
+ <li><a href="index.php?p=manageentry&collection=<?php echo $TemplateData['loadedCollection']['id'] ?? ''; ?>&id=<?php echo $TemplateData['entry']['id']; ?>"><?php echo $I18n->t('global.edit'); ?></a></li>
<?php } ?>
</ul>
<div class="uk-grid-small uk-grid-row-small uk-grid-row-small" uk-grid>
<?php if(!empty($TemplateData['search'])) { ?>
<div uk-alert id="searchNotice">
<button class="uk-alert-close" type="button" uk-close></button>
- <p>Display result for: <b><?php echo $TemplateData['search']; ?></b></p>
+ <p><?php echo $I18n->t('global.search.resultfor', $TemplateData['search'] ?? ''); ?></p>
</div>
<script type="text/javascript">
UIkit.util.on('#searchNotice', 'hide', function () {
<?php } ?>
</div>
<div class="uk-card-footer">
- <a href="index.php?p=entry&collection=<?php echo $k ?>&id=<?php echo $entryK; ?>" class="uk-button uk-button-text">View</a>
+ <a href="index.php?p=entry&collection=<?php echo $k ?>&id=<?php echo $entryK; ?>" class="uk-button uk-button-text"><?php echo $I18n->t('global.view'); ?></a>
</div>
</div>
</div>
<div class="uk-width-1-2@l">
<article class="uk-article">
<?php if($TemplateData['showEdit'] === true) { ?>
- <p class="uk-article-meta"><a href="index.php?p=manageentry&collection=<?php echo $TemplateData['loadedCollection']['id'] ?? ''; ?>&id=<?php echo $TemplateData['entry']['id']; ?>">EDIT</a></p>
+ <p class="uk-article-meta"><a href="index.php?p=manageentry&collection=<?php echo $TemplateData['loadedCollection']['id'] ?? ''; ?>&id=<?php echo $TemplateData['entry']['id']; ?>"><?php echo $I18n->t('global.search'); ?></a></p>
<?php
}