From 8df9b45984c906d40d14b09f8ee814e88e360eba Mon Sep 17 00:00:00 2001 From: bugrain Date: Sun, 10 May 2009 10:50:28 +0000 Subject: [PATCH] Fixed some XHTML validation errors --- e107_plugins/tagwords/tagwords_shortcodes.php | 22 +++++++++++-------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/e107_plugins/tagwords/tagwords_shortcodes.php b/e107_plugins/tagwords/tagwords_shortcodes.php index 8a9865c1c..ab25bd504 100644 --- a/e107_plugins/tagwords/tagwords_shortcodes.php +++ b/e107_plugins/tagwords/tagwords_shortcodes.php @@ -9,9 +9,9 @@ * Tagwords Shortcodes * * $Source: /cvs_backup/e107_0.8/e107_plugins/tagwords/tagwords_shortcodes.php,v $ - * $Revision: 1.2 $ - * $Date: 2009-01-17 22:46:37 $ - * $Author: lisa_ $ + * $Revision: 1.3 $ + * $Date: 2009-05-10 10:50:28 $ + * $Author: bugrain $ * */ if (!defined('e107_INIT')) { exit; } @@ -26,7 +26,7 @@ $codes = array(); $tmp = get_class_methods('tagwords_shortcodes'); foreach($tmp as $c) { - if(strpos($c, 'get_') === 0) + if(strpos($c, 'get_') === 0) { $codes[] = substr($c, 4); } @@ -57,14 +57,16 @@ class tagwords_shortcodes return; } $id = 'tagwords_searchform_menu'; - + return " -
+ +
+
"; break; - + case 'search': if(varsettrue($tag->pref['tagwords_view_search'])!=1) { @@ -72,12 +74,14 @@ class tagwords_shortcodes } $id = 'tagwords_searchform'; return " -
+ +
+
"; break; - + default: if(varsettrue($tag->pref['tagwords_view_search'])!=1) {