X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=plugins%2Fdemo_plugin%2Fdemo_plugin.php;fp=plugins%2Fdemo_plugin%2Fdemo_plugin.php;h=f5f028e023c68a583ff12c5e7c0837006655492b;hb=2f3e74090ae1b79845f431800c0fb08eeae24c30;hp=9384c21f53232652b4df891a0a179f3a6f41a8fe;hpb=6ff636cdd458056aa0149ff7db65624749b809c0;p=github%2Fshaarli%2FShaarli.git diff --git a/plugins/demo_plugin/demo_plugin.php b/plugins/demo_plugin/demo_plugin.php index 9384c21f..f5f028e0 100644 --- a/plugins/demo_plugin/demo_plugin.php +++ b/plugins/demo_plugin/demo_plugin.php @@ -76,6 +76,7 @@ function hook_demo_plugin_render_includes($data) * * Template placeholders: * - text + * - endofpage * - js_files * * Data: @@ -91,6 +92,11 @@ function hook_demo_plugin_render_footer($data) // footer text $data['text'][] = 'Shaarli is now enhanced by the awesome demo_plugin.'; + // Free elements at the end of the page. + $data['endofpage'][] = '' . + 'DEMO: it\'s 1999 all over again!' . + ''; + // List of plugin's JS files. // Note that you just need to specify CSS path. $data['js_files'][] = PluginManager::$PLUGINS_PATH . '/demo_plugin/demo_plugin.js';