Changeset 2945
- Timestamp:
- 2002-02-04T14:44:17+13:00 (22 years ago)
- Location:
- trunk/gsdl
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/macros/base.dm
r2898 r2945 215 215 #_httppagehome_ {_httppagex_(home)} 216 216 ###_httppagehome_ {http://www.nzdl.org/cgi-bin/dblibrary?a=p&p=home} 217 _httppagehome_ {_gwcgi_?a=p&p=home }217 _httppagehome_ {_gwcgi_?a=p&p=home&l=_cgiargl_&w=_cgiargw_} 218 218 _httppagehelp_ {_httppagex_(help)} 219 219 _httppagepref_ {_httppagex_(preferences)} -
trunk/gsdl/src/recpt/pageaction.cpp
r2785 r2945 104 104 105 105 void pageaction::set_homeextra_macro (displayclass &disp, recptprotolistclass *protos, 106 ostream &logout) {106 cgiargsclass &args, ostream &logout) { 107 107 text_t homeextra = "<center><table width=_pagewidth_><tr valign=top>\n"; 108 108 bool found_valid_col = false; … … 194 194 if (!site_name.empty()) { optsite = "site="+site_name+"&"; } 195 195 196 text_t link = "<a href=\"_gwcgi_?"+optsite+"a=p&p=about&c=" + *collist_here + coll_type+"\">"; 196 text_t link = "<a href=\"_gwcgi_?"+optsite+"a=p&p=about&c=" + *collist_here + coll_type; 197 link += "&l=" + args["l"] + "&w=" + args["w"] + "\">"; 197 198 198 199 if (!cinfo->receptionist.empty()) … … 457 458 458 459 if (arg_p == "home") { 459 set_homeextra_macro (disp, protos, logout);460 set_homeextra_macro (disp, protos, args, logout); 460 461 if (status_disabled) disp.setmacro ("textgoadmin", "home", ""); 461 462 if (collector_disabled) disp.setmacro ("textgocollector", "home", ""); -
trunk/gsdl/src/recpt/pageaction.h
r2785 r2945 68 68 protected: 69 69 void set_homeextra_macro (displayclass &disp, recptprotolistclass *protos, 70 ostream &logout);70 cgiargsclass &args, ostream &logout); 71 71 72 72 void set_collectionlist_macro (displayclass &disp, recptprotolistclass *protos,
Note:
See TracChangeset
for help on using the changeset viewer.