Browse Source

Translate strings

pull/674/head
danpros 1 year ago
parent
commit
e625ab0e27
3 changed files with 6 additions and 6 deletions
  1. +1
    -1
      README.md
  2. +3
    -3
      system/admin/views/static-pages.html.php
  3. +2
    -2
      system/admin/views/static-subpages.html.php

+ 1
- 1
README.md View File

@ -71,7 +71,7 @@ To claim this content or log in to dashboard, simply create `my-username.ini` in
;Password
password = yourpassword
; Encryption: Set to clear, and later it will changed to password_hash automatically during login
;Encryption: Set to clear, and later it will changed to password_hash automatically during login
encryption = clear
;Role


+ 3
- 3
system/admin/views/static-pages.html.php View File

@ -36,7 +36,7 @@ $(function() {
<th><?php echo i18n('Title');?> </th>
<th><?php echo i18n('Description');?></th>
<th><?php echo i18n('Operations');?></th>
<th>Subpages</th>
<th>Sub <?php echo i18n('pages');?></th>
</tr>
</thead>
<tbody>
@ -48,7 +48,7 @@ $(function() {
<td><?php echo shorten($p->description, '50');?>...</td>
<td><a class="btn btn-primary btn-xs" href="<?php echo $p->url;?>/add?destination=admin/pages/<?php echo $p->slug;?>"><?php echo i18n('Add_sub');?></a> <a class="btn btn-primary btn-xs" href="<?php echo $p->url;?>/edit?destination=admin/pages"><?php echo i18n('Edit');?></a> <?php if (empty($dd) && empty($dr)):?><a class="btn btn-danger btn-xs" href="<?php echo $p->url;?>/delete?destination=admin/pages"><?php echo i18n('Delete');?></a><?php endif;?></td>
<td>
<div><a class="btn btn-primary btn-xs" href="<?php echo site_url();?>admin/pages/<?php echo $p->slug;?>">Manage subpages</a></div><hr>
<div><a class="btn btn-primary btn-xs" href="<?php echo site_url();?>admin/pages/<?php echo $p->slug;?>"><?php echo i18n('page');?> <?php echo i18n('settings');?></a></div><hr>
<?php foreach ($dd as $sp):?>
<div class="row">
<div class="col-sm">
@ -65,6 +65,6 @@ $(function() {
</tbody>
</table>
<br>
<button class="btn btn-primary" style="display:none" id="saveButton">Save page order</button>
<button class="btn btn-primary" style="display:none" id="saveButton"><?php echo i18n('save_config');?></button>
<?php endif;?>
<?php endif;?>

+ 2
- 2
system/admin/views/static-subpages.html.php View File

@ -1,5 +1,5 @@
<?php if (!defined('HTMLY')) die('HTMLy'); ?>
<a href="<?php echo $static->url;?>/edit?destination=admin/pages"><?php echo i18n('Edit');?></a>
<span><i class="fa fa-pencil" aria-hidden="true"></i> <a href="<?php echo $static->url;?>/edit?destination=admin/pages"><?php echo i18n('Edit');?></a></span>
<h2 class="post-index"><?php echo $static->title ?></h2>
<div><?php echo $static->description;?></div>
<br>
@ -51,7 +51,7 @@ $(function() {
</tbody>
</table>
<br>
<button class="btn btn-primary" style="display:none" id="saveButton">Save page order</button>
<button class="btn btn-primary" style="display:none" id="saveButton"><?php echo i18n('save_config');?></button>
<?php } else {
echo i18n('No_posts_found') . '!';
} ?>

Loading…
Cancel
Save