Added Email link when updating documents.
[fa-stable.git] / includes / ui / ui_controls.inc
index c24622b2faeb5de7a5eac0a7cc746952eb9eb58b..43b7fd8146230ac77e6e2c8ba9ba6b68932bc2f1 100644 (file)
@@ -217,7 +217,6 @@ function viewer_link($label, $url='', $class='', $id='',  $icon=null)
        }
        else
                $preview_str = $label;
-
  return $preview_str;
 }
 
@@ -412,8 +411,8 @@ function tabbed_content_start($name, $tabs, $dft='') {
 }
 
 function tabbed_content_end() {
-  div_end();
-       div_end();
+       echo "</div>"; // content box (don't change to div_end() unless div_start() is used above)
+       div_end(); // tabs widget
 }
 
 /* Table editor interfaces. Key is editor type