1 {if $init_failed}
2 <h2>{t}Information{/t}</h2>
3 <font style='color: #FF0000;'>{msgPool type=siError p=$message}</font>
4 <input type='submit' name='reinit' value="{t}Retry{/t}">
5 {else}
6 {if $type == 1}
7 <h2><img class='center' alt='' src='plugins/opsi/images/hardware_info.png'> {t}Hardware information{/t}</h2>
8 <a href='{$plug}&type=0'>Software info</a>
9 {else}
10 <h2><img class='center' alt='' src='plugins/opsi/images/software_info.png'> {t}Software information{/t}</h2>
11 <a href='{$plug}&type=1'>Hardware info</a>
12 {/if}
14 {foreach from=$info item=item key=key}
15 <div style='background-color: #E8E8E8; width: 100%; border: 2px dotted #CCCCCC;'>
16 <h2>{t}Device{/t} { $key+1 }</h2>
17 {foreach from=$item key=name item=value}
18 <div style="text-transform:lowercase;width:30%; float: left; ">{$name}: </div>
19 <div style="width:70%; float: right;background-color: #DADADA;">{$value.0.VALUE} </div>
20 <div style='clear: both;'></div>
21 {/foreach}
22 </div>
23 <br>
24 {/foreach}
25 {/if}