From eaa44dcd0938ad48f4a9f863b24ca5d3a318ae10 Mon Sep 17 00:00:00 2001 From: Paul Arthur Date: Sat, 26 Jan 2013 01:15:59 -0500 Subject: 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() --- templates/show_install_check.inc.php | 2 +- templates/show_lyrics_song.inc.php | 6 +++--- templates/show_now_playing_row.inc.php | 2 +- templates/show_test.inc.php | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) (limited to 'templates') diff --git a/templates/show_install_check.inc.php b/templates/show_install_check.inc.php index 6ff093c9..9cd719a8 100644 --- a/templates/show_install_check.inc.php +++ b/templates/show_install_check.inc.php @@ -102,7 +102,7 @@ : title , 'box box_lyrics_song'); /* Prepare the variables */ -$title = scrub_out(truncate_with_ellipsis($song->title)); -$album = scrub_out(truncate_with_ellipsis($song->f_album_full)); -$artist = scrub_out(truncate_with_ellipsis($song->f_artist_full)); +$title = scrub_out(UI::truncate($song->title)); +$album = scrub_out(UI::truncate($song->f_album_full)); +$artist = scrub_out(UI::truncate($song->f_artist_full)); ?>
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 @@
[