From: cajus Date: Fri, 28 Oct 2005 13:45:00 +0000 (+0000) Subject: Fixed printer dialog layout X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=b21e1a21481f967b2e4c28103a7d46728e1702d5;p=gosa.git Fixed printer dialog layout git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1748 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/systems/class_printGeneric.inc b/plugins/admin/systems/class_printGeneric.inc index 1e6661769..0cf8e3872 100644 --- a/plugins/admin/systems/class_printGeneric.inc +++ b/plugins/admin/systems/class_printGeneric.inc @@ -350,7 +350,7 @@ class printgeneric extends plugin if(!empty($this->gotoPrinterPPD)){ $smarty->assign("driverInfo", $ppdManager->loadDescription($this->gotoPrinterPPD)); }else{ - $smarty->assign("driverInfo", _("Undefined")); + $smarty->assign("driverInfo", _("not defined")); } $list=$this->generateList(); diff --git a/plugins/admin/systems/printer.tpl b/plugins/admin/systems/printer.tpl index 9511a61d5..f876a4122 100644 --- a/plugins/admin/systems/printer.tpl +++ b/plugins/admin/systems/printer.tpl @@ -1,15 +1,10 @@ - - - - - - - -
+ {if $is_terminal ne 'true'}

{t}General{/t}

- - - @@ -18,10 +13,6 @@ -
- {$desc} -
{$must}
-
- @@ -34,19 +25,12 @@
 
-

 

-
+ {/if}

{t}Details{/t}

- + @@ -58,7 +42,7 @@ @@ -70,16 +54,15 @@

 

-

{t}Permissions{/t}

+

{t}Permissions{/t}


- {t}PPD{/t} : {$driverInfo}
+ {t}Driver{/t}: {$driverInfo} 
-
- - +
+
- {t}Following objects are assigned as user.{/t}
- {html_options options=$UserMembers values=$UserMemberKeys}
@@ -91,16 +74,15 @@
- - +
diff --git a/plugins/admin/systems/printerPPDDialog.tpl b/plugins/admin/systems/printerPPDDialog.tpl index 0a8fe89b6..da21f72a6 100644 --- a/plugins/admin/systems/printerPPDDialog.tpl +++ b/plugins/admin/systems/printerPPDDialog.tpl @@ -19,6 +19,6 @@ {$properties}

- - + +

- {t}Following objects are assigned as admin.{/t}
- {html_options options=$AdminMembers values=$AdminMemberKeys}
- - + +