From 2b804ebdcea2127ca481ae3fb25a33a3bc5a78c3 Mon Sep 17 00:00:00 2001 From: Chad Kieffer Date: Sun, 28 Jun 2009 17:53:20 -0600 Subject: 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 +++++++++++++++------------------- 1 file changed, 33 insertions(+), 42 deletions(-) (limited to 'modules') 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 -- cgit v1.2.3 From d90e30c37881d4e715b2c798046830242e382d1c Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Sun, 28 Jun 2009 17:07:12 -0700 Subject: Rename the combined javascript controller from javascript/combined to combined/javascript. --- modules/gallery/controllers/combined.php | 62 ++++++++++++++++++++++++++++++ modules/gallery/controllers/javascript.php | 62 ------------------------------ modules/gallery/libraries/Theme_View.php | 2 +- 3 files changed, 63 insertions(+), 63 deletions(-) create mode 100644 modules/gallery/controllers/combined.php delete mode 100644 modules/gallery/controllers/javascript.php (limited to 'modules') diff --git a/modules/gallery/controllers/combined.php b/modules/gallery/controllers/combined.php new file mode 100644 index 00000000..510482db --- /dev/null +++ b/modules/gallery/controllers/combined.php @@ -0,0 +1,62 @@ +get("{$key}_gz"); + } + + if (empty($content)) { + $content = $cache->get($key); + } + + if (empty($content)) { + Kohana::show_404(); + } + + if (strpos($_SERVER["HTTP_ACCEPT_ENCODING"], "gzip") !== false) { + header("Content-Encoding: gzip"); + header("Cache-Control: public"); + } + + header("Content-Type: text/javascript; charset=UTF-8"); + header("Expires: Tue, 19 Jan 2038 00:00:00 GMT"); + header("Last-Modified: " . gmdate("D, d M Y H:i:s T", time())); + + Kohana::close_buffers(false); + print $content; + } +} + diff --git a/modules/gallery/controllers/javascript.php b/modules/gallery/controllers/javascript.php deleted file mode 100644 index ba5cbf4b..00000000 --- a/modules/gallery/controllers/javascript.php +++ /dev/null @@ -1,62 +0,0 @@ -get("{$key}_gz"); - } - - if (empty($content)) { - $content = $cache->get($key); - } - - if (empty($content)) { - Kohana::show_404(); - } - - if (strpos($_SERVER["HTTP_ACCEPT_ENCODING"], "gzip") !== false) { - header("Content-Encoding: gzip"); - header("Cache-Control: public"); - } - - header("Content-Type: text/javascript; charset=UTF-8"); - header("Expires: Tue, 19 Jan 2038 00:00:00 GMT"); - header("Last-Modified: " . gmdate("D, d M Y H:i:s T", time())); - - Kohana::close_buffers(false); - print $content; - } -} - 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 ""; } -- cgit v1.2.3