ref: master
plugins/display_content/lib/display_content_plugin.rb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
require_dependency File.dirname(__FILE__) + '/display_content_block' class DisplayContentPlugin < Noosfero::Plugin def self.plugin_name "Display Content Plugin" end def self.plugin_description _("A plugin that adds a block where you could choose any of your content and display it.") end def self.extra_blocks { DisplayContentBlock => {} } end def self.has_admin_url? false end def stylesheet? true end def js_files ['/javascripts/jstree/_lib/jquery-1.8.3.js', '/javascripts/jstree/jquery.jstree.js'] end end |