summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 37005b5)
raw | patch | inline | side by side (parent: 37005b5)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 1 Jun 2006 03:54:02 +0000 (03:54 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 1 Jun 2006 03:54:02 +0000 (03:54 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3590 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/systems/servnfs.tpl | patch | blob | history |
index de38244a728dec0793a8046008f94889d4a8be4f..ebd03920767aea5a994fcf6e0ec4df407b44fae2 100644 (file)
</select>
{if $allow_mounts == TRUE}
<br><br><input type="checkbox" name="netatalk_mount" id="netatalk_mount" {$mount_checked} {$appleMountsACL}/><label for="netatalk_mount">{t}Auto-mount share on Apple systems{/t}</label>
+ <br>
+ <br>
+ {/if}
+
{literal}
<script language="JavaScript">
document.getElementById('sharetype').onchange=function() {
var box=document.getElementById('netatalk_mount');
var volume=document.getElementById('volume');
var vlabel=document.getElementById('vlabel');
+ {/literal}
+ <!-- Only add checkbox enable/disable js part if checkbox is available -->
+ {if $allow_mounts == TRUE}
+ {literal}
if(foobar=="NFS"||foobar=="netatalk"){
box.disabled=false;
} else {
box.disabled=true;
box.checked=false;
}
+ {/literal}
+ {/if}
+ {literal}
if(foobar=="NCP"){
volume.style.visibility="visible";
vlabel.style.visibility="visible";
document.getElementById('sharetype').onchange();
</script>
{/literal}
- <br>
- <br>
- {/if}
</td>
</tr>
<tr>