// -*- Java -*- // Copyright 1999 Greg Spencer (greg_spencer@acm.org) function setBrowseMode(flag) { inBrowseMode = flag; updateBrowseTitle(); if (document.all) { printList(); } if (document.layers) { listDiv.printList(); } } function updateBrowseTitle() { var tmpHtml = '<TABLE width=100%><TR><TD align=left valign=top><h2>' + theTitle + '</h2></TD>'; tmpHtml += '<TD align=right><FORM><INPUT type=radio '; if (inBrowseMode) { tmpHtml += 'checked ' } tmpHtml += 'onClick="setBrowseMode(true)">Browse Mode'; tmpHtml += '<INPUT type=radio '; if (!inBrowseMode) { tmpHtml += 'checked ' } tmpHtml += 'onClick="setBrowseMode(false)">Source Mode'; tmpHtml += '</FORM></TD></TR></TABLE>'; if (document.all) { document.all.titleDiv.innerHTML = tmpHtml; } if (document.layers) { document.write(tmpHtml); document.close(); } }
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 80 | Greg Spencer |
This adds the file-centric perforce browser to the guest depot. I rewrote it (again) this week to split out a simpler, non-javascript version that is easier to install (and doesn't need the CGI package). Both are included here. I still need to rewrite the INSTALL.txt file to reflect this, and update the README. I'd love to have a MakeMaker script to install this, but I haven't done that before, so I've got some trepidation. |