From: mike Date: Thu, 2 Feb 2006 18:25:38 +0000 (+0000) Subject: Add missing SAMBA web interface templates. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=de3b752c6aca34c4918bed7461d317101c2ae1ed;p=thirdparty%2Fcups.git Add missing SAMBA web interface templates. Fix reference to the "exported" template. git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@5055 7a7537e8-13f0-0310-91df-b6672ffda945 --- diff --git a/cgi-bin/admin.c b/cgi-bin/admin.c index 070c96156..07a3b9322 100644 --- a/cgi-bin/admin.c +++ b/cgi-bin/admin.c @@ -2621,7 +2621,7 @@ do_export(http_t *http) /* I - HTTP connection */ } else { - cgiCopyTemplateLang("samba-exported"); + cgiCopyTemplateLang("samba-exported.tmpl"); cgiEndHTML(); return; } diff --git a/templates/Makefile b/templates/Makefile index d35e1e6fd..8ba0735da 100644 --- a/templates/Makefile +++ b/templates/Makefile @@ -81,6 +81,8 @@ FILES = \ printers.tmpl \ printers-header.tmpl \ restart.tmpl \ + samba-export.tmpl \ + samba-exported.tmpl \ search.tmpl \ set-printer-options-header.tmpl \ set-printer-options-trailer.tmpl \ diff --git a/templates/samba-export.tmpl b/templates/samba-export.tmpl new file mode 100644 index 000000000..0510f550c --- /dev/null +++ b/templates/samba-export.tmpl @@ -0,0 +1,55 @@ + + +
+ + +

Export Printers to Samba

+ +{error?

Unable to export printers to Samba\:

+
{error}
+

Consult the error_log file for more information.

: +

This page allows you to export printers to Samba so that +Windows clients can access them through the Network +Neighborhood or Network Places icons on their +desktop. You must previously install the Windows PostScript +printer drivers as described in the cupsaddsmb(8) man page.

} + + + + + + + + + + + + + + + + + + +
Printers: +
+ Export All Printers +
Samba Username: (required)
Samba Password: (required)
+ +
diff --git a/templates/samba-exported.tmpl b/templates/samba-exported.tmpl new file mode 100644 index 000000000..6fa8eb4a6 --- /dev/null +++ b/templates/samba-exported.tmpl @@ -0,0 +1 @@ +

Printers exported to samba successfully.