aboutsummaryrefslogtreecommitdiffhomepage
path: root/plugins/demo_plugin/demo_plugin.php
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/demo_plugin/demo_plugin.php')
-rw-r--r--plugins/demo_plugin/demo_plugin.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/demo_plugin/demo_plugin.php b/plugins/demo_plugin/demo_plugin.php
index 84763c2b..f03ddb2b 100644
--- a/plugins/demo_plugin/demo_plugin.php
+++ b/plugins/demo_plugin/demo_plugin.php
@@ -74,6 +74,7 @@ function hook_demo_plugin_render_includes($data)
74 * 74 *
75 * Template placeholders: 75 * Template placeholders:
76 * - text 76 * - text
77 * - endofpage
77 * - js_files 78 * - js_files
78 * 79 *
79 * Data: 80 * Data:
@@ -89,6 +90,11 @@ function hook_demo_plugin_render_footer($data)
89 // footer text 90 // footer text
90 $data['text'][] = 'Shaarli is now enhanced by the awesome demo_plugin.'; 91 $data['text'][] = 'Shaarli is now enhanced by the awesome demo_plugin.';
91 92
93 // Free elements at the end of the page.
94 $data['endofpage'][] = '<marquee id="demo_marquee">' .
95 'DEMO: it\'s 1999 all over again!' .
96 '</marquee>';
97
92 // List of plugin's JS files. 98 // List of plugin's JS files.
93 // Note that you just need to specify CSS path. 99 // Note that you just need to specify CSS path.
94 $data['js_files'][] = PluginManager::$PLUGINS_PATH . '/demo_plugin/demo_plugin.js'; 100 $data['js_files'][] = PluginManager::$PLUGINS_PATH . '/demo_plugin/demo_plugin.js';