mirror of
https://github.com/danpros/htmly.git
synced 2026-04-19 03:56:21 +05:30
Fix strings
This commit is contained in:
parent
d8128c6ae6
commit
8fe8a5cc6e
3 changed files with 3 additions and 3 deletions
|
|
@ -13,7 +13,7 @@
|
||||||
<th><?php echo i18n('Views');?></th>
|
<th><?php echo i18n('Views');?></th>
|
||||||
<?php endif;?>
|
<?php endif;?>
|
||||||
<th><?php echo i18n('Operations');?></th>
|
<th><?php echo i18n('Operations');?></th>
|
||||||
<th>Sub Pages</th>
|
<th>Subpages</th>
|
||||||
</tr>
|
</tr>
|
||||||
<?php foreach ($posts as $p):?>
|
<?php foreach ($posts as $p):?>
|
||||||
<?php $dd = find_subpage($p->md); ?>
|
<?php $dd = find_subpage($p->md); ?>
|
||||||
|
|
|
||||||
|
|
@ -68,7 +68,7 @@
|
||||||
<?php if (!empty($draftSubpages)):?>
|
<?php if (!empty($draftSubpages)):?>
|
||||||
<br><br>
|
<br><br>
|
||||||
<hr>
|
<hr>
|
||||||
<h2 class="post-index"><?php echo i18n('Draft');?>: Sub</h2>
|
<h2 class="post-index"><?php echo i18n('Draft');?>: Subpages</h2>
|
||||||
<table class="table post-list">
|
<table class="table post-list">
|
||||||
<tr class="head">
|
<tr class="head">
|
||||||
<th><?php echo i18n('Title');?></th>
|
<th><?php echo i18n('Title');?></th>
|
||||||
|
|
|
||||||
|
|
@ -263,7 +263,7 @@ function rebuilt_cache($type = null)
|
||||||
$tmp = array();
|
$tmp = array();
|
||||||
$ctmp = array();
|
$ctmp = array();
|
||||||
$tmp = glob('content/*/blog/*/*/*.md', GLOB_NOSORT);
|
$tmp = glob('content/*/blog/*/*/*.md', GLOB_NOSORT);
|
||||||
if (is_array($tmp)) {
|
if (is_array($tmp)) {
|
||||||
foreach ($tmp as $file) {
|
foreach ($tmp as $file) {
|
||||||
if(strpos($file, '/draft/') === false) {
|
if(strpos($file, '/draft/') === false) {
|
||||||
$posts_cache[] = pathinfo($file);
|
$posts_cache[] = pathinfo($file);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue