From e3be3cecf5ba6dea5d051c05d86b995f9b1df830 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Sun, 16 Nov 2008 07:20:58 +0000 Subject: Second half of renaming the tags module. Change all occurrences of gTags to gTag in the CSS. --- core/libraries/Theme.php | 2 +- modules/tag/helpers/tag.php | 29 ++++++++++++++++++++++ modules/tag/helpers/tags.php | 29 ---------------------- modules/tag/views/tag_block.html.php | 46 +++++++++++++++++++++++++++++++++++ modules/tag/views/tags_block.html.php | 46 ----------------------------------- themes/default/css/screen.css | 24 +++++++++--------- 6 files changed, 88 insertions(+), 88 deletions(-) create mode 100644 modules/tag/helpers/tag.php delete mode 100644 modules/tag/helpers/tags.php create mode 100644 modules/tag/views/tag_block.html.php delete mode 100644 modules/tag/views/tags_block.html.php diff --git a/core/libraries/Theme.php b/core/libraries/Theme.php index e84839dd..4bd8237a 100644 --- a/core/libraries/Theme.php +++ b/core/libraries/Theme.php @@ -61,7 +61,7 @@ class Theme_Core { /** @todo: make this data driven */ $blocks = array( 'carousel' => carousel::block($this), - 'tags' => tags::block($this), + 'tag' => tag::block($this), 'info' => info::block($this), 'gmaps' => gmaps::block($this), ); diff --git a/modules/tag/helpers/tag.php b/modules/tag/helpers/tag.php new file mode 100644 index 00000000..3fe97a7d --- /dev/null +++ b/modules/tag/helpers/tag.php @@ -0,0 +1,29 @@ +id = "gTag"; + $block->title = _("Tags"); + $block->content = new View("tag_block.html"); + return $block; + } +} \ No newline at end of file diff --git a/modules/tag/helpers/tags.php b/modules/tag/helpers/tags.php deleted file mode 100644 index 7b942c6c..00000000 --- a/modules/tag/helpers/tags.php +++ /dev/null @@ -1,29 +0,0 @@ -id = "gTags"; - $block->title = _("Tags"); - $block->content = new View("tags_block.html"); - return $block; - } -} \ No newline at end of file diff --git a/modules/tag/views/tag_block.html.php b/modules/tag/views/tag_block.html.php new file mode 100644 index 00000000..f23874ff --- /dev/null +++ b/modules/tag/views/tag_block.html.php @@ -0,0 +1,46 @@ + + + +
+ + +
diff --git a/modules/tag/views/tags_block.html.php b/modules/tag/views/tags_block.html.php deleted file mode 100644 index f23874ff..00000000 --- a/modules/tag/views/tags_block.html.php +++ /dev/null @@ -1,46 +0,0 @@ - - - -
- - -
diff --git a/themes/default/css/screen.css b/themes/default/css/screen.css index eeb4eeb9..9135f653 100644 --- a/themes/default/css/screen.css +++ b/themes/default/css/screen.css @@ -397,66 +397,66 @@ table.gMetadata td.toggle { /* ~~~~~~~~~ tag cloud ~~~~~~~~~~ */ -#gTags ul { +#gTag ul { padding: 0; text-align: justify; } -#gTags ul li { +#gTag ul li { display: inline; text-align: justify; } -#gTags ul li a { +#gTag ul li a { text-decoration: none; } -#gTags ul li a.size0 { +#gTag ul li a.size0 { color: #9cf; font-size: 100%; font-weight: 100; } -#gTags ul li a.size1 { +#gTag ul li a.size1 { color: #69f; font-size: 110%; font-weight: 300; } -#gTags ul li a.size2 { +#gTag ul li a.size2 { color: #69c; font-size: 120%; font-weight: 500; } -#gTags ul li a.size3 { +#gTag ul li a.size3 { color: #369; font-size: 130%; font-weight: 700; } -#gTags ul li a.size4 { +#gTag ul li a.size4 { color: #0e2b52; font-size: 140%; font-weight: 900; } -#gTags ul li a:hover { +#gTag ul li a:hover { color: #FF3300; text-decoration: underline; } -#gTags form { +#gTag form { margin-top: 10px; } /* ~~~~~~~~~ tags ~~~~~~~~~~ */ -#gTags ul { +#gTag ul { margin-left: .5em; } -#gTags li { +#gTag li { list-style-image: url('../images/bullet_tag.png'); margin-bottom: .3em; } -- cgit v1.2.3