diff options
author | Paul Arthur <paul.arthur@flowerysong.com> | 2013-01-26 01:28:34 -0500 |
---|---|---|
committer | Paul Arthur <paul.arthur@flowerysong.com> | 2013-01-26 01:28:34 -0500 |
commit | d572c2776f5ab7f66a632f54006dabe2f159c02b (patch) | |
tree | 2da705d0c0feabdea69fd7b8df0c5453c2e7571a /lib/class/ui.class.php | |
parent | 04aa79b53c38095d4727f4d850e191c64d99352f (diff) | |
download | ampache-d572c2776f5ab7f66a632f54006dabe2f159c02b.tar.gz ampache-d572c2776f5ab7f66a632f54006dabe2f159c02b.tar.bz2 ampache-d572c2776f5ab7f66a632f54006dabe2f159c02b.zip |
Move show_box_{top,bottom}() from ui.lib.php to UI
Diffstat (limited to 'lib/class/ui.class.php')
-rw-r--r-- | lib/class/ui.class.php | 18 |
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 |