FreeTag (possible) improvement and fix
Posted: Mon Jan 10, 2011 4:34 pm
When for (most) themes we have dynamic content in $head_subtitle, duplication of PLUGIN_EVENT_FREETAG_USING in .../plugin/tag/... URL seems at least ugly
Improvement
Can we'll have templated output of related tags somehow (as it done for Related)?
Fix
With this small changes output seems more correct (-1 string of H) and logical (class replacement)
Improvement
Can we'll have templated output of related tags somehow (as it done for Related)?
Fix
With this small changes output seems more correct (-1 string of H) and logical (class replacement)
Code: Select all
--- serendipity_event_freetag.php Sun Jan 9 10:28:36 2011 UTC
+++ serendipity_event_freetag-new.php Mon Jan 10 14:34:38 2011 UTC
@@ -1259,12 +1259,12 @@
$tags = $this->getTagCloudTags($tag);
echo '<div class="serendipity_Entry_Date freetag_cloud">';
- echo '<h2 class="serendipity_date">';
+/* echo '<h2 class="serendipity_date">';
$tagTitle = is_array($this->displayTag) ? implode(' + ',$this->displayTag) : $this->displayTag;
printf (PLUGIN_EVENT_FREETAG_USING, htmlspecialchars($tagTitle));
- echo '</h2>';
+ echo '</h2>'; */
echo '<div class="serendipity_freetag_taglist">';
- echo '<p class="serendipity_freetag_taglist_related">' . PLUGIN_EVENT_FREETAG_RELATED_TAGS . '</p>' . "\n";
+ echo '<p class="serendipity_title">' . PLUGIN_EVENT_FREETAG_RELATED_TAGS . '</p>' . "\n";
if (!empty($tags)) {
$min = $this->get_config('min_percent', 100);