def help_enabled? (@conf.style == "default" || @conf.style == "math") && !@conf.mobile_agent? end def hiki_help @options['help.tlbr_class'] ||= "helptlbr" @options['help.bttn_class'] ||= "helpbttn" help = < END_HELP help end def help_add_pbttn( help_txt, help_tps, help_pre, help_suf ) return unless help_enabled? add_edit_proc do help = < END_HELP help end end if help_enabled? add_edit_proc do hiki_help end end # export no methods export_plugin_methods