{=include-block:Y_Blocks.txt;head=}
<script src="/Y_Baselib.js"></script>
<script>
function do_mount()
{
	show_waitbox(true);
	var nr = 0;
	for(i=0; i<8;i++)
	{
		if(document.f.R1[i].checked == true)
			nr = i;
	}
	document.f.execute.value = "script:Y_Tools domount "+nr;
	document.f.tmpl.value = "Y_Settings_umount_list.yhtm";
	document.f.submit();
}
function do_edit()
{
	show_waitbox(true);
	document.f.submit();
}
</script>
{=include-block:Y_Blocks.txt;head_close=}
<body>
{=include-block:Y_Blocks.txt;snip_wait=}
<div class="work_box">
	<div class="work_box_head">
		<div class="work_box_head_h2">{=var-set:menu=Mount=}{=include-block:Y_Blocks.txt;work_menu=}</div>
	</div>
	<div class="work_box_body">
	<form action="/y/cgi" name="f" id="f">
		{=func:mount-get-list=}
		<input type="hidden" name="tmpl" value="Y_Settings_mount.yhtm"/>
		<input type="hidden" name="execute" value=""/>
		<button type="button" ytype="edit" title="edit mount settings" onclick="do_edit()">&Auml;ndern</button>
		<button type="button" ytype="no" title="mount selected directory" onclick="do_mount()">Mount</button>
		<button type="button" ytype="no" title="view unmount list" onclick='window.document.location.href="/Y_Settings_umount_list.yhtm"'>Unmount list</button>
	</form>
	</div>
</div>
{=include-block:Y_Blocks_Neutrino.txt;neutrino_form_helpbox=}
</body>
</html>