diff options
author | VirtualTam <virtualtam@flibidi.net> | 2015-12-08 21:41:31 +0100 |
---|---|---|
committer | VirtualTam <virtualtam@flibidi.net> | 2015-12-08 21:41:31 +0100 |
commit | 6ff636cdd458056aa0149ff7db65624749b809c0 (patch) | |
tree | 7b0600e13fadcdecc19b110051e63d1527b616ef /plugins/demo_plugin | |
parent | aca447a71353b304c6180c10b0bee18cfacbc4f9 (diff) | |
parent | 38603b2450e983edfab5770bd3dd681c6073f898 (diff) | |
download | Shaarli-6ff636cdd458056aa0149ff7db65624749b809c0.tar.gz Shaarli-6ff636cdd458056aa0149ff7db65624749b809c0.tar.zst Shaarli-6ff636cdd458056aa0149ff7db65624749b809c0.zip |
Merge pull request #407 from ArthurHoaro/daily-router
Fixes #402: build the daily page through renderPage()
Diffstat (limited to 'plugins/demo_plugin')
-rw-r--r-- | plugins/demo_plugin/demo_plugin.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/demo_plugin/demo_plugin.php b/plugins/demo_plugin/demo_plugin.php index 84763c2b..9384c21f 100644 --- a/plugins/demo_plugin/demo_plugin.php +++ b/plugins/demo_plugin/demo_plugin.php | |||
@@ -40,6 +40,8 @@ function hook_demo_plugin_render_header($data) | |||
40 | // Fields in toolbar | 40 | // Fields in toolbar |
41 | $data['fields_toolbar'][] = 'DEMO_fields_toolbar'; | 41 | $data['fields_toolbar'][] = 'DEMO_fields_toolbar'; |
42 | } | 42 | } |
43 | // Another button always displayed | ||
44 | $data['buttons_toolbar'][] = '<li><a href="#">DEMO</a></li>'; | ||
43 | 45 | ||
44 | return $data; | 46 | return $data; |
45 | } | 47 | } |