Project

General

Profile

« Previous | Next » 

Revision 4032

Added by berkley over 16 years ago

added functionality to make the document public after upload

View differences:

index.jsp
99 99
                if(status != null && status.equals("success"))
100 100
                {
101 101
                  out.print("Your file was successfully uploaded with id <a href=\"http://linus.nceas.ucsb.edu/sms/metacat?docid=" + docid 
102
                  + "&action=read&qformat=sms\">" + docid + "</a>.");
102
                  + "&action=read&qformat=sms\">" + docid + "</a>.  " +  
103
                  "<a href=\"javascript:makepublic('" + docid + "')\">Click here</a> to make this document publicly readable.");
103 104
                }
104 105
                else
105 106
                {

Also available in: Unified diff