mirror of
https://github.com/samba-team/samba.git
synced 2025-02-26 21:57:41 +03:00
Add buttons to Printers View
(This used to be commit 805c33b08902d0d02358b624ef9976dd0bde4909)
This commit is contained in:
parent
d758d693fe
commit
b4918ea2be
@ -860,6 +860,7 @@ static void shares_page(void)
|
||||
d_printf("<FORM name=\"swatform\" method=post>\n");
|
||||
|
||||
d_printf("<table>\n");
|
||||
|
||||
if ( cgi_variable("ViewMode") )
|
||||
mode = atoi(cgi_variable("ViewMode"));
|
||||
if ( cgi_variable("BasicMode"))
|
||||
@ -867,6 +868,8 @@ static void shares_page(void)
|
||||
if ( cgi_variable("AdvMode"))
|
||||
mode = 1;
|
||||
if ( cgi_variable("DevMode"))
|
||||
mode = 2;
|
||||
|
||||
ViewModeBoxes( mode );
|
||||
switch ( mode ) {
|
||||
case 0:
|
||||
@ -1207,6 +1210,13 @@ static void printers_page(void)
|
||||
|
||||
if ( cgi_variable("ViewMode") )
|
||||
mode = atoi(cgi_variable("ViewMode"));
|
||||
if ( cgi_variable("BasicMode"))
|
||||
mode = 0;
|
||||
if ( cgi_variable("AdvMode"))
|
||||
mode = 1;
|
||||
if ( cgi_variable("DevMode"))
|
||||
mode = 2;
|
||||
|
||||
ViewModeBoxes( mode );
|
||||
switch ( mode ) {
|
||||
case 0:
|
||||
|
Loading…
x
Reference in New Issue
Block a user