Projet

Général

Profil

Révision 4f0890e4

Voir les différences:

plugins/pdf/inc/plugin_pdf.functions.php
159 159

  
160 160
			//erics on ajoute un peu de texte et
161 161
			//erics on simplifie l'affichage
162
			$siteT = explode('>', plugin_pdf_getDropdownName('glpi_entities',$computer->fields['FK_entities']));
162 163
			if($computer->fields['name'])
163
			  $pdf->addText(220,$height-45,14,utf8_decode('<b>Inventaire du matériel: '.$computer->fields['name']));
164
			  $pdf->addText(180,$height-45,14,utf8_decode('<b>'. $siteT[count($siteT)-1] . " -- " .$computer->fields['name']));
164 165
			else
165
			  $pdf->addText(220,$height-45,14,utf8_decode('<b>'.$LANG["common"][2].' '.$computer->fields['ID'].' ('.plugin_pdf_getDropdownName('glpi_entities',$computer->fields['FK_entities']).')</b>'));
166
			  $pdf->addText(180,$height-45,14,utf8_decode('<b>'.$LANG["common"][2].' '.$computer->fields['ID'].' ('.plugin_pdf_getDropdownName('glpi_entities',$computer->fields['FK_entities']).')</b>'));
166 167
				
167 168
		break;
168 169
		case SOFTWARE_TYPE:

Formats disponibles : Unified diff

Redmine Appliance - Powered by TurnKey Linux