From: hickert Date: Fri, 13 Apr 2007 07:01:35 +0000 (+0000) Subject: Removed not necessary options from schema step. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=088cd72f553f80e93b283df82747469399c8b1b4;p=gosa.git Removed not necessary options from schema step. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6036 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/setup/class_setupStep7.inc b/setup/class_setupStep7.inc index 38ea41139..6dba41c0a 100644 --- a/setup/class_setupStep7.inc +++ b/setup/class_setupStep7.inc @@ -26,7 +26,6 @@ class setup_step_7 extends setup_step var $not_checked = array(); var $schema_readable = FALSE; var $attributes = array("enable_schema_check","samba_version"); - var $display_type = "failed"; var $enable_schema_check = TRUE; var $samba_version = 3; @@ -62,7 +61,6 @@ class setup_step_7 extends setup_step $smarty = get_smarty(); $smarty->assign("bool",array(FALSE => _("No"), TRUE => _("Yes"))); - $smarty->assign("display_type",$this->display_type); $smarty->assign("schema_readable",$this->schema_readable); $smarty->assign("enable_schema_check",$this->enable_schema_check); $smarty->assign("checks",$this->checked); @@ -82,11 +80,6 @@ class setup_step_7 extends setup_step { if(isset($_POST['step7_posted'])){ - /* Get diplay method */ - if(isset($_POST['display_type']) && in_array($_POST['display_type'],array("failed","checked","all"))){ - $this->display_type = $_POST['display_type']; - } - /* Get attributes */ foreach($this->attributes as $attr){ if(isset($_POST[$attr])){ diff --git a/setup/setup_step7.tpl b/setup/setup_step7.tpl index 3f8e65527..fe1e0c582 100644 --- a/setup/setup_step7.tpl +++ b/setup/setup_step7.tpl @@ -1,11 +1,8 @@ - -

{t}Validate schema when login into GOsa?{/t}
-
{t}Enable schema validation{/t} @@ -21,51 +18,27 @@
- {if $failed_checks == 0}

{t}Schema check was completely successful{/t}

{else} -

{t}The schema check returned the following results{/t}

+

+ {t}The schema check returned the following results{/t}

{/if} - - {t}Only display failed tests{/t}
- {t}Display checked object classes{/t}
- {t}Display all objectClasses also not checked but available classes{/t} -
{foreach from=$checks item=val key=key} - {if ( $display_type == "failed" && !$checks[$key].STATUS) || - $display_type == "checked" || - $display_type == "all"} - -
+ {if !$checks[$key].STATUS} +
{$key} {$checks[$key].INFO}
- {if !$checks[$key].STATUS} {if $checks[$key].IS_MUST_HAVE} {$checks[$key].MSG} {else} {$checks[$key].MSG} {/if} - {else} - {$checks[$key].MSG} +
{/if} - {/if} {/foreach}
- -
- {if $display_type == "all"} -
-

{t}All available objectClasses{/t}

- {foreach from=$not_checked item=val key=key} - {$key}   {$val}
- {/foreach} -
- {/if}