Merge pull request #666 from ArthurHoaro/slim-api
REST API structure using Slim framework
This commit is contained in:
commit
80677a23e2
23 changed files with 1126 additions and 19 deletions
|
@ -80,6 +80,20 @@
|
|||
<label for="updateCheck"> Notify me when a new release is ready</label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top"><b>Enable REST API</b></td>
|
||||
<td>
|
||||
<input type="checkbox" name="apiEnabled" id="apiEnabled"
|
||||
{if="$api_enabled"}checked{/if}/>
|
||||
<label for="apiEnabled"> Allow third party software to use Shaarli such as mobile application.</label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top"><b>API secret</b></td>
|
||||
<td>
|
||||
<input type="text" name="apiSecret" id="apiSecret" size="50" value="{$api_secret}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td></td>
|
||||
|
|
|
@ -14,6 +14,18 @@
|
|||
<tr><td valign="top"><b>Update:</b></td><td>
|
||||
<input type="checkbox" name="updateCheck" id="updateCheck" checked="checked"><label for="updateCheck"> Notify me when a new release is ready</label></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top">
|
||||
<b>API:</b>
|
||||
</td>
|
||||
<td>
|
||||
<input type="checkbox" name="enableApi" id="enableApi" checked="checked">
|
||||
<label for="enableApi">
|
||||
Enable Shaarli's REST API.
|
||||
Allow third party software to use Shaarli such as mobile application.
|
||||
</label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td colspan="2"><input type="submit" name="Save" value="Save config" class="bigbutton"></td></tr>
|
||||
</table>
|
||||
</form>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue