Project

General

Profile

« Previous | Next » 

Revision 4176

Added by daigle over 16 years ago

Fix question mark help links

View differences:

lib/admin/ldap-configuration.jsp
34 34
<link rel="stylesheet" type="text/css" 
35 35
        href="<%= request.getContextPath() %>/admin/admin.css"></link>
36 36
<script language="JavaScript" type="text/JavaScript" src="<%= request.getContextPath() %>/admin/admin.js"></script>
37
<script language="JavaScript" type="text/JavaScript" src="<%= request.getContextPath() %>/help/help.js"></script>
38 37

  
39 38
</head>
40 39
<body>
......
93 92
				<td class="config-question-mark">
94 93
					<img src="style/images/question-mark.gif" 
95 94
	           		       alt="<%= metaDataProperty.getDescription() %>" 
96
	           		       title="<%= metaDataProperty.getDescription() %>"/>
95
	           		       onClick="helpWindow('<%= request.getContextPath() %>','<%= metaDataProperty.getHelpFile() %>')"/>
97 96
				</td>
98 97
			</tr>
99 98

  
......
112 111
				</td>
113 112
				<td class="config-question-mark">
114 113
					<img src="style/images/question-mark.gif" 
115
	           		       alt="<%= metaDataProperty.getDescription() %>" 
116
	           		       title="<%= metaDataProperty.getDescription() %>"/>
114
	           		     alt="<%= metaDataProperty.getDescription() %>" 
115
	           		     onClick="helpWindow('<%= request.getContextPath() %>','<%= metaDataProperty.getHelpFile() %>')"/>
117 116
				</td>
118 117
			</tr>
119 118
<%		
......
130 129
	           		    	alt="<%= metaDataProperty.getDescription() %>"/>	
131 130
	           	</td>
132 131
				<td class="config-question-mark">           		    
133
					<img class=question-mark src="style/images/question-mark.gif" onClick="helpWindow('ldap_url_help.html')"/>
132
					<img src="style/images/question-mark.gif" 
133
						 alt="<%= metaDataProperty.getDescription() %>" 
134
					     onClick="helpWindow('<%= request.getContextPath() %>','<%= metaDataProperty.getHelpFile() %>')"/>
134 135
				</td>
135 136
 			</tr>
136 137
<%   			
lib/admin/admin.js
110 110
	}
111 111
}
112 112

  
113
function helpWindow(context, helpFile) {
114
	fileLoc = context + "/docs/user/" + helpFile;
115
	window.open(fileLoc,'mywindow','width=750,height=200,scrollbars=yes,location=no,status=no');
116
}
113 117

  
118

  
lib/admin/database-configuration.jsp
41 41
<link rel="stylesheet" type="text/css" 
42 42
        href="<%= request.getContextPath() %>/admin/admin.css"></link>
43 43
<script language="JavaScript" type="text/JavaScript" src="<%= request.getContextPath() %>/admin/admin.js"></script>
44
<script language="JavaScript" type="text/JavaScript" src="<%= request.getContextPath() %>/help/help.js"></script>
45 44

  
46 45
</head>
47 46
<body>
lib/admin/organization-configuration.jsp
40 40
<link rel="stylesheet" type="text/css" 
41 41
        href="<%= request.getContextPath() %>/admin/admin.css"></link>
42 42
<script language="JavaScript" type="text/JavaScript" src="<%= request.getContextPath() %>/admin/admin.js"></script>
43
<script language="JavaScript" type="text/JavaScript" src="<%= request.getContextPath() %>/help/help.js"></script>
44 43

  
45 44
</head>
46 45
<body>
......
86 85
				</td> 
87 86
				<td class="config-question-mark">
88 87
					<img src="style/images/question-mark.gif"
89
							alt="blah"
90
							title="blah"/>
88
						 alt="<%= metaDataProperty.getDescription() %>" 
89
						 onClick="helpWindow('<%= request.getContextPath() %>','<%= metaDataProperty.getHelpFile() %>')"/>
91 90
				</td>
92 91
				</tr>
93 92
			</table>
......
118 117
	           			alt="List of administrators for this installation in LDAP DN syntax (colon separated)"/>	           		    
119 118
				</td>
120 119
				<td class="config-question-mark">
121
					<img src="style/images/question-mark.gif" onClick="helpWindow('<%= request.getContextPath() %>', '<%= orgProperty.getHelpFile() %>')"/>
120
					<img src="style/images/question-mark.gif" 
121
						 alt="<%= metaDataProperty.getDescription() %>" 
122
						 onClick="helpWindow('<%= request.getContextPath() %>', '<%= orgProperty.getHelpFile() %>')"/>
122 123
				</td>
123 124
				</tr>	  
