Ignore:
Timestamp:
2001-01-30T17:49:32+13:00 (23 years ago)
Author:
sjboddie
Message:

fixed a couple of minor bugs that were introduced with the corba stuff

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/src/recpt/pageaction.cpp

    r1870 r1877  
    120120        iconurl.clear();
    121121
    122         if (!response.docInfo[0].metadata["iconcollectionsmall"].values[0].empty())
    123           collectionname = "<img width=150 border=1 src=\""
    124             + response.docInfo[0].metadata["iconcollectionsmall"].values[0]
    125             + "\" alt=\"" + alt + "\">";
    126         else if (!response.docInfo[0].metadata["iconcollection"].values[0].empty())
    127           {
    128             iconurl = response.docInfo[0].metadata["iconcollection"].values[0];
    129           }
     122        if (!response.docInfo[0].metadata["iconcollectionsmall"].values[0].empty()) {
     123          iconurl = response.docInfo[0].metadata["iconcollectionsmall"].values[0];
     124        } else if (!response.docInfo[0].metadata["iconcollection"].values[0].empty()) {
     125          iconurl = response.docInfo[0].metadata["iconcollection"].values[0];
     126        }
    130127
    131128        if (!iconurl.empty())
     
    165162
    166163          text_t link = "<a href=\"_gwcgi_?"+optsite+"a=p&p=about&c=" + *collist_here + "\">";
    167           if (*collist_here == "chinese")
    168         link = "<a href=\"_gwcgi_?"+optsite+"a=p&p=about&l=zh&nw=u&c=" + *collist_here + "\">";
    169           if (*collist_here == "arabic")
    170         link = "<a href=\"_gwcgi_?"+optsite+"a=p&p=about&w=a&c=" + *collist_here + "\">";
    171164
    172165          if (!cinfo->receptionist.empty())
     
    182175    }
    183176
    184     // disp.setmacro ("homeextra", "home", homeextra);
    185177    for (; count%3 != 0; count ++) homeextra += "<td></td>\n";
    186178      }
Note: See TracChangeset for help on using the changeset viewer.