summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcgi/admin17
1 files changed, 9 insertions, 8 deletions
diff --git a/cgi/admin b/cgi/admin
index fa16e1779..df0da6a34 100755
--- a/cgi/admin
+++ b/cgi/admin
@@ -194,14 +194,15 @@ def FormatOptionsSection(category, list):
for item in options:
if type(item) == types.StringType:
- big_table.AddRow([Bold(item)])
- if did_col_header:
- # Color the string only when after the colheader.
- big_table.AddCellInfo(max(big_table.GetCurrentRowIndex(), 0),
- 0, colspan=2, bgcolor ="#FFF0D0")
- else:
- big_table.AddCellInfo(max(big_table.GetCurrentRowIndex(), 0),
- 0, colspan=2)
+ # The very first banner option (string in an options list) is
+ # treated as a general description, while any others are
+ # treated as section headers - centered and italicized...
+ if did_col_header:
+ item = "<center><i>" + item + "</i></center>"
+ big_table.AddRow([item])
+ big_table.AddCellInfo(max(big_table.GetCurrentRowIndex(), 0),
+ 0, colspan=2)
+ if not did_col_header:
# Do col header after very first string descr, if any...
ColHeader()
did_col_header = 1