Changeset 16045
- Timestamp:
- 2008-06-18T14:28:35+12:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gsdl/trunk/src/recpt/hlistbrowserclass.cpp
r16044 r16045 27 27 #include "OIDtools.h" 28 28 #include "recptprototools.h" 29 #include "cgiutils.h" 30 29 31 30 32 hlistbrowserclass::hlistbrowserclass () { … … 144 146 145 147 bool highlight = false; 146 if ((*tsibling).OID == args["cl"] || is_child_of ((*tsibling).OID, args["cl"])) 148 if ((*tsibling).OID == args["cl"] || is_child_of ((*tsibling).OID, args["cl"]) || 149 (*tsibling).OID == args["dcn"] || is_child_of ((*tsibling).OID, args["dcn"])) 147 150 { 148 151 link.clear(); … … 188 191 if (doctype == "classify") 189 192 { 190 link += "&cl=" + section.OID + "\">"; 193 // Dynamic classifier nodes 194 if (args["a"] == "dc") 195 { 196 // The node label is going into the URL, so make it CGI-safe 197 text_t classifier_node_dcn_cgi_safe = cgi_safe_utf8(section.OID); 198 link = "<a href=\"_gwcgi_?c=" + args["c"] + "&a=dc&dcl=" + args["dcl"] + "&dcn=" + classifier_node_dcn_cgi_safe + "\">"; 199 } 200 // Static classifier nodes 201 else 202 { 203 link += "&cl=" + section.OID + "\">"; 204 } 191 205 } 192 206 else
Note:
See TracChangeset
for help on using the changeset viewer.