diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/addlink_toolbar/addlink_toolbar.php | 2 | ||||
-rw-r--r-- | plugins/demo_plugin/demo_plugin.php | 1 | ||||
-rw-r--r-- | plugins/isso/isso.php | 1 | ||||
-rw-r--r-- | plugins/markdown/markdown.php | 1 | ||||
-rw-r--r-- | plugins/playvideos/playvideos.php | 2 | ||||
-rw-r--r-- | plugins/pubsubhubbub/pubsubhubbub.php | 1 | ||||
-rw-r--r-- | plugins/qrcode/qrcode.php | 2 |
7 files changed, 10 insertions, 0 deletions
diff --git a/plugins/addlink_toolbar/addlink_toolbar.php b/plugins/addlink_toolbar/addlink_toolbar.php index 8c05a231..8bf4ed46 100644 --- a/plugins/addlink_toolbar/addlink_toolbar.php +++ b/plugins/addlink_toolbar/addlink_toolbar.php | |||
@@ -5,6 +5,8 @@ | |||
5 | * Adds the addlink input on the linklist page. | 5 | * Adds the addlink input on the linklist page. |
6 | */ | 6 | */ |
7 | 7 | ||
8 | use Shaarli\Router; | ||
9 | |||
8 | /** | 10 | /** |
9 | * When linklist is displayed, add play videos to header's toolbar. | 11 | * When linklist is displayed, add play videos to header's toolbar. |
10 | * | 12 | * |
diff --git a/plugins/demo_plugin/demo_plugin.php b/plugins/demo_plugin/demo_plugin.php index ca520d15..94ce38f8 100644 --- a/plugins/demo_plugin/demo_plugin.php +++ b/plugins/demo_plugin/demo_plugin.php | |||
@@ -15,6 +15,7 @@ | |||
15 | */ | 15 | */ |
16 | 16 | ||
17 | use Shaarli\Config\ConfigManager; | 17 | use Shaarli\Config\ConfigManager; |
18 | use Shaarli\Router; | ||
18 | 19 | ||
19 | /** | 20 | /** |
20 | * In the footer hook, there is a working example of a translation extension for Shaarli. | 21 | * In the footer hook, there is a working example of a translation extension for Shaarli. |
diff --git a/plugins/isso/isso.php b/plugins/isso/isso.php index 378c11af..9bdd5909 100644 --- a/plugins/isso/isso.php +++ b/plugins/isso/isso.php | |||
@@ -5,6 +5,7 @@ | |||
5 | */ | 5 | */ |
6 | 6 | ||
7 | use Shaarli\Config\ConfigManager; | 7 | use Shaarli\Config\ConfigManager; |
8 | use Shaarli\Router; | ||
8 | 9 | ||
9 | /** | 10 | /** |
10 | * Display an error everywhere if the plugin is enabled without configuration. | 11 | * Display an error everywhere if the plugin is enabled without configuration. |
diff --git a/plugins/markdown/markdown.php b/plugins/markdown/markdown.php index 8823af91..9928a488 100644 --- a/plugins/markdown/markdown.php +++ b/plugins/markdown/markdown.php | |||
@@ -7,6 +7,7 @@ | |||
7 | */ | 7 | */ |
8 | 8 | ||
9 | use Shaarli\Config\ConfigManager; | 9 | use Shaarli\Config\ConfigManager; |
10 | use Shaarli\Router; | ||
10 | 11 | ||
11 | /* | 12 | /* |
12 | * If this tag is used on a shaare, the description won't be processed by Parsedown. | 13 | * If this tag is used on a shaare, the description won't be processed by Parsedown. |
diff --git a/plugins/playvideos/playvideos.php b/plugins/playvideos/playvideos.php index c6d6b0cc..bb5b9e98 100644 --- a/plugins/playvideos/playvideos.php +++ b/plugins/playvideos/playvideos.php | |||
@@ -6,6 +6,8 @@ | |||
6 | * Note: this plugin adds jQuery. | 6 | * Note: this plugin adds jQuery. |
7 | */ | 7 | */ |
8 | 8 | ||
9 | use Shaarli\Router; | ||
10 | |||
9 | /** | 11 | /** |
10 | * When linklist is displayed, add play videos to header's toolbar. | 12 | * When linklist is displayed, add play videos to header's toolbar. |
11 | * | 13 | * |
diff --git a/plugins/pubsubhubbub/pubsubhubbub.php b/plugins/pubsubhubbub/pubsubhubbub.php index 1872af8a..a7bd34c1 100644 --- a/plugins/pubsubhubbub/pubsubhubbub.php +++ b/plugins/pubsubhubbub/pubsubhubbub.php | |||
@@ -12,6 +12,7 @@ | |||
12 | use pubsubhubbub\publisher\Publisher; | 12 | use pubsubhubbub\publisher\Publisher; |
13 | use Shaarli\Config\ConfigManager; | 13 | use Shaarli\Config\ConfigManager; |
14 | use Shaarli\Feed\FeedBuilder; | 14 | use Shaarli\Feed\FeedBuilder; |
15 | use Shaarli\Router; | ||
15 | 16 | ||
16 | /** | 17 | /** |
17 | * Plugin init function - set the hub to the default appspot one. | 18 | * Plugin init function - set the hub to the default appspot one. |
diff --git a/plugins/qrcode/qrcode.php b/plugins/qrcode/qrcode.php index 4b59caa0..21908cee 100644 --- a/plugins/qrcode/qrcode.php +++ b/plugins/qrcode/qrcode.php | |||
@@ -5,6 +5,8 @@ | |||
5 | * Display a QRCode icon in link list. | 5 | * Display a QRCode icon in link list. |
6 | */ | 6 | */ |
7 | 7 | ||
8 | use Shaarli\Router; | ||
9 | |||
8 | /** | 10 | /** |
9 | * Add qrcode icon to link_plugin when rendering linklist. | 11 | * Add qrcode icon to link_plugin when rendering linklist. |
10 | * | 12 | * |