Changeset 21975


Ignore:
Timestamp:
2010-04-28T11:53:49+12:00 (11 years ago)
Author:
sjm84
Message:

PrintHTML now uses the correct [GREENSTONE HOME]/ext/mat directory rather than [GREENSTONE HOME]/web/mat

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gs3-extensions/mat/trunk/src/org/greenstone/mat/servlet/PrintHTML.java

    r21927 r21975  
    7777    }
    7878   
    79     cssString = "<link rel=\"stylesheet\" href=\"http://"+hostName+":"+port_number+"/greenstone3/mat/script/mat.css\" type=\"text/css\" >";
     79    cssString = "<link rel=\"stylesheet\" href=\"http://"+hostName+":"+port_number+"/mat/script/mat.css\" type=\"text/css\" >";
    8080    }
    8181   
     
    907907            out.write("</head>\r\n");
    908908        out.write("<body>\r\n");
    909             out.write ("<td> <div style=\"float:left;\"> <a href=\"http://"+hostName+":"+port_number+"/greenstone3/mat\">Mat Home</a></div>");
     909            out.write ("<td> <div style=\"float:left;\"> <a href=\"http://"+hostName+":"+port_number+"/mat\">Mat Home</a></div>");
    910910            out.write("<div style=\"float:right;\"><a href=\"http://chnm.gmu.edu/tools/surveys/4386/\">Please send feedback about the Mat tool</a></div></td><br>");
    911911            out.write("<h3 align=\"center\">Summary</h3>\r\n");
     
    11211121            out.write("body{font-family: Arial;}\r\n");
    11221122            out.write("</style>\r\n");
    1123             out.write("<script type=\"text/javascript\" src=\"http://"+hostName+":"+port_number+"/greenstone3/mat/script/status3.js\"></script>");
     1123            out.write("<script type=\"text/javascript\" src=\"http://"+hostName+":"+port_number+"/mat/script/status3.js\"></script>");
    11241124            out.write("</head>\r\n");
    11251125        out.write("<body>\r\n");
     
    21282128    private void setupMetadataLink(String fileName){
    21292129       
    2130         String destination = globalProperty.getGSDL3Home()+fileSeparator+"mat"+fileSeparator+"script"+fileSeparator+fileName+".xml";
     2130        String destination = globalProperty.getGSDL3Home() + fileSeparator + ".." + fileSeparator + "ext" + fileSeparator + "mat" + fileSeparator + "web" + fileSeparator + "script" + fileSeparator+fileName + ".xml";
    21312131           
    21322132        try{
Note: See TracChangeset for help on using the changeset viewer.