From: hickert Date: Fri, 2 Sep 2005 14:17:38 +0000 (+0000) Subject: highlight terminal / workstation name if printer is no standalone printer X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=18c3128b9de7680faa7a0d6bf11f82f829cdf6de;p=gosa.git 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 --- 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{