1 <div style='float:left; width:600px;'>
2 <br>
3 <b>{t}Validate schema when login into GOsa?{/t}</b>
4 </div>
6 <div class='step4_container'>
7 <div class='step4_name'>
8 {t}Enable schema validation{/t}
9 </div>
10 <div class='step4_value'>
11 <select name='enable_schema_check'>
12 {html_options options=$bool selected=$enable_schema_check}
13 </select>
14 </div>
15 <div class='step4_status'>
16 {t}Infos in FAQ{/t}
17 <img class='center' src='images/info_small.png' title='{t}Please read the FAQ for more informations{/t}'>
18 </div>
19 </div>
20 <div style='float:left; width:600px;' >
22 {if $failed_checks == 0}
23 <h2>{t}Schema check was completely successful{/t}</h2>
24 {else}
25 <h2>{t}The schema check returned the following results{/t}</h2>
26 {/if}
28 <input {if $display_type == "failed"} checked {/if} onClick='document.mainform.submit();'
29 type='radio' name='display_type' value='failed'>{t}Only display failed tests{/t}<br>
30 <input {if $display_type == "checked"} checked {/if} onClick='document.mainform.submit();'
31 type='radio' name='display_type' value='checked'>{t}Display checked object classes{/t}<br>
32 <input {if $display_type == "all"} checked {/if} onClick='document.mainform.submit();'
33 type='radio' name='display_type' value='all'>{t}Display all objectClasses also not checked but available classes{/t}
35 <div style='float:left'>
36 {foreach from=$checks item=val key=key}
37 {if ( $display_type == "failed" && !$checks[$key].STATUS) ||
38 $display_type == "checked" ||
39 $display_type == "all"}
41 <br>
42 <b>{$key}</b>
43 {$checks[$key].INFO}
44 <br>
45 {if !$checks[$key].STATUS}
46 {if $checks[$key].IS_MUST_HAVE}
47 <i><font color='red'>{$checks[$key].MSG}</font></i>
48 {else}
49 <i><font color='orange'>{$checks[$key].MSG}</font></i>
50 {/if}
51 {else}
52 <i><font color='green'>{$checks[$key].MSG}</font></i>
53 {/if}
54 {/if}
55 {/foreach}
56 </div>
58 {if $display_type == "all"}
59 <div style='float:left'>
60 <h2>{t}All available objectClasses{/t}</h2>
61 {foreach from=$not_checked item=val key=key}
62 <b>{$key}</b> {$val}<br>
63 {/foreach}
64 </div>
65 {/if}
66 </div>
67 <input type='hidden' value='1' name='step7_posted'>