foo
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Sat, 11 Mar 2006 02:07:09 +0000 (02:07 +0000)
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Sat, 11 Mar 2006 02:07:09 +0000 (02:07 +0000)
ikiwiki

diff --git a/ikiwiki b/ikiwiki
index a9f76d3fe6e7e7b64124064399cd41ce8d177707..444d6f4a3c51a8ab916e1deeac9e6c0301d0cabb 100755 (executable)
--- a/ikiwiki
+++ b/ikiwiki
@@ -621,8 +621,10 @@ sub cgi () {
                      $q->h1("$wikiname: Creating $page"),
                      $q->start_form(-action => $action),
                      $q->hidden('do'),
                      $q->h1("$wikiname: Creating $page"),
                      $q->start_form(-action => $action),
                      $q->hidden('do'),
-                     "Select page location: ($default_loc)",
-                     $q->popup_menu('page', \@page_locs, $default_loc),
+                     "Select page location:",
+                     $q->popup_menu(-name => 'page',
+                              -values => \@page_locs,
+                              -default => $default_loc),
                      $q->textarea(-name => 'content',
                               -default => "",
                               -rows => 20,
                      $q->textarea(-name => 'content',
                               -default => "",
                               -rows => 20,