From 71ef4e018348df03bba429ebf4b323e35b773e86 Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Thu, 12 Apr 2001 05:24:57 +0000 Subject: fix broken links in SWAT due to upper case anchors in the generated HTML man pages. Spotted by Herb. (This used to be commit be45c82c3ab3b626cd761f2cec3b160df2b7fcac) --- source3/web/swat.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'source3/web') diff --git a/source3/web/swat.c b/source3/web/swat.c index f1a89f1913..0497eeb12a 100644 --- a/source3/web/swat.c +++ b/source3/web/swat.c @@ -161,13 +161,16 @@ static void show_parameter(int snum, struct parm_struct *parm) { int i; void *ptr = parm->ptr; + char* str; if (parm->class == P_LOCAL && snum >= 0) { ptr = lp_local_ptr(snum, ptr); } + str = stripspace(parm->label); + strupper (str); printf("Help       %s", - stripspace(parm->label), parm->label); + str, parm->label); switch (parm->type) { case P_CHAR: @@ -873,7 +876,7 @@ static void printers_page(void) printf("

Important Note:

\n"); printf("Printer names marked with [*] in the Choose Printer drop-down box "); printf("are autoloaded printers from "); - printf("Printcap Name.\n"); + printf("Printcap Name.\n"); printf("Attempting to delete these printers from SWAT will have no effect.\n"); if (cgi_variable("Advanced") && !cgi_variable("Basic")) -- cgit