From 83402b972bf70d78e308e1e92931c59f288a88f7 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 26 Oct 2005 08:28:58 +0000 Subject: [PATCH] Some cosmetic changes for printer dialogs git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1692 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/systems/class_printerPPDDialog.inc | 12 +++++------- plugins/admin/systems/printerPPDDialog.tpl | 12 ++++-------- plugins/admin/systems/printerPPDSelectionDialog.tpl | 4 ++-- 3 files changed, 11 insertions(+), 17 deletions(-) diff --git a/plugins/admin/systems/class_printerPPDDialog.inc b/plugins/admin/systems/class_printerPPDDialog.inc index d036a0128..f3675f554 100644 --- a/plugins/admin/systems/class_printerPPDDialog.inc +++ b/plugins/admin/systems/class_printerPPDDialog.inc @@ -159,10 +159,8 @@ class printerPPDDialog extends plugin * This function will generate a userfriendly post based form with this informations */ - $HeadLine = "

"._("Options")." :

"; - /* Set Headline */ - $str = $HeadLine; + $str = ""; /* If ppd exists and is readable */ if((!empty($this->selectedPPD['link']))&&(file_exists($this->selectedPPD['link']))){ @@ -173,14 +171,14 @@ class printerPPDDialog extends plugin } /* Create a table */ - $str .= "
"; + $str .= "
"; /* Input all data to the table */ foreach($this->ppdConfig as $cat => $obj){ /* Add new category */ - $str .= ""; /* Add attributes of the current category */ @@ -196,7 +194,7 @@ class printerPPDDialog extends plugin $type = $settings['_type']; /* Add name to table */ - $str .= "

 


"; - $str .= "".$cat."
"; + $str .= "

"; + $str .= "".$cat." : 
"; $str .= "
\n"; + $str .= "
\n"; $str .= $name."
\n"; $str .= "
\n"; diff --git a/plugins/admin/systems/printerPPDDialog.tpl b/plugins/admin/systems/printerPPDDialog.tpl index 0dec1c03f..5b8a8a5f8 100644 --- a/plugins/admin/systems/printerPPDDialog.tpl +++ b/plugins/admin/systems/printerPPDDialog.tpl @@ -1,21 +1,17 @@ - -

{t}Printer driver information file setup{/t}

+

 {t}Printer driver information file setup{/t}

- -
- {t}Current used information setup: {/t} - - {$ppdString} - + {t}Current used information setup{/t} : + {$ppdString}

 


+

 {t}Options{/t}

{$properties}

 


diff --git a/plugins/admin/systems/printerPPDSelectionDialog.tpl b/plugins/admin/systems/printerPPDSelectionDialog.tpl index 73c44ed5b..5b913ccac 100644 --- a/plugins/admin/systems/printerPPDSelectionDialog.tpl +++ b/plugins/admin/systems/printerPPDSelectionDialog.tpl @@ -1,6 +1,6 @@ -
+

{t}Select objects to add{/t} @@ -8,7 +8,7 @@

- {html_options values=$objectKeys options=$objects} -- 2.30.2