diff options
Diffstat (limited to 'doc/md/Plugin-System.md')
-rw-r--r-- | doc/md/Plugin-System.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/md/Plugin-System.md b/doc/md/Plugin-System.md index d5b16e2d..f264e873 100644 --- a/doc/md/Plugin-System.md +++ b/doc/md/Plugin-System.md | |||
@@ -131,7 +131,7 @@ If it's still not working, please [open an issue](https://github.com/shaarli/Sha | |||
131 | | ------------- |:-------------:| | 131 | | ------------- |:-------------:| |
132 | | [render_header](#render_header) | Allow plugin to add content in page headers. | | 132 | | [render_header](#render_header) | Allow plugin to add content in page headers. | |
133 | | [render_includes](#render_includes) | Allow plugin to include their own CSS files. | | 133 | | [render_includes](#render_includes) | Allow plugin to include their own CSS files. | |
134 | | [render_footer](#render_footer) | Allow plugin to add content in page footer and include their own JS files. | | 134 | | [render_footer](#render_footer) | Allow plugin to add content in page footer and include their own JS files. | |
135 | | [render_linklist](#render_linklist) | It allows to add content at the begining and end of the page, after every link displayed and to alter link data. | | 135 | | [render_linklist](#render_linklist) | It allows to add content at the begining and end of the page, after every link displayed and to alter link data. | |
136 | | [render_editlink](#render_editlink) | Allow to add fields in the form, or display elements. | | 136 | | [render_editlink](#render_editlink) | Allow to add fields in the form, or display elements. | |
137 | | [render_tools](#render_tools) | Allow to add content at the end of the page. | | 137 | | [render_tools](#render_tools) | Allow to add content at the end of the page. | |
@@ -515,7 +515,7 @@ Otherwise, you can use your own JS as long as this field is send by the form: | |||
515 | 515 | ||
516 | ### Placeholder system | 516 | ### Placeholder system |
517 | 517 | ||
518 | In order to make plugins work with every custom themes, you need to add variable placeholder in your templates. | 518 | In order to make plugins work with every custom themes, you need to add variable placeholder in your templates. |
519 | 519 | ||
520 | It's a RainTPL loop like this: | 520 | It's a RainTPL loop like this: |
521 | 521 | ||
@@ -537,7 +537,7 @@ At the end of the menu: | |||
537 | 537 | ||
538 | At the end of file, before clearing floating blocks: | 538 | At the end of file, before clearing floating blocks: |
539 | 539 | ||
540 | {if="!empty($plugin_errors) && isLoggedIn()"} | 540 | {if="!empty($plugin_errors) && $is_logged_in"} |
541 | <ul class="errors"> | 541 | <ul class="errors"> |
542 | {loop="plugin_errors"} | 542 | {loop="plugin_errors"} |
543 | <li>{$value}</li> | 543 | <li>{$value}</li> |