Code

Set DNS hidden if acount is disabled
[gosa.git] / plugins / personal / connectivity / opengw.tpl
index a7fc460d176527e339b5b61a18f88ac2d9c6a36f..fbda05dac48feb939258ae9bf2db3f29aa15c9ca 100644 (file)
@@ -5,7 +5,7 @@
                        <table summary="">
                                <tr>
                                        <td>
-                                               {t}Location team{/t} :&nbsp;
+                                               {t}Location team{/t} &nbsp;
                                        </td>
                                        <td>
                                                <select size="1" id="LocationTeam" name="LocationTeam"
@@ -18,7 +18,7 @@
                                </tr>
                                <tr>
                                        <td>
-                                               {t}Template user{/t} :&nbsp;
+                                               {t}Template user{/t} &nbsp;
                                        </td>
                                        <td>
                                                <select size="1" id="TemplateUser" name="TemplateUser"
                                </tr>   
                                <tr>
                                        <td valign="top">
-                                               {t}Locked{/t} :&nbsp; 
+                                               {t}Locked{/t} &nbsp; 
                                        </td>
                                        <td valign="top">
-                                               <input type="checkbox" value="1" name="is_locked" 
+                                               <input type="checkbox" value="1" name="is_locked" {$is_lockedCHK}  
                                                   {if $is_lockedACL!="" || $OGWstate!=""}
                                 disabled
+                           {/if}>
+                                       </td>
+                               </tr>
+                               <tr>
+                                       <td valign="top">
+                                               <input type="checkbox" name="SetPassword" value="1" {$OGWPasswordCHK} onClick="changeState('OGWPassword');" 
+                                                  {if $OGWstate!=""}
+                                disabled
+                           {/if}>
+                                               {t}Set password{/t} &nbsp; 
+                                       </td>
+                                       <td valign="top">
+                                               <input type="text" name="OGWPassword" value="{$OGWPassword}" id="OGWPassword" 
+                                                  {if $OGWPasswordACL!="" || $OGWstate!=""}
+                                disabled
                            {/if}>
                                        </td>
                                </tr>
@@ -46,7 +61,7 @@
                        <table summary="">
                                <tr>
                                        <td valign="top">
-                                               {t}Teams{/t} :&nbsp; 
+                                               {t}Teams{/t} &nbsp; 
                                        </td>
                                        <td valign="top">
                                                {$validTeams}