mirror of
https://github.com/danpros/htmly.git
synced 2026-04-20 12:36:23 +05:30
Translate strings
This commit is contained in:
parent
ed87f223ac
commit
e625ab0e27
3 changed files with 6 additions and 6 deletions
|
|
@ -71,7 +71,7 @@ To claim this content or log in to dashboard, simply create `my-username.ini` in
|
||||||
;Password
|
;Password
|
||||||
password = yourpassword
|
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
|
encryption = clear
|
||||||
|
|
||||||
;Role
|
;Role
|
||||||
|
|
|
||||||
|
|
@ -36,7 +36,7 @@ $(function() {
|
||||||
<th><?php echo i18n('Title');?> </th>
|
<th><?php echo i18n('Title');?> </th>
|
||||||
<th><?php echo i18n('Description');?></th>
|
<th><?php echo i18n('Description');?></th>
|
||||||
<th><?php echo i18n('Operations');?></th>
|
<th><?php echo i18n('Operations');?></th>
|
||||||
<th>Subpages</th>
|
<th>Sub <?php echo i18n('pages');?></th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
|
|
@ -48,7 +48,7 @@ $(function() {
|
||||||
<td><?php echo shorten($p->description, '50');?>...</td>
|
<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><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>
|
<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):?>
|
<?php foreach ($dd as $sp):?>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-sm">
|
<div class="col-sm">
|
||||||
|
|
@ -65,6 +65,6 @@ $(function() {
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<br>
|
<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;?>
|
||||||
<?php endif;?>
|
<?php endif;?>
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<?php if (!defined('HTMLY')) die('HTMLy'); ?>
|
<?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>
|
<h2 class="post-index"><?php echo $static->title ?></h2>
|
||||||
<div><?php echo $static->description;?></div>
|
<div><?php echo $static->description;?></div>
|
||||||
<br>
|
<br>
|
||||||
|
|
@ -51,7 +51,7 @@ $(function() {
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<br>
|
<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 {
|
<?php } else {
|
||||||
echo i18n('No_posts_found') . '!';
|
echo i18n('No_posts_found') . '!';
|
||||||
} ?>
|
} ?>
|
||||||
Loading…
Add table
Add a link
Reference in a new issue