Changeset 11413


Ignore:
Timestamp:
2006-03-20T11:26:27+12:00 (18 years ago)
Author:
kjdon
Message:

fixed up some stuff to do with navbar, and spacers and search buttons

File:
1 edited

Legend:

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

    r11355 r11413  
    380380
    381381   if (!use_pulldown) {
    382      navigationbar += "_navtabsearch_";
    383382      if (has_search_button) {
     383    navigationbar += "_navtabsearch_";
    384384     if (args["a"] == "q") {
    385385        navigationbar += "(selected)";
     
    452452      }
    453453
    454       if (!has_search_button && numc == 1) navigationbar += "_navbarspacer_";
     454      //if (!has_search_button && numc == 1) navigationbar += "_navbarspacer_";
    455455
    456456      navigationbar += "\n<!-- End of Navigation Bar -->\n";
     
    599599    bool has_search_button = true;
    600600    collectproto->is_searchable(collection, has_search_button, err, logout);
    601     if (err != noError) has_search_button = true;
     601    if (err != noError) has_search_button = false;
    602602
    603603    // calculate width of spacers and set _widthtspace_ macro
Note: See TracChangeset for help on using the changeset viewer.