fixed PDF output

This commit is contained in:
Roland Gruber 2005-06-12 19:41:49 +00:00
parent 14cea94915
commit c9b305523b
3 changed files with 6 additions and 6 deletions

View File

@ -254,7 +254,7 @@ class ieee802Device extends baseModule {
function get_pdfEntries() {
$return = array();
if (sizeof($this->attributes['macAddress']) > 0) {
$return['ieee802Device_macAddress'] = '<block><key>' . _('MAC address list') . '</key><value>' . implode(', ', $this->attributes['macAddress']) . '</value></block>';
$return['ieee802Device_macAddress'][0] = '<block><key>' . _('MAC address(es)') . '</key><value>' . implode(', ', $this->attributes['macAddress']) . '</value></block>';
}
return $return;
}

View File

@ -366,13 +366,13 @@ class inetLocalMailRecipient extends baseModule {
function get_pdfEntries() {
$return = array();
if (isset($this->attributes['mailRoutingAddress'][0])) {
$return['inetLocalMailRecipient_routingAdr'] = '<block><key>' . _('Routing address') . '</key><value>' . $this->attributes['mailRoutingAddress'][0] . '</value></block>';
$return['inetLocalMailRecipient_routingAdr'][0] = '<block><key>' . _('Routing address') . '</key><value>' . $this->attributes['mailRoutingAddress'][0] . '</value></block>';
}
if (sizeof($this->attributes['mailLocalAddress']) > 0) {
$return['inetLocalMailRecipient_localAdr'] = '<block><key>' . _('Local address list') . '</key><value>' . implode(', ', $this->attributes['mailLocalAddress']) . '</value></block>';
$return['inetLocalMailRecipient_localAdr'][0] = '<block><key>' . _('Local address list') . '</key><value>' . implode(', ', $this->attributes['mailLocalAddress']) . '</value></block>';
}
if (isset($this->attributes['mailHost'][0])) {
$return['inetLocalMailRecipient_host'] = '<block><key>' . _('Mail server') . '</key><value>' . $this->attributes['mailHost'][0] . '</value></block>';
$return['inetLocalMailRecipient_host'][0] = '<block><key>' . _('Mail server') . '</key><value>' . $this->attributes['mailHost'][0] . '</value></block>';
}
return $return;
}

View File

@ -302,10 +302,10 @@ class nisMailAlias extends baseModule {
function get_pdfEntries() {
$return = array();
if (isset($this->attributes['cn'][0])) {
$return['nisMailAlias_alias'] = '<block><key>' . _('Alias name') . '</key><value>' . $this->attributes['cn'][0] . '</value></block>';
$return['nisMailAlias_alias'][0] = '<block><key>' . _('Alias name') . '</key><value>' . $this->attributes['cn'][0] . '</value></block>';
}
if (sizeof($this->attributes['rfc822MailMember']) > 0) {
$return['nisMailAlias_recipients'] = '<block><key>' . _('Recipient list') . '</key><value>' . implode(', ', $this->attributes['rfc822MailMember']) . '</value></block>';
$return['nisMailAlias_recipients'][0] = '<block><key>' . _('Recipient list') . '</key><value>' . implode(', ', $this->attributes['rfc822MailMember']) . '</value></block>';
}
return $return;
}