Code

Fixed filtering problems
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 7 May 2007 13:36:41 +0000 (13:36 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 7 May 2007 13:36:41 +0000 (13:36 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6280 594d385d-05f5-0310-b6e9-bd551577e9d8

setup/class_setupStep_Migrate.inc
setup/setup_migrate.tpl

index 37955aec004fc7a1a488992d2498c106a5450c81..303c24f85b79004c57ccb36b3efcdedc58d6d153 100644 (file)
@@ -408,7 +408,7 @@ class Step_Migrate extends setup_step
 
     if(count($this->outside_users)){
       $this->checks['outside_users']['STATUS']    = FALSE;
-      $this->checks['outside_users']['STATUS_MSG']= _("Failed");
+      $this->checks['outside_users']['STATUS_MSG']= "<font style='color:#F0A500'>"._("Warning")."</font>";
       $this->checks['outside_users']['ERROR_MSG'] = 
         sprintf(_("Found %s user(s) outside the selected user ou '%s'."),count($this->outside_users),$people_ou);
       $this->checks['outside_users']['ERROR_MSG'].= "<input type='submit' name='outside_users_dialog' value='"._("Migrate")."'>";
index 99d7815895202203f9fb86c93bbb38ef91b2d794..8bcf7ddbbe7d3edee4f5e9b1ca66abfb39612054 100644 (file)
                
                {elseif $method == "outside_users"}
 
-                       <h2>{t}Move users into valid user departments{/t}</h2>
-
-                       {t}This dialog allows you to move the displayed users into a valid user department{/t}
-                       <br>
-                       {t}Be careful with this tool, there may be references pointing to this user that can't be migrated.{/t}
-                       <br>
-                       <br>    
+                       <h2>{t}Move users into configured user tree{/t}</h2>
+                       <p>
+                       {t}This dialog allows moving a couple of users to the configured user tree.{/t}
+                       </p>
+                       <p style='color:red'>
+                       {t}Be careful with this option! There may be references pointing to these users. The setup can't migrate references, so you may want to abort in this case.{/t}
+                       </p>    
 
                        {foreach from=$outside_users item=val key=key}
                                {if $outside_users.$key.selected}
                                {html_options options=$ous}
                        </select>
                        <br>
-                       <input type='submit' name='outside_users_dialog_perform' value='{t}Move selected user{/t}'>
-                       <input type='submit' name='outside_users_dialog_whats_done' value='{t}What will be done here{/t}'>
+                       <input type='submit' name='outside_users_dialog_whats_done' value='{t}Show changes{/t}'>
                        </p>
                                
 
                        <p class='seperator'>&nbsp;</p> 
-                       <div style='width:100%; text-align:right; padding:5px;'>
-                               <input type='submit' name='outside_users_dialog_cancel' value='{t}Close{/t}'>
+                       <div style='width:99%; text-align:right; padding:5px;'>
+                               <input type='submit' name='outside_users_dialog_perform' value='{t}Move{/t}'>
+                               &nbsp;
+                               <input type='submit' name='outside_users_dialog_cancel' value='{t}Cancel{/t}'>
                        </div>