| 1 | <!-- $Id: ws_checker.tpl 939 2005-11-17 20:13:36Z VDigital $ --> |
|---|
| 2 | |
|---|
| 3 | <div class="titrePage"> |
|---|
| 4 | <ul class="categoryActions"> |
|---|
| 5 | <li><a href="{U_HELP}" onclick="popuphelp(this.href); return false;" title="{lang:Help}"><img src="{themeconf:icon_dir}/help.png" class="button" alt="(?)"></a></li> |
|---|
| 6 | </ul> |
|---|
| 7 | <h2>{lang:title_wscheck} - {lang:web_services}</h2> |
|---|
| 8 | </div> |
|---|
| 9 | |
|---|
| 10 | <!-- BEGIN update_result --> |
|---|
| 11 | <ul> |
|---|
| 12 | {update_result.UPD_ELEMENT} |
|---|
| 13 | </ul> |
|---|
| 14 | <!-- END update_result --> |
|---|
| 15 | |
|---|
| 16 | <!-- Add Access --> |
|---|
| 17 | <form method="post" name="adding_access" action="{F_STATUS_ACTION}"> |
|---|
| 18 | <!-- Current Default --> |
|---|
| 19 | <fieldset> |
|---|
| 20 | <legend>{lang:ws_adding_legend}</legend> |
|---|
| 21 | <table> |
|---|
| 22 | <!-- Access key --> |
|---|
| 23 | <tr> |
|---|
| 24 | <td> |
|---|
| 25 | <label for="KeyName">{lang:Confidential partner key} </label> |
|---|
| 26 | </td> |
|---|
| 27 | <td> |
|---|
| 28 | <input type="text" maxlength="35" size="35" name="add_partner" |
|---|
| 29 | id="add_partner" value="{F_ADD_PARTNER}" |
|---|
| 30 | title="{lang:Basis of access key calculation}" /> |
|---|
| 31 | </td> |
|---|
| 32 | </tr> |
|---|
| 33 | |
|---|
| 34 | <!-- Target (cat/ids, tag/ids, or list/ids ids=id,id-id,...) --> |
|---|
| 35 | <tr> |
|---|
| 36 | <td> |
|---|
| 37 | <label for="Access">{lang:Target}</label> |
|---|
| 38 | </td> |
|---|
| 39 | <td> |
|---|
| 40 | <input type="text" maxlength="128" size="35" name="add_target" |
|---|
| 41 | id="add_target" value="{F_ADD_ACCESS}" |
|---|
| 42 | title="{lang:Facultative and restrictive option}" /> |
|---|
| 43 | <i><small> ({lang:Access: see help text for more}) |
|---|
| 44 | </small></i> |
|---|
| 45 | </td> |
|---|
| 46 | </tr> |
|---|
| 47 | |
|---|
| 48 | <!-- Restricted access to specific request --> |
|---|
| 49 | <tr> |
|---|
| 50 | <td> |
|---|
| 51 | <label for="add_request">{lang:Restrict access to}</label> |
|---|
| 52 | </td> |
|---|
| 53 | <td> |
|---|
| 54 | <select name="add_request" id="add_request" style="width: 18em" |
|---|
| 55 | onfocus="this.className='focus';" |
|---|
| 56 | onblur="this.className='nofocus';"> |
|---|
| 57 | <!-- BEGIN add_request --> |
|---|
| 58 | <option value="{add_request.VALUE}" |
|---|
| 59 | {add_request.SELECTED}>{add_request.CONTENT} |
|---|
| 60 | </option> |
|---|
| 61 | <!-- END add_request --> |
|---|
| 62 | </select> |
|---|
| 63 | <i><small> ({lang:ws_Methods})</small></i> |
|---|
| 64 | </td> |
|---|
| 65 | </tr> |
|---|
| 66 | |
|---|
| 67 | <!-- Limit number of images information to be return --> |
|---|
| 68 | <tr> |
|---|
| 69 | <td> |
|---|
| 70 | <label for="add_limit">{lang:Returned images limit}</label> |
|---|
| 71 | </td> |
|---|
| 72 | <td> |
|---|
| 73 | <select name="add_limit" id="add_limit" style="width: 10em" |
|---|
| 74 | onfocus="this.className='focus';" |
|---|
| 75 | onblur="this.className='nofocus';"> |
|---|
| 76 | <!-- BEGIN add_limit --> |
|---|
| 77 | <option value="{add_limit.VALUE}" |
|---|
| 78 | {add_limit.SELECTED}>{add_limit.CONTENT} |
|---|
| 79 | </option> |
|---|
| 80 | <!-- END add_limit --> |
|---|
| 81 | </select> |
|---|
| 82 | </td> |
|---|
| 83 | </tr> |
|---|
| 84 | |
|---|
| 85 | <!-- Open service is postponed by n days --> |
|---|
| 86 | <!-- In comment currently |
|---|
| 87 | <tr> |
|---|
| 88 | <td> |
|---|
| 89 | <label for="add_start">{lang:Postponed availability in days}</label> |
|---|
| 90 | </td> |
|---|
| 91 | <td> |
|---|
| 92 | <select name="add_start" id="add_start" style="width: 10em" |
|---|
| 93 | onfocus="this.className='focus';" |
|---|
| 94 | onblur="this.className='nofocus';"> |
|---|
| 95 | <!-- BEGIN add_start --> |
|---|
| 96 | <option value="{add_start.VALUE}" |
|---|
| 97 | {add_start.SELECTED}>{add_start.CONTENT} |
|---|
| 98 | </option> |
|---|
| 99 | <!-- END add_start --> |
|---|
| 100 | </select> |
|---|
| 101 | </td> |
|---|
| 102 | </tr> --> |
|---|
| 103 | |
|---|
| 104 | <!-- Opened service only for n days --> |
|---|
| 105 | <tr> |
|---|
| 106 | <td> |
|---|
| 107 | <label for="add_end">{lang:Duration in days}</label> |
|---|
| 108 | </td> |
|---|
| 109 | <td> |
|---|
| 110 | <select name="add_end" id="add_end" style="width: 10em" |
|---|
| 111 | onfocus="this.className='focus';" |
|---|
| 112 | onblur="this.className='nofocus';"> |
|---|
| 113 | <!-- BEGIN add_end --> |
|---|
| 114 | <option value="{add_end.VALUE}" |
|---|
| 115 | {add_end.SELECTED}>{add_end.CONTENT} |
|---|
| 116 | </option> |
|---|
| 117 | <!-- END add_end --> |
|---|
| 118 | </select> |
|---|
| 119 | </td> |
|---|
| 120 | </tr> |
|---|
| 121 | |
|---|
| 122 | <!-- High resolution information will be returned --> |
|---|
| 123 | <!-- In comment currently |
|---|
| 124 | <tr> |
|---|
| 125 | <td> |
|---|
| 126 | <label for="add_High">{lang:ws_High}</label> |
|---|
| 127 | <br /> |
|---|
| 128 | </td> |
|---|
| 129 | <td> |
|---|
| 130 | <label><input type="radio" name="add_high" |
|---|
| 131 | value="true" {DEFLT_HIGH_YES} |
|---|
| 132 | title="{lang:High resolution information will be returned to your partner}" |
|---|
| 133 | /> {lang:yes} |
|---|
| 134 | </label> |
|---|
| 135 | <label><input type="radio" name="add_high" |
|---|
| 136 | value="false" {DEFLT_HIGH_NO} /> {lang:no} |
|---|
| 137 | </label> |
|---|
| 138 | </td> |
|---|
| 139 | </tr> --> |
|---|
| 140 | |
|---|
| 141 | <!-- Normal size information will be returned --> |
|---|
| 142 | <!-- In comment currently |
|---|
| 143 | <tr> |
|---|
| 144 | <td> |
|---|
| 145 | <label for="add_Normal">{lang:ws_Normal}</label> |
|---|
| 146 | <br /> |
|---|
| 147 | </td> |
|---|
| 148 | <td> |
|---|
| 149 | <label><input type="radio" name="add_normal" |
|---|
| 150 | value="true" {DEFLT_NORMAL_YES} |
|---|
| 151 | title="{lang:Normal size information will be returned to your partner}" |
|---|
| 152 | /> {lang:yes} |
|---|
| 153 | </label> |
|---|
| 154 | <label><input type="radio" name="add_normal" |
|---|
| 155 | value="false" {DEFLT_NORMAL_NO} /> {lang:no} |
|---|
| 156 | </label> |
|---|
| 157 | </td> |
|---|
| 158 | </tr> --> |
|---|
| 159 | |
|---|
| 160 | <!-- Idendify your partner (name / website / phone) as you want --> |
|---|
| 161 | <tr> |
|---|
| 162 | <td> |
|---|
| 163 | <label for="add_Comment">{lang:ws_Comment}</label> |
|---|
| 164 | <br /> |
|---|
| 165 | </td> |
|---|
| 166 | <td> |
|---|
| 167 | <textarea name="add_comment" id="add_comment" maxlength="255" |
|---|
| 168 | rows="4" cols="80">{lang:Comment to identify your partner clearly}</textarea> |
|---|
| 169 | </td> |
|---|
| 170 | </tr> |
|---|
| 171 | |
|---|
| 172 | <!-- Add submit button --> |
|---|
| 173 | <tr> |
|---|
| 174 | <td> |
|---|
| 175 | </td> |
|---|
| 176 | <td> |
|---|
| 177 | <input class="submit" type="submit" name="wsa_submit" style="width: 10em; padding-top: 3px;" |
|---|
| 178 | value="{lang:Submit}" {TAG_INPUT_ENABLED} |
|---|
| 179 | title="{lang:Add this access definition}" /> |
|---|
| 180 | </td> |
|---|
| 181 | </tr> |
|---|
| 182 | </table> |
|---|
| 183 | </fieldset> |
|---|
| 184 | </form> |
|---|
| 185 | |
|---|
| 186 | <!-- BEGIN acc_list --> |
|---|
| 187 | <!-- Access list --> |
|---|
| 188 | <form method="post" name="preferences" action="{F_STATUS_ACTION}"> |
|---|
| 189 | <input type="hidden" name="partner_prev" value="{F_PREV_PARTNER}" /> |
|---|
| 190 | <input type="hidden" name="request_prev" value="{F_PREV_REQUEST}" /> |
|---|
| 191 | <input type="hidden" name="high_prev" value="{F_PREV_HIGH}" /> |
|---|
| 192 | <input type="hidden" name="normal_prev" value="{F_PREV_NORMAL}" /> |
|---|
| 193 | <input type="hidden" name="order_prev" value="{F_PREV_ORDER}" /> |
|---|
| 194 | <input type="hidden" name="dir5n_prev" value="{F_PREV_DIR5N}" /> |
|---|
| 195 | <!-- Delete / Update Selected --> |
|---|
| 196 | <fieldset> |
|---|
| 197 | <legend>{lang:ws_update_legend}</legend> |
|---|
| 198 | <table class="table2"> |
|---|
| 199 | <tr class="throw"> |
|---|
| 200 | <th> </th> |
|---|
| 201 | <th>{lang:ws_KeyName}</th> |
|---|
| 202 | <th>{lang:ws_Access}</th> |
|---|
| 203 | <th>{lang:ws_End}</th> |
|---|
| 204 | <th>{lang:ws_Request}</th> |
|---|
| 205 | <th>{lang:ws_Limit}</th> |
|---|
| 206 | <th>{lang:ws_Comment}</th> |
|---|
| 207 | </tr> |
|---|
| 208 | <!-- BEGIN access --> |
|---|
| 209 | <tr class="{acc_list.access.CLASS}"> |
|---|
| 210 | <td> |
|---|
| 211 | <input type="radio" name="selection" |
|---|
| 212 | value="{acc_list.access.ID}" id="selection-{acc_list.access.ID}" /> |
|---|
| 213 | </td> |
|---|
| 214 | <td><label for="selection-{acc_list.access.ID}">{acc_list.access.NAME}</label></td> |
|---|
| 215 | <td>{acc_list.access.TARGET}</td> |
|---|
| 216 | <td>{acc_list.access.END}</td> |
|---|
| 217 | <td>{acc_list.access.REQUEST}</td> |
|---|
| 218 | <td>{acc_list.access.LIMIT}</td> |
|---|
| 219 | <td>{acc_list.access.COMMENT}</td> |
|---|
| 220 | </tr> |
|---|
| 221 | <!-- END user --> |
|---|
| 222 | </table> |
|---|
| 223 | |
|---|
| 224 | <table> |
|---|
| 225 | <tr> |
|---|
| 226 | <td> |
|---|
| 227 | {lang:ws_delete_legend} |
|---|
| 228 | </td> |
|---|
| 229 | <td> |
|---|
| 230 | <input type="radio" name="delete_confirmation" |
|---|
| 231 | value="true" /> |
|---|
| 232 | <input class="submit" type="submit" name="wsX_submit" style="width: 10em; padding-top: 3px;" |
|---|
| 233 | value="{lang:Delete}" {TAG_INPUT_ENABLED}/> |
|---|
| 234 | </td> |
|---|
| 235 | </tr> |
|---|
| 236 | </table> |
|---|
| 237 | <hr> |
|---|
| 238 | <table> |
|---|
| 239 | <tr> |
|---|
| 240 | <td> |
|---|
| 241 | <span class="property"> |
|---|
| 242 | <label for="upd_end">{lang:Modify End from Now +} </label> |
|---|
| 243 | </span> |
|---|
| 244 | <select name="upd_end" id="upd_end" style="width: 10em" |
|---|
| 245 | onfocus="this.className='focus';" |
|---|
| 246 | onblur="this.className='nofocus';"> |
|---|
| 247 | <!-- BEGIN upd_end --> |
|---|
| 248 | <option value="{acc_list.upd_end.VALUE}" {acc_list.upd_end.SELECTED}> |
|---|
| 249 | {acc_list.upd_end.CONTENT} |
|---|
| 250 | </option> |
|---|
| 251 | <!-- END upd_end --> |
|---|
| 252 | </select> |
|---|
| 253 | <input class="submit" type="submit" name="wsu_submit" style="width: 10em; padding-top: 3px;" |
|---|
| 254 | value="{lang:Submit}" {TAG_INPUT_ENABLED}/> |
|---|
| 255 | </td> |
|---|
| 256 | <td> |
|---|
| 257 | <i><small> ({lang:Web Services availability duration in days})</small></i> |
|---|
| 258 | </td> |
|---|
| 259 | </tr> |
|---|
| 260 | </table> |
|---|
| 261 | |
|---|
| 262 | </fieldset> |
|---|
| 263 | </form> |
|---|
| 264 | <object data="http://127.0.0.1/phpwebgallery/trunk/ws.php?&method=pwg.getVersion&partner=Public" type="text/html" |
|---|
| 265 | style="width: 660px; height: 230px; position: relative; overflow: auto;"> |
|---|
| 266 | </object> |
|---|
| 267 | <!-- END acc_list --> |
|---|