
#
# Patch managed by http://www.holgerschurig.de/patcher.html
#

--- article/article.module~summaries
+++ article/article.module
@@ -130,9 +130,17 @@
       drupal_set_breadcrumb($breadcrumb);
       
       if ($term != NULL) {
+	$body = "";
+	// Get description of taxonomy term - display only if a break is inside
+	// (backwards compatibility: if no break, only shows up on summary page)
+	$pos = strpos($term->description, '<!--break-->');
+	if ($pos !== false) {
+	  $body .= "<div class=\"article-sum\">" . check_output(str_replace('<!--break-->', '', $term->description)) . "</div>"; 
+	}
+
         $content = article_index($term->tid);
         if ($content != "") {
-          $body = theme("box", $term->name . " - " . t("Sub Categories"), $content);
+          $body .= theme("box", $term->name . " - " . t("Sub Categories"), $content);
         }
         
          $terms[] = $term->tid;
@@ -428,7 +436,14 @@
  @return string the output for this item.
 **/
 function theme_article_index_item(&$term) {
-  $description = ($term->description != "") ? "<p class=\"article-desc\">". $term->description ."</p>" : "";
+  $description = $term->description;
+  if ($description != "") {
+    $delimiter = strpos($description, '<!--break-->');
+    if ($delimiter !== false) {
+      $description = substr($description, 0, $delimiter);
+    }
+    $description = "<p class=\"article-desc\">". $description ."</p>";
+  }   
   if ($term->count > 0) {
     return "<li ><div class=\"article-title\">". l($term->name ." ($term->count)", $term->link) ."</div>". $description.$term->children ."</li>";
   }
