Code

Updated setup templates
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 17 Mar 2010 17:15:34 +0000 (17:15 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 17 Mar 2010 17:15:34 +0000 (17:15 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@16903 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/setup/setup_config1.tpl
gosa-core/setup/setup_config2.tpl
gosa-core/setup/setup_config3.tpl
gosa-core/setup/setup_feedback.tpl
gosa-core/setup/setup_finish.tpl
gosa-core/setup/setup_ldap.tpl
gosa-core/setup/setup_migrate.tpl
gosa-core/setup/setup_schema.tpl

index d3f1b844ca88f7620aa1c06b2ed2999bdb321533..692623a060b764574277a18b84f25d02689153c9 100644 (file)
@@ -6,7 +6,7 @@
             {t}Theme{/t}
         </div>
         <div class='step4_value'>
-            <select name="theme">
+            <select name="theme" size=1>
                 {html_options options=$themes selected=$theme}
             </select>
         </div>
@@ -19,7 +19,7 @@
             {t}Compress output send to browser{/t}
         </div>
         <div class='step4_value'>
-            <select name="compressed">
+            <select name="compressed" size=1>
                 {html_options options=$bool selected=$compressed}
             </select>
         </div>
index 1cf915a178e8e97f8df042f4d3861b80cb517e11..ab48a95311d57a5803b1b419e07c6f4768780d8e 100644 (file)
@@ -71,7 +71,7 @@
             {t}Timezone{/t}
         </div>
         <div class='step4_value'>
-            <select name='timezone' title='{t}Please choose your preferred timezone here{/t}' style="width:100%">
+            <select name='timezone' title='{t}Please choose your preferred timezone here{/t}' style="width:100%" size=1>
                {foreach from=$timezones.TIMEZONES item=val key=key}
             {if $key == $timezone}
                 {if isset($timezones.DST_ZONES.$key)}
index 1dfa10d27e05024308c36cc112e22ff339c67429..80e0af7fc85d2632fbded1f605e6f6b68e8a38b1 100644 (file)
             {if $optional.uniq_identifier_active == FALSE}
                 <input type='checkbox' value='1' name='uniq_identifier_active'
                     onClick='changeState("uniq_identifier");'>
-                               <select name="uniq_identifier" id="uniq_identifier" disabled>
+                               <select name="uniq_identifier" id="uniq_identifier" disabled size=1>
                                        {html_options options=$uniq_identifiers selected=$optional.uniq_identifier}
                                </select>
             {else}
                 <input type='checkbox' value='1' name='uniq_identifier_active' checked
                                        onClick='changeState("uniq_identifier");'>
-                               <select name="uniq_identifier" id="uniq_identifier" >
+                               <select name="uniq_identifier" id="uniq_identifier"  size=1>
                                        {html_options options=$uniq_identifiers selected=$optional.uniq_identifier}
                                </select>
             {/if}
             {t}Debug level{/t}
         </div>
         <div class='step4_value'>
-                       <select name='debuglevel'>
+                       <select name='debuglevel' size=1>
                                {if $optional.debuglevel == 0}
                                        <option value='0' selected>0 {t}Disabled{/t}</option>
                                        <option value='1'>1 {t}Enabled{/t}</option>
index eb326bad09e61eed256ea5b6350a4c71ec3693dd..4417822691e18eef75e10486e0caebb94b2d71f2 100644 (file)
@@ -55,7 +55,8 @@
        <b>{t}Generic{/t}</b>
        <table> 
                <tr>
-                       <td style='vertical-align:top'>
+                       <td>
+
                                {t}Did the setup procedure help you to get started?{/t}   
                        </td>
                        <td>
@@ -65,7 +66,8 @@
                        </td>
                </tr>
                <tr>
-                       <td style='vertical-align:top'>
+                       <td>
+
                                {t}If not, what problems did you encounter{/t}:
                        </td>
                        <td>
@@ -73,7 +75,8 @@
                        </td>
                </tr>
                <tr>
-                       <td style='vertical-align:top'>
+                       <td>
+
                                {t}Is this the first time you use GOsa?{/t}
                        </td>
                        <td>
                                <br>
                                <input {if !$first_use} checked {/if} type='radio' name='first_use' value='0'>{t}No{/t},
                                {t}I use it since{/t}
-                               <select name='use_since' title='{t}Select the year since when you are using GOsa{/t}'> 
+                               <select name='use_since' title='{t}Select the year since when you are using GOsa{/t}' size=1
                                        {html_options options=$years}
                                </select>
                        </td>   
                </tr>
                <tr>
-                       <td style='vertical-align:top'>
+                       <td>
+
                                {t}What operating system / distribution do you use?{/t}
                        </td>
                        <td>
@@ -95,7 +99,8 @@
                        </td>
                </tr>
                <tr>
-                       <td style='vertical-align:top'>
+                       <td>
+
                                {t}What web server do you use?{/t}
                        </td>
                        <td>
                        </td>
                </tr>
                <tr>
-                       <td style='vertical-align:top'>
+                       <td>
+
                                {t}What PHP version do you use?{/t}
                        </td>
                        <td>
        <br><b>{t}LDAP{/t}</b>
        <table>
                <tr>
-                       <td style='vertical-align:top'>
+                       <td>
+
                        {t}What kind of LDAP server(s) do you use?{/t}
                        </td>
                        <td><input type='text' name='ldap_server' size=50 value='{$ldap_server}'>
        <br><b>{t}Features{/t}</b>
        <table>
                <tr>
-                       <td style='vertical-align:top'>{t}What features of GOsa do you use?{/t}
+                       <td>{t}What features of GOsa do you use?{/t}
+
                        </td>
                        <td>
                                {foreach from=$features_used item=data key=key}
                        </td>
                </tr>
                <tr>
-                       <td style="vertical-align:top">{t}What features do you want to see in future versions of GOsa?{/t}
+                       <td>{t}What features do you want to see in future versions of GOsa?{/t}
+
                        </td>
                        <td><textarea name='want_to_see_next' cols=50 rows=3>{$want_to_see_next}</textarea>
                        </td>
                </tr>
        </table>
 </div>
-<input type='submit' name='send_feedback' value='{t}Send feedback{/t}'>
+<button type='submit' name='send_feedback'>{t}Send feedback{/t}</button>
+
 {/if}
 <input type='hidden' name='step_feedback' value='1'>
index 0ac6e0381b2175148088f2913065db80723ba8de..7fd74cc5b879f06b605cf6bab6c6f9fdcd5fb2c2 100644 (file)
@@ -25,7 +25,8 @@ or
 {/if} 
        </tt>
        <p>     
-               <input type='submit' name='getconf' value='{t}Download configuration{/t}'>
+               <button type='submit' name='getconf'>{t}Download configuration{/t}</button>
+
        </p>
                {if $err_msg != ""}
                        <hr>
index 8e082d6383b0373b95db50f73b9fbd501b99be8e..2aeadd2f31d4dd2e957b7be718d0baa815841d3d 100644 (file)
                        {html_options options=$resolved_users selected=$admin}
                </select>
                <input type='text' value='{$resolve_filter}' name='resolve_filter'>
-               <input type='submit' value='{t}Search{/t}' name='resolve_search'>
+               <button type='submit' name='resolve_search'>{t}Search{/t}</button>
+
                <p class='seperator' style='margin-bottom:10px;'>&nbsp;</p>
                <div style='text-align:right'>
-               <input type='submit' value='{t}Apply{/t}' name='use_selected_user'>
-               <input type='submit' value='{t}Cancel{/t}' name='resolve_user'>
+               <button type='submit' name='use_selected_user'>{t}Apply{/t}</button>
+
+               <button type='submit' name='resolve_user'>{t}Cancel{/t}</button>
+
                </div>
        </div>          
        
@@ -56,7 +59,7 @@
                </div>
                <div class='step4_value'>
                        {if $namingContextsCount >= 1}
-                               <select name='base'>            
+                               <select name='base' size=1>             
                                        {html_options values=$namingContexts output=$namingContexts selected=$base}
                                </select>
                        {else}
index 94b999b58e253db266f975259ae16358cf962bdf..f7666dd75f8de903ed119694059c6d0946980351 100644 (file)
@@ -30,7 +30,8 @@
                                </div>
                        {/foreach}
                <br>
-               <input type='submit' name='reload' value='{t}Check again{/t}'>
+               <button type='submit' name='reload'>{t}Check again{/t}</button>
+
 
                {elseif $method == "rootOC_migrate_dialog"}
 
                        </div>
 
                        <br>
-                       <input type='submit' name='rootOC_migrate_start' value='{t}Migrate{/t}'>
+                       <button type='submit' name='rootOC_migrate_start'>{t}Migrate{/t}</button>
+
                        </p>
                                
 
                        <hr>    
                        <div style='width:100%; text-align:right; padding:5px;'>
-                               <input type='submit' name='rootOC_dialog_cancel' value='{t}Close{/t}'>
+                               <button type='submit' name='rootOC_dialog_cancel'>{t}Close{/t}</button>
+
                        </div>
 
                {elseif $method == "outside_winstations"}
                        {t}Select all{/t}
                        <p>
                        <b>{t}Move selected windows workstations into the following GOsa department{/t} : </b>
-                       <select name='move_winstation_to'>
+                       <select name='move_winstation_to' size=1>
                                {html_options options=$ous}
                        </select>
                        <br>
-                       <input type='submit' name='outside_winstations_dialog_perform' value='{t}Move selected workstations{/t}'>
-                       <input type='submit' name='outside_winstations_dialog_whats_done' value='{t}What will be done here{/t}'>
+                       <button type='submit' name='outside_winstations_dialog_perform'>{t}Move selected workstations{/t}</button>
+
+                       <button type='submit' name='outside_winstations_dialog_whats_done'>{t}What will be done here{/t}</button>
+
                        </p>
                                
 
                        <hr>    
                        <div style='width:100%; text-align:right; padding:5px;'>
-                               <input type='submit' name='outside_winstations_dialog_cancel' value='{t}Close{/t}'>
+                               <button type='submit' name='outside_winstations_dialog_cancel'>{t}Close{/t}</button>
+
                        </div>
                
 
                         </p>
                        <p>
                        {t}Move selected groups into this group tree{/t}: 
-                       <select name='move_group_to'>
+                       <select name='move_group_to' size=1>
                                {html_options options=$ous}
                        </select>
                        </p>
                        <br>
                        <p>
                         {if $group_details}
-                        <input type='submit' name='outside_groups_dialog_refresh' value='{t}Hide changes{/t}'>
+                        <button type='submit' name='outside_groups_dialog_refresh'>{t}Hide changes{/t}</button>
+
                         {else}
-                        <input type='submit' name='outside_groups_dialog_whats_done' value='{t}Show changes{/t}'>
+                        <button type='submit' name='outside_groups_dialog_whats_done'>{t}Show changes{/t}</button>
+
                         {/if}
                        </p>
 
                        <hr>    
                        <div style='width:99%; text-align:right; padding:5px;'>
-                               <input type='submit' name='outside_groups_dialog_perform' value='{t}Apply{/t}'>
+                               <button type='submit' name='outside_groups_dialog_perform'>{t}Apply{/t}</button>
+
                                &nbsp;
-                               <input type='submit' name='outside_groups_dialog_cancel' value='{t}Cancel{/t}'>
+                               <button type='submit' name='outside_groups_dialog_cancel'>{t}Cancel{/t}</button>
+
                        </div>
                
                {elseif $method == "outside_users"}
                        </p>    
                        <p>
                        {t}Move selected users into this people tree{/t}: 
-                       <select name='move_user_to'>
+                       <select name='move_user_to' size=1>
                                {html_options options=$ous}
                        </select>
                        </p>
                        <br>
 
                        {if $user_details}
-                       <input type='submit' name='outside_users_dialog_refresh' value='{t}Hide changes{/t}'>
+                       <button type='submit' name='outside_users_dialog_refresh'>{t}Hide changes{/t}</button>
+
                         {else}
-                       <input type='submit' name='outside_users_dialog_whats_done' value='{t}Show changes{/t}'>
+                       <button type='submit' name='outside_users_dialog_whats_done'>{t}Show changes{/t}</button>
+
                        {/if}
 
                        <hr>    
                        <div style='width:99%; text-align:right; padding:5px;'>
-                               <input type='submit' name='outside_users_dialog_perform' value='{t}Apply{/t}'>
+                               <button type='submit' name='outside_users_dialog_perform'>{t}Apply{/t}</button>
+
                                &nbsp;
-                               <input type='submit' name='outside_users_dialog_cancel' value='{t}Cancel{/t}'>
+                               <button type='submit' name='outside_users_dialog_cancel'>{t}Cancel{/t}</button>
+
                        </div>
                
 
                        </table>
 
                        {if !$details}
-                               <input type='submit' name='migrate_acls_show_changes' value='{t}Show changes{/t}'>
+                               <button type='submit' name='migrate_acls_show_changes'>{t}Show changes{/t}</button>
+
                                <input type='hidden' name='details' value='0'>
                        {else}
                                <input type='hidden' name='details' value='1'>
                                </div>
                                </div>
                                <br>
-                               <input type='submit' name='migrate_acls_hide_changes' value='{t}Hide changes{/t}'>
+                               <button type='submit' name='migrate_acls_hide_changes'>{t}Hide changes{/t}</button>
+
                        {/if}
 
-                       <input type='submit' value="{t}Reload{/t}">
+                       <button type='submit' name=''>{t}Reload{/t}</button>
+
                        <hr>    
                        <div style='width:99%; text-align:right; padding:5px;'>
-                               <input type='submit' name='migrate_admin_user' value='{t}Apply{/t}'>    
-                               <input type='submit' name='migrate_acls_cancel' value='{t}Cancel{/t}'>
+                               <button type='submit' name='migrate_admin_user'>{t}Apply{/t}</button>   
+
+                               <button type='submit' name='migrate_acls_cancel'>{t}Cancel{/t}</button>
+
                        </div>
 
                {elseif $method == "create_acls"}
 {$what_will_be_done_now}
 </pre>
                        </div>          
-                       <input type='submit' name='create_acls_create_confirmed' value='{t}Next{/t}'>
-                       <input type='submit' name='create_acls_create_abort' value='{t}Abort{/t}'>
+                       <button type='submit' name='create_acls_create_confirmed'>{t}Next{/t}</button>
+
+                       <button type='submit' name='create_acls_create_abort'>{t}Abort{/t}</button>
+
                {else}
                        <h2>{t}Create a new GOsa administrator account{/t}</h2>
        
 
                        <hr>    
                        <div style='width:99%; text-align:right; padding:5px;'>
-                               <input type='submit' name='create_admin_user' value='{t}Apply{/t}'>     
-                               <input type='submit' name='create_acls_cancel' value='{t}Cancel{/t}'>
+                               <button type='submit' name='create_admin_user'>{t}Apply{/t}</button>    
+
+                               <button type='submit' name='create_acls_cancel'>{t}Cancel{/t}</button>
+
                        </div>
                        {/if}   
                {elseif $method == "migrate_deps"}
@@ -369,17 +392,21 @@ dn: {$deps_to_migrate.$key.dn}
                        <br>
 
                        {if $deps_details}
-                       <input type='submit' name='deps_visible_migrate_refresh' value='{t}Hide changes{/t}'>
+                       <button type='submit' name='deps_visible_migrate_refresh'>{t}Hide changes{/t}</button>
+
                        {else}
-                       <input type='submit' name='deps_visible_migrate_whatsdone' value='{t}Show changes{/t}'>
+                       <button type='submit' name='deps_visible_migrate_whatsdone'>{t}Show changes{/t}</button>
+
                        {/if}
 
                        <hr>    
 
                        <div style='width:99%; text-align:right; padding:5px;'>
-                               <input type='submit' name='deps_visible_migrate_migrate' value='{t}Apply{/t}'>
+                               <button type='submit' name='deps_visible_migrate_migrate'>{t}Apply{/t}</button>
+
                                &nbsp;
-                               <input type='submit' name='deps_visible_migrate_close' value='{t}Cancel{/t}'>
+                               <button type='submit' name='deps_visible_migrate_close'>{t}Cancel{/t}</button>
+
                        </div>
                {elseif $method == "migrate_users"}
        
@@ -422,17 +449,21 @@ dn: {$users_to_migrate.$key.dn}
                        <br>
 
                        {if $user_details}
-                       <input type='submit' name='users_visible_migrate_refresh' value='{t}Hide changes{/t}'>
+                       <button type='submit' name='users_visible_migrate_refresh'>{t}Hide changes{/t}</button>
+
                        {else}
-                       <input type='submit' name='users_visible_migrate_whatsdone' value='{t}Show changes{/t}'>
+                       <button type='submit' name='users_visible_migrate_whatsdone'>{t}Show changes{/t}</button>
+
                        {/if}
 
                        <hr>    
 
                        <div style='width:99%; text-align:right; padding-top:5px;'>
-                               <input type='submit' name='users_visible_migrate_migrate' value='{t}Apply{/t}'>
+                               <button type='submit' name='users_visible_migrate_migrate'>{t}Apply{/t}</button>
+
                                &nbsp;
-                               <input type='submit' name='users_visible_migrate_close' value='{t}Cancel{/t}'>
+                               <button type='submit' name='users_visible_migrate_close'>{t}Cancel{/t}</button>
+
                        </div>
 
 
@@ -466,18 +497,23 @@ dn: {$users_to_migrate.$key.dn}
                <br>
 
                {if $device_details}
-                       <input type='submit' name='device_dialog_refresh' value='{t}Hide changes{/t}'>
-                       <input type='submit' name='dummy_11' value='{t}Refresh{/t}'>
+                       <button type='submit' name='device_dialog_refresh'>{t}Hide changes{/t}</button>
+
+                       <button type='submit' name='dummy_11'>{t}Refresh{/t}</button>
+
                {else}
-                       <input type='submit' name='device_dialog_whats_done' value='{t}Show changes{/t}'>
+                       <button type='submit' name='device_dialog_whats_done'>{t}Show changes{/t}</button>
+
                {/if}
 
                <hr>    
 
                <div style='width:99%; text-align:right; padding-top:5px;'>
-                       <input type='submit' name='migrate_devices' value='{t}Apply{/t}'>
+                       <button type='submit' name='migrate_devices'>{t}Apply{/t}</button>
+
                        &nbsp;
-                       <input type='submit' name='device_dialog_cancel' value='{t}Cancel{/t}'>
+                       <button type='submit' name='device_dialog_cancel'>{t}Cancel{/t}</button>
+
                </div>
 
        {elseif $method == "services"}
@@ -509,18 +545,23 @@ dn: {$users_to_migrate.$key.dn}
                <br>
 
                {if $service_details}
-                       <input type='submit' name='service_dialog_refresh' value='{t}Hide changes{/t}'>
-                       <input type='submit' name='dummy_11' value='{t}Refresh{/t}'>
+                       <button type='submit' name='service_dialog_refresh'>{t}Hide changes{/t}</button>
+
+                       <button type='submit' name='dummy_11'>{t}Refresh{/t}</button>
+
                {else}
-                       <input type='submit' name='service_dialog_whats_done' value='{t}Show changes{/t}'>
+                       <button type='submit' name='service_dialog_whats_done'>{t}Show changes{/t}</button>
+
                {/if}
 
                <hr>    
 
                <div style='width:99%; text-align:right; padding-top:5px;'>
-                       <input type='submit' name='migrate_services' value='{t}Apply{/t}'>
+                       <button type='submit' name='migrate_services'>{t}Apply{/t}</button>
+
                        &nbsp;
-                       <input type='submit' name='service_dialog_cancel' value='{t}Cancel{/t}'>
+                       <button type='submit' name='service_dialog_cancel'>{t}Cancel{/t}</button>
+
                </div>
 
 
@@ -553,18 +594,23 @@ dn: {$users_to_migrate.$key.dn}
                <br>
 
                {if $menu_details}
-                       <input type='submit' name='menu_dialog_refresh' value='{t}Hide changes{/t}'>
-                       <input type='submit' name='dummy_11' value='{t}Refresh{/t}'>
+                       <button type='submit' name='menu_dialog_refresh'>{t}Hide changes{/t}</button>
+
+                       <button type='submit' name='dummy_11'>{t}Refresh{/t}</button>
+
                {else}
-                       <input type='submit' name='menu_dialog_whats_done' value='{t}Show changes{/t}'>
+                       <button type='submit' name='menu_dialog_whats_done'>{t}Show changes{/t}</button>
+
                {/if}
 
                <hr>    
 
                <div style='width:99%; text-align:right; padding-top:5px;'>
-                       <input type='submit' name='migrate_menus' value='{t}Apply{/t}'>
+                       <button type='submit' name='migrate_menus'>{t}Apply{/t}</button>
+
                        &nbsp;
-                       <input type='submit' name='menu_dialog_cancel' value='{t}Cancel{/t}'>
+                       <button type='submit' name='menu_dialog_cancel'>{t}Cancel{/t}</button>
+
                </div>
        {/if}
     </div>
index 908b989b70d47db3906f14e2f8d645fdaedf951f..8a2f6995274e6be6425cecb6766f96d44faf0498 100644 (file)
@@ -7,7 +7,7 @@
             {t}Enable schema validation when logging in{/t}
         </div>
         <div class='step4_value'>
-                       <select name='enable_schema_check'>
+                       <select name='enable_schema_check' size=1>
                                {html_options options=$bool selected=$enable_schema_check}
             </select>
         </div>