projects
/
webmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b8187f1
)
Remove explicit <hr> from help pages
author
Jamie Cameron
<jcameron@webmin.com>
Thu, 12 Jun 2008 20:39:15 +0000
(20:39 +0000)
committer
Jamie Cameron
<jcameron@webmin.com>
Thu, 12 Jun 2008 20:39:15 +0000
(20:39 +0000)
help.cgi
patch
|
blob
|
history
diff --git
a/help.cgi
b/help.cgi
index
30e447b
..
b86aaf1
100755
(executable)
--- a/
help.cgi
+++ b/
help.cgi
@@
-34,8
+34,12
@@
else {
&helperror($text{'help_eheader'});
}
+# replace any explicit use of <hr> with the ui-lib function
+$uihr = &ui_hr();
+$help =~ s/<hr>/$uihr/ig;
+
# find and replace the <footer> section
-$help =~ s/<footer>/<p>
<hr>
/i;
+$help =~ s/<footer>/<p>/i;
# find and replace <include> directives
$help =~ s/<include\s+(\S+)>/inchelp($1)/ige;