X-Git-Url: http://git.iain.cx/?p=readifood.git;a=blobdiff_plain;f=lib%2Fcity.php;h=47cfc247b4ea2f8e9573c71742e2b41c050ca4bf;hp=1294176909842ec16618e8a2fc0d685de457247d;hb=6bd4ad3daf2cc870d96a3fed9ea9caf6798d2b78;hpb=4cd13bda037940724f018b8bfc62413156c52b75 diff --git a/lib/city.php b/lib/city.php index 1294176..47cfc24 100644 --- a/lib/city.php +++ b/lib/city.php @@ -36,7 +36,7 @@ function show_new_city_form() { if (! check_admin(1)) return; - echo "
\n"; + form("noprint standout"); echo "

Add a new city \n"; echo "with postcode prefix \n"; echo "

\n"; @@ -138,10 +138,10 @@ } } else if (isset($name)) show_city($name, $id); - else { - show_cities(0, 10); - show_new_city_form(); - } + else show_cities(0, 10); + + if (count($parameters)) echo "

Show all cities

\n"; + show_new_city_form(); # XXX: Format URL in branch case... if (count($parameters))