<SCRIPT TYPE="text/javascript"><!--
function select_printers() {
  var list = document.export_samba.EXPORT_NAME;
  var sel = document.export_samba.EXPORT_ALL.checked;

  for (i = 0; i < list.length; i ++) {
    list.options[i].selected = sel;
  }
}
--></SCRIPT>

<FORM METHOD="POST" ACTION="/admin/" NAME="export_samba">
<INPUT TYPE="HIDDEN" NAME="OP" VALUE="export-samba">

<H2 CLASS="title">Printerite eksport Sambasse</H2>

{error?<P>Printerite eksport Sambasse ebaõnnestus:</P>
<BLOCKQUOTE>{error}</BLOCKQUOTE>
<P>Täpsemat infot annab <A HREF="/admin/log/error_log"
TARGET="_blank">error_log</A>.</P>:
<P>Käesolev lehekülg võimaldab eksportida printereid Sambasse, et
Windowsi kliendid saaksid neid kasutada ikoonide <VAR>Network
Neighborhood</VAR> või <VAR>Network Places</VAR> abil oma töölaual.
Teil peavad eelnevalt olema paigaldatud Windowsi PostScript
printeridraiverid, nagu seda kirjeldab <A
HREF="/help/man-cupsaddsmb.html"
TARGET="_blank">cupsaddsmb(8)</A> manuaal.</P>}

<TABLE>
<TR>
<TH CLASS="label">Printerid:</TH>
<TD>
<SELECT NAME="EXPORT_NAME" SIZE="10" MULTIPLE>
{[printer_name]<OPTION VALUE="{printer_name}"{export_all? SELECTED:{printer_export? SELECTED:}}>{printer_name}}
</SELECT><BR>
<INPUT TYPE="CHECKBOX" NAME="EXPORT_ALL"{export_all? CHECKED:}
onChange="select_printers()"> Kõigi printerite eksport
</TD>
</TR>
<TR>
<TH CLASS="label">Samba kasutajanimi:</TH>
<TD><INPUT TYPE="TEXT" NAME="USERNAME" VALUE="{?USERNAME}"> (nõutav)</TD>
</TR>
<TR>
<TH CLASS="label">Samba parool:</TH>
<TD><INPUT TYPE="PASSWORD" NAME="PASSWORD" VALUE=""> (nõutav)</TD>
</TR>
<TR>
<TD></TD>
<TD><INPUT TYPE="IMAGE" SRC="/images/button-export-samba.gif"
ALT="Ekspordi printerid Sambasse"></TD>
</TR>
</TABLE>

</FORM>
