<commit_before><!DOCTYPE html>
<html lang="<%= I18n.locale %>">
    <head>
        <meta charset="utf-8">
        <title>
        <% if @title %>
            <%=@title%> - <%= site_name %>
        <% else %>
            <%= site_name %> 
        <% end %>
        </title>
        <script type="text/javascript">
          if(window.location == 'http://daznamosvi.rs/' || window.location == 'http://www.daznamosvi.rs/'){window.location.href = "http://daznamosvi.rs/sr";}
        </script>
        <link rel="shortcut icon" href="/favicon.ico">

        <%= render :partial => 'general/stylesheet_includes' %>
        <% if is_admin? %>
          <%= stylesheet_link_tag "admin", :title => "Main", :rel => "stylesheet" %>
        <% end %>

        <%= javascript_include_tag "application" %>
        <% if @profile_photo_javascript %>
            <%= javascript_include_tag "profile-photos" %>
            <%= stylesheet_link_tag "jquery.Jcrop.css" %>
        <% end %>

        <% if @feed_autodetect %>
            <% for feed in @feed_autodetect %>
                <link rel="alternate" type="application/atom+xml" title="<%=h feed[:title] %>" href="<%=h feed[:url]%>">
                <% if feed[:has_json] %>
                    <link rel="alternate" type="application/json" title="JSON version of <%=h feed[:title] %>" href="<%=h feed[:url]%>.json">
                <% end %>
            <% end %>
        <% end %>
        <% if @has_json %>
            <link rel="alternate" type="application/json" title="JSON version of this page" href="<%=h url_for(request.params.merge(:format => 'json')) %>">
        <% end %>

        <% if @no_crawl %>
            <meta name="robots" content="noindex, nofollow">
        <% end %>

        <%= render :partial => 'general/before_head_end' %>
    </head>
    <body class="<%= 'front' if params[:action] == 'frontpage' %>">
    <% if AlaveteliConfiguration::force_registration_on_new_request && !@user %>
    <%= javascript_include_tag 'fancybox.js' %>
    <script type="text/javascript">
        $(document).ready(function() {
            $("#make-request-link").fancybox({
                'modal': false,
                'width': 920,
                'height': 400,
                'type': 'iframe',
                'href': '/<%= I18n.locale %>/profile/sign_in?modal=1',
                'onClosed': function() {
                    // modal_signin_successful variable set by modal dialog box
                    if (typeof modal_signin_successful != 'undefined' ) {
                        window.location.href = '<%= select_authority_url %>';
                    }
                }
            });
        });
    </script>
    <% end %>

<% if is_admin? %>
  <%= render :partial => 'admin_general/admin_navbar' %>
<% end %>
<% popup_banner = render(:partial => "general/popup_banner").strip %>
<% if popup_banner.present? %>
<div id="everypage" class="jshide">
  <p class="popup-close"><a href="#top" onclick="$.cookie('seen_foi2', 1, { expires: 7, path: '/' }); $('#everypage').hide('slow'); return false;"><%= _('Close') %></a></p>
  <%= raw popup_banner %>
  <p class="popup-close"><a href="#top" onclick="$.cookie('seen_foi2', 1, { expires: 7, path: '/' }); $('#everypage').hide('slow'); return false;"><%= _('Close') %></a></p>
</div>
<% end %>

