From 18c3128b9de7680faa7a0d6bf11f82f829cdf6de Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 2 Sep 2005 14:17:38 +0000 Subject: [PATCH] highlight terminal / workstation name if printer is no standalone printer git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1310 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/systems/class_printGeneric.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/admin/systems/class_printGeneric.inc b/plugins/admin/systems/class_printGeneric.inc index a25df8639..380a04abf 100644 --- a/plugins/admin/systems/class_printGeneric.inc +++ b/plugins/admin/systems/class_printGeneric.inc @@ -323,9 +323,9 @@ class printgeneric extends plugin asort($adminlist); if($this->is_terminalBased){ if($this->is_terminalBased == "Terminal"){ - $smarty->assign("desc" ,sprintf(_("This printer belongs to terminal %s. You can't rename this printer."),$this->cn)); + $smarty->assign("desc" ,sprintf(_("This printer belongs to terminal %s. You can't rename this printer."),"".$this->cn."")); }else{ - $smarty->assign("desc" ,sprintf(_("This printer belongs to workstation %s. You can't rename this printer."),$this->cn)); + $smarty->assign("desc" ,sprintf(_("This printer belongs to workstation %s. You can't rename this printer."),"".$this->cn."")); } $smarty->assign("cnACL" ," disabled "); }else{ -- 2.30.2