From c9b305523b07bab8c37e40ec3b95280576498deb Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Sun, 12 Jun 2005 19:41:49 +0000 Subject: [PATCH] fixed PDF output --- lam/lib/modules/ieee802device.inc | 2 +- lam/lib/modules/inetLocalMailRecipient.inc | 6 +++--- lam/lib/modules/nisMailAlias.inc | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lam/lib/modules/ieee802device.inc b/lam/lib/modules/ieee802device.inc index bd60da86..84225b4f 100644 --- a/lam/lib/modules/ieee802device.inc +++ b/lam/lib/modules/ieee802device.inc @@ -254,7 +254,7 @@ class ieee802Device extends baseModule { function get_pdfEntries() { $return = array(); if (sizeof($this->attributes['macAddress']) > 0) { - $return['ieee802Device_macAddress'] = '' . _('MAC address list') . '' . implode(', ', $this->attributes['macAddress']) . ''; + $return['ieee802Device_macAddress'][0] = '' . _('MAC address(es)') . '' . implode(', ', $this->attributes['macAddress']) . ''; } return $return; } diff --git a/lam/lib/modules/inetLocalMailRecipient.inc b/lam/lib/modules/inetLocalMailRecipient.inc index 210951cd..d7be2626 100644 --- a/lam/lib/modules/inetLocalMailRecipient.inc +++ b/lam/lib/modules/inetLocalMailRecipient.inc @@ -366,13 +366,13 @@ class inetLocalMailRecipient extends baseModule { function get_pdfEntries() { $return = array(); if (isset($this->attributes['mailRoutingAddress'][0])) { - $return['inetLocalMailRecipient_routingAdr'] = '' . _('Routing address') . '' . $this->attributes['mailRoutingAddress'][0] . ''; + $return['inetLocalMailRecipient_routingAdr'][0] = '' . _('Routing address') . '' . $this->attributes['mailRoutingAddress'][0] . ''; } if (sizeof($this->attributes['mailLocalAddress']) > 0) { - $return['inetLocalMailRecipient_localAdr'] = '' . _('Local address list') . '' . implode(', ', $this->attributes['mailLocalAddress']) . ''; + $return['inetLocalMailRecipient_localAdr'][0] = '' . _('Local address list') . '' . implode(', ', $this->attributes['mailLocalAddress']) . ''; } if (isset($this->attributes['mailHost'][0])) { - $return['inetLocalMailRecipient_host'] = '' . _('Mail server') . '' . $this->attributes['mailHost'][0] . ''; + $return['inetLocalMailRecipient_host'][0] = '' . _('Mail server') . '' . $this->attributes['mailHost'][0] . ''; } return $return; } diff --git a/lam/lib/modules/nisMailAlias.inc b/lam/lib/modules/nisMailAlias.inc index 29907b0b..c596103e 100644 --- a/lam/lib/modules/nisMailAlias.inc +++ b/lam/lib/modules/nisMailAlias.inc @@ -302,10 +302,10 @@ class nisMailAlias extends baseModule { function get_pdfEntries() { $return = array(); if (isset($this->attributes['cn'][0])) { - $return['nisMailAlias_alias'] = '' . _('Alias name') . '' . $this->attributes['cn'][0] . ''; + $return['nisMailAlias_alias'][0] = '' . _('Alias name') . '' . $this->attributes['cn'][0] . ''; } if (sizeof($this->attributes['rfc822MailMember']) > 0) { - $return['nisMailAlias_recipients'] = '' . _('Recipient list') . '' . implode(', ', $this->attributes['rfc822MailMember']) . ''; + $return['nisMailAlias_recipients'][0] = '' . _('Recipient list') . '' . implode(', ', $this->attributes['rfc822MailMember']) . ''; } return $return; }