<div class="entirebody">
    <div id="banner">
      <div id="banner_inner">
        <div class="lang"><%= render :partial => 'general/locale_switcher' %></div>

        <% if not (controller.action_name == 'signin' or controller.action_name == 'signup') %>
          <div id="logged_in_bar">
          <% if @user %>
              <%= _('Hello, {{username}}!', :username => h(@user.name))%>

                <% if @user %>
                    <%=link_to _("My requests"), show_user_requests_path(:url_name => @user.url_name) %>
                    <%=link_to _("My profile"), show_user_profile_path(:url_name => @user.url_name) %>
                    <%=link_to _("My wall"), show_user_wall_path(:url_name => @user.url_name) %>
                <% end %>


              <%= link_to _("Sign out"), signout_path(:r => request.fullpath) %>
          <% else %>
              <%= link_to _("Sign in or sign up"), signin_path(:r => request.fullpath) %>
          <% end %>
          </div>
        <% end %>

        <div id="navigation_search">
          <form id="navigation_search_form" method="post" action="<%= search_redirect_path %>">
             <p>
                 <%= text_field_tag 'query', params[:query], { :size => 40, :id => "navigation_search_query", :title => "type your search term here" } %>
                 <input id="navigation_search_button" type="submit" value="search">
             </p>
           </form>
        </div>

        <%= render :partial => 'general/orglink' %>

        <%= render :partial => 'general/topnav' %>
      </div>
    </div>
    <div id="wrapper">
        <div id="content">
            <% if flash[:notice] %>
                <div id="notice"><%= flash[:notice] %></div>
            <% end %>
            <% if flash[:error] %>
                <div id="error"><%= flash[:error] %></div>
            <% end %>

            <div id="<%= controller.controller_name + "_" + controller.action_name %>" class="controller_<%= controller.controller_name %>">
            <%= yield :layout %>
            </div>
            <div style="clear:both"></div>
        </div>
    </div>

    <%= render :partial => 'general/footer' %>

</div>
<div id="other-country-notice"></div>
<div id="link_box"><span class="close-button">X</span>
<%= _("Paste this link into emails, tweets, and anywhere else:") %>
<br />
<input type="text">
</div>
    <%
      unless AlaveteliConfiguration::ga_code.empty? || (@user && @user.super?) %>
        <script type="text/javascript">
          var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
          document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
        </script>
        <script type="text/javascript">
          var pageTracker = _gat._getTracker("<%= AlaveteliConfiguration::ga_code %>");
          pageTracker._trackPageview();
        </script>

      <% end %>

      <%= render :partial => 'general/before_body_end' %>
    </body>
</html><commit_msg>Google Analytics update in 0.25.0.0<commit_after><!DOCTYPE html>
<html lang="<%= I18n.locale %>">
    <head>
        <meta charset="utf-8">
        <title>
        <% if @title %>
            <%=@title%> - <%= site_name %>
        <% else %>
            <%= site_name %> 
        <% end %>
        </title>
        <script type="text/javascript">
          if(window.location == 'http://daznamosvi.rs/' || window.location == 'http://www.daznamosvi.rs/'){window.location.href = "http://daznamosvi.rs/sr";}
        </script>
        <link rel="shortcut icon" href="/favicon.ico">

        <%= render :partial => 'general/stylesheet_includes' %>
        <% if is_admin? %>
          <%= stylesheet_link_tag "admin", :title => "Main", :rel => "stylesheet" %>
        <% end %>

        <%= javascript_include_tag "application" %>
        <% if @profile_photo_javascript %>
            <%= javascript_include_tag "profile-photos" %>
            <%= stylesheet_link_tag "jquery.Jcrop.css" %>
        <% end %>

        <% if @feed_autodetect %>
            <% for feed in @feed_autodetect %>
                <link rel="alternate" type="application/atom+xml" title="<%=h feed[:title] %>" href="<%=h feed[:url]%>">
                <% if feed[:has_json] %>
                    <link rel="alternate" type="application/json" title="JSON version of <%=h feed[:title] %>" href="<%=h feed[:url]%>.json">
                <% end %>
            <% end %>
        <% end %>
        <% if @has_json %>
            <link rel="alternate" type="application/json" title="JSON version of this page" href="<%=h url_for(request.params.merge(:format => 'json')) %>">
        <% end %>

        <% if @no_crawl %>
            <meta name="robots" content="noindex, nofollow">
        <% end %>

        <%= render :partial => 'general/before_head_end' %>
    </head>
    <body class="<%= 'front' if params[:action] == 'frontpage' %>">
    <% if AlaveteliConfiguration::force_registration_on_new_request && !@user %>
    <%= javascript_include_tag 'fancybox.js' %>
    <script type="text/javascript">
        $(document).ready(function() {
            $("#make-request-link").fancybox({
                'modal': false,
                'width': 920,
                'height': 400,
                'type': 'iframe',
                'href': '/<%= I18n.locale %>/profile/sign_in?modal=1',
                'onClosed': function() {
                    // modal_signin_successful variable set by modal dialog box
                    if (typeof modal_signin_successful != 'undefined' ) {
                        window.location.href = '<%= select_authority_url %>';
                    }
                }
            });
        });
    </script>
    <% end %>

