summaryrefslogtreecommitdiffstats
path: root/lib/class/ui.class.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/class/ui.class.php')
-rw-r--r--lib/class/ui.class.php18
1 files changed, 18 insertions, 0 deletions
diff --git a/lib/class/ui.class.php b/lib/class/ui.class.php
index c4fd3d47..021ad67d 100644
--- a/lib/class/ui.class.php
+++ b/lib/class/ui.class.php
@@ -110,6 +110,24 @@ class UI {
}
/**
+ * show_box_top
+ *
+ * This shows the top of the box.
+ */
+ public static function show_box_top($title = '', $class = '') {
+ require Config::get('prefix') . '/templates/show_box_top.inc.php';
+ }
+
+ /**
+ * show_box_bottom
+ *
+ * This shows the bottom of the box
+ */
+ public static function show_box_bottom() {
+ require Config::get('prefix') . '/templates/show_box_bottom.inc.php';
+ }
+
+ /**
* truncate
*
* Limit text to a certain length; adds an ellipsis if truncation was