Code

Updated macro class. Added check -> Empty macros can't be saved.
[gosa.git] / setup / setup_schema.tpl
1 <div class='default' style='margin:12px; '>
2     <div style='float:left; '>
3         <br>
4         <b>{t}Validate schema when login into GOsa?{/t}</b>
5     </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}&nbsp;
17             <img  alt='!'  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;' >
21                 {if $failed_checks == 0}
22                         <h2>{t}Schema check was completely successful{/t}</h2>
23                 {else}
24                         <h2><img src='images/warning.png' class='center'>
25                                 <font color='red'>{t}The schema check returned the following results{/t}</font></h2>
26                 {/if}
27         <div style='float:left'>
28                 {foreach from=$checks item=val key=key}
29                                 {if !$checks[$key].STATUS}
30                                 <br>
31                                 <b>{$key}</b>
32                                 {$checks[$key].INFO}
33                                 <br>
34                                         {if $checks[$key].IS_MUST_HAVE}
35                                                 <i><font color='red'>{$checks[$key].MSG}</font></i>
36                                         {else}
37                                                 <i><font color='orange'>{$checks[$key].MSG}</font></i>
38                                         {/if}
39                                 <br>
40                                 {/if}
41                 {/foreach}
42         </div>
43 </div>
44 <input type='hidden' value='1' name='step7_posted'>