Code

Updated statistics to use over time data
[gosa.git] / gosa-core / setup / setup_schema.tpl
index e56538b1ec90b6f9b895b66381d85fd5f9393ae6..1b0de2e13c19fcd6ab321ada58293a5571540b84 100644 (file)
@@ -1,40 +1,22 @@
-<div class='default'>
-    <p>
-     <b>{t}Schema specific settings{/t}</b>
-    </p>
-    <div class='step4_container'>
-        <div class='step4_name' style='width:30%'>
-            {t}Enable schema validation when logging in{/t}
-        </div>
-        <div class='step4_value'>
-                       <select name='enable_schema_check'>
-                               {html_options options=$bool selected=$enable_schema_check}
-            </select>
-        </div>
-    </div>
-    <p>
-     <b>{t}Check status{/t}</b>
-    </p>
-       <div>
-               {if $failed_checks == 0}
-                       <font style="color:green">{t}Schema check succeeded{/t}</font>
-               {else}
-                       <img src='images/small_warning.png' class='center'>
-                               <font style="color:red">{t}Schema check failed{/t}</font>
-               {/if}
-       </div>
-       <div style="margin-left:20px;">
-               {foreach from=$checks item=val key=key}
-                               {if !$checks[$key].STATUS}
-                               <br>
-                                       {if $checks[$key].IS_MUST_HAVE}
-                                               <font color='red'>{$checks[$key].MSG}</font>
-                                       {else}
-                                               {$checks[$key].MSG}
-                                       {/if}
-                               <br>
-                               {/if}
-               {/foreach}
-       </div>
-</div>
+<h3>{t}Schema specific settings{/t}</h3>
+
+{if !$checkFailed}
+ <font style="color:green">{t}Schema check succeeded{/t}</font>
+{else}
+ <img alt='' src='images/small_warning.png' class='center'>
+ <font style="color:red">{t}Schema check failed{/t}</font>
+
+ {if $ocCount == 0}
+  <p>
+   {t}Could not read any schema information, all checks skipped. Adjust your LDAP ACLs.{/t}
+   {if !$database_initialised}
+    {t}It seems that your LDAP database wasn't initialized yet. This maybe the reason, why GOsa can't read your schema configuration!{/t}
+   {/if}
+  </p>
+ {else}
+  {$message}
+ {/if}
+{/if}
+
+
 <input type='hidden' value='1' name='step7_posted'>