Index: branches/2.8.x/CHANGELOG
===================================================================
--- branches/2.8.x/CHANGELOG	(revision 1407)
+++ branches/2.8.x/CHANGELOG	(revision 1408)
@@ -11,6 +11,8 @@
 ! = Update/Change
 
 ------------------------------------- 2.8.2 -------------------------------------
+23 Jan-2011 Build 1408 Werner v.d.Decken(DarkViper)
+# small changes in sm2menu() [SM2_NO_TITLE + SM2_XHTML_STRICT]
 22 Jan-2011 Build 1407 Frank Heyne (FrankH)
 # various Security fixes, thanks to secunia and others 
 22 Jan-2011 Build 1406 Frank Heyne (FrankH)
Index: branches/2.8.x/wb/admin/interface/version.php
===================================================================
--- branches/2.8.x/wb/admin/interface/version.php	(revision 1407)
+++ branches/2.8.x/wb/admin/interface/version.php	(revision 1408)
@@ -52,6 +52,6 @@
 
 // check if defined to avoid errors during installation (redirect to admin panel fails if PHP error/warnings are enabled)
 if(!defined('VERSION')) define('VERSION', '2.8.2.RC5');
-if(!defined('REVISION')) define('REVISION', '1407');
+if(!defined('REVISION')) define('REVISION', '1408');
 
 ?>
Index: branches/2.8.x/wb/modules/show_menu2/include.php
===================================================================
--- branches/2.8.x/wb/modules/show_menu2/include.php	(revision 1407)
+++ branches/2.8.x/wb/modules/show_menu2/include.php	(revision 1408)
@@ -216,19 +216,19 @@
     // replace the keywords
     function replace($aMatch) {
         $retval = '['.$aMatch.'=UNKNOWN]';
-		$retval_1 = '';
         switch ($aMatch) {
         case 'a':
-            $retval_1 = '<a href="'.$this->url.'"';
+            $retval = '<a href="'.$this->url.'"';
+			// break; // ignore 'break' to add the rest of <a>-tag
 		case 'ac':
-            $retval = '<a href="'.$this->url.'" class="'.$this->currClass.'"';
-			$retval = ($retval_1 == '') ? $retval : $retval_1;
-			if(($this->flags & SM2_XHTML_STRICT)) {
-				$retval .= ' title="'.(($this->flags & SM2_NO_TITLE) ? '&nbsp;' : $this->page['tooltip']).'"';
+			if( substr($retval, 0, 2) != '<a'){
+				$retval = '<a href="'.$this->url.'" class="'.$this->currClass.'"';
 			}
-			else {
+			if(($this->flags & SM2_NO_TITLE)) {
+				$retval .= ' title="'.$this->page['tooltip'].'"';
+			}
+			if(!($this->flags & SM2_XHTML_STRICT)) {
 				$retval .= ' target="'.$this->page['target'].'"';
-				$retval .= ($this->flags & SM2_NO_TITLE) ? '' : ' title="'.$this->page['tooltip'].'"';
 			}
 			$retval .= '>';
 			break;
