Changeset 1449 for trunk/gsdl/src/recpt
- Timestamp:
- 2000-08-25T16:09:25+12:00 (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/recpt/collectoraction.cpp
r1438 r1449 240 240 text_t ¤t_page = args["cp"]; 241 241 242 if (current_page != "intro" ) {242 if (current_page != "intro" && current_page != "bildstatus") { 243 243 // authenticate the user if authentication is available 244 244 args["uan"] = 1; … … 499 499 if (thispage == "info" || thispage == "srce" || thispage == "conf") { 500 500 gsmacro = "_gsjimage_"; 501 } else if (type == "view") { 502 // view button is special case as it needs a target=_top 503 gsmacro = "_gstimage_"; 501 504 } 502 505 return "<td>" + gsmacro + "(_collector:http" + type + "_,_collector:" + httpicon + … … 645 648 statusline += file_tail (bld_file + ".import"); 646 649 } else if (file_exists (bld_file + ".build")) { 647 statusline = "Building collection ... ";650 statusline = "Building collection ...<br>"; 648 651 statusline += file_tail (bld_file + ".build"); 649 652 } else { … … 674 677 disp.setmacro ("pagescriptextra", "collector", "_" + collector_page + "scriptextra_"); 675 678 676 if (collector_page == "bildstatus" ) {679 if (collector_page == "bildstatus" || collector_page == "bilddone" || collector_page == "bildfail") { 677 680 disp.setmacro ("header", "collector", "_" + collector_page + "header_"); 678 681 } … … 744 747 collectorbar += "</tr><tr><td colspan=4></td><td align=center>_icongreyuparrow_</td><td colspan=4></td>\n"; 745 748 746 } else if (collector_page == "bild") { 747 748 749 } else if (collector_page == "bilddone") { 750 // all previous buttons grey after build was completed 751 collectorbar += get_button (collector_page, "grey", "info", false); 752 collectorbar += "<td>_icongreyarrow_</td>\n"; 753 collectorbar += get_button (collector_page, "grey", "srce", false); 754 collectorbar += "<td>_icongreyarrow_</td>\n"; 755 collectorbar += get_button (collector_page, "grey", "conf", false); 756 collectorbar += "<td>_icongreyarrow_</td>\n"; 757 collectorbar += get_button (collector_page, "yellow", "bild", false); 758 collectorbar += "<td>_icongreyarrow_</td>\n"; 759 collectorbar += get_button (collector_page, "green", "view", true); 760 collectorbar += "</tr><tr><td colspan=6></td><td align=center>_icongreyuparrow_</td><td colspan=2></td>\n"; 749 761 } 750 762 … … 769 781 770 782 if (collector_page == "bild") { 783 784 // don't want header and stuff for build page as it uses frames 785 textout << outconvert << disp << ("_collector:bildcontent_\n"); 786 771 787 // do the work (download, import, build) 772 788 text_t tmpdir = filename_cat (gsdlhome, "tmp", collection + ".bld"); … … 801 817 #endif 802 818 delete build_cmdc; 803 804 // don't want header and stuff for build page as it uses frames805 textout << outconvert << disp << ("_collector:bildcontent_\n");806 819 807 820 } else {
Note:
See TracChangeset
for help on using the changeset viewer.