summaryrefslogtreecommitdiffstats
path: root/templates/show_now_playing_row.inc.php
diff options
context:
space:
mode:
authorPaul Arthur <paul.arthur@flowerysong.com>2013-01-26 01:15:59 -0500
committerPaul Arthur <paul.arthur@flowerysong.com>2013-01-26 01:15:59 -0500
commiteaa44dcd0938ad48f4a9f863b24ca5d3a318ae10 (patch)
tree71d577e01200b3a143971a3a23d8f6b7cdf545fe /templates/show_now_playing_row.inc.php
parent42133f38d223a2b3b81d309f2d1a983ef2012485 (diff)
downloadampache-eaa44dcd0938ad48f4a9f863b24ca5d3a318ae10.tar.gz
ampache-eaa44dcd0938ad48f4a9f863b24ca5d3a318ae10.tar.bz2
ampache-eaa44dcd0938ad48f4a9f863b24ca5d3a318ae10.zip
Continue moving things into UI
check_php_iconv() from lib/debug.lib.php becomes UI::check_iconv() truncate_with_ellipsis() from lib/ui.lib.php becomes UI::truncate()
Diffstat (limited to 'templates/show_now_playing_row.inc.php')
-rw-r--r--templates/show_now_playing_row.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/show_now_playing_row.inc.php b/templates/show_now_playing_row.inc.php
index fc7f7681..30553a8d 100644
--- a/templates/show_now_playing_row.inc.php
+++ b/templates/show_now_playing_row.inc.php
@@ -81,7 +81,7 @@
<div class="np_cel cel_similar_artist">
<?php
if (is_null($a['id'])) {
- echo scrub_out(truncate_with_ellipsis($a['name']), Config::get('ellipse_threshold_artist'));
+ echo scrub_out(UI::truncate($a['name']), Config::get('ellipse_threshold_artist'));
}
else {
$artist = new Artist($a['id']);