Browse Source

Update add-content.html.php

sort the dropdown list of categories alphabetically when adding or editing a post
pull/650/head
sb0001 2 years ago
committed by GitHub
parent
commit
8b60daff85
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      system/admin/views/add-content.html.php

+ 2
- 1
system/admin/views/add-content.html.php View File

@ -9,6 +9,7 @@ if ($type != 'is_post' && $type != 'is_image' && $type != 'is_video' && $type !=
} }
$desc = get_category_info(null); $desc = get_category_info(null);
asort($desc);
$tags = tag_cloud(true); $tags = tag_cloud(true);
$tagslang = "content/data/tags.lang"; $tagslang = "content/data/tags.lang";
@ -217,4 +218,4 @@ $( function() {
<!-- Declare the base path. Important --> <!-- Declare the base path. Important -->
<script type="text/javascript">var base_path = '<?php echo site_url() ?>';</script> <script type="text/javascript">var base_path = '<?php echo site_url() ?>';</script>
<script type="text/javascript" src="<?php echo site_url() ?>system/admin/editor/js/editor.js"></script>
<script type="text/javascript" src="<?php echo site_url() ?>system/admin/editor/js/editor.js"></script>

Loading…
Cancel
Save