ckp
[plewww.git] / planetlab / includes / plc_functions.php
index 8ea281d..9a5eff5 100644 (file)
@@ -306,6 +306,12 @@ function truncate ($text,$numb,$etc = "...") {
   }
   return $text;
 }
+function html_div ($text,$class="") {
+  $html="<div";
+  if ($class) $html .= " class='$class'";
+  $html .= ">$text</div>";
+  return $html;
+}
 
 if (! function_exists ("drupal_set_error")) {
   function drupal_set_error ($text) {