aboutsummaryrefslogtreecommitdiffhomepage
path: root/plugins/demo_plugin/demo_plugin.php
Commit message (Collapse)AuthorAgeFilesLines
* Fix some typos and remove a few unnecessary comments in demo pluginPaul van den Burg2019-10-261-14/+9
|
* Add the new hook save_plugin_parameters to the demo pluginArthurHoaro2019-07-201-0/+19
|
* namespacing: \Shaarli\Plugin\PluginManagerVirtualTam2019-01-121-0/+1
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* namespacing: \Shaarli\RouterVirtualTam2019-01-121-0/+1
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* lint: fix line-length warningsVirtualTam2018-12-021-4/+4
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* lint: apply phpcbf to plugins/VirtualTam2018-12-021-3/+1
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* Executes daily hooks before creating columns.kalvn2018-02-011-8/+4
|
* Translations : Working demo example of translation extensionArthurHoaro2017-10-221-1/+27
|
* Shaarli's translationArthurHoaro2017-10-221-0/+9
| | | | | | | | | * translation system and unit tests * Translations everywhere Dont use translation merge It is not available with PHP builtin gettext, so it would have lead to inconsistency.
* Improve theme dependent plugin placeholders:ArthurHoaro2016-12-011-7/+75
| | | | | | | | | - buttons_toolbar: now expect links represented by an array instead of HTML content - fields_toolbar: now expect a form represented by an array instead of HTML content - action_plugin: now expect links represented by an array instead of HTML content Default templates updated accordingly mprove theme dependent plugin placeholders:
* New init function for plugins, supports errors reportingArthurHoaro2016-10-141-0/+17
| | | | | | | | All plugins can optionally add an init function named `pluginname_init()` which is called when the plugin is loaded. This function is aware of the config, and can return initialization errors, which are displayed in the header template. Note that the previous error system hack no longer work.
* Plugin: add render_feed hook and call it while generating ATOM and RSS feed.ArthurHoaro2016-03-181-1/+26
| | | | Create an example of the new hook in the demo plugin.
* Merge pull request #408 from ArthurHoaro/gototopVirtualTam2015-12-091-0/+6
|\ | | | | Adding a new placeholder in render_footer hook.
| * Adding a new placeholder in render_footer hook.ArthurHoaro2015-12-081-0/+6
| | | | | | | | Allow free elements at the end of the page.
* | Fixes #403: build the daily page through renderPage()ArthurHoaro2015-12-081-0/+2
|/ | | | | * new entry in the Router for daily page. * add an always displayed button in demo_plugin
* cleanup: remove the executable bit from source scriptsVirtualTam2015-11-111-0/+0
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* PLUGIN demo_pluginArthurHoaro2015-11-081-0/+317
This plugin try to cover Shaarli's plugin API entirely. Can be used by plugin developper to make their own.