Allow free elements at the end of the page.
.upper_plugin_demo {
float: left;
+}
+
+#demo_marquee {
+ background: darkmagenta;
+ color: white;
+ font-weight: bold;
}
\ No newline at end of file
*
* Template placeholders:
* - text
+ * - endofpage
* - js_files
*
* Data:
// footer text
$data['text'][] = 'Shaarli is now enhanced by the awesome demo_plugin.';
+ // Free elements at the end of the page.
+ $data['endofpage'][] = '<marquee id="demo_marquee">' .
+ 'DEMO: it\'s 1999 all over again!' .
+ '</marquee>';
+
// 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';
{$value}
{/loop}
</div>
+
+{loop="$plugins_footer.endofpage"}
+ {$value}
+{/loop}
+
{if="$newVersion"}
<div id="newversion">
<span id="version_id">●</span> Shaarli {$newVersion} is