aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga/admin
diff options
context:
space:
mode:
authorvdigital <vdigital@piwigo.org>2006-12-16 09:21:40 +0000
committervdigital <vdigital@piwigo.org>2006-12-16 09:21:40 +0000
commit53d1b22c76f4e16b1e16cdca9dd785a0b2f1e859 (patch)
tree65254958dada9b0d32a6b1f2153006e9c88d860c /template/yoga/admin
parenteef3bf079dc63c34739092853a3c0a1b424bb899 (diff)
Web Service Admin part 2
git-svn-id: http://piwigo.org/svn/trunk@1661 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'template/yoga/admin')
-rw-r--r--template/yoga/admin/ws_checker.tpl298
1 files changed, 298 insertions, 0 deletions
diff --git a/template/yoga/admin/ws_checker.tpl b/template/yoga/admin/ws_checker.tpl
new file mode 100644
index 000000000..8bc336d85
--- /dev/null
+++ b/template/yoga/admin/ws_checker.tpl
@@ -0,0 +1,298 @@
+<!-- $Id: ws_checker.tpl 939 2005-11-17 20:13:36Z VDigital $ -->
+
+<div class="titrePage">
+ <ul class="categoryActions">
+ <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>
+ </ul>
+ <h2>{lang:title_wscheck} - {lang:web_services}</h2>
+</div>
+
+<!-- BEGIN update_result -->
+<ul>
+ {update_result.UPD_ELEMENT}
+</ul>
+<!-- END update_result -->
+
+
+<!-- Set Web Services : Open/Disable -->
+<form method="post" name="ws_status" action="{F_STATUS_ACTION}">
+ <!-- Current status -->
+ <fieldset>
+ <legend>{lang:ws_set_status} : <strong>{L_CURRENT_STATUS}</strong></legend>
+ <table>
+ <tr>
+ <td width="70%">
+ {lang:ws set to} &nbsp; &nbsp; &nbsp;
+ <label><input type="radio" name="ws_status" value="true"
+ {STATUS_YES} /> {lang:ws_enable}
+ </label> &nbsp; &nbsp; &nbsp;
+ <label><input type="radio" name="ws_status" value="false"
+ {STATUS_NO} /> {lang:ws_disable}
+ </label>
+ </td>
+ <td width="4%">
+ &nbsp;
+ </td>
+ <td>
+ <input type="submit" value="{lang:submit}"
+ style="width: 10em; padding-top: 3px;"
+ name="wss_submit" {TAG_INPUT_ENABLED} />
+ </td>
+ </tr>
+ </table>
+ </fieldset>
+</form>
+
+
+<!-- Add Access -->
+<form method="post" name="adding_access" action="{F_STATUS_ACTION}">
+ <!-- Current Default -->
+ <fieldset>
+ <legend>{lang:ws_adding_legend}</legend>
+ <table>
+ <!-- Access key -->
+ <tr>
+ <td>
+ <label for="KeyName">{lang:Confidential partner key} </label>
+ </td>
+ <td>
+ <input type="text" maxlength="35" size="35" name="add_partner"
+ id="add_partner" value="{F_ADD_PARTNER}"
+ title="{lang:Basis of access key calculation}" />
+ </td>
+ </tr>
+
+ <!-- Target (cat/ids, tag/ids, or list/ids ids=id,id-id,...) -->
+ <tr>
+ <td>
+ <label for="Access">{lang:Target}</label>
+ </td>
+ <td>
+ <input type="text" maxlength="128" size="35" name="add_access"
+ id="add_access" value="{F_ADD_ACCESS}"
+ title="{lang:Facultative and restrictive option}" />
+ <i><small> ({lang:Access: see help text for more})
+ </small></i>
+ </td>
+ </tr>
+
+ <!-- Restricted access to specific request -->
+ <tr>
+ <td>
+ <label for="add_request">{lang:Restrict access to}</label>
+ </td>
+ <td>
+ <select name="add_request" id="add_request" style="width: 18em"
+ onfocus="this.className='focus';"
+ onblur="this.className='nofocus';">
+ <!-- BEGIN add_request -->
+ <option value="{add_request.VALUE}"
+ {add_request.SELECTED}>{add_request.CONTENT}
+ </option>
+ <!-- END add_request -->
+ </select>
+ <i><small> ({lang:ws_Request})</small></i>
+ </td>
+ </tr>
+
+ <!-- Limit number of images information to be return -->
+ <tr>
+ <td>
+ <label for="add_limit">{lang:Returned images limit}</label>
+ </td>
+ <td>
+ <select name="add_limit" id="add_limit" style="width: 10em"
+ onfocus="this.className='focus';"
+ onblur="this.className='nofocus';">
+ <!-- BEGIN add_limit -->
+ <option value="{add_limit.VALUE}"
+ {add_limit.SELECTED}>{add_limit.CONTENT}
+ </option>
+ <!-- END add_limit -->
+ </select>
+ </td>
+ </tr>
+
+ <!-- Open service is postponed by n days -->
+ <tr>
+ <td>
+ <label for="add_start">{lang:Postponed availability in days}</label>
+ </td>
+ <td>
+ <select name="add_start" id="add_start" style="width: 10em"
+ onfocus="this.className='focus';"
+ onblur="this.className='nofocus';">
+ <!-- BEGIN add_start -->
+ <option value="{add_start.VALUE}"
+ {add_start.SELECTED}>{add_start.CONTENT}
+ </option>
+ <!-- END add_start -->
+ </select>
+ </td>
+ </tr>
+
+ <!-- Opened service only for n days -->
+ <tr>
+ <td>
+ <label for="add_end">{lang:Duration in days}</label>
+ </td>
+ <td>
+ <select name="add_end" id="add_end" style="width: 10em"
+ onfocus="this.className='focus';"
+ onblur="this.className='nofocus';">
+ <!-- BEGIN add_end -->
+ <option value="{add_end.VALUE}"
+ {add_end.SELECTED}>{add_end.CONTENT}
+ </option>
+ <!-- END add_end -->
+ </select>
+ </td>
+ </tr>
+
+ <!-- High resolution information will be returned -->
+ <tr>
+ <td>
+ <label for="add_High">{lang:ws_High}</label>
+ <br />
+ </td>
+ <td>
+ <label><input type="radio" name="add_high"
+ value="true" {DEFLT_HIGH_YES}
+ title="{lang:High resolution information will be returned to your partner}"
+ /> {lang:yes}
+ </label> &nbsp; &nbsp; &nbsp;
+ <label><input type="radio" name="add_high"
+ value="false" {DEFLT_HIGH_NO} /> {lang:no}
+ </label>
+ </td>
+ </tr>
+
+ <!-- Normal size information will be returned -->
+ <tr>
+ <td>
+ <label for="add_Normal">{lang:ws_Normal}</label>
+ <br />
+ </td>
+ <td>
+ <label><input type="radio" name="add_normal"
+ value="true" {DEFLT_NORMAL_YES}
+ title="{lang:Normal size information will be returned to your partner}"
+ /> {lang:yes}
+ </label> &nbsp; &nbsp; &nbsp;
+ <label><input type="radio" name="add_normal"
+ value="false" {DEFLT_NORMAL_NO} /> {lang:no}
+ </label>
+ </td>
+ </tr>
+
+ <!-- Idendify your partner (name / website / phone) as you want -->
+ <tr>
+ <td>
+ <label for="add_Comment">{lang:ws_Comment}</label>
+ <br />
+ </td>
+ <td>
+ <textarea name="add_comment" id="add_comment" maxlength="255"
+ rows="4" cols="80">{lang:Comment to identify your partner clearly}</textarea>
+ </td>
+ </tr>
+
+ <!-- Add submit button -->
+ <tr>
+ <td>
+ </td>
+ <td>
+ <input type="submit" name="wsa_submit" style="width: 10em; padding-top: 3px;"
+ value="{lang:Submit}" {TAG_INPUT_ENABLED}
+ title="{lang:Add this access definition}" />
+ </td>
+ </tr>
+ </table>
+ </fieldset>
+</form>
+
+<!-- BEGIN acc_list -->
+<!-- Access list -->
+<form method="post" name="preferences" action="{F_STATUS_ACTION}">
+ <input type="hidden" name="partner_prev" value="{F_PREV_PARTNER}" />
+ <input type="hidden" name="request_prev" value="{F_PREV_REQUEST}" />
+ <input type="hidden" name="high_prev" value="{F_PREV_HIGH}" />
+ <input type="hidden" name="normal_prev" value="{F_PREV_NORMAL}" />
+ <input type="hidden" name="order_prev" value="{F_PREV_ORDER}" />
+ <input type="hidden" name="dir5n_prev" value="{F_PREV_DIR5N}" />
+ <!-- Delete / Update Selected -->
+ <fieldset>
+ <legend>{lang:ws_update_legend}</legend>
+ <table class="table2">
+ <tr class="throw">
+ <th>&nbsp;</th>
+ <th>{lang:ws_KeyName}</th>
+ <th>{lang:ws_Access}</th>
+ <th>{lang:ws_Start}</th>
+ <th>{lang:ws_End}</th>
+ <th>{lang:ws_Request}</th>
+ <th>{lang:ws_High}</th>
+ <th>{lang:ws_Normal}</th>
+ <th>{lang:ws_Limit}</th>
+ <th>{lang:ws_Comment}</th>
+ </tr>
+ <!-- BEGIN access -->
+ <tr class="{acc_list.access.CLASS}">
+ <td>
+ <input type="radio" name="selection"
+ value="{acc_list.access.ID}" id="selection-{acc_list.access.ID}" />
+ </td>
+ <td><label for="selection-{acc_list.access.ID}">{acc_list.access.NAME}</label></td>
+ <td>{acc_list.access.ACCESS}</td>
+ <td>{acc_list.access.START}</td>
+ <td>{acc_list.access.END}</td>
+ <td>{acc_list.access.FORCE}</td>
+ <td>{acc_list.access.HIGH}</td>
+ <td>{acc_list.access.NORMAL}</td>
+ <td>{acc_list.access.LIMIT}</td>
+ <td>{acc_list.access.COMMENT}</td>
+ </tr>
+ <!-- END user -->
+ </table>
+
+ <table>
+ <tr>
+ <td>
+ {lang:ws_delete_legend}
+ </td>
+ <td>
+ <input type="radio" name="delete_confirmation"
+ value="true" />
+ <input type="submit" name="wsX_submit" style="width: 10em; padding-top: 3px;"
+ value="{lang:Delete}" {TAG_INPUT_ENABLED}/>
+ </td>
+ </tr>
+ </table>
+ <hr>
+ <table>
+ <tr>
+ <td>
+ <span class="property">
+ <label for="upd_end">{lang:Modify End from Now +} </label>
+ </span>
+ <select name="upd_end" id="upd_end" style="width: 10em"
+ onfocus="this.className='focus';"
+ onblur="this.className='nofocus';">
+ <!-- BEGIN upd_end -->
+ <option value="{acc_list.upd_end.VALUE}" {acc_list.upd_end.SELECTED}>
+ {acc_list.upd_end.CONTENT}
+ </option>
+ <!-- END upd_end -->
+ </select>
+ <input type="submit" name="wsu_submit" style="width: 10em; padding-top: 3px;"
+ value="{lang:Submit}" {TAG_INPUT_ENABLED}/>
+ </td>
+ <td>
+ <i><small> ({lang:Web Services availability duration in days})</small></i>
+ </td>
+ </tr>
+ </table>
+
+ </fieldset>
+</form>
+<!-- END acc_list -->