Project

General

Profile

« Previous | Next » 

Revision 2070

Added by Matt Jones over 20 years ago

Removed unused references to abstractpath, and some unudes javascript.

View differences:

lib/style/common/resultset.xsl
47 47
          <![CDATA[
48 48
          function submitform(action,form_ref) {
49 49
              form_ref.action.value=action;
50
              form_ref.abstractpath.value="";
51 50
              form_ref.sessionid.value="]]><xsl:value-of select="$sessid" /><![CDATA[";
52 51
              form_ref.qformat.value="]]><xsl:value-of select="$qformat" /><![CDATA[";
53 52
              form_ref.submit();
54 53
          }
55 54

  
56
/*******************************************************************************
57
*** MB thinks these could be deleted? Matt to confirm
58
*******************************************************************************/
59

  
60
           function submitform1(action, abstractpath, form_ref) {
61
               form_ref.action.value=action;
62
               form_ref.abstractpath.value=abstractpath;
63
               form_ref.qformat.value="]]><xsl:value-of select="$qformat" /><![CDATA[";
64
               form_ref.submit();
65
           }
66
           function submitform2(action, qformat, form_ref) {
67
               form_ref.action.value=action;
68
               form_ref.qformat.value="]]><xsl:value-of select="$qformat" /><![CDATA[";
69
               form_ref.abstractpath.value="";
70
               form_ref.submit();
71
           }
72

  
73
/*******************************************************************************
74
*** end potential deletion
75
*******************************************************************************/
76

  
77 55
          ]]>
78 56
        </script>
79 57
      </head>
......
121 99
                 <xsl:attribute name="name">
122 100
                   <xsl:value-of select="translate(./docid, '()-.', '')" />
123 101
                 </xsl:attribute>
124
                <!-- abstractpath tells the servlet where the abstract is in
125
                      the document.  The % sign is used because the path could
126
                      be resource/literature or resource/dataset. -->
127
                 <!-- specified down IN javascript:submitform1('read',abstractpath,docid) -->
128
                 <input type="hidden" name="abstractpath" />
129
                 <!-- specified down IN javascript:submitform2('read','zip',docid) -->
130 102

  
131 103
                 <input type="hidden" name="qformat" />
132 104
                 <input type="hidden" name="sessionid" />
lib/style/common/keywords-list.xsl
36 36
      <head>
37 37
        <link rel="stylesheet" type="text/css" 
38 38
              href="@style-skins-path@/{$qformat}/{$qformat}.css" />
39
        <script language="JavaScript">
40
          <![CDATA[
41
          function submitform(action,form_ref) {
42
              form_ref.action.value=action;
43
              form_ref.abstractpath.value="";
44
              form_ref.qformat.value="knb";
45
              form_ref.submit();
46
          }
47
          function submitform1(action, abstractpath, form_ref) {
48
              form_ref.action.value=action;
49
              form_ref.abstractpath.value=abstractpath;
50
              form_ref.qformat.value="";
51
              form_ref.submit();
52
          }
53
          function submitform2(action, qformat, form_ref) {
54
              form_ref.action.value=action;
55
              form_ref.qformat.value=qformat;
56
              form_ref.abstractpath.value="";
57
              form_ref.submit();
58
          }
59
          ]]>
60
        </script>
61 39
      </head>
62 40

  
63 41
      <body>
lib/style/common/browse.xsl
36 36
      <head>
37 37
        <link rel="stylesheet" type="text/css" 
38 38
              href="@style-skins-path@/{$qformat}/{$qformat}.css" />
39
        <script language="JavaScript">
40
          <![CDATA[
41
          function submitform(action,form_ref) {
42
              form_ref.action.value=action;
43
              form_ref.abstractpath.value="";
44
              form_ref.qformat.value="knb";
45
              form_ref.submit();
46
          }
47
          function submitform1(action, abstractpath, form_ref) {
48
              form_ref.action.value=action;
49
              form_ref.abstractpath.value=abstractpath;
50
              form_ref.qformat.value="";
51
              form_ref.submit();
52
          }
53
          function submitform2(action, qformat, form_ref) {
54
              form_ref.action.value=action;
55
              form_ref.qformat.value=qformat;
56
              form_ref.abstractpath.value="";
57
              form_ref.submit();
58
          }
59
          ]]>
60
        </script>
61 39
      </head>
62 40

  
63 41
      <body>
build.properties
4 4
tomcat=/usr/local/devtools/jakarta-tomcat
5 5
# Tomcat version - tomcat3 or tomcat4
6 6
tomcatversion=tomcat4
7
webapps=/var/www/org.ecoinformatics.knb
7
webapps=${tomcat}/webapps
8 8
context=knb
9 9

  
10 10
# Server Properties
11
server=knb.ecoinformatics.org
11
server=snow.joneseckert.org:8080
12 12

  
13 13
# Installation directory for registry CGI scripts
14
inst.cgi.dir=/var/www/cgi-knb
15
cgi-prefix=http://knb.ecoinformatics.org/cgi-bin
14
inst.cgi.dir=/var/www/cgi-bin
15
cgi-prefix=http://snow.joneseckert.org/cgi-bin
16 16
ldapUrl=ldap://ldap.ecoinformatics.org/dc=ecoinformatics,dc=org
17 17

  
18 18
# Select the database to use for metadata storage
19 19
# Valid values are oracle, postgresql, sqlserver
20
database=oracle
20
database=postgresql
21 21

  
22 22
# The JDBC connection string used to connect to the database
23
jdbc-connect=jdbc:oracle:thin:@metacat.nceas.ucsb.edu:1521:knb
24
#jdbc-connect=jdbc:postgresql://localhost/postgres
23
#jdbc-connect=jdbc:oracle:thin:@dev.nceas.ucsb.edu:1521:exp
24
jdbc-connect=jdbc:postgresql://localhost/metacat
25 25
#jdbc-connect=jdbc:microsoft:sqlserver://fatali.nceas.ucsb.edu:1433
26 26

  
27
# The base directory for locating JDBC jar files (not needed for postgresql)
28
jdbc_base=/usr/oracle/jdbc/lib
27
# The base directory for locating JDBC jar files
28
jdbc_base=./lib
29 29
#jdbc-base=F:\\Program Files\\Microsoft SQL Server 2000 Driver for JDBC\\lib
30 30

  
31 31
# Metacat database user and password and location of file stores
32
user=knb
33
password=yourPasswordHere
32
user=postgresdbuser
33
password=postgrespassword
34 34
datafilepath=/var/metacat/data
35 35
inlinedatafilepath=/var/metacat/inline-data
36 36

  
37 37
# CVS access to retrieve latest EML 
38
cvsroot=:ext:brooke@cvs.ecoinformatics.org:/cvs
38
cvsroot=:ext:jones@cvs.ecoinformatics.org:/cvs
39 39

  
40 40
# CVS access to retrieve latest conversion styles 
41
cvsroot-alternate=:ext:brooke@cvs.nceas.ucsb.edu:/cvs/pbi
41
cvsroot-alternate=:ext:jones@cvs.nceas.ucsb.edu:/cvs/pbi
42 42

  
43 43
# Configure the installed skins, and select the default
44 44
default-style=knb

Also available in: Unified diff