Rename function

Far more easier to remember
This commit is contained in:
danpros 2024-01-01 18:39:11 +07:00
commit d8d114f9de
6 changed files with 28 additions and 28 deletions

View file

@ -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>