diff options
Diffstat (limited to 'tpl')
-rw-r--r-- | tpl/configure.html | 14 | ||||
-rw-r--r-- | tpl/feed.atom.html | 13 | ||||
-rw-r--r-- | tpl/feed.rss.html | 12 | ||||
-rw-r--r-- | tpl/install.html | 12 |
4 files changed, 42 insertions, 9 deletions
diff --git a/tpl/configure.html b/tpl/configure.html index 983bcd08..b4197bf9 100644 --- a/tpl/configure.html +++ b/tpl/configure.html | |||
@@ -80,6 +80,20 @@ | |||
80 | <label for="updateCheck"> Notify me when a new release is ready</label> | 80 | <label for="updateCheck"> 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 REST API</b></td> | ||
85 | <td> | ||
86 | <input type="checkbox" name="apiEnabled" id="apiEnabled" | ||
87 | {if="$api_enabled"}checked{/if}/> | ||
88 | <label for="apiEnabled"> 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> |
diff --git a/tpl/feed.atom.html b/tpl/feed.atom.html index aead0459..49798e85 100644 --- a/tpl/feed.atom.html +++ b/tpl/feed.atom.html | |||
@@ -6,11 +6,11 @@ | |||
6 | <updated>{$last_update}</updated> | 6 | <updated>{$last_update}</updated> |
7 | {/if} | 7 | {/if} |
8 | <link rel="self" href="{$self_link}#" /> | 8 | <link rel="self" href="{$self_link}#" /> |
9 | {if="!empty($pubsubhub_url)"} | 9 | <link rel="search" type="application/opensearchdescription+xml" href="{$index_url}?do=opensearch#" |
10 | <!-- PubSubHubbub Discovery --> | 10 | title="Shaarli search - {$shaarlititle}" /> |
11 | <link rel="hub" href="{$pubsubhub_url}#" /> | 11 | {loop="$feed_plugins_header"} |
12 | <!-- End Of PubSubHubbub Discovery --> | 12 | {$value} |
13 | {/if} | 13 | {/loop} |
14 | <author> | 14 | <author> |
15 | <name>{$index_url}</name> | 15 | <name>{$index_url}</name> |
16 | <uri>{$index_url}</uri> | 16 | <uri>{$index_url}</uri> |
@@ -34,6 +34,9 @@ | |||
34 | {loop="$value.taglist"} | 34 | {loop="$value.taglist"} |
35 | <category scheme="{$index_url}?searchtags=" term="{$value|strtolower}" label="{$value}" /> | 35 | <category scheme="{$index_url}?searchtags=" term="{$value|strtolower}" label="{$value}" /> |
36 | {/loop} | 36 | {/loop} |
37 | {loop="$value.feed_plugins"} | ||
38 | {$value} | ||
39 | {/loop} | ||
37 | </entry> | 40 | </entry> |
38 | {/loop} | 41 | {/loop} |
39 | </feed> | 42 | </feed> |
diff --git a/tpl/feed.rss.html b/tpl/feed.rss.html index e18dbf9b..ee3fef88 100644 --- a/tpl/feed.rss.html +++ b/tpl/feed.rss.html | |||
@@ -8,10 +8,11 @@ | |||
8 | <copyright>{$index_url}</copyright> | 8 | <copyright>{$index_url}</copyright> |
9 | <generator>Shaarli</generator> | 9 | <generator>Shaarli</generator> |
10 | <atom:link rel="self" href="{$self_link}" /> | 10 | <atom:link rel="self" href="{$self_link}" /> |
11 | {if="!empty($pubsubhub_url)"} | 11 | <atom:link rel="search" type="application/opensearchdescription+xml" href="{$index_url}?do=opensearch#" |
12 | <!-- PubSubHubbub Discovery --> | 12 | title="Shaarli search - {$shaarlititle}" /> |
13 | <atom:link rel="hub" href="{$pubsubhub_url}" /> | 13 | {loop="$feed_plugins_header"} |
14 | {/if} | 14 | {$value} |
15 | {/loop} | ||
15 | {loop="$links"} | 16 | {loop="$links"} |
16 | <item> | 17 | <item> |
17 | <title>{$value.title}</title> | 18 | <title>{$value.title}</title> |
@@ -29,6 +30,9 @@ | |||
29 | {loop="$value.taglist"} | 30 | {loop="$value.taglist"} |
30 | <category domain="{$index_url}?searchtags=">{$value}</category> | 31 | <category domain="{$index_url}?searchtags=">{$value}</category> |
31 | {/loop} | 32 | {/loop} |
33 | {loop="$value.feed_plugins"} | ||
34 | {$value} | ||
35 | {/loop} | ||
32 | </item> | 36 | </item> |
33 | {/loop} | 37 | {/loop} |
34 | </channel> | 38 | </channel> |
diff --git a/tpl/install.html b/tpl/install.html index 88eb540e..42874dcd 100644 --- a/tpl/install.html +++ b/tpl/install.html | |||
@@ -14,6 +14,18 @@ | |||
14 | <tr><td valign="top"><b>Update:</b></td><td> | 14 | <tr><td valign="top"><b>Update:</b></td><td> |
15 | <input type="checkbox" name="updateCheck" id="updateCheck" checked="checked"><label for="updateCheck"> Notify me when a new release is ready</label></td> | 15 | <input type="checkbox" name="updateCheck" id="updateCheck" checked="checked"><label for="updateCheck"> Notify me when a new release is ready</label></td> |
16 | </tr> | 16 | </tr> |
17 | <tr> | ||
18 | <td valign="top"> | ||
19 | <b>API:</b> | ||
20 | </td> | ||
21 | <td> | ||
22 | <input type="checkbox" name="enableApi" id="enableApi" checked="checked"> | ||
23 | <label for="enableApi"> | ||
24 | Enable Shaarli's REST API. | ||
25 | Allow third party software to use Shaarli such as mobile application. | ||
26 | </label> | ||
27 | </td> | ||
28 | </tr> | ||
17 | <tr><td colspan="2"><input type="submit" name="Save" value="Save config" class="bigbutton"></td></tr> | 29 | <tr><td colspan="2"><input type="submit" name="Save" value="Save config" class="bigbutton"></td></tr> |
18 | </table> | 30 | </table> |
19 | </form> | 31 | </form> |