From 2b804ebdcea2127ca481ae3fb25a33a3bc5a78c3 Mon Sep 17 00:00:00 2001 From: Chad Kieffer Date: Sun, 28 Jun 2009 17:53:20 -0600 Subject: [PATCH 1/2] Convert info module's block to use a list instead of a table. Addresses request in ticket #441. --- modules/info/views/info_block.html.php | 75 ++++++++++++-------------- themes/default/css/screen.css | 4 ++ 2 files changed, 37 insertions(+), 42 deletions(-) diff --git a/modules/info/views/info_block.html.php b/modules/info/views/info_block.html.php index 9f9ec5df..3a96937c 100644 --- a/modules/info/views/info_block.html.php +++ b/modules/info/views/info_block.html.php @@ -1,44 +1,35 @@ - - - - - - - description): ?> - - - - + - - - - - id != 1): ?> - parent(); ?> - - - - - - captured): ?> - - - - - - owner): ?> - - - - - - -
title) ?>
description) ?>
name) ?>
- id}?show=$item->id") ?>"> - title) ?> - -
captured) ?>
owner->name) ?>
+ + + \ No newline at end of file diff --git a/themes/default/css/screen.css b/themes/default/css/screen.css index d3c4de6f..e37de70e 100644 --- a/themes/default/css/screen.css +++ b/themes/default/css/screen.css @@ -57,6 +57,10 @@ h2 { font-size: 1.2em; } +#gSidebar .gBlock li { + margin-bottom: .6em; +} + h3 { font-size: 1.2em; } From d90e30c37881d4e715b2c798046830242e382d1c Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Sun, 28 Jun 2009 17:07:12 -0700 Subject: [PATCH 2/2] Rename the combined javascript controller from javascript/combined to combined/javascript. --- modules/gallery/controllers/{javascript.php => combined.php} | 4 ++-- modules/gallery/libraries/Theme_View.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) rename modules/gallery/controllers/{javascript.php => combined.php} (95%) diff --git a/modules/gallery/controllers/javascript.php b/modules/gallery/controllers/combined.php similarity index 95% rename from modules/gallery/controllers/javascript.php rename to modules/gallery/controllers/combined.php index ba5cbf4b..510482db 100644 --- a/modules/gallery/controllers/javascript.php +++ b/modules/gallery/controllers/combined.php @@ -17,8 +17,8 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ -class Javascript_Controller extends Controller { - public function combined($key) { +class Combined_Controller extends Controller { + public function javascript($key) { if (preg_match('/[^0-9a-f]/', $key)) { // The key can't contain non-hex, so just terminate early Kohana::show_404(); diff --git a/modules/gallery/libraries/Theme_View.php b/modules/gallery/libraries/Theme_View.php index c3acfeb3..25818821 100644 --- a/modules/gallery/libraries/Theme_View.php +++ b/modules/gallery/libraries/Theme_View.php @@ -207,7 +207,7 @@ class Theme_View_Core extends View { } // Handcraft the script link because html::script will add a .js extenstion - return ""; }