? admin_note.patch
? update_status_also_avail.patch.txt
? update_status_security_warning.patch_1.txt
? update_status_security_warning.patch_2.txt
Index: update_status.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/update_status/update_status.module,v
retrieving revision 1.49
diff -u -p -r1.49 update_status.module
--- update_status.module	20 Jun 2007 00:53:17 -0000	1.49
+++ update_status.module	20 Jun 2007 01:09:38 -0000
@@ -513,6 +513,7 @@ function update_status_calculate_project
         $projects[$project]['check'] = FALSE;
         $projects[$project]['status'] = UPDATE_STATUS_NOT_CHECKED;
         $projects[$project]['reason'] = t('Settings');
+        $projects[$project]['notes'] = $settings[$project]['notes'];
         continue;
       }
 
@@ -628,6 +629,8 @@ function theme_update_status_report($dat
     }
     $row .= "</div>\n";
 
+    $row .= "<div class=\"versions\">\n";
+
     if ($project['existing_version'] != $project['recommended'] || $project['status'] != UPDATE_STATUS_CURRENT) {
       // Print the "Recommended" line if there are either 0 or more than 1
       // security updates, or if there's exactly 1 security update and it has
@@ -654,10 +657,21 @@ function theme_update_status_report($dat
       }        
     }
 
-    $row .= '<div class="info">';
+    $row .= "</div>\n"; // versions div.
+
+    $row .= "<div class=\"info\">\n";
+    if (!empty($project['notes'])) {
+      $row .= '<div class="notes">';
+      $row .= t('Administrator note: %notes', array('%notes' => $project['notes']));
+      $row .= "</div>\n";
+    }
+
+    $row .= '<div class="modules">';
     $row .= t('Included modules: %modules', array('%modules' => implode(', ', $project['modules'])));
     $row .= "</div>\n";
 
+    $row .= "</div>\n"; // info div.
+
     $rows[] = array(
       'class' => $class,
       'data' => array($row),
