5 <meta name=
"generator" content=
"pandoc">
6 <meta name=
"viewport" content=
"width=device-width, initial-scale=1.0, user-scalable=yes">
7 <title>Shaarli - Plugin System
</title>
8 <style type=
"text/css">code{white-space: pre;}
</style>
10 <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
12 <style type=
"text/css">
13 table.sourceCode, tr.sourceCode, td.lineNumbers, td.sourceCode {
14 margin:
0; padding:
0; vertical-align: baseline; border: none; }
15 table.sourceCode { width:
100%; line-height:
100%; }
16 td.lineNumbers { text-align: right; padding-right:
4px; padding-left:
4px; color: #aaaaaa; border-right:
1px solid #aaaaaa; }
17 td.sourceCode { padding-left:
5px; }
18 code
> span.kw { color: #
007020; font-weight: bold; }
19 code
> span.dt { color: #
902000; }
20 code
> span.dv { color: #
40a070; }
21 code
> span.bn { color: #
40a070; }
22 code
> span.fl { color: #
40a070; }
23 code
> span.ch { color: #
4070a0; }
24 code
> span.st { color: #
4070a0; }
25 code
> span.co { color: #
60a0b0; font-style: italic; }
26 code
> span.ot { color: #
007020; }
27 code
> span.al { color: #ff0000; font-weight: bold; }
28 code
> span.fu { color: #
06287e; }
29 code
> span.er { color: #ff0000; font-weight: bold; }
31 <link rel=
"stylesheet" href=
"github-markdown.css">
34 <div id=
"local-sidebar">
36 <li><a href=
"Home.html">Home
</a></li>
39 <li><a href=
"Server-requirements.html">Server requirements
</a></li>
40 <li><a href=
"Server-configuration.html">Server configuration
</a></li>
41 <li><a href=
"Shaarli-configuration.html">Shaarli configuration
</a></li>
43 <li><a href=
"Usage.html">Usage
</a>
45 <li><a href=
"Sharing-button.html">Sharing button
</a> (bookmarklet)
</li>
46 <li><a href=
"Firefox-share.html">Firefox share
</a></li>
47 <li><a href=
"RSS-feeds.html">RSS feeds
</a></li>
51 <li><a href=
"Backup,-restore,-import-and-export.html">Backup, restore, import and export
</a></li>
52 <li><a href=
"Copy-an-existing-installation-over-SSH-and-serve-it-locally.html">Copy an existing installation over SSH and serve it locally
</a></li>
53 <li><a href=
"Download-CSS-styles-from-an-OPML-list.html">Download CSS styles from an OPML list
</a></li>
55 <li><a href=
"Troubleshooting.html">Troubleshooting
</a></li>
56 <li><a href=
"Development.html">Development
</a>
58 <li><a href=
"GnuPG-signature.html">GnuPG signature
</a></li>
59 <li><a href=
"Coding-guidelines.html">Coding guidelines
</a></li>
60 <li><a href=
"Directory-structure.html">Directory structure
</a></li>
61 <li><a href=
"3rd-party-libraries.html">3rd party libraries
</a></li>
62 <li><a href=
"Plugin-System.html">Plugin System
</a></li>
63 <li><a href=
"Security.html">Security
</a></li>
64 <li><a href=
"Static-analysis.html">Static analysis
</a></li>
65 <li><a href=
"Theming.html">Theming
</a></li>
66 <li><a href=
"Unit-tests.html">Unit tests
</a></li>
70 <li><a href=
"FAQ.html">FAQ
</a></li>
71 <li><a href=
"Community-&-Related-software.html">Community
& Related software
</a></li>
72 <li><a href=
"TODO.html">TODO
</a></li>
76 <h1 id=
"plugin-system">Plugin System
</h1>
78 <p>Note: Plugin current status - in developpement (not merged into master).
</p>
80 <p><a href=
"#plugin-user-guide"><strong>I am a user.
</strong> Plugin User Guide.
</a><a href=
".html"></a></p>
81 <p><a href=
"#developper-api"><strong>I am a developper.
</strong> Developper API.
</a><a href=
".html"></a></p>
82 <p><a href=
"#guide-for-template-designer"><strong>I am a template designer.
</strong> Guide for template designer.
</a><a href=
".html"></a></p>
83 <h2 id=
"plugin-user-guide">Plugin User Guide
</h2>
84 <h3 id=
"manage-plugins">Manage plugins
</h3>
85 <p>In
<code>config.php
</code>, change $GLOBALS
<a href=
"'ENABLED_PLUGINS']-array:.html">'config'['ENABLED_PLUGINS'] array:
</a></p>
86 <pre class=
"sourceCode php"><code class=
"sourceCode php"><span class=
"kw">$GLOBALS
</span><span class=
"ot">[
</span><span class=
"st">'config
'</span><span class=
"ot">[
</span><span class=
"st">'ENABLED_PLUGINS
'</span><span class=
"ot">]](
</span><span class=
"st">'ENABLED_PLUGINS
'</span><span class=
"ot">]
</span>.html
<span class=
"ot">)
</span></code></pre>
88 <pre class=
"sourceCode php"><code class=
"sourceCode php"><span class=
"kw">$GLOBALS
</span><span class=
"ot">[
</span><span class=
"st">'config
'</span><span class=
"ot">[
</span><span class=
"st">'ENABLED_PLUGINS
'</span><span class=
"ot">]
</span> =
<span class=
"fu">array
</span><span class=
"ot">(](
</span><span class=
"st">'ENABLED_PLUGINS
'</span><span class=
"ot">]
</span>-=-
<span class=
"fu">array
</span><span class=
"ot">(
</span>.html
<span class=
"ot">)
</span>
89 <span class=
"st">'qrcode
'</span><span class=
"ot">,
</span> <span class=
"st">'archiveorg
'</span><span class=
"ot">,
</span> <span class=
"st">'readityourself
'</span><span class=
"ot">,
</span> <span class=
"st">'playvideos
'</span><span class=
"ot">,
</span>
90 <span class=
"st">'wallabag
'</span><span class=
"ot">,
</span> <span class=
"st">'markdown
'</span><span class=
"ot">,
</span> <span class=
"st">'addlink_toolbar
'</span><span class=
"ot">,
</span>
91 <span class=
"ot">);
</span></code></pre>
92 <h3 id=
"list-of-plugins">List of plugins
</h3>
93 <p>Plugin maintained by the community:
</p>
95 <li>Archive.org - add a clickable icon to every link to archive.org.
</li>
96 <li>Addlink in toolbar - add a field to paste new links URL in toolbar.
</li>
97 <li>Markdown - write and display Shaare in Markdown.
</li>
98 <li>Play videos - popup to play all videos displayed in linklist.
</li>
99 <li>QRCode - add a clickable icon generating a QRCode for every link.
</li>
100 <li>ReadItYourself - add a clickable icon for ReadItYourself.
</li>
101 <li>Wallabag - add a clickable icon for Wallabag.
</li>
103 <h2 id=
"developper-api">Developper API
</h2>
104 <h3 id=
"what-can-i-do-with-plugins">What can I do with plugins?
</h3>
105 <p>The plugin system let you:
</p>
107 <li>insert content into specific places across templates.
</li>
108 <li>alter data before templates rendering.
</li>
109 <li>alter data before saving new links.
</li>
111 <h3 id=
"how-can-i-create-a-plugin-for-shaarli">How can I create a plugin for Shaarli?
</h3>
112 <p>First, chose a plugin name, such as
<code>demo_plugin
</code>.
</p>
113 <p>Under
<code>plugin
</code> folder, create a folder named with your plugin name. Then create a
<plugin_name>.php file in that folder.
</p>
114 <p>You should have the following tree view:
</p>
115 <pre><code>| index.php
118 | |---| demo_plugin.php
</code></pre>
119 <h3 id=
"understanding-hooks">Understanding hooks
</h3>
120 <p>A plugin is a set of functions. Each function will be triggered by the plugin system at certain point in Shaarli execution.
</p>
121 <p>These functions need to be named with this pattern:
</p>
122 <pre><code>hook_
<plugin_name
>_
<hook_name
></code></pre>
123 <p>For exemple, if my plugin want to add data to the header, this function is needed:
</p>
124 <pre><code>hook_demo_plugin_render_header()
</code></pre>
125 <p>If this function is declared, and the plugin enabled, it will be called every time Shaarli is rendering the header.
</p>
126 <h3 id=
"plugins-data">Plugin's data
</h3>
127 <h4 id=
"parameters">Parameters
</h4>
128 <p>Every hook function has a
<code>$data
</code> parameter. Its content differs for each hooks.
</p>
129 <p><strong>This parameter needs to be returned every time
</strong>, otherwise data is lost.
</p>
130 <pre><code>return $data;
</code></pre>
131 <h4 id=
"filling-templates-placeholder">Filling templates placeholder
</h4>
132 <p>Template placeholders are displayed in template in specific places.
</p>
133 <p>RainTPL displays every element contained in the placeholder's array. These element can be added by plugins.
</p>
134 <p>For example, let's add a value in the placeholder
<code>top_placeholder
</code> which is displayed at the top of my page:
</p>
135 <pre class=
"sourceCode php"><code class=
"sourceCode php"><span class=
"kw">$data
</span><span class=
"ot">[
</span><span class=
"st">'top_placeholder
'</span><span class=
"ot">[]
</span> =
<span class=
"st">'My content
'</span><span class=
"ot">;](]
</span>-=-
<span class=
"st">'My-content
'</span><span class=
"ot">;
</span>.html
<span class=
"ot">)
</span>
136 <span class=
"co"># OR
</span>
137 <span class=
"fu">array_push
</span><span class=
"ot">(
</span><span class=
"kw">$data
</span><span class=
"ot">[
</span><span class=
"st">'top_placeholder
'</span><span class=
"ot">],
</span> <span class=
"st">'My
'</span><span class=
"ot">,
</span> <span class=
"st">'content
'</span><span class=
"ot">);[](
</span>.html
<span class=
"ot">)
</span>
139 <span class=
"kw">return
</span> <span class=
"kw">$data
</span><span class=
"ot">;
</span></code></pre>
140 <h4 id=
"data-manipulation">Data manipulation
</h4>
141 <p>When a page is displayed, every variable send to the template engine is passed to plugins before that in
<code>$data
</code>.
</p>
142 <p>The data contained by this array can be altered before template rendering.
</p>
143 <p>For exemple, in linklist, it is possible to alter every title:
</p>
144 <pre class=
"sourceCode php"><code class=
"sourceCode php"><span class=
"co">// mind the reference if you want $data to be altered
</span>
145 <span class=
"kw">foreach
</span> <span class=
"ot">(
</span><span class=
"kw">$data
</span><span class=
"ot">[
</span><span class=
"st">'links
'</span><span class=
"ot">]
</span> <span class=
"kw">as
</span> &<span class=
"kw">$value
</span><span class=
"ot">)
</span> {
<span class=
"ot">[](
</span>.html
<span class=
"ot">)
</span>
146 <span class=
"co">// String reverse every title.
</span>
147 <span class=
"kw">$value
</span><span class=
"ot">[
</span><span class=
"st">'title
'</span><span class=
"ot">]
</span> =
<span class=
"fu">strrev
</span><span class=
"ot">(
</span><span class=
"kw">$value
</span><span class=
"ot">[
</span><span class=
"st">'title
'</span><span class=
"ot">]);[](
</span>.html
<span class=
"ot">)
</span>
150 <span class=
"kw">return
</span> <span class=
"kw">$data
</span><span class=
"ot">;
</span></code></pre>
151 <h3 id=
"its-not-working">It's not working!
</h3>
152 <p>Use
<code>demo_plugin
</code> as a functional example. It covers most of the plugin system features.
</p>
153 <p>If it's still not working, please
<a href=
"https://github.com/shaarli/Shaarli/issues/new">open an issue
</a>.
<a href=
".html"></a></p>
154 <h3 id=
"hooks">Hooks
</h3>
158 <th style=
"text-align: left;">Hooks
</th>
159 <th style=
"text-align: center;">Description
</th>
164 <td style=
"text-align: left;"><a href=
"#render_header">render_header
</a></td>
165 <td style=
"text-align: center;">Allow plugin to add content in page headers.
</td>
168 <td style=
"text-align: left;"><a href=
"#render_includes">render_includes
</a></td>
169 <td style=
"text-align: center;">Allow plugin to include their own CSS files.
</td>
172 <td style=
"text-align: left;"><a href=
"#render_footer">render_footer
</a></td>
173 <td style=
"text-align: center;">Allow plugin to add content in page footer and include their own JS files.
</td>
176 <td style=
"text-align: left;"><a href=
"#render_linklist">render_linklist
</a></td>
177 <td style=
"text-align: center;">It allows to add content at the begining and end of the page, after every link displayed and to alter link data.
</td>
180 <td style=
"text-align: left;"><a href=
"#render_editlink">render_editlink
</a></td>
181 <td style=
"text-align: center;">Allow to add fields in the form, or display elements.
</td>
184 <td style=
"text-align: left;"><a href=
"#render_tools">render_tools
</a></td>
185 <td style=
"text-align: center;">Allow to add content at the end of the page.
</td>
188 <td style=
"text-align: left;"><a href=
"#render_picwall">render_picwall
</a></td>
189 <td style=
"text-align: center;">Allow to add content at the top and bottom of the page.
</td>
192 <td style=
"text-align: left;"><a href=
"#render_tagcloud">render_tagcloud
</a></td>
193 <td style=
"text-align: center;">Allow to add content at the top and bottom of the page.
</td>
196 <td style=
"text-align: left;"><a href=
"#render_daily">render_daily
</a></td>
197 <td style=
"text-align: center;">Allow to add content at the top and bottom of the page, the bottom of each link and to alter data.
</td>
200 <td style=
"text-align: left;"><a href=
"#savelink">savelink
</a></td>
201 <td style=
"text-align: center;">Allow to alter the link being saved in the datastore.
</td>
205 <h4 id=
"render_header">render_header
</h4>
206 <p>Triggered on every page.
</p>
207 <p>Allow plugin to add content in page headers.
</p>
208 <h5 id=
"data">Data
</h5>
209 <p><code>$data
</code> is an array containing:
</p>
211 <li><code>_PAGE_
</code>: current target page (eg:
<code>linklist
</code>,
<code>picwall
</code>, etc.).
</li>
212 <li><code>_LOGGEDIN_
</code>: true if user is logged in, false otherwise.
</li>
214 <h5 id=
"template-placeholders">Template placeholders
</h5>
215 <p>Items can be displayed in templates by adding an entry in
<code>$data['
<placeholder
>']
</code> array.
<a href=
".html"></a></p>
216 <p>List of placeholders:
</p>
218 <li><code>buttons_toolbar
</code>: after the list of buttons in the header.
</li>
220 <p><img src=
"http://i.imgur.com/ssJUOrt.png" alt=
"buttons_toolbar_example" /><a href=
".html"></a></p>
222 <li><code>fields_toolbar
</code>: after search fields in the header.
</li>
225 <p>Note: This will only be called in linklist.
</p>
227 <p><img src=
"http://i.imgur.com/3GMifI2.png" alt=
"fields_toolbar_example" /><a href=
".html"></a></p>
228 <h4 id=
"render_includes">render_includes
</h4>
229 <p>Triggered on every page.
</p>
230 <p>Allow plugin to include their own CSS files.
</p>
231 <h5 id=
"data-1">Data
</h5>
232 <p><code>$data
</code> is an array containing:
</p>
234 <li><code>_PAGE_
</code>: current target page (eg:
<code>linklist
</code>,
<code>picwall
</code>, etc.).
</li>
235 <li><code>_LOGGEDIN_
</code>: true if user is logged in, false otherwise.
</li>
237 <h5 id=
"template-placeholders-1">Template placeholders
</h5>
238 <p>Items can be displayed in templates by adding an entry in
<code>$data['
<placeholder
>']
</code> array.
<a href=
".html"></a></p>
239 <p>List of placeholders:
</p>
241 <li><code>css_files
</code>: called after loading default CSS.
</li>
244 <p>Note: only add the path of the CSS file. E.g:
<code>plugins/demo_plugin/custom_demo.css
</code>.
</p>
246 <h4 id=
"render_footer">render_footer
</h4>
247 <p>Triggered on every page.
</p>
248 <p>Allow plugin to add content in page footer and include their own JS files.
</p>
249 <h5 id=
"data-2">Data
</h5>
250 <p><code>$data
</code> is an array containing:
</p>
252 <li><code>_PAGE_
</code>: current target page (eg:
<code>linklist
</code>,
<code>picwall
</code>, etc.).
</li>
253 <li><code>_LOGGEDIN_
</code>: true if user is logged in, false otherwise.
</li>
255 <h5 id=
"template-placeholders-2">Template placeholders
</h5>
256 <p>Items can be displayed in templates by adding an entry in
<code>$data['
<placeholder
>']
</code> array.
<a href=
".html"></a></p>
257 <p>List of placeholders:
</p>
259 <li><code>text
</code>: called after the end of the footer text.
</li>
261 <p><img src=
"http://i.imgur.com/L5S2YEH.png" alt=
"text_example" /><a href=
".html"></a></p>
263 <li><code>js_files
</code>: called at the end of the page, to include custom JS scripts.
</li>
266 <p>Note: only add the path of the JS file. E.g:
<code>plugins/demo_plugin/custom_demo.js
</code>.
</p>
268 <h4 id=
"render_linklist">render_linklist
</h4>
269 <p>Triggered when
<code>linklist
</code> is displayed (list of links, permalink, search, tag filtered, etc.).
</p>
270 <p>It allows to add content at the begining and end of the page, after every link displayed and to alter link data.
</p>
271 <h5 id=
"data-3">Data
</h5>
272 <p><code>$data
</code> is an array containing:
</p>
274 <li><code>_LOGGEDIN_
</code>: true if user is logged in, false otherwise.
</li>
275 <li>All templates data, including links.
</li>
277 <h5 id=
"template-placeholders-3">Template placeholders
</h5>
278 <p>Items can be displayed in templates by adding an entry in
<code>$data['
<placeholder
>']
</code> array.
<a href=
".html"></a></p>
279 <p>List of placeholders:
</p>
281 <li><code>action_plugin
</code>: next to the button
"private only
" at the top and bottom of the page.
</li>
283 <p><img src=
"http://i.imgur.com/Q12PWg0.png" alt=
"action_plugin_example" /><a href=
".html"></a></p>
285 <li><code>link_plugin
</code>: for every link, between permalink and link URL.
</li>
287 <p><img src=
"http://i.imgur.com/3oDPhWx.png" alt=
"link_plugin_example" /><a href=
".html"></a></p>
289 <li><code>plugin_start_zone
</code>: before displaying the template content.
</li>
291 <p><img src=
"http://i.imgur.com/OVBkGy3.png" alt=
"plugin_start_zone_example" /><a href=
".html"></a></p>
293 <li><code>plugin_end_zone
</code>: after displaying the template content.
</li>
295 <p><img src=
"http://i.imgur.com/6IoRuop.png" alt=
"plugin_end_zone_example" /><a href=
".html"></a></p>
296 <h4 id=
"render_editlink">render_editlink
</h4>
297 <p>Triggered when the link edition form is displayed.
</p>
298 <p>Allow to add fields in the form, or display elements.
</p>
299 <h5 id=
"data-4">Data
</h5>
300 <p><code>$data
</code> is an array containing:
</p>
302 <li>All templates data.
</li>
304 <h5 id=
"template-placeholders-4">Template placeholders
</h5>
305 <p>Items can be displayed in templates by adding an entry in
<code>$data['
<placeholder
>']
</code> array.
<a href=
".html"></a></p>
306 <p>List of placeholders:
</p>
308 <li><code>edit_link_plugin
</code>: after tags field.
</li>
310 <p><img src=
"http://i.imgur.com/5u17Ens.png" alt=
"edit_link_plugin_example" /><a href=
".html"></a></p>
311 <h4 id=
"render_tools">render_tools
</h4>
312 <p>Triggered when the
"tools
" page is displayed.
</p>
313 <p>Allow to add content at the end of the page.
</p>
314 <h5 id=
"data-5">Data
</h5>
315 <p><code>$data
</code> is an array containing:
</p>
317 <li>All templates data.
</li>
319 <h5 id=
"template-placeholders-5">Template placeholders
</h5>
320 <p>Items can be displayed in templates by adding an entry in
<code>$data['
<placeholder
>']
</code> array.
<a href=
".html"></a></p>
321 <p>List of placeholders:
</p>
323 <li><code>tools_plugin
</code>: at the end of the page.
</li>
325 <p><img src=
"http://i.imgur.com/Bqhu9oQ.png" alt=
"tools_plugin_example" /><a href=
".html"></a></p>
326 <h4 id=
"render_picwall">render_picwall
</h4>
327 <p>Triggered when picwall is displayed.
</p>
328 <p>Allow to add content at the top and bottom of the page.
</p>
329 <h5 id=
"data-6">Data
</h5>
330 <p><code>$data
</code> is an array containing:
</p>
332 <li><code>_LOGGEDIN_
</code>: true if user is logged in, false otherwise.
</li>
333 <li>All templates data.
</li>
335 <h5 id=
"template-placeholders-6">Template placeholders
</h5>
336 <p>Items can be displayed in templates by adding an entry in
<code>$data['
<placeholder
>']
</code> array.
<a href=
".html"></a></p>
337 <p>List of placeholders:
</p>
339 <li><p><code>plugin_start_zone
</code>: before displaying the template content.
</p></li>
340 <li><p><code>plugin_end_zone
</code>: after displaying the template content.
</p></li>
342 <p><img src=
"http://i.imgur.com/tVTQFER.png" alt=
"plugin_start_end_zone_example" /><a href=
".html"></a></p>
343 <h4 id=
"render_tagcloud">render_tagcloud
</h4>
344 <p>Triggered when tagcloud is displayed.
</p>
345 <p>Allow to add content at the top and bottom of the page.
</p>
346 <h5 id=
"data-7">Data
</h5>
347 <p><code>$data
</code> is an array containing:
</p>
349 <li><code>_LOGGEDIN_
</code>: true if user is logged in, false otherwise.
</li>
350 <li>All templates data.
</li>
352 <h5 id=
"template-placeholders-7">Template placeholders
</h5>
353 <p>Items can be displayed in templates by adding an entry in
<code>$data['
<placeholder
>']
</code> array.
<a href=
".html"></a></p>
354 <p>List of placeholders:
</p>
356 <li><p><code>plugin_start_zone
</code>: before displaying the template content.
</p></li>
357 <li><p><code>plugin_end_zone
</code>: after displaying the template content.
</p></li>
359 <p><img src=
"http://i.imgur.com/vHmyT3a.png" alt=
"plugin_start_end_zone_example" /><a href=
".html"></a></p>
360 <h4 id=
"render_daily">render_daily
</h4>
361 <p>Triggered when tagcloud is displayed.
</p>
362 <p>Allow to add content at the top and bottom of the page, the bottom of each link and to alter data.
</p>
363 <h5 id=
"data-8">Data
</h5>
364 <p><code>$data
</code> is an array containing:
</p>
366 <li><code>_LOGGEDIN_
</code>: true if user is logged in, false otherwise.
</li>
367 <li>All templates data, including links.
</li>
369 <h5 id=
"template-placeholders-8">Template placeholders
</h5>
370 <p>Items can be displayed in templates by adding an entry in
<code>$data['
<placeholder
>']
</code> array.
<a href=
".html"></a></p>
371 <p>List of placeholders:
</p>
373 <li><code>link_plugin
</code>: used at bottom of each link.
</li>
375 <p><img src=
"http://i.imgur.com/hzhMfSZ.png" alt=
"link_plugin_example" /><a href=
".html"></a></p>
377 <li><p><code>plugin_start_zone
</code>: before displaying the template content.
</p></li>
378 <li><p><code>plugin_end_zone
</code>: after displaying the template content.
</p></li>
380 <h4 id=
"savelink">savelink
</h4>
381 <p>Triggered when a link is save (new link or edit).
</p>
382 <p>Allow to alter the link being saved in the datastore.
</p>
383 <h5 id=
"data-9">Data
</h5>
384 <p><code>$data
</code> is an array containing the link being saved:
</p>
393 <h2 id=
"guide-for-template-designer">Guide for template designer
</h2>
394 <h3 id=
"placeholder-system">Placeholder system
</h3>
395 <p>In order to make plugins work with every custom themes, you need to add variable placeholder in your templates.
</p>
396 <p>It's a RainTPL loop like this:
</p>
397 <pre><code>{loop=
"$plugin_variable
"}
400 <p>You should enable
<code>demo_plugin
</code> for testing purpose, since it uses every placeholder available.
</p>
401 <h3 id=
"list-of-placeholders">List of placeholders
</h3>
402 <p><strong>page.header.html
</strong></p>
403 <p>At the end of the menu:
</p>
404 <pre><code>{loop=
"$plugins_header.buttons_toolbar
"}
407 <p><strong>includes.html
</strong></p>
408 <p>At the end of the file:
</p>
409 <pre class=
"sourceCode html"><code class=
"sourceCode html">{loop=
"$plugins_includes.css_files
"}
410 <span class=
"kw"><link
</span><span class=
"ot"> type=
</span><span class=
"st">"text/css
"</span><span class=
"ot"> rel=
</span><span class=
"st">"stylesheet
"</span><span class=
"ot"> href=
</span><span class=
"st">"{$value}#
"</span><span class=
"kw">/
></span>
412 <p><strong>page.footer.html
</strong></p>
413 <p>At the end of your footer notes:
</p>
414 <pre class=
"sourceCode html"><code class=
"sourceCode html">{loop=
"$plugins_footer.text
"}
417 <p>At the end of file:
</p>
418 <pre class=
"sourceCode html"><code class=
"sourceCode html">{loop=
"$plugins_footer.js_files
"}
419 <span class=
"kw"><script
</span><span class=
"ot"> src=
</span><span class=
"st">"{$value}#
"</span><span class=
"kw">></script
></span>
421 <p><strong>linklist.html
</strong></p>
422 <p>After search fields:
</p>
423 <pre class=
"sourceCode html"><code class=
"sourceCode html">{loop=
"$plugins_header.fields_toolbar
"}
426 <p>Before displaying the link list (after paging):
</p>
427 <pre class=
"sourceCode html"><code class=
"sourceCode html">{loop=
"$plugin_start_zone
"}
430 <p>For every links (icons):
</p>
431 <pre class=
"sourceCode html"><code class=
"sourceCode html">{loop=
"$value.link_plugin
"}
432 <span class=
"kw"><span
></span>{$value}
<span class=
"kw"></span
></span>
434 <p>Before end paging:
</p>
435 <pre class=
"sourceCode html"><code class=
"sourceCode html">{loop=
"$plugin_end_zone
"}
438 <p><strong>linklist.paging.html
</strong></p>
439 <p>After the
"private only
" icon:
</p>
440 <pre class=
"sourceCode html"><code class=
"sourceCode html">{loop=
"$action_plugin
"}
443 <p><strong>editlink.html
</strong></p>
444 <p>After tags field:
</p>
445 <pre class=
"sourceCode html"><code class=
"sourceCode html">{loop=
"$edit_link_plugin
"}
448 <p><strong>tools.html
</strong></p>
449 <p>After the last tool:
</p>
450 <pre class=
"sourceCode html"><code class=
"sourceCode html">{loop=
"$tools_plugin
"}
453 <p><strong>picwall.html
</strong></p>
455 <pre class=
"sourceCode html"><code class=
"sourceCode html"><span class=
"kw"><div
</span><span class=
"ot"> id=
</span><span class=
"st">"plugin_zone_start_picwall
"</span><span class=
"ot"> class=
</span><span class=
"st">"plugin_zone
"</span><span class=
"kw">></span>
456 {loop=
"$plugin_start_zone
"}
459 <span class=
"kw"></div
></span></code></pre>
461 <pre class=
"sourceCode html"><code class=
"sourceCode html"><span class=
"kw"><div
</span><span class=
"ot"> id=
</span><span class=
"st">"plugin_zone_end_picwall
"</span><span class=
"ot"> class=
</span><span class=
"st">"plugin_zone
"</span><span class=
"kw">></span>
462 {loop=
"$plugin_end_zone
"}
465 <span class=
"kw"></div
></span></code></pre>
466 <p><strong>tagcloud.html
</strong></p>
468 <pre class=
"sourceCode html"><code class=
"sourceCode html"> <span class=
"kw"><div
</span><span class=
"ot"> id=
</span><span class=
"st">"plugin_zone_start_tagcloud
"</span><span class=
"ot"> class=
</span><span class=
"st">"plugin_zone
"</span><span class=
"kw">></span>
469 {loop=
"$plugin_start_zone
"}
472 <span class=
"kw"></div
></span></code></pre>
474 <pre class=
"sourceCode html"><code class=
"sourceCode html"> <span class=
"kw"><div
</span><span class=
"ot"> id=
</span><span class=
"st">"plugin_zone_end_tagcloud
"</span><span class=
"ot"> class=
</span><span class=
"st">"plugin_zone
"</span><span class=
"kw">></span>
475 {loop=
"$plugin_end_zone
"}
478 <span class=
"kw"></div
></span></code></pre>
479 <p><strong>daily.html
</strong></p>
481 <pre class=
"sourceCode html"><code class=
"sourceCode html"><span class=
"kw"><div
</span><span class=
"ot"> id=
</span><span class=
"st">"plugin_zone_start_picwall
"</span><span class=
"ot"> class=
</span><span class=
"st">"plugin_zone
"</span><span class=
"kw">></span>
482 {loop=
"$plugin_start_zone
"}
485 <span class=
"kw"></div
></span></code></pre>
486 <p>After every link:
</p>
487 <pre class=
"sourceCode html"><code class=
"sourceCode html"><span class=
"kw"><div
</span><span class=
"ot"> class=
</span><span class=
"st">"dailyEntryFooter
"</span><span class=
"kw">></span>
488 {loop=
"$link.link_plugin
"}
491 <span class=
"kw"></div
></span></code></pre>
493 <pre class=
"sourceCode html"><code class=
"sourceCode html"><span class=
"kw"><div
</span><span class=
"ot"> id=
</span><span class=
"st">"plugin_zone_end_picwall
"</span><span class=
"ot"> class=
</span><span class=
"st">"plugin_zone
"</span><span class=
"kw">></span>
494 {loop=
"$plugin_end_zone
"}
497 <span class=
"kw"></div
></span></code></pre>