mirror of
https://github.com/danpros/htmly.git
synced 2026-04-17 19:26:08 +05:30
Rename function
Far more easier to remember
This commit is contained in:
parent
da4bc04ff5
commit
d8d114f9de
6 changed files with 28 additions and 28 deletions
|
|
@ -55,7 +55,7 @@
|
|||
<th><?php echo i18n('Operations');?></th>
|
||||
</tr>
|
||||
<?php foreach ($draftPages as $d): ?>
|
||||
<?php $count = count(get_static_sub_post($d->md)); ?>
|
||||
<?php $count = count(find_subpage($d->md)); ?>
|
||||
<tr>
|
||||
<td><?php echo $d->title ?></td>
|
||||
<td><?php echo format_date($d->lastMod) ?></td>
|
||||
|
|
@ -77,7 +77,7 @@
|
|||
<th><?php echo i18n('Static_pages');?></th>
|
||||
</tr>
|
||||
<?php foreach ($draftSubpages as $sp): ?>
|
||||
<?php $parent = get_static_post($sp->parent);?>
|
||||
<?php $parent = find_page($sp->parent);?>
|
||||
<tr>
|
||||
<td><?php echo $sp->title ?></td>
|
||||
<td><?php echo format_date($sp->lastMod) ?></td>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue