1 {if $device_type=="monitor"}
2 <h2>{t}Monitor{/t}</h2>
3 <table summary="" width="100%">
4 <tr>
5 <td width="50%" style="vertical-align:top; border-right:1px solid #A0A0A0; padding-right:5px;">
6 <table summary="" width="100%">
7 <tr>
8 <td>{t}Name{/t}
9 </td>
10 <td>
11 <input name="name" value="{$name}">
12 </td>
13 </tr>
14 <tr>
15 <td style="vertical-align:top;">{t}Comments{/t}
16 </td>
17 <td>
18 <textarea name="comments">{$comments}</textarea>
19 </td>
20 </tr>
21 <tr>
22 <td>{t}Manufacturer{/t}
23 </td>
24 <td>
25 <select name="FK_glpi_enterprise">
26 {html_options values=$FK_glpi_enterpriseKeys output=$FK_glpi_enterprises selected=$FK_glpi_enterprise}
27 </select>
28 </td>
29 </tr>
30 <tr>
31 <td style="vertical-align:top;">{t}Monitor size{/t}
32 </td>
33 <td>
34 <input name="size" value="{$size}">"
35 </td>
36 </tr>
37 </table>
38 </td>
39 <td>
40 <table summary="" width="100%">
41 <tr>
42 <td>{t}Integrated microphone{/t}
43 </td>
44 <td>
45 <input type="radio" name="flags_micro" value="1" {if $flags_micro == "1"}checked {/if}>{t}Yes{/t}
46 <input type="radio" name="flags_micro" value="0" {if ($flags_micro == "0")||($flags_micro=="")}checked {/if}>{t}No{/t}
47 </td>
48 </tr>
49 <tr>
50 <td>{t}Integrated speakers{/t}
51 </td>
52 <td>
53 <input type="radio" name="flags_speaker" value="1" {if $flags_speaker == "1"}checked {/if}>{t}Yes{/t}
54 <input type="radio" name="flags_speaker" value="0" {if ($flags_speaker == "0")||($flags_speaker=="")}checked {/if}>{t}No{/t}
55 </td>
56 </tr>
57 <tr>
58 <td>{t}Sub-D{/t}
59 </td>
60 <td>
61 <input type="radio" name="flags_subd" value="1" {if $flags_subd == "1"}checked {/if}>{t}Yes{/t}
62 <input type="radio" name="flags_subd" value="0" {if ($flags_subd == "0")||($flags_subd=="")}checked {/if}>{t}No{/t}
63 </td>
64 </tr>
65 <tr>
66 <td>{t}BNC{/t}
67 </td>
68 <td>
69 <input type="radio" name="flags_bnc" value="1" {if $flags_bnc == "1"}checked {/if}>{t}Yes{/t}
70 <input type="radio" name="flags_bnc" value="0" {if ($flags_bnc == "0")||($flags_bnc=="")}checked {/if}>{t}No{/t}
71 </td>
72 </tr>
73 <tr>
74 <td style="vertical-align:top;">{t}Serial number{/t}
75 </td>
76 <td>
77 <input name="serial" value="{$serial}">
78 </td>
79 </tr>
80 <tr>
81 <td style="vertical-align:top;">{t}Additional serial number{/t}
82 </td>
83 <td>
84 <input name="otherserial" value="{$otherserial}">
85 </td>
86 </tr>
87 </table>
88 </td>
89 </tr>
90 </table>
93 {elseif $device_type=="pci"}
95 <h2>{t}Other devices{/t}</h2>
96 <table summary="" width="100%">
97 <tr>
98 <td width="50%" style="vertical-align:top; border-right:1px solid #A0A0A0; padding-right:5px;">
99 <table summary="" width="100%">
100 <tr>
101 <td>{t}Name{/t}
102 </td>
103 <td>
104 <input name="designation" value="{$designation}">
105 </td>
106 </tr>
107 <tr>
108 <td style="vertical-align:top;">{t}Comment{/t}
109 </td>
110 <td>
111 <textarea name="comment">{$comment}</textarea>
112 </td>
113 </tr>
114 </table>
115 </td>
116 <td>
117 <table summary="" width="100%">
118 <tr>
119 <td>{t}Manufacturer{/t}
120 </td>
121 <td>
122 <select name="FK_glpi_enterprise">
123 {html_options values=$FK_glpi_enterpriseKeys output=$FK_glpi_enterprises selected=$FK_glpi_enterprise}
124 </select>
125 </td>
126 </tr>
127 </table>
128 </td>
129 </tr>
130 </table>
132 {elseif $device_type=="power"}
134 <h2>{t}Power supply{/t}</h2>
135 <table summary="" width="100%">
136 <tr>
137 <td width="50%" style="vertical-align:top; border-right:1px solid #A0A0A0; padding-right:5px;">
138 <table summary="" width="100%">
139 <tr>
140 <td>{t}Name{/t}
141 </td>
142 <td>
143 <input name="designation" value="{$designation}">
144 </td>
145 </tr>
146 <tr>
147 <td style="vertical-align:top;">{t}Comment{/t}
148 </td>
149 <td>
150 <textarea name="comment">{$comment}</textarea>
151 </td>
152 </tr>
153 </table>
154 </td>
155 <td>
156 <table summary="" width="100%">
157 <tr>
158 <td>{t}Manufacturer{/t}
159 </td>
160 <td>
161 <select name="FK_glpi_enterprise">
162 {html_options values=$FK_glpi_enterpriseKeys output=$FK_glpi_enterprises selected=$FK_glpi_enterprise}
163 </select>
164 </td>
165 </tr>
166 <tr>
167 <td>{t}Atx{/t}
168 </td>
169 <td>
170 <input type="radio" name="atx" value="Y" {if ($atx == "Y")||($atx=="")}checked {/if}>{t}Yes{/t}
171 <input type="radio" name="atx" value="N" {if $atx == "N"}checked {/if}>{t}No{/t}
172 </td>
173 </tr>
174 <tr>
175 <td>{t}Power{/t}
176 </td>
177 <td>
178 <input name="power" value="{$power}">
179 </td>
180 </tr>
181 </table>
182 </td>
183 </tr>
184 </table>
185 {elseif $device_type=="gfxcard"}
187 <h2>{t}Gfxcard{/t}</h2>
188 <table summary="" width="100%">
189 <tr>
190 <td width="50%" style="vertical-align:top; border-right:1px solid #A0A0A0; padding-right:5px;">
191 <table summary="" width="100%">
192 <tr>
193 <td>{t}Name{/t}
194 </td>
195 <td>
196 <input name="designation" value="{$designation}">
197 </td>
198 </tr>
199 <tr>
200 <td style="vertical-align:top;">{t}Comment{/t}
201 </td>
202 <td>
203 <textarea name="comment">{$comment}</textarea>
204 </td>
205 </tr>
206 </table>
207 </td>
208 <td>
209 <table summary="" width="100%">
210 <tr>
211 <td>{t}Manufacturer{/t}
212 </td>
213 <td>
214 <select name="FK_glpi_enterprise">
215 {html_options values=$FK_glpi_enterpriseKeys output=$FK_glpi_enterprises selected=$FK_glpi_enterprise}
216 </select>
217 </td>
218 </tr>
219 <tr>
220 <td>{t}Interface{/t}
221 </td>
222 <td>
223 <select name="interface">
224 {html_options values=$GFXInterfaceKeys output=$GFXInterfaces selected=$interface}
225 </select>
226 </td>
227 </tr>
228 <tr>
229 <td>{t}Ram{/t}
230 </td>
231 <td>
232 <input name="ram" value="{$ram}">
233 </td>
234 </tr>
235 </table>
236 </td>
237 </tr>
238 </table>
239 {elseif $device_type=="control"}
241 <h2>{t}Controllers{/t}</h2>
242 <table summary="" width="100%">
243 <tr>
244 <td width="50%" style="vertical-align:top; border-right:1px solid #A0A0A0; padding-right:5px;">
245 <table summary="" width="100%">
246 <tr>
247 <td>{t}Name{/t}
248 </td>
249 <td>
250 <input name="designation" value="{$designation}">
251 </td>
252 </tr>
253 <tr>
254 <td style="vertical-align:top;">{t}Comment{/t}
255 </td>
256 <td>
257 <textarea name="comment">{$comment}</textarea>
258 </td>
259 </tr>
260 </table>
261 </td>
262 <td>
263 <table summary="" width="100%">
264 <tr>
265 <td>{t}Manufacturer{/t}
266 </td>
267 <td>
268 <select name="FK_glpi_enterprise">
269 {html_options values=$FK_glpi_enterpriseKeys output=$FK_glpi_enterprises selected=$FK_glpi_enterprise}
270 </select>
271 </td>
272 </tr>
273 <tr>
274 <td>{t}Interface{/t}
275 </td>
276 <td>
277 <select name="interface">
278 {html_options values=$HDDInterfaceKeys output=$HDDInterfaces selected=$interface}
279 </select>
280 </td>
281 </tr>
282 <tr>
283 <td>{t}Size{/t}
284 </td>
285 <td>
286 <input type="radio" name="raid" value="Y" {if ($raid == "Y")||($raid=="")}checked {/if}>{t}Yes{/t}
287 <input type="radio" name="raid" value="N" {if $raid == "N"}checked {/if}>{t}No{/t}
288 </td>
289 </tr>
290 </table>
291 </td>
292 </tr>
293 </table>
295 {elseif $device_type=="drive"}
297 <h2>{t}Drive{/t}</h2>
298 <table summary="" width="100%">
299 <tr>
300 <td width="50%" style="vertical-align:top; border-right:1px solid #A0A0A0; padding-right:5px;">
301 <table summary="" width="100%">
302 <tr>
303 <td>{t}Name{/t}
304 </td>
305 <td>
306 <input name="designation" value="{$designation}">
307 </td>
308 </tr>
309 <tr>
310 <td style="vertical-align:top;">{t}Comment{/t}
311 </td>
312 <td>
313 <textarea name="comment">{$comment}</textarea>
314 </td>
315 </tr>
316 </table>
317 </td>
318 <td>
319 <table summary="" width="100%">
320 <tr>
321 <td>{t}Manufacturer{/t}
322 </td>
323 <td>
324 <select name="FK_glpi_enterprise">
325 {html_options values=$FK_glpi_enterpriseKeys output=$FK_glpi_enterprises selected=$FK_glpi_enterprise}
326 </select>
327 </td>
328 </tr>
329 <tr>
330 <td>{t}Speed{/t}
331 </td>
332 <td>
333 <input type="text" name="speed" value="{$speed}">
334 </td>
335 </tr>
336 <tr>
337 <td>{t}Interface{/t}
338 </td>
339 <td>
340 <select name="interface">
341 {html_options values=$HDDInterfaceKeys output=$HDDInterfaces selected=$interface}
342 </select>
343 </td>
344 </tr>
345 <tr>
346 <td>{t}Writeable{/t}
347 </td>
348 <td>
349 <input type="radio" name="is_writer" value="Y" {if ($is_writer == "Y")||($is_writer=="")}checked {/if}>{t}Yes{/t}
350 <input type="radio" name="is_writer" value="N" {if $is_writer == "N"}checked {/if}>{t}No{/t}
351 </td>
352 </tr>
353 </table>
354 </td>
355 </tr>
356 </table>
358 {elseif $device_type=="hdd"}
359 <h2>{t}Hdd{/t}</h2>
360 <table summary="" width="100%">
361 <tr>
362 <td width="50%" style="vertical-align:top; border-right:1px solid #A0A0A0; padding-right:5px;">
363 <table summary="" width="100%">
364 <tr>
365 <td>{t}Name{/t}
366 </td>
367 <td>
368 <input name="designation" value="{$designation}">
369 </td>
370 </tr>
371 <tr>
372 <td style="vertical-align:top;">{t}Comment{/t}
373 </td>
374 <td>
375 <textarea name="comment">{$comment}</textarea>
376 </td>
377 </tr>
378 </table>
379 </td>
380 <td>
381 <table summary="" width="100%">
382 <tr>
383 <td>{t}Manufacturer{/t}
384 </td>
385 <td>
386 <select name="FK_glpi_enterprise">
387 {html_options values=$FK_glpi_enterpriseKeys output=$FK_glpi_enterprises selected=$FK_glpi_enterprise}
388 </select>
389 </td>
390 </tr>
391 <tr>
392 <td>{t}Rpm{/t}
393 </td>
394 <td>
395 <input type="text" name="rpm" value="{$rpm}">
396 </td>
397 </tr>
398 <tr>
399 <td>{t}Cache{/t}
400 </td>
401 <td>
402 <input type="text" name="cache" value="{$cache}">
403 </td>
404 </tr>
405 <tr>
406 <td>{t}Size{/t}
407 </td>
408 <td>
409 <input type="text" name="specif_default" value="{$specif_default}">
410 </td>
411 </tr>
412 <tr>
413 <td>{t}Type{/t}
414 </td>
415 <td>
416 <select name="interface">
417 {html_options values=$HDDInterfaceKeys output=$HDDInterfaces selected=$interface}
418 </select>
419 </td>
420 </tr>
422 </table>
423 </td>
424 </tr>
425 </table>
427 {elseif $device_type=="ram"}
429 <h2>{t}RAM{/t}</h2>
430 <table summary="" width="100%">
431 <tr>
432 <td width="50%" style="vertical-align:top; border-right:1px solid #A0A0A0; padding-right:5px;">
433 <table summary="" width="100%">
434 <tr>
435 <td>{t}Name{/t}
436 </td>
437 <td>
438 <input name="designation" value="{$designation}">
439 </td>
440 </tr>
441 <tr>
442 <td style="vertical-align:top;">{t}Comment{/t}
443 </td>
444 <td>
445 <textarea name="comment">{$comment}</textarea>
446 </td>
447 </tr>
448 </table>
449 </td>
450 <td>
451 <table summary="" width="100%">
452 <tr>
453 <td>{t}Manufacturer{/t}
454 </td>
455 <td>
456 <select name="FK_glpi_enterprise">
457 {html_options values=$FK_glpi_enterpriseKeys output=$FK_glpi_enterprises selected=$FK_glpi_enterprise}
458 </select>
459 </td>
460 </tr>
461 <tr>
462 <td>{t}Frequenz{/t}
463 </td>
464 <td>
465 <input type="text" name="frequence" value="{$frequence}">
466 </td>
467 </tr>
468 <tr>
469 <td>{t}Size{/t}
470 </td>
471 <td>
472 <input type="text" name="specif_default" value="{$specif_default}">
473 </td>
474 </tr>
475 <tr>
476 <td>{t}Type{/t}
477 </td>
478 <td>
479 <select name="type">
480 {html_options values=$RAMtypeKeys output=$RAMtypes selected=$type}
481 </select>
482 </td>
483 </tr>
485 </table>
486 </td>
487 </tr>
488 </table>
490 {elseif $device_type=="sndcard"}
491 <h2>{t}Soundcard{/t}</h2>
492 <table summary="" width="100%">
493 <tr>
494 <td width="50%" style="vertical-align:top; border-right:1px solid #A0A0A0; padding-right:5px;">
495 <table summary="" width="100%">
496 <tr>
497 <td>{t}Name{/t}
498 </td>
499 <td>
500 <input name="designation" value="{$designation}">
501 </td>
502 </tr>
503 <tr>
504 <td style="vertical-align:top;">{t}Comment{/t}
505 </td>
506 <td>
507 <textarea name="comment">{$comment}</textarea>
508 </td>
509 </tr>
510 </table>
511 </td>
512 <td>
513 <table summary="" width="100%">
514 <tr>
515 <td>{t}Manufacturer{/t}
516 </td>
517 <td>
518 <select name="FK_glpi_enterprise">
519 {html_options values=$FK_glpi_enterpriseKeys output=$FK_glpi_enterprises selected=$FK_glpi_enterprise}
520 </select>
521 </td>
522 </tr>
523 <tr>
524 <td>{t}Type{/t}
525 </td>
526 <td>
527 <input type="text" name="type" value="{$type}">
528 </td>
529 </tr>
530 </table>
531 </td>
532 </tr>
533 </table>
534 {elseif $device_type=="iface"}
535 <h2>{t}Network interface{/t}</h2>
536 <table summary="" width="100%">
537 <tr>
538 <td width="50%" style="vertical-align:top; border-right:1px solid #A0A0A0; padding-right:5px;">
539 <table summary="" width="100%">
540 <tr>
541 <td>{t}Name{/t}
542 </td>
543 <td>
544 <input name="designation" value="{$designation}">
545 </td>
546 </tr>
547 <tr>
548 <td style="vertical-align:top;">{t}Comment{/t}
549 </td>
550 <td>
551 <textarea name="comment">{$comment}</textarea>
552 </td>
553 </tr>
554 </table>
555 </td>
556 <td>
557 <table summary="" width="100%">
558 <tr>
559 <td>{t}Manufacturer{/t}
560 </td>
561 <td>
562 <select name="FK_glpi_enterprise">
563 {html_options values=$FK_glpi_enterpriseKeys output=$FK_glpi_enterprises selected=$FK_glpi_enterprise}
564 </select>
565 </td>
566 </tr>
567 <tr>
568 <td>{t}MAC address{/t}
569 </td>
570 <td>
571 <input type="text" name="specif_default" value="{$specif_default}">
572 </td>
573 </tr>
574 <tr>
575 <td>{t}Bandwidth{/t}
576 </td>
577 <td>
578 <input type="text" name="bandwidth" value="{$bandwidth}">
579 </td>
580 </tr>
581 </table>
582 </td>
583 </tr>
584 </table>
585 {elseif $device_type=="processor"}
586 <h2>{t}Processor{/t}</h2>
587 <table summary="" width="100%">
588 <tr>
589 <td width="50%" style="vertical-align:top; border-right:1px solid #A0A0A0; padding-right:5px;">
590 <table summary="" width="100%">
591 <tr>
592 <td>{t}Name{/t}
593 </td>
594 <td>
595 <input name="designation" value="{$designation}">
596 </td>
597 </tr>
598 <tr>
599 <td style="vertical-align:top;">{t}Comment{/t}
600 </td>
601 <td>
602 <textarea name="comment">{$comment}</textarea>
603 </td>
604 </tr>
605 </table>
606 </td>
607 <td>
608 <table summary="" width="100%">
609 <tr>
610 <td>{t}Manufacturer{/t}
611 </td>
612 <td>
613 <select name="FK_glpi_enterprise">
614 {html_options values=$FK_glpi_enterpriseKeys output=$FK_glpi_enterprises selected=$FK_glpi_enterprise}
615 </select>
616 </td>
617 </tr>
618 <tr>
619 <td>{t}Frequence{/t}
620 </td>
621 <td>
622 <input type="text" name="frequence" value="{$frequence}">
623 </td>
624 </tr>
625 <tr>
626 <td>{t}Default frequence{/t}
627 </td>
628 <td>
629 <input type="text" name="specif_default" value="{$specif_default}">
630 </td>
631 </tr>
632 </table>
633 </td>
634 </tr>
635 </table>
637 {elseif $device_type=="moboard"}
638 <h2>{t}Motherboard{/t}</h2>
639 <table summary="" width="100%">
640 <tr>
641 <td width="50%" style="vertical-align:top; border-right:1px solid #A0A0A0; padding-right:5px;">
642 <table summary="" width="100%">
643 <tr>
644 <td>{t}Name{/t}
645 </td>
646 <td>
647 <input name="designation" value="{$designation}">
648 </td>
649 </tr>
650 <tr>
651 <td style="vertical-align:top;">{t}Comment{/t}
652 </td>
653 <td>
654 <textarea name="comment">{$comment}</textarea>
655 </td>
656 </tr>
657 </table>
658 </td>
659 <td>
660 <table summary="" width="100%">
661 <tr>
662 <td>{t}Manufacturer{/t}
663 </td>
664 <td>
665 <select name="FK_glpi_enterprise">
666 {html_options values=$FK_glpi_enterpriseKeys output=$FK_glpi_enterprises selected=$FK_glpi_enterprise}
667 </select>
668 </td>
669 </tr>
670 <tr>
671 <td>{t}Chipset{/t}
672 </td>
673 <td>
674 <input type="text" name="chipset" value="{$chipset}">
675 </td>
676 </tr>
677 </table>
678 </td>
679 </tr>
680 </table>
681 {elseif $device_type=="case"}
682 <h2>{t}Computer case{/t}</h2>
683 <table summary="" width="100%">
684 <tr>
685 <td width="50%" style="vertical-align:top; border-right:1px solid #A0A0A0; padding-right:5px;">
686 <table summary="" width="100%">
687 <tr>
688 <td>{t}Name{/t}
689 </td>
690 <td>
691 <input name="designation" value="{$designation}">
692 </td>
693 </tr>
694 <tr>
695 <td style="vertical-align:top;">{t}Comment{/t}
696 </td>
697 <td>
698 <textarea name="comment">{$comment}</textarea>
699 </td>
700 </tr>
701 </table>
702 </td>
703 <td>
704 <table summary="" width="100%">
705 <tr>
706 <td>{t}Manufacturer{/t}
707 </td>
708 <td>
709 <select name="FK_glpi_enterprise">
710 {html_options values=$FK_glpi_enterpriseKeys output=$FK_glpi_enterprises selected=$FK_glpi_enterprise}
711 </select>
712 </td>
713 </tr>
714 <tr>
715 <td style="vertical-align:top;">{t}format{/t}
716 </td>
717 <td>
718 <select name="format">
719 {html_options values=$formatKeys output=$formats selected=$format}
720 </select>
721 </td>
722 </tr>
723 </table>
724 </td>
725 </tr>
726 </table>
727 {/if}
730 <p class="seperator"> </p>
731 <div align="right">
732 <p>
733 <input type="submit" value="{t}Save{/t}" name="SaveDeviceChanges">
734 <input type="submit" value="{t}Cancel{/t}" name="AbortDeviceChanges">
735 </p>
736 </div>