diff --git a/gosa-plugins/samba/personal/samba/samba3.tpl b/gosa-plugins/samba/personal/samba/samba3.tpl
index 45718c092d5bf2965fa5f7ecc744cfaee6f91fec..5a25e213efe28d013c5b656b732a9f11a75418b5 100644 (file)
{/render}
{render acl=$sambaHomeDriveACL checkbox=$multiple_support checked=$use_sambaHomeDrive}
<select size="1" name="sambaHomeDrive">
{/render}
{render acl=$sambaHomeDriveACL checkbox=$multiple_support checked=$use_sambaHomeDrive}
<select size="1" name="sambaHomeDrive">
- <option disabled> </option>
{html_options values=$drives output=$drives selected=$sambaHomeDrive}
</select>
{/render}
{html_options values=$drives output=$drives selected=$sambaHomeDrive}
</select>
{/render}
<td><label for="sambaDomainName">{t}Domain{/t}</label></td>
<td>
{render acl=$sambaDomainNameACL checkbox=$multiple_support checked=$use_sambaDomainName}
<td><label for="sambaDomainName">{t}Domain{/t}</label></td>
<td>
{render acl=$sambaDomainNameACL checkbox=$multiple_support checked=$use_sambaDomainName}
- <select id="sambaDomainName" size="1" name="sambaDomainName">
+ <select id="sambaDomainName" size="1" name="sambaDomainName"
+ {if $display_information} onChange="document.mainform.submit();" {/if}>
{html_options values=$domains output=$domains selected=$sambaDomainName}
</select>
{/render}
</td>
</tr>
{html_options values=$domains output=$domains selected=$sambaDomainName}
</select>
{/render}
</td>
</tr>
+ <tr>
+ <td>{t}Information{/t}</td>
+ <td>
+ {if $display_information}
+ <input type='submit' name='display_information' value='{t}Hide{/t}'>
+ {else}
+ <input type='submit' name='display_information' value='{t}Show{/t}'>
+ {/if}
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ {if $display_information}
+ {$samba_information}
+ {/if}
+ <td>
+ </tr>
</table>
</td>
<td style="border-left:1px solid #A0A0A0">
</table>
</td>
<td style="border-left:1px solid #A0A0A0">
<p class="seperator"> </p>
<p class="seperator"> </p>
-<h2><img class="center" alt="" align="middle" src="images/display.png" /> {t}Terminal Server{/t}</h2>
+<h2><img class="center" alt="" align="middle" src="plugins/samba/images/terminal_server.png" /> {t}Terminal Server{/t}</h2>
<table summary="" style="width:100%; vertical-align:top; text-align:left;" cellpadding=0 border=0>
<tr>
<table summary="" style="width:100%; vertical-align:top; text-align:left;" cellpadding=0 border=0>
<tr>
{/render}
{render acl=$AllowLoginOnTerminalServerACL checkbox=$multiple_support checked=$use_CtxWFHomeDirDrive}
<select size="1" id="CtxWFHomeDirDrive" name="CtxWFHomeDirDrive" {$tsloginstate}>
{/render}
{render acl=$AllowLoginOnTerminalServerACL checkbox=$multiple_support checked=$use_CtxWFHomeDirDrive}
<select size="1" id="CtxWFHomeDirDrive" name="CtxWFHomeDirDrive" {$tsloginstate}>
- <option disabled> </option>
{html_options values=$drives output=$drives selected=$CtxWFHomeDirDrive}
</select>
{/render}
{html_options values=$drives output=$drives selected=$CtxWFHomeDirDrive}
</select>
{/render}
<p class="seperator"> </p>
<p class="seperator"> </p>
-<h2><img class="center" alt="" align="middle" src="images/certs.png" /> {t}Access options{/t}</h2>
+<h2><img class="center" alt="" align="middle" src="images/lists/key.png" /> {t}Access options{/t}</h2>
<table summary="" style="width:100%; vertical-align:top; text-align:left;" cellpadding=4 border=0>
<tr>
<table summary="" style="width:100%; vertical-align:top; text-align:left;" cellpadding=4 border=0>
<tr>
{/foreach}
</select>
<br>
{/foreach}
</select>
<br>
- <input type="submit" value="{t}Add{/t}" name="add_ws">
- <input type="submit" value="{t}Delete{/t}" name="delete_ws">
+ <input type="submit" value="{msgPool type=addButton}" name="add_ws">
+ <input type="submit" value="{msgPool type=delButton}" name="delete_ws">
{else}
{render acl=$sambaUserWorkstationsACL}
<select id="workstation_list" style="width:100%;" name="workstation_list[]" size=10 multiple>
{else}
{render acl=$sambaUserWorkstationsACL}
<select id="workstation_list" style="width:100%;" name="workstation_list[]" size=10 multiple>
{/render}
<br>
{render acl=$sambaUserWorkstationsACL}
{/render}
<br>
{render acl=$sambaUserWorkstationsACL}
- <input type="submit" value="{t}Add{/t}" name="add_ws">
+ <input type="submit" value="{msgPool type=addButton}" name="add_ws">
{/render}
{render acl=$sambaUserWorkstationsACL}
{/render}
{render acl=$sambaUserWorkstationsACL}
- <input type="submit" value="{t}Delete{/t}" name="delete_ws">
+ <input type="submit" value="{msgPool type=delButton}" name="delete_ws">
{/render}
{/if}
</td>
{/render}
{/if}
</td>