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() --- lib/class/catalog.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/class/catalog.class.php') 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 = '' . scrub_out($this->f_name) . ''; - $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'); -- cgit