diff --git a/lam/lib/modules.inc b/lam/lib/modules.inc index c4491c79..0ce86da7 100644 --- a/lam/lib/modules.inc +++ b/lam/lib/modules.inc @@ -958,7 +958,7 @@ class accountContainer { $return[] = array( 0 => array('kind' => 'text', 'text' => ' ') ); - $pdfStructures = getAvailablePDFStructures($type); + $pdfStructures = getPDFStructureDefinitions($type); $return[] = array( 0 => array('kind' => 'fieldset', 'legend' => 'PDF', 'td' => array('colspan' => 2), 'value' => array(array( 0 => array('kind' => 'select', 'name' => 'pdfStructure', 'options' => $pdfStructures), diff --git a/lam/templates/lists/listgroups.php b/lam/templates/lists/listgroups.php index 914840a4..d241d28e 100644 --- a/lam/templates/lists/listgroups.php +++ b/lam/templates/lists/listgroups.php @@ -240,7 +240,7 @@ if (sizeof($info) > 0) { echo ("


\n"); echo "
PDF\n"; echo ("" . _('PDF structure') . ":  \n"); - $pdf_structures = getAvailablePDFStructures('host'); + $pdf_structures = getPDFStructureDefinitions($scope); foreach($pdf_structures as $pdf_structure) { echo ""; } diff --git a/lam/templates/lists/listusers.php b/lam/templates/lists/listusers.php index e427c073..650176f9 100644 --- a/lam/templates/lists/listusers.php +++ b/lam/templates/lists/listusers.php @@ -285,7 +285,7 @@ if (sizeof($info) != 0) { echo ("


\n"); echo "
PDF\n"; echo ("" . _('PDF structure') . ":