Code

Removed div list for users
[gosa.git] / gosa-core / setup / setup_schema.tpl
index e56538b1ec90b6f9b895b66381d85fd5f9393ae6..908b989b70d47db3906f14e2f8d645fdaedf951f 100644 (file)
                {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 $found_ocs == 0}
+                       <b>{t}Could not read any schema informations, all checks skipped. Adjust your ldap acls.{/t}</b>
+                       <br>
+                       {if !$database_initialised}
+                       <br>
+                               {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}
+               {else}
+                       {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}
-                               <br>
-                               {/if}
-               {/foreach}
+                       {/foreach}
+               {/if}
        </div>
 </div>
 <input type='hidden' value='1' name='step7_posted'>