summaryrefslogtreecommitdiff
path: root/source3/web
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-12-07 12:43:10 -0800
committerJeremy Allison <jra@samba.org>2007-12-07 12:43:10 -0800
commitade51769d5f7291f912893e5f959b651223a68c1 (patch)
treeaaf09396ce5711bee5305125ffb5b1ccb34940f8 /source3/web
parentacf15ae730c95443681404c76b67ccfca0253d8b (diff)
downloadsamba-ade51769d5f7291f912893e5f959b651223a68c1.tar.gz
samba-ade51769d5f7291f912893e5f959b651223a68c1.tar.bz2
samba-ade51769d5f7291f912893e5f959b651223a68c1.zip
We don't need P_GSTRING or P_UGSTRING anymore.
Jeremy. (This used to be commit 78dc75600099b5b3b5a8ecffec747a227ff51d70)
Diffstat (limited to 'source3/web')
-rw-r--r--source3/web/swat.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/source3/web/swat.c b/source3/web/swat.c
index 75a7f1939a..3440010f43 100644
--- a/source3/web/swat.c
+++ b/source3/web/swat.c
@@ -290,16 +290,6 @@ static void show_parameter(int snum, struct parm_struct *parm)
_("Set Default"), make_parm_name(parm->label),fix_backslash((char *)(parm->def.svalue)));
break;
- case P_GSTRING:
- case P_UGSTRING:
- push_utf8_allocate(&utf8_s1, (char *)ptr);
- printf("<input type=text size=40 name=\"parm_%s\" value=\"%s\">",
- make_parm_name(parm->label), fix_quotes(ctx, utf8_s1));
- SAFE_FREE(utf8_s1);
- printf("<input type=button value=\"%s\" onClick=\"swatform.parm_%s.value=\'%s\'\">",
- _("Set Default"), make_parm_name(parm->label),fix_backslash((char *)(parm->def.svalue)));
- break;
-
case P_BOOL:
printf("<select name=\"parm_%s\">",make_parm_name(parm->label));
printf("<option %s>Yes", (*(bool *)ptr)?"selected":"");
@@ -401,11 +391,6 @@ static void show_parameters(int snum, int allparameters, unsigned int parm_filte
if (!strcmp(*(char **)ptr,(char *)(parm->def.svalue))) continue;
break;
- case P_GSTRING:
- case P_UGSTRING:
- if (!strcmp((char *)ptr,(char *)(parm->def.svalue))) continue;
- break;
-
case P_BOOL:
case P_BOOLREV:
if (*(bool *)ptr == (bool)(parm->def.bvalue)) continue;