diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2009-05-21 15:50:25 -0400 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2009-05-21 15:50:25 -0400 |
commit | 27193a2eeba3aa2f5ed8c0168f828149696b2b7f (patch) | |
tree | f8a1b89a9aab45e28e34c44bd226e08d7c733b73 /IkiWiki/Plugin/editpage.pm | |
parent | 36dbd21be6384d187c40e6ae97ff7384461e3c7a (diff) | |
download | ikiwiki-27193a2eeba3aa2f5ed8c0168f828149696b2b7f.tar ikiwiki-27193a2eeba3aa2f5ed8c0168f828149696b2b7f.tar.gz |
support longname for page types in commands and rename
Also, sort the list of page types.
Diffstat (limited to 'IkiWiki/Plugin/editpage.pm')
-rw-r--r-- | IkiWiki/Plugin/editpage.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/IkiWiki/Plugin/editpage.pm b/IkiWiki/Plugin/editpage.pm index af42097ba..8effc02d0 100644 --- a/IkiWiki/Plugin/editpage.pm +++ b/IkiWiki/Plugin/editpage.pm @@ -280,6 +280,7 @@ sub cgi_editpage ($$) { push @page_types, [$key, $hooks{htmlize}{$key}{longname} || $key]; } } + @page_types=sort @page_types; $form->tmpl_param("page_select", 1); $form->field(name => "page", type => 'select', |