# # brow_si.rb: insert brow.si code # # Copyright (C) 2012 by hb # add_conf_proc( "brow_si", "Brow.si" ) do if @mode == "saveconf" @conf["brow.si.site_id"] = @cgi.params["brow.si.site_id"][0] end <<-HTML

Website Brow.si Site ID

HTML end add_footer_proc do if @conf["brow.si.site_id"] and @conf.smartphone? <<-SCRIPT SCRIPT end end