diff options
author | ArthurHoaro <arthur@hoa.ro> | 2018-07-28 11:19:53 +0200 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2018-07-28 11:19:53 +0200 |
commit | 7982c3ff183aa985177bdaeacda4feb22a739e00 (patch) | |
tree | 728e07251072f3a1df63c017c0dce54fa1acb390 /plugins/demo_plugin | |
parent | 2075321f6569dfa610905991b315aae1956b7f78 (diff) | |
parent | ed7e1be12d65bdb1b924c7efb6a84fd591192c6c (diff) | |
download | Shaarli-7982c3ff183aa985177bdaeacda4feb22a739e00.tar.gz Shaarli-7982c3ff183aa985177bdaeacda4feb22a739e00.tar.zst Shaarli-7982c3ff183aa985177bdaeacda4feb22a739e00.zip |
Merge tag 'v0.10.0' into latest
Release v0.10.0
Diffstat (limited to 'plugins/demo_plugin')
-rw-r--r-- | plugins/demo_plugin/demo_plugin.php | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/plugins/demo_plugin/demo_plugin.php b/plugins/demo_plugin/demo_plugin.php index b80a2b6d..f3a63b6a 100644 --- a/plugins/demo_plugin/demo_plugin.php +++ b/plugins/demo_plugin/demo_plugin.php | |||
@@ -378,17 +378,13 @@ function hook_demo_plugin_render_daily($data) | |||
378 | 378 | ||
379 | 379 | ||
380 | // Manipulate columns data | 380 | // Manipulate columns data |
381 | foreach ($data['cols'] as &$value) { | 381 | foreach ($data['linksToDisplay'] as &$value) { |
382 | foreach ($value as &$value2) { | 382 | $value['formatedDescription'] .= ' ಠ_ಠ'; |
383 | $value2['formatedDescription'] .= ' ಠ_ಠ'; | ||
384 | } | ||
385 | } | 383 | } |
386 | 384 | ||
387 | // Add plugin content at the end of each link | 385 | // Add plugin content at the end of each link |
388 | foreach ($data['cols'] as &$value) { | 386 | foreach ($data['linksToDisplay'] as &$value) { |
389 | foreach ($value as &$value2) { | 387 | $value['link_plugin'][] = 'DEMO'; |
390 | $value2['link_plugin'][] = 'DEMO'; | ||
391 | } | ||
392 | } | 388 | } |
393 | 389 | ||
394 | return $data; | 390 | return $data; |