From 72d16756b169e1f751470670eececf76e88b2bd7 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Thu, 27 Nov 2008 05:37:20 +0000 Subject: Refactor cloud generation into a helper so that we can call it from Tags_Controller::_index(). This enables our Ajax code to reload the tags block after we submit a new tag, so update the JS to do that properly. --- modules/tag/views/tag_block.html.php | 19 ++++--------------- modules/tag/views/tag_block_cloud.html.php | 9 +++++++++ 2 files changed, 13 insertions(+), 15 deletions(-) create mode 100644 modules/tag/views/tag_block_cloud.html.php (limited to 'modules/tag/views') diff --git a/modules/tag/views/tag_block.html.php b/modules/tag/views/tag_block.html.php index 6ce67e9d..cc75e6f0 100644 --- a/modules/tag/views/tag_block.html.php +++ b/modules/tag/views/tag_block.html.php @@ -1,18 +1,7 @@ - - - - - -
- +
"> +
- + + diff --git a/modules/tag/views/tag_block_cloud.html.php b/modules/tag/views/tag_block_cloud.html.php new file mode 100644 index 00000000..6abaf953 --- /dev/null +++ b/modules/tag/views/tag_block_cloud.html.php @@ -0,0 +1,9 @@ + + -- cgit v1.2.3