From e68f92905571530ca91bda7ffe18ec2825cefd6c Mon Sep 17 00:00:00 2001 From: Shish Moom Date: Mon, 6 Jul 2009 04:57:08 -0700 Subject: [PATCH] more niceness --- ext/setup/main.php | 4 +++- themes/default/style.css | 1 - 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ext/setup/main.php b/ext/setup/main.php index 37b2d0cb..dde0275d 100644 --- a/ext/setup/main.php +++ b/ext/setup/main.php @@ -181,7 +181,9 @@ class Setup extends SimpleExtension { $themes = array(); foreach(glob("themes/*") as $theme_dirname) { $name = str_replace("themes/", "", $theme_dirname); - $themes[ucfirst($name)] = $name; + $human = str_replace("_", " ", $name); + $human = ucwords($human); + $themes[$human] = $name; } $full = "http://" . $_SERVER["SERVER_NAME"] . $_SERVER["PHP_SELF"]; diff --git a/themes/default/style.css b/themes/default/style.css index 8552d76b..dcbe60da 100644 --- a/themes/default/style.css +++ b/themes/default/style.css @@ -210,7 +210,6 @@ UL { .thumb { display: inline-block; text-align: center; - vertical-align: center; margin-bottom: 32px; }