124 125
<%
lib/admin/skins-configuration.jsp
41 41
<link rel="stylesheet" type="text/css" 
42 42
        href="<%= request.getContextPath() %>/admin/admin.css"></link>
43 43
<script language="JavaScript" type="text/JavaScript" src="<%= request.getContextPath() %>/admin/admin.js"></script>
44
<script language="JavaScript" type="text/JavaScript" src="<%= request.getContextPath() %>/help/help.js"></script>
45 44

  
46

  
47 45
</head>
48 46
<body>
49 47
<img src="<%= request.getContextPath() %>/metacat-logo.png" width="100px" align="right"/> 
......
98 96
		} 
99 97
%>
100 98
			</td> 
101
			<td class="config-question-mark">
102
				<img src="style/images/question-mark.gif"
103
						alt="blah"
104
						title="blah"/>
105
			</td>
106 99
		</tr>
107 100
	</table>
108 101
	<table class="config-section-hiding" 
......
138 131
%>
139 132
					name="default-flag" id="<%= skinName %>-radio" value="<%= skinName %>" onChange="toggleHiddenDefaultText('default-flag', '<%= skinName %>')"/>
140 133
				</td>
141
				<td class="config-question-mark">
142
					<img src="style/images/question-mark.gif" 
143
							alt="boffo" 
144
							title="biffo"/><br>
145
				</td>
146 134
			</tr>
147 135
<%
148 136
			for (Integer propertyKey : propertyKeys) {
......
171 159
				</td>
172 160
				<td class="config-question-mark"> 
173 161
					<img src="style/images/question-mark.gif" 
174
							alt="<%= metaDataProperty.getDescription() %>" 
175
							title="<%= metaDataProperty.getDescription() %>"/><br/>
162
						 alt="<%= metaDataProperty.getDescription() %>" 
163
						 onClick="helpWindow('<%= request.getContextPath() %>','<%= metaDataProperty.getHelpFile() %>')""/><br/>
176 164
				</td>
177 165

  
178 166
<%		
......
188 176
				</td>
189 177
				<td class="config-question-mark"> 
190 178
					<img src="style/images/question-mark.gif" 
191
							alt="<%= metaDataProperty.getDescription() %>" 
192
							title="<%= metaDataProperty.getDescription() %>"/><br/>
179
						 alt="<%= metaDataProperty.getDescription() %>" 
180
						 onClick="helpWindow('<%= request.getContextPath() %>','<%= metaDataProperty.getHelpFile() %>')"/><br/>
193 181
				</td>
194 182
<%		
195 183
				} else {
......
204 192
							alt="<%= metaDataProperty.getDescription() %>"/>	           		    
205 193
				</td>
206 194
				<td class="config-question-mark"> 
207
					<img src="style/images/question-mark.gif" onClick="helpWindow('ldap_url_help.html')"/><br/>
195
					<img src="style/images/question-mark.gif" 
196
						 alt="<%= metaDataProperty.getDescription() %>"
197
						 onClick="helpWindow('<%= request.getContextPath() %>','<%= metaDataProperty.getHelpFile() %>')"/><br/>
208 198
				</td>
209 199
<%   			
210 200
				}									
lib/admin/properties-configuration.jsp
94 94
				<td class="config-question-mark">
95 95
					<img src="style/images/question-mark.gif" 
96 96
	           		       alt="<%= metaDataProperty.getDescription() %>" 
97
	           		       title="<%= metaDataProperty.getDescription() %>"/>
97
	           		       onClick="helpWindow('<%= request.getContextPath() %>','<%= metaDataProperty.getHelpFile() %>')"/>
98 98
				</td>
99 99
			</tr>
100 100

  
......
114 114
				<td class="config-question-mark">
115 115
					<img src="style/images/question-mark.gif" 
116 116
	           		       alt="<%= metaDataProperty.getDescription() %>" 
117
	           		       title="<%= metaDataProperty.getDescription() %>"/>
117
	           		       onClick="helpWindow('<%= request.getContextPath() %>','<%= metaDataProperty.getHelpFile() %>')"/>
118 118
				</td>
119 119
			</tr>
120 120
<%		
......
131 131
	           		    	alt="<%= metaDataProperty.getDescription() %>"/>	
132 132
	           	</td>
133 133
				<td class="config-question-mark">           		    
134
					<img class=question-mark src="style/images/question-mark.gif" onClick="helpWindow('ldap_url_help.html')"/>
134
					<img class=question-mark 
135
					     src="style/images/question-mark.gif" 
136
					     onClick="helpWindow('<%= request.getContextPath() %>','<%= metaDataProperty.getHelpFile() %>')"/>
135 137
				</td>
136 138
 			</tr>
137 139
<%   			

Also available in: Unified diff