aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/configure.html
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2016-07-31 10:46:17 +0200
committerArthurHoaro <arthur@hoa.ro>2016-12-12 03:54:10 +0100
commitcbfdcff2615e901bdc434d06f38a3da8eecbdf8b (patch)
treede0d67591015f1bd6d35bd8490adfc8981d3355c /tpl/configure.html
parent624f999fb75ceeefbc690276f42e5a545ad35357 (diff)
downloadShaarli-cbfdcff2615e901bdc434d06f38a3da8eecbdf8b.tar.gz
Shaarli-cbfdcff2615e901bdc434d06f38a3da8eecbdf8b.tar.zst
Shaarli-cbfdcff2615e901bdc434d06f38a3da8eecbdf8b.zip
Prepare settings for the API in the admin page and during the install
API settings: - api.enabled - api.secret The API settings will be initialized (and the secret generated) with an update method.
Diffstat (limited to 'tpl/configure.html')
-rw-r--r--tpl/configure.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/tpl/configure.html b/tpl/configure.html
index 983bcd08..a015770e 100644
--- a/tpl/configure.html
+++ b/tpl/configure.html
@@ -80,6 +80,20 @@
80 <label for="updateCheck">&nbsp;Notify me when a new release is ready</label> 80 <label for="updateCheck">&nbsp;Notify me when a new release is ready</label>
81 </td> 81 </td>
82 </tr> 82 </tr>
83 <tr>
84 <td valign="top"><b>Enable API</b></td>
85 <td>
86 <input type="checkbox" name="apiEnabled" id="apiEnabled"
87 {if="$api_enabled"}checked{/if}/>
88 <label for="apiEnabled">&nbsp;Allow third party software to use Shaarli such as mobile application.</label>
89 </td>
90 </tr>
91 <tr>
92 <td valign="top"><b>API secret</b></td>
93 <td>
94 <input type="text" name="apiSecret" id="apiSecret" size="50" value="{$api_secret}" />
95 </td>
96 </tr>
83 97
84 <tr> 98 <tr>
85 <td></td> 99 <td></td>