mirror of
https://github.com/danpros/htmly.git
synced 2026-04-19 12:06:22 +05:30
Sort categories alphabetically in 'Categories' view
This commit is contained in:
parent
7146bcc0f7
commit
92f272d20e
1 changed files with 4 additions and 1 deletions
|
|
@ -1,5 +1,8 @@
|
|||
<?php if (!defined('HTMLY')) die('HTMLy'); ?>
|
||||
<?php $desc = get_category_info(null); ?>
|
||||
<?php
|
||||
$desc = get_category_info(null);
|
||||
asort($desc);
|
||||
?>
|
||||
<h2><?php echo i18n("Categories");?></h2>
|
||||
<br>
|
||||
<a class="btn btn-primary " href="<?php echo site_url();?>add/category"><?php echo i18n('Add_category');?></a>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue