Index: theme.inc
===================================================================
RCS file: /cvs/drupal/drupal/includes/theme.inc,v
retrieving revision 1.240
diff -u -p -r1.240 theme.inc
--- theme.inc	31 May 2005 21:14:26 -0000	1.240
+++ theme.inc	9 Jun 2005 20:09:08 -0000
@@ -904,6 +904,34 @@ function theme_blocks($region) {
 }
 
 /**
+ * Return a formatted div tag.
+ *
+ * @param $content
+ *   The content of the div.
+ * @param $attributes
+ *   Any extra HTML attributes to be added to the div.
+ * @return
+ *   A string containing the themed div.
+ */
+function theme_div($content, $attributes=NULL) {
+  return '<div'. drupal_attributes($attributes) .'>'. $content .'</div>';
+}
+
+/**
+ * Return a formatted span.
+ *
+ * @param $content
+ *   The content of the span.
+ * @param $attributes
+ *   Any extra HTML attributes to be added to the span.
+ * @return
+ *   A string containing the themed span.
+ */
+function theme_span($content, $attributes=NULL) {
+  return '<span'. drupal_attributes($attributes) .'>'. $content .'</span>';
+}
+
+/**
  * Output a confirmation form
  *
  * This function outputs a complete form for confirming an action. A link is
