Fix: add missing final newlines, untabify text
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
This commit is contained in:
parent
f396134bf1
commit
db6dec0de1
7 changed files with 18 additions and 18 deletions
|
@ -210,4 +210,4 @@ public function __construct($pluginName)
|
||||||
{
|
{
|
||||||
$this->message = 'Plugin "'. $pluginName .'" files not found.';
|
$this->message = 'Plugin "'. $pluginName .'" files not found.';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -138,4 +138,4 @@ public static function findPage($query, $get, $loggedIn)
|
||||||
|
|
||||||
return self::$PAGE_LINKLIST;
|
return self::$PAGE_LINKLIST;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -35,4 +35,4 @@ function hook_addlink_toolbar_render_includes($data)
|
||||||
}
|
}
|
||||||
|
|
||||||
return $data;
|
return $data;
|
||||||
}
|
}
|
||||||
|
|
|
@ -37,4 +37,4 @@ function hook_playvideos_render_footer($data)
|
||||||
}
|
}
|
||||||
|
|
||||||
return $data;
|
return $data;
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,19 +4,19 @@ For each link in your Shaarli, adds a button to save the target page in your [wa
|
||||||
|
|
||||||
### Installation
|
### Installation
|
||||||
|
|
||||||
Clone this repository inside your `tpl/plugins/` directory, or download the archive and unpack it there.
|
Clone this repository inside your `tpl/plugins/` directory, or download the archive and unpack it there.
|
||||||
The directory structure should look like:
|
The directory structure should look like:
|
||||||
|
|
||||||
```
|
```bash
|
||||||
└── tpl
|
└── tpl
|
||||||
└── plugins
|
└── plugins
|
||||||
└── wallabag
|
└── wallabag
|
||||||
├── README.md
|
├── README.md
|
||||||
├── wallabag.html
|
├── wallabag.html
|
||||||
├── wallabag.meta
|
├── wallabag.meta
|
||||||
├── wallabag.php
|
├── wallabag.php
|
||||||
├── wallabag.php
|
├── wallabag.php
|
||||||
└── WallabagInstance.php
|
└── WallabagInstance.php
|
||||||
```
|
```
|
||||||
|
|
||||||
To enable the plugin, you can either:
|
To enable the plugin, you can either:
|
||||||
|
@ -28,10 +28,10 @@ To enable the plugin, you can either:
|
||||||
|
|
||||||
Go to the plugin administration page, and edit the following settings (with the plugin enabled).
|
Go to the plugin administration page, and edit the following settings (with the plugin enabled).
|
||||||
|
|
||||||
**WALLABAG_URL**: *Wallabag instance URL*
|
**WALLABAG_URL**: *Wallabag instance URL*
|
||||||
Example value: `http://v2.wallabag.org`
|
Example value: `http://v2.wallabag.org`
|
||||||
|
|
||||||
**WALLABAG_VERSION**: *Wallabag version*
|
**WALLABAG_VERSION**: *Wallabag version*
|
||||||
Value: either `1` (for 1.x) or `2` (for 2.x)
|
Value: either `1` (for 1.x) or `2` (for 2.x)
|
||||||
|
|
||||||
> Note: these settings can also be set in `data/config.json.php`, in the plugins section.
|
> Note: these settings can also be set in `data/config.json.php`, in the plugins section.
|
||||||
|
|
|
@ -86,4 +86,4 @@ public function testGetPluginsMeta()
|
||||||
$this->assertEquals('test plugin', $meta[self::$pluginName]['description']);
|
$this->assertEquals('test plugin', $meta[self::$pluginName]['description']);
|
||||||
$this->assertEquals($expectedParameters, $meta[self::$pluginName]['parameters']);
|
$this->assertEquals($expectedParameters, $meta[self::$pluginName]['parameters']);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,4 +2,4 @@
|
||||||
{
|
{
|
||||||
bad: bad,
|
bad: bad,
|
||||||
}
|
}
|
||||||
*/ ?>
|
*/ ?>
|
||||||
|
|
Loading…
Reference in a new issue