diff options
| author | viega | 1998-06-03 17:22:22 +0000 |
|---|---|---|
| committer | viega | 1998-06-03 17:22:22 +0000 |
| commit | 61f4bcc15b6cbef8da6d7d2b1abe738a6f896d79 (patch) | |
| tree | c459d614fe01a593400275d3f6a470dd0b7788c9 | |
| parent | 2e07b6175996bb0507fb85e4235f4f003eef4f3c (diff) | |
| download | mailman-61f4bcc15b6cbef8da6d7d2b1abe738a6f896d79.tar.gz mailman-61f4bcc15b6cbef8da6d7d2b1abe738a6f896d79.tar.zst mailman-61f4bcc15b6cbef8da6d7d2b1abe738a6f896d79.zip | |
Fix relative path for (Details) links.
| -rwxr-xr-x | cgi/admin | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -21,7 +21,7 @@ To run stand-alone for debugging, set env var PATH_INFO to name of list and, optionally, options category.""" -__version__ = "$Revision: 694 $" +__version__ = "$Revision: 696 $" import sys import os, cgi, string, crypt, types, time @@ -504,10 +504,7 @@ def GetItemGuiDescr(lst, category, varname, descr, elaboration, nodetails): elaboration if any.""" descr = '<div ALIGN="right">' + descr if not nodetails and elaboration: - if mm_utils.GetNestingLevel() == 1: - ref = "../" + list_name + "/" - else: - ref = "../" + ref = "../" * (mm_utils.GetNestingLevel()-1) + list_name + "/" ref = ref + '?VARHELP=' + category + "/" + varname descr = Container(descr, Link(ref, " (Details)", target="MMHelp"), |
