2 <div class='plugin-manage'>
5 <p id='show-{{ uuid }}' class='plugin-show'><a href='#'><span>» Show {{ classname }}</span></a></p>
6 <p id='hide-{{ uuid }}' class='plugin-hide' style='display:none;'><a href='#'><span>« Hide {{ classname }}</span></a></p>
8 <p id='show-{{ uuid }}' class='plugin-show' style='display:none;'><a href='#'><span>» Show {{ classname }}</span></a></p>
9 <p id='hide-{{ uuid }}' class='plugin-hide'><a href='#'><span>« Hide {{ classname }}</span></a></p>
14 <div class='plugin {{ classname }}' id='plugin-{{ uuid }}'>
15 {{ plugin_content|safe }}
16 </div><!--plugin {{ classname }}-->
22 {# Plugin initialization (if the plugin has the right structure) - from plugin.php #}
23 {# note: that's the spirit but using {% insert %} is not reliable enough #}
24 {# so for now this doesn't make it back to the browser #}
25 {% insert prelude_js %}
26 if (typeof jQuery('#{{ uuid }}').$title != 'undefined') {
27 jQuery('#{{ uuid }}').$title({ {{ settings_json }} plugin_uuid: '{{ uuid }}' });
28 //jQuery('#{{ uuid }}').$title('show');