Code

Added user selection
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 9 Feb 2007 10:30:28 +0000 (10:30 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 9 Feb 2007 10:30:28 +0000 (10:30 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5716 594d385d-05f5-0310-b6e9-bd551577e9d8

setup/setup_step4.tpl

index c19f3218257d07b70bba758929271a6f0c650f0f..28258dfa814f58a64143d9b781588205daaa04bf 100644 (file)
                        <input type='text' name='connection' maxlength='80' size='25' value='{$connection}' style='width:100%;'>
                </div>
                <div class='step4_status'>
-                       <input type='submit' value='{t}Try connect{/t}' style='width:90%;'>
+                       <input type='submit' value='{t}Test{/t}' style='width:90%;'>
                </div>
        </div>
-       <div style='float:left; width:680px;padding-bottom:10px;'>
-               {t}Status{/t}: {$connection_status}
-       </div>
-       <br>
        <div class='step4_container'>
                <div class='step4_name'> 
                        {t}Base{/t}
                </div>
                <div class='step4_value'>
-
                        {if $namingContextsCount >= 1}
-
                                <select name='base' style='width:100%;'>                
                                        {html_options values=$namingContexts output=$namingContexts selected=$base}
                                </select>
                        {else}
                                <input type='text' name='base' maxlength='80' size='40' value='{$base}' style='width:100%;'>
                        {/if}
-
                </div>
                <div class='step4_status'>
-               
                </div>
        </div>
 
                        {t}Admin DN{/t}
                </div>
                <div class='step4_value'>
-                       
                        <input type='text' name='admin' maxlength='160' size='40' value='{$admin}' style='width:100%;'>
                </div>
                <div class='step4_status'>
-                       <input type='submit' name='resolve_user' value='{t}Select user{/t}' style='width:90%;' >
+                       {if $resolve_user}
+                               <input type='submit' name='resolve_user' value='{t}Cancel{/t}' style='width:90%;' >
+                       {else}
+                               <input type='submit' name='resolve_user' value='{t}Select user{/t}' style='width:90%;' >
+                       {/if}
                </div>
        </div>
 
                <div class='step4_status'>
                </div>
        </div>
-               
+       <div class='step4_container'>
+               <div class='step4_name'>
+               </div>
+               <div class='step4_value'>
+               </div>
+               <div class='step4_status'>
+                       <input type='submit' value='{t}Try connect{/t}' style='width:90%;'>
+               </div>
+       </div>
+       <div style='float:left; width:680px;padding-bottom:10px;'>
+               {t}Status{/t}: {$connection_status}
+       </div>
+       <br>
 
 {if 1== 0}