Skip to content
This repository has been archived by the owner on Apr 20, 2019. It is now read-only.

Commit

Permalink
Sort gallery scripts by name in the settings dropdown.
Browse files Browse the repository at this point in the history
  • Loading branch information
bradyvercher committed Sep 28, 2013
1 parent 6c0fb12 commit 68eb54a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions admin/includes/settings.php
Expand Up @@ -41,6 +41,8 @@ function sphoa_register_settings() {
function sphoa_gallery_script_field() {
$scripts = sphoa()->get_gallery_scripts();
$settings = sphoa()->get_settings();

asort( $scripts );
?>
<select name="simple_photo_albums[gallery_script]" id="simple-photo-albums-gallery-script">
<option value=""></option>
Expand Down

0 comments on commit 68eb54a

Please sign in to comment.