| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF licenses this file to You under the Apache License, Version 2.0 |
| (the "License"); you may not use this file except in compliance with |
| the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| #if($TABNAME == |
| $ResourceBundle.getString('NuxeoRepositoryConnector.Server')) |
| |
| <table class="displaytable"> |
| <tr> |
| <td class="separator" colspan="2"><hr /></td> |
| </tr> |
| |
| <tr> |
| <td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('NuxeoRepositoryConnector.Protocol'))</nobr> |
| </td> |
| <td class="value"> |
| <select size="2" name="nuxeo_protocol" /> |
| #if($NUXEO_PROTOCOL == 'https') |
| <option value="http">http</option> |
| <option value="https" selected>https</option> |
| #else |
| <option value="http" selected>http</option> |
| <option value="https" >https</option> |
| #end |
| </select> |
| </td> |
| </tr> |
| |
| <tr> |
| <td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('NuxeoRepositoryConnector.Host'))</nobr> |
| </td> |
| <td class="value"><input size="32" type="text" id="nuxeo_host" |
| name="nuxeo_host" value="$Encoder.attributeEscape($NUXEO_HOST)" /></td> |
| </tr> |
| |
| <tr> |
| <td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('NuxeoRepositoryConnector.Port'))</nobr> |
| </td> |
| <td class="value"><input size="5" type="text" id="nuxeo_port" |
| name="nuxeo_port" value="$Encoder.attributeEscape($NUXEO_PORT)" /></td> |
| </tr> |
| |
| <tr> |
| <td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('NuxeoRepositoryConnector.Path'))</nobr> |
| </td> |
| <td class="value"><input size="32" type="text" id="nuxeo_path" |
| name="nuxeo_path" value="$Encoder.attributeEscape($NUXEO_PATH)" /></td> |
| </tr> |
| |
| <tr> |
| <td class="separator" colspan="2"><hr /></td> |
| </tr> |
| |
| <tr> |
| <td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('NuxeoRepositoryConnector.Username'))</nobr> |
| </td> |
| <td class="value"><input size="16" type="text" |
| id="nuxeo_username" name="nuxeo_username" |
| value="$Encoder.attributeEscape($NUXEO_USERNAME)" /></td> |
| </tr> |
| <tr> |
| <td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('NuxeoRepositoryConnector.Password'))</nobr> |
| </td> |
| <td class="value"><input size="16" type="password" |
| id="nuxeo_password" name="nuxeo_password" |
| value="" /></td> |
| </tr> |
| </table> |
| |
| #else |
| |
| <input type="hidden" name="nuxeo_protocol" |
| value="$Encoder.attributeEscape($NUXEO_PROTOCOL)" /> |
| <input type="hidden" name="nuxeo_host" |
| value="$Encoder.attributeEscape($NUXEO_HOST)" /> |
| <input type="hidden" name="nuxeo_port" |
| value="$Encoder.attributeEscape($NUXEO_PORT)" /> |
| <input type="hidden" name="nuxeo_path" |
| value="$Encoder.attributeEscape($NUXEO_PATH)" /> |
| <input type="hidden" name="nuxeo_username" |
| value="$Encoder.attributeEscape($NUXEO_USERNAME)" /> |
| <input type="hidden" name="nuxeo_password" |
| value="" /> |
| |
| #end |