diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/addlink_toolbar/addlink_toolbar.php | 2 | ||||
-rw-r--r-- | plugins/playvideos/playvideos.php | 2 | ||||
-rw-r--r-- | plugins/wallabag/README.md | 24 | ||||
-rw-r--r-- | plugins/wallabag/wallabag.meta | 4 |
4 files changed, 17 insertions, 15 deletions
diff --git a/plugins/addlink_toolbar/addlink_toolbar.php b/plugins/addlink_toolbar/addlink_toolbar.php index ba3849cf..cfd74207 100644 --- a/plugins/addlink_toolbar/addlink_toolbar.php +++ b/plugins/addlink_toolbar/addlink_toolbar.php | |||
@@ -35,4 +35,4 @@ function hook_addlink_toolbar_render_includes($data) | |||
35 | } | 35 | } |
36 | 36 | ||
37 | return $data; | 37 | return $data; |
38 | } \ No newline at end of file | 38 | } |
diff --git a/plugins/playvideos/playvideos.php b/plugins/playvideos/playvideos.php index 0a80aa58..7645b778 100644 --- a/plugins/playvideos/playvideos.php +++ b/plugins/playvideos/playvideos.php | |||
@@ -37,4 +37,4 @@ function hook_playvideos_render_footer($data) | |||
37 | } | 37 | } |
38 | 38 | ||
39 | return $data; | 39 | return $data; |
40 | } \ No newline at end of file | 40 | } |
diff --git a/plugins/wallabag/README.md b/plugins/wallabag/README.md index 3f930564..ea21a519 100644 --- a/plugins/wallabag/README.md +++ b/plugins/wallabag/README.md | |||
@@ -4,19 +4,19 @@ For each link in your Shaarli, adds a button to save the target page in your [wa | |||
4 | 4 | ||
5 | ### Installation | 5 | ### Installation |
6 | 6 | ||
7 | Clone this repository inside your `tpl/plugins/` directory, or download the archive and unpack it there. | 7 | Clone this repository inside your `tpl/plugins/` directory, or download the archive and unpack it there. |
8 | The directory structure should look like: | 8 | The directory structure should look like: |
9 | 9 | ||
10 | ``` | 10 | ```bash |
11 | └── tpl | 11 | └── tpl |
12 | └── plugins | 12 | └── plugins |
13 | └── wallabag | 13 | └── wallabag |
14 | ├── README.md | 14 | ├── README.md |
15 | ├── wallabag.html | 15 | ├── wallabag.html |
16 | ├── wallabag.meta | 16 | ├── wallabag.meta |
17 | ├── wallabag.php | 17 | ├── wallabag.php |
18 | ├── wallabag.php | 18 | ├── wallabag.php |
19 | └── WallabagInstance.php | 19 | └── WallabagInstance.php |
20 | ``` | 20 | ``` |
21 | 21 | ||
22 | To enable the plugin, you can either: | 22 | To enable the plugin, you can either: |
@@ -28,10 +28,10 @@ To enable the plugin, you can either: | |||
28 | 28 | ||
29 | Go to the plugin administration page, and edit the following settings (with the plugin enabled). | 29 | Go to the plugin administration page, and edit the following settings (with the plugin enabled). |
30 | 30 | ||
31 | **WALLABAG_URL**: *Wallabag instance URL* | 31 | **WALLABAG_URL**: *Wallabag instance URL* |
32 | Example value: `http://v2.wallabag.org` | 32 | Example value: `http://v2.wallabag.org` |
33 | 33 | ||
34 | **WALLABAG_VERSION**: *Wallabag version* | 34 | **WALLABAG_VERSION**: *Wallabag version* |
35 | Value: either `1` (for 1.x) or `2` (for 2.x) | 35 | Value: either `1` (for 1.x) or `2` (for 2.x) |
36 | 36 | ||
37 | > Note: these settings can also be set in `data/config.json.php`, in the plugins section. \ No newline at end of file | 37 | > Note: these settings can also be set in `data/config.json.php`, in the plugins section. |
diff --git a/plugins/wallabag/wallabag.meta b/plugins/wallabag/wallabag.meta index 26e1ea63..9c93f81c 100644 --- a/plugins/wallabag/wallabag.meta +++ b/plugins/wallabag/wallabag.meta | |||
@@ -1,2 +1,4 @@ | |||
1 | description="For each link, add a Wallabag icon to save it in your instance." | 1 | description="For each link, add a Wallabag icon to save it in your instance." |
2 | parameters="WALLABAG_URL;WALLABAG_VERSION" \ No newline at end of file | 2 | parameters="WALLABAG_URL;WALLABAG_VERSION" |
3 | parameter.WALLABAG_URL="Wallabag API URL" | ||
4 | parameter.WALLABAG_VERSION="Wallabag API version (1 or 2)" \ No newline at end of file | ||