-@products_controllers = ["ProductOrdersController", "ProductsController","ProductCategoriesController", "ProductCustomersController", "ProductCustomersAuthsController" ] -@facebook_title = @facebook_title || @title - @twitter_title = @twitter_title || @title -@menu_shadow=true -@lang = @lang || LangSite.first -if !@facebook_img or @facebook_img == "" -@facebook_img= "/public_medias/image_file/file/280/large_medium_shutterstock_64985671_0__-_copie.jpg" !!! - @social_url = @social_url || request.url.to_s -if @description and @description == "" - @description = qit "SEO texte description par défaut","3P mène un combat non violent pour les droits des animaux et le respect de toute vie. Son indépendance lui assure une totale liberté de parole et d’action." %html{:lang => "fr", "xml:lang" => "fr", :xmlns => "http://www.w3.org/1999/xhtml"} %head -@title = strip_tags(@title.to_s) %title=@title.to_s+" - 3P" %meta{:name=>"viewport", :content=>"width=device-width,initial-scale=1"} %meta{ :"http-equiv" => "Content-Type", :content => "text/html; charset=utf-8" } %meta{ :"name" => "Description", :content => @description } %meta{ :"name" => "Keywords", :content => @keywords } =raw '' =raw '' =raw '' =raw '' =raw '' =raw '' =raw '' =raw '' -if @facebook_img =raw '' =raw '' =raw '' =raw '' -@img_size = FastImage.size('https://3p.quartz.xyz'+@facebook_img.to_s) -if @img_size and @img_size.size > 0 =raw '' =raw '' = javascript_include_tag "public" = csrf_meta_tag =render :partial => "public/shared/ga" = stylesheet_link_tag 'public', :media => :all =javascript_include_tag "https://maps.googleapis.com/maps/api/js?libraries=places,geometry&sensor=false" %body.forum_body{:style => ("padding:0; " if @page_dons).to_s+(@don_image ? "background-image:url('#{@don_image}');" : ""),:class => (" don_tunnels" if controller.class.name.split("::")[1] == "DonTunnelsController").to_s+(" boutique_body" if @products_controllers.include?(controller.class.name.split("::")[1])).to_s+(" forum_body" if controller.class.name.split("::").first=="Forum").to_s}
-if flash[:error] or flash[:notice] or flash[:alert] .flashs -if flash[:error] .error %span.remove=ic :times =flash[:error] -if flash[:notice] .notice %span.remove=ic :times =flash[:notice] -if flash[:alert] .alert %span.remove=ic :times =flash[:alert] =yield :javascript resize()