<% if is_admin? %>
  <%= render :partial => 'admin_general/admin_navbar' %>
<% end %>
<% popup_banner = render(:partial => "general/popup_banner").strip %>
<% if popup_banner.present? %>
<div id="everypage" class="jshide">
  <p class="popup-close"><a href="#top" onclick="$.cookie('seen_foi2', 1, { expires: 7, path: '/' }); $('#everypage').hide('slow'); return false;"><%= _('Close') %></a></p>
  <%= raw popup_banner %>
  <p class="popup-close"><a href="#top" onclick="$.cookie('seen_foi2', 1, { expires: 7, path: '/' }); $('#everypage').hide('slow'); return false;"><%= _('Close') %></a></p>
</div>
<% end %>

<div class="entirebody">
    <div id="banner">
      <div id="banner_inner">
        <div class="lang"><%= render :partial => 'general/locale_switcher' %></div>

        <% if not (controller.action_name == 'signin' or controller.action_name == 'signup') %>
          <div id="logged_in_bar">
          <% if @user %>
              <%= _('Hello, {{username}}!', :username => h(@user.name))%>

                <% if @user %>
                    <%=link_to _("My requests"), show_user_requests_path(:url_name => @user.url_name) %>
                    <%=link_to _("My profile"), show_user_profile_path(:url_name => @user.url_name) %>
                    <%=link_to _("My wall"), show_user_wall_path(:url_name => @user.url_name) %>
                <% end %>


              <%= link_to _("Sign out"), signout_path(:r => request.fullpath) %>
          <% else %>
              <%= link_to _("Sign in or sign up"), signin_path(:r => request.fullpath) %>
          <% end %>
          </div>
        <% end %>

        <div id="navigation_search">
          <form id="navigation_search_form" method="post" action="<%= search_redirect_path %>">
             <p>
                 <%= text_field_tag 'query', params[:query], { :size => 40, :id => "navigation_search_query", :title => "type your search term here" } %>
                 <input id="navigation_search_button" type="submit" value="search">
             </p>
           </form>
        </div>

        <%= render :partial => 'general/orglink' %>

        <%= render :partial => 'general/topnav' %>
      </div>
    </div>
    <div id="wrapper">
        <div id="content">
            <% if flash[:notice] %>
                <div id="notice"><%= flash[:notice] %></div>
            <% end %>
            <% if flash[:error] %>
                <div id="error"><%= flash[:error] %></div>
            <% end %>

            <div id="<%= controller.controller_name + "_" + controller.action_name %>" class="controller_<%= controller.controller_name %>">
            <%= yield :layout %>
            </div>
            <div style="clear:both"></div>
        </div>
    </div>

    <%= render :partial => 'general/footer' %>

</div>
<div id="other-country-notice"></div>
<div id="link_box"><span class="close-button">X</span>
<%= _("Paste this link into emails, tweets, and anywhere else:") %>
<br />
<input type="text">
</div>
    <%
      unless AlaveteliConfiguration::ga_code.empty? || (@user && @user.super?) %>
        <script type="text/javascript">
          var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
          document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
        </script>
        <script type="text/javascript">
          ga('send', 'pageview')
        </script>

      <% end %>

      <%= render :partial => 'general/before_body_end' %>
    </body>
</html>
{'fraction_non_alphanumeric': 0.19969934330247646, 'fraction_numerical': 0.00419336972861777, 'mean_word_length': 2.2535392535392536, 'pattern_counts': {'":': 0, '<': 302, '<?xml version=': 0, '>': 344, 'https://': 2, 'lorem ipsum': 0, 'www.': 4, 'xml': 2}, 'pii_count': 1, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2628589', 'n_tokens_mistral': 4253, 'n_tokens_neox': 3799, 'n_words': 746}