Index: trunk/CHANGELOG
===================================================================
--- trunk/CHANGELOG	(revision 1056)
+++ trunk/CHANGELOG	(revision 1057)
@@ -11,6 +11,14 @@
 ! = Update/Change
 
 ------------------------------------- 2.8.0 -------------------------------------
+13-July 2009 Dietrich Roland Pehlke
+#	News-Modul: add the unlink-routine for the ".news" folder inside uninstall.php
+	so the groupe-images are also unlink.
+!	News-Modul: add <tr><td> and </td></tr>-tags to the "none found" part in the view.php to 
+	get valid output inside a table.
+!	Change the setting of $display_image and $display_groupe to avoid the 
+	empty display roule problematic (<tr style="display: ">) for valid output.
+!	Add &gt;&gt; in "add.php" instead of >> to avoid invalid output.
 11-July-2009 Ruud Eisinga
 !	The news module post_title link made unclickable when there is no full post.
 11-July-2009 Matthias Gallas
Index: trunk/wb/modules/news/uninstall.php
===================================================================
--- trunk/wb/modules/news/uninstall.php	(revision 1056)
+++ trunk/wb/modules/news/uninstall.php	(revision 1057)
@@ -35,5 +35,6 @@
 
 require_once(WB_PATH.'/framework/functions.php');
 rm_full_dir(WB_PATH.PAGES_DIRECTORY.'/posts');
+rm_full_dir(WB_PATH.MEDIA_DIRECTORY.'/.news');
 
 ?>
\ No newline at end of file
Index: trunk/wb/modules/news/view.php
===================================================================
--- trunk/wb/modules/news/view.php	(revision 1056)
+++ trunk/wb/modules/news/view.php	(revision 1057)
@@ -216,8 +216,8 @@
 				$group_id = $post['group_id'];
 				$group_title = $groups[$group_id]['title'];
 				$group_image = $groups[$group_id]['image'];
-				if($group_image == '') { $display_image = 'none'; } else { $display_image = ''; }
-				if($group_id == 0) { $display_group = 'none'; } else { $display_group = ''; }
+				$display_image = ($group_image == '') ? "none" : "inherit";
+				$display_group = ($group_id == 0) ? 'none' : 'inherit';
 				// Replace [wblink--PAGE_ID--] with real link
 				$short = ($post['content_short']);
 				$wb->preprocess($short);
@@ -308,8 +308,8 @@
 			$group_id = $post['group_id'];
 			$group_title = $groups[$group_id]['title'];
 			$group_image = $groups[$group_id]['image'];
-			if($group_image == '') { $display_image = 'none'; } else { $display_image = ''; }
-			if($group_id == 0) { $display_group = 'none'; } else { $display_group = ''; }
+			$display_image = ($group_image == '') ? "none" : "inherit";
+			$display_group = ($group_id == 0) ? 'none' : 'inherit';
 			$vars = array('[PAGE_TITLE]', '[GROUP_ID]', '[GROUP_TITLE]', '[GROUP_IMAGE]', '[DISPLAY_GROUP]', '[DISPLAY_IMAGE]', '[TITLE]', '[SHORT]', '[BACK]', '[TEXT_BACK]', '[TEXT_LAST_CHANGED]', '[MODI_DATE]', '[TEXT_AT]', '[MODI_TIME]', '[PUBLISHED_DATE]', '[PUBLISHED_TIME]', '[TEXT_POSTED_BY]', '[TEXT_ON]', '[USER_ID]', '[USERNAME]', '[DISPLAY_NAME]', '[EMAIL]');
 			$post_short=$post['content_short'];
 			$wb->preprocess($post_short);
@@ -366,9 +366,9 @@
 		} else {
 			// Say no comments found
 			if(isset($TEXT['NONE_FOUND'])) {
-				echo $TEXT['NONE_FOUND'].'<br />';
+				$content .= "<tr><td>".$TEXT['NONE_FOUND'].'<br /></td></tr>';
 			} else {
-				echo 'None Found<br />';
+				$content .= '<tr><td>None Found<br /></td></tr>';
 			}
 		}
 		
Index: trunk/wb/modules/news/add.php
===================================================================
--- trunk/wb/modules/news/add.php	(revision 1056)
+++ trunk/wb/modules/news/add.php	(revision 1057)
@@ -54,7 +54,7 @@
 <td valign="top"><b>[TEXT_POSTED_BY] [DISPLAY_NAME] ([USERNAME]) [TEXT_ON] [PUBLISHED_DATE]</b></td>
 </tr>
 <tr style="display: [DISPLAY_GROUP]">
-<td valign="top"><a href="[BACK]">[PAGE_TITLE]</a> >> <a href="[BACK]?g=[GROUP_ID]">[GROUP_TITLE]</a></td>
+<td valign="top"><a href="[BACK]">[PAGE_TITLE]</a> &gt;&gt; <a href="[BACK]?g=[GROUP_ID]">[GROUP_TITLE]</a></td>
 </tr>
 </table>');
 $post_footer = '<p>[TEXT_LAST_CHANGED]: [MODI_DATE] [TEXT_AT] [MODI_TIME]</p>
