diff options
author | Paul Arthur <paul.arthur@flowerysong.com> | 2013-01-26 01:15:59 -0500 |
---|---|---|
committer | Paul Arthur <paul.arthur@flowerysong.com> | 2013-01-26 01:15:59 -0500 |
commit | eaa44dcd0938ad48f4a9f863b24ca5d3a318ae10 (patch) | |
tree | 71d577e01200b3a143971a3a23d8f6b7cdf545fe /lib/class/catalog.class.php | |
parent | 42133f38d223a2b3b81d309f2d1a983ef2012485 (diff) | |
download | ampache-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 'lib/class/catalog.class.php')
-rw-r--r-- | lib/class/catalog.class.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/class/catalog.class.php b/lib/class/catalog.class.php index ac83feb2..029c2d67 100644 --- a/lib/class/catalog.class.php +++ b/lib/class/catalog.class.php @@ -144,9 +144,9 @@ class Catalog extends database_object { */ public function format() { - $this->f_name = truncate_with_ellipsis($this->name,Config::get('ellipse_threshold_title')); + $this->f_name = UI::truncate($this->name,Config::get('ellipse_threshold_title')); $this->f_name_link = '<a href="' . Config::get('web_path') . '/admin/catalog.php?action=show_customize_catalog&catalog_id=' . $this->id . '" title="' . scrub_out($this->name) . '">' . scrub_out($this->f_name) . '</a>'; - $this->f_path = truncate_with_ellipsis($this->path,Config::get('ellipse_threshold_title')); + $this->f_path = UI::truncate($this->path,Config::get('ellipse_threshold_title')); $this->f_update = $this->last_update ? date('d/m/Y h:i',$this->last_update) : T_('Never'); $this->f_add = $this->last_add ? date('d/m/Y h:i',$this->last_add) : T_('Never'); $this->f_clean = $this->last_clean ? date('d/m/Y h:i',$this->last_clean) : T_('Never'); |