2006/11/22  Earnie Boyd  <earnie@users.sf.net>

	* links_weblink.module: Change form_render to drupal_render throughout
	per http://drupal.org/node/64279 requirement.

Index: links_weblink.module
===================================================================
RCS file: /cvs/drupal/contributions/modules/links/links_weblink.module,v
retrieving revision 1.15
diff -u -3 -p -r1.15 links_weblink.module
--- links_weblink.module	11 Sep 2006 01:46:21 -0000	1.15
+++ links_weblink.module	22 Nov 2006 15:07:14 -0000
@@ -172,7 +172,7 @@ function theme_links_weblink_category_ch
   $kids = array();
   foreach ($children as $i=>$kid) {
     if (is_int($i)) {
-      $kids[] = form_render($kid);
+      $kids[] = drupal_render($kid);
     }
   }
   $output = '<blockquote>';
@@ -182,9 +182,9 @@ function theme_links_weblink_category_ch
 }
 
 function theme_links_weblink_category($element) {
-  $output = form_render($element['term']);
+  $output = drupal_render($element['term']);
   if (count($element['children'])) {
-    $output .= form_render($element['children']);
+    $output .= drupal_render($element['children']);
   }
   return $output;
 }
@@ -204,7 +204,7 @@ function theme_links_weblink_page($form)
         $table[$row] = array();
         $table[$row]['data'] = array();
       }
-      $table[$row]['data'][$col++] = form_render($element);
+      $table[$row]['data'][$col++] = drupal_render($element);
       if ($col >= $columns) {
         $col = 0;
         $row++;
@@ -224,7 +224,7 @@ function theme_links_weblink_page($form)
   $output .= '<h1>' . t('Links in this category') . '</h1>';
   foreach ($form['nodes'] as $i=>$element) {
     if (is_int($i)) {
-      $output .= '<p>' . form_render($element);
+      $output .= '<p>' . drupal_render($element);
     }
   }
   return $output;
