= stylesheet_link_tag('rad_social/rad_screen') = javascript_include_tag("lib/rad_social/rad_widget") - local_variables = defined?(locals) ? locals : local_assigns - url = local_variables[:url] - message = local_variables[:message] - email_action_url = local_variables[:email_action_url] - email_subject = local_variables[:email_subject] - email_message = local_variables[:email_message] .rad-widget .rad-icon %a{:class => "rad-popup-window rad-facebook", :href => "https://www.facebook.com/sharer/sharer.php?u=#{CGI::escape(url)}", :target=> "_blank"} %img{:src => "/assets/rad_social/facebook.png", :alt => "Facebook", :title => "Share to Facebook", :height => "26", :width => "26"} .rad-icon %a{:class => "rad-popup-window rad-twitter", :href => "https://twitter.com/intent/tweet?text=#{CGI::escape(message + " " + url)}"} %img{:src => "/assets/rad_social/twitter.png", :alt => "Twitter", :title => "Share to Twitter", :height => "26", :width => "26"} .rad-icon %a{:class => "rad-popup-window rad-email", :href => rad_social_mail_form_url(:email_subject => email_subject, :email_message => email_message, :email_action_url => email_action_url)} %img{:src => "/assets/rad_social/email.png", :alt => "Email a Friend", :title => "Email a Friend", :height => "26", :width => "26"} .rad-icon %a{:class => "rad-popup-window rad-gplus", :href => "https://plus.google.com/share?url=#{CGI::escape(url)}"} %img{:src => "/assets/rad_social/googleplus.png", :alt => "Google+", :title => "Share to Google+", :height => "26", :width => "26"}