Revision 4100
Added by daigle over 16 years ago
skins-configuration.jsp | ||
---|---|---|
58 | 58 |
|
59 | 59 |
|
60 | 60 |
<h3>Skins Configuration</h3> |
61 |
<hr class=config>
|
|
61 |
<hr class="config-line">
|
|
62 | 62 |
<div class="heading-comment"> |
63 | 63 |
Choose and configure the skins that will be available in this instance of MetaCat |
64 | 64 |
</div><br> |
... | ... | |
112 | 112 |
<label for="<%= skinName %>-radio"> Make <%= skinName %> default </label> |
113 | 113 |
</td> |
114 | 114 |
<td class="config-property-input" > |
115 |
<input type="radio" name="default-flag" id="<%= skinName %>-radio" value="<%= skinName %>" onChange="toggleHiddenInline(this, 'hiding-default-<%= skinName %>')"/>
|
|
115 |
<input type="radio" name="default-flag" id="<%= skinName %>-radio" value="<%= skinName %>" onChange="toggleHiddenDefaultText('default-flag', '<%= skinName %>')"/>
|
|
116 | 116 |
</td> |
117 | 117 |
<td class="config-question-mark"> |
118 | 118 |
<img src="style/images/question-mark.gif" |
... | ... | |
133 | 133 |
<label for="<%= metaDataProperty.getKey() %>" title="<%= metaDataProperty.getDescription() %>"><%= metaDataProperty.getLabel() %></label> |
134 | 134 |
</td> |
135 | 135 |
<td class="config-property-input"> |
136 |
<select name="<%= metaDataProperty.getKey() %>"> |
|
136 |
<select name="<%= skinName %>.<%= metaDataProperty.getKey() %>">
|
|
137 | 137 |
<% |
138 |
Vector<String> fieldOptions = metaDataProperty.getFieldOptions(); |
|
139 |
for (String optionName : fieldOptions) { |
|
138 |
Vector<String> fieldOptionNames = metaDataProperty.getFieldOptionNames(); |
|
139 |
Vector<String> fieldOptionValues = metaDataProperty.getFieldOptionValues(); |
|
140 |
for (int i = 0; i < fieldOptionNames.size(); i++) { |
|
140 | 141 |
%> |
141 |
<option value="<%= optionName %>"> <%= optionName %>
|
|
142 |
<option value="<%= fieldOptionValues.elementAt(i) %>"> <%= fieldOptionNames.elementAt(i) %>
|
|
142 | 143 |
<% |
143 | 144 |
} |
144 | 145 |
%> |
... | ... | |
157 | 158 |
<label for="<%= metaDataProperty.getKey() %>" title="<%= metaDataProperty.getDescription() %>"><%= metaDataProperty.getLabel() %></label> |
158 | 159 |
</td> |
159 | 160 |
<td class="config-property-input"> |
160 |
<input id="<%= metaDataProperty.getKey() %>" name="<%= metaDataProperty.getKey() %>"
|
|
161 |
<input id="<%= skinName %>.<%= metaDataProperty.getKey() %>" name="<%= skinName %>.<%= metaDataProperty.getKey() %>"
|
|
161 | 162 |
type="<%= fieldType %>" |
162 | 163 |
alt="<%= metaDataProperty.getDescription() %>"/> |
163 | 164 |
</td> |
... | ... | |
173 | 174 |
<label for="<%= metaDataProperty.getKey() %>" title="<%= metaDataProperty.getDescription() %>"><%= metaDataProperty.getLabel() %></label> |
174 | 175 |
</td> |
175 | 176 |
<td class="config-property-input"> |
176 |
<input id="<%= metaDataProperty.getKey() %>" name="<%= metaDataProperty.getKey() %>"
|
|
177 |
<input id="<%= skinName %>.<%= metaDataProperty.getKey() %>" name="<%= skinName %>.<%= metaDataProperty.getKey() %>"
|
|
177 | 178 |
value="<%= skinProperties.get(metaDataProperty.getKey()) %>" |
178 | 179 |
type="<%= fieldType %> " |
179 | 180 |
alt="<%= metaDataProperty.getDescription() %>"/> |
Also available in: Unified diff
Clean up formatting on configuration pages