--- releasemonitor.module.old	2007-02-16 08:27:12.000000000 -0800
+++ releasemonitor.module	2007-02-16 08:48:49.000000000 -0800
@@ -102,7 +102,13 @@ function releasemonitor_page() {
 
   // get the showcvs preference variable once
   $showcvs = _releasemonitor_get_showcvs();
-  $showbuttons = 1;
+
+  // get variables for displaying links and/or buttons
+  $showbuttons = variable_get('releasemonitor_showbuttons', 0);
+  $showlinks = variable_get('releasemonitor_showlinks', 0);
+  // currently faked
+  //$showbuttons = 0;
+  //$showlinks = 1;
 
   foreach ($_rm_projects as $projectname => $project) {
     if (!$project['status']) {
@@ -170,6 +176,10 @@ function releasemonitor_page() {
     if ($showbuttons) {
       $row[] = $majorurl ? _releasemonitor_get_redir_form($majorurl) : '';
       $row[] = $minorurl ? _releasemonitor_get_redir_form($minorurl) : '';
+    } 
+    if ($showlinks) {
+      $row[] = $majorurl ? _releasemonitor_get_redir_link($majorurl) : '';
+      $row[] = $minorurl ? _releasemonitor_get_redir_link($minorurl) : '';
     }
 
     if ($showcvs) {
@@ -226,6 +236,10 @@ function releasemonitor_page() {
     $header[] = 'major';
     $header[] = 'minor';
   }
+  if ($showlinks) {
+    $header[] = 'major';
+    $header[] = 'minor';
+  }
   if ($showcvs) {
     $header[] = 'cvstag';
     $header[] = 'cvsid';
@@ -412,11 +426,24 @@ function releasemonitor_settings() {
     '#description' => t('Download the latest version information every so many hours'),
   );
 
+  $form['releasemonitor_showbuttons'] = array(
+    '#type' => 'checkbox',
+    '#default_value' => variable_get('releasemonitor_showbuttons', 0),
+    '#title' => t('Display download buttons'),
+  );
+
+  $form['releasemonitor_showlinks'] = array(
+    '#type' => 'checkbox',
+    '#default_value' => variable_get('releasemonitor_showlinks', 0),
+    '#title' => t('Display download links'),
+  );
+
   $form['releasemonitor_showcvs'] = array(
     '#type' => 'checkbox',
     '#default_value' => _releasemonitor_get_showcvs(),
     '#title' => t('Display CVS information and links'),
   );
+
   return $form;
 }
 
@@ -871,6 +898,10 @@ function _releasemonitor_get_showcvs() {
   return $showcvs;
 }
 
+function _releasemonitor_get_redir_link($url, $text = 'download') {
+  return l($text, $url);
+}
+
 function _releasemonitor_get_redir_form($url, $text = 'download') {
   if (function_exists('drupal_system_listing')) {
     return drupal_get_form('releasemonitor_redir_form', $url, $text);
