<commit_before>{% load i18n messaging_tags booki_tags %}
<!DOCTYPE HTML>
<html>
 <head>
   <link type="text/css" href="{{ request.META.SCRIPT_NAME }}/site_static/css/booki.css" rel="Stylesheet" >
   <link type="text/css" href="{{ request.META.SCRIPT_NAME }}/site_static/js/jquery/themes/base/jquery.ui.all.css" rel="Stylesheet" >
   <link type="text/css" href="{{ request.META.SCRIPT_NAME }}/site_static/js/jquery/themes/smoothness/jquery.ui.all.css" rel="Stylesheet" >
   <script type="text/javascript" src="{{ request.META.SCRIPT_NAME }}/site_static/js/jquery/jquery-1.4.4.js"></script>
   <script type="text/javascript" src="{{ request.META.SCRIPT_NAME }}/site_static/js/jquery/ui/jquery-ui-1.8.10.custom.js"></script>
   <script type="text/javascript" src="{{ request.META.SCRIPT_NAME }}/site_static/js/jquery.json-1.3.js"></script>
   <script type="text/javascript" src="{{ request.META.SCRIPT_NAME }}/site_static/js/booki.js"></script>
   <script src="{{ request.META.SCRIPT_NAME }}/site_static/js/messaging.js" type="text/javascript"></script>   
   <script type="text/javascript" src="{{ request.META.SCRIPT_NAME }}/site_static/js/general.js"></script>
   <link href="{{ request.META.SCRIPT_NAME }}/site_static/css/jquery.bubblepopup.v2.3.1.css" rel="stylesheet" type="text/css" />
   <link type="text/css" href="{{ request.META.SCRIPT_NAME }}/site_static/css/jquery-ui_overrides.css" rel="Stylesheet" >
   <script src="{{ request.META.SCRIPT_NAME }}/site_static/js/jquery.bubblepopup.v2.3.1.min.js" type="text/javascript"></script>

   {% booki_site_favicon %}
   {% booki_site_metadata %}


   <script type="text/javascript">
     $(function() {
	 $.booki.sputnikDispatcherURL = "{% url sputnik.views.dispatcher %}";
     });
   </script>

   <script type="text/javascript">
     $(function() {
	 // open debug window
	 $.booki.debug.init();
	 
	 $("#dialog-sputnik-error").dialog({
	     modal: true,
	     autoOpen: false,
	     buttons: {
		 Ok: function() {
		     $(this).dialog('close');
		     window.location = '.';
		 }
	     }
	 });
	 
	 $("A.debug").click(function() {
	     $("#bookidebug").dialog("open");
	     return false;
	 });

          $("FORM.messagefield").messagefield('init', {'view_post': '{% url booki.messaging.views.view_post %}' });

     });
   </script>

   {% block header %}
   {% endblock %}

   <link type="text/css" href="{{ request.META.SCRIPT_NAME }}/static/css/_user.css" rel="Stylesheet" >
 </head>
<body>

<div class="topbar"> 
        {% booki_site_name %}

	<div class="meta-bar">
    {% if request.user.is_authenticated %}
		<ul>
        	<li>
               <a href="{% url view_profile request.user.username %}"><strong>{{ request.user.username }}</strong></a>&nbsp;&nbsp;
               {% if request.user.is_superuser %}
                 |&nbsp;&nbsp;<a href="{% url control_frontpage %}">{% trans "Control Center" %}</a>&nbsp;&nbsp;
               {% endif %}
               |&nbsp;&nbsp;<a href="{% url signout %}">{% trans "Sign out" %}</a>&nbsp;&nbsp;|&nbsp;&nbsp;{% messagefield_button %} 
            </li>
        </ul>
    {% else %}
    	<ul>
            <li>
            	<a href="{% url signin %}?redirect={{ request.path }}">{% trans "Sign In / Create Account" %}</a>
            </li>
        </ul>
     {% endif %}
     <div style="padding-top: 10px; padding-right: 15px;">
<br/>
<script>
 $(function() {
  var $frm = $("FORM[name=changelang]");
  $(".langen", $frm).click(function() {
     $("INPUT[name=language]", $frm).val("en");
     $frm.submit();
     return false;
   });
   $(".langru", $frm).click(function() {
     $("INPUT[name=language]", $frm).val("ru");
     $frm.submit();
     return false;
  });

   $(".langes", $frm).click(function() {
     $("INPUT[name=language]", $frm).val("es");
     $frm.submit();
     return false;
  });

   $(".langsq", $frm).click(function() {
     $("INPUT[name=language]", $frm).val("sq");
     $frm.submit();
     return false;
  });



 });
</script>
<form name="changelang" method="POST" action="{{ request.META.SCRIPT_NAME }}/accounts/i18n/setlang/?language=en-us">
       <input type="hidden" name="language" value="en-us">

       {% if request.LANGUAGE_CODE == "en-us" %}
         &nbsp;English&nbsp;|
       {% else %}
         &nbsp;<a class="langen" href="#">English</a>&nbsp;|
       {% endif %}

       {% if request.LANGUAGE_CODE == "es" %}
         &nbsp;Español&nbsp;|
       {% else %}
         &nbsp;<a class="langes" href="#">Español</a>&nbsp;|
       {% endif %}

       {% if request.LANGUAGE_CODE == "ru" %}
         &nbsp;Русский&nbsp;|
       {% else %}
         &nbsp;<a class="langru" href="#">Русский</a>&nbsp;|
       {% endif %}

       {% if request.LANGUAGE_CODE == "sq" %}
         &nbsp;Shqip
       {% else %}
         &nbsp;<a class="langsq" href="#">Shqip</a>
       {% endif %}
</form>
     </div>


    </div><!-- End of .meta-bar -->
</div><!-- End top bar -->

	<div class="menubar shadow">
        {% if request.user.is_authenticated %}
        <div class="navbox">
             <ul>
      		   <li><a href="{% url view_profile request.user.username %}">{% trans "My Dashboard" %}</a></li>
             </ul>
        </div>
		{% endif %}
    
        <div class="navbox">
            <ul>
                <li><a href="{% url booki.portal.views.view_books %}">{% trans "Books" %}</a></li>
                <li><a href="{% url booki.portal.views.view_groups %}">{% trans "Groups" %}</a></li><commit_msg>BK-520 Add Italian language to the list of languages<commit_after>{% load i18n messaging_tags booki_tags %}
<!DOCTYPE HTML>
<html>
 <head>
   <link type="text/css" href="{{ request.META.SCRIPT_NAME }}/site_static/css/booki.css" rel="Stylesheet" >
   <link type="text/css" href="{{ request.META.SCRIPT_NAME }}/site_static/js/jquery/themes/base/jquery.ui.all.css" rel="Stylesheet" >
   <link type="text/css" href="{{ request.META.SCRIPT_NAME }}/site_static/js/jquery/themes/smoothness/jquery.ui.all.css" rel="Stylesheet" >
   <script type="text/javascript" src="{{ request.META.SCRIPT_NAME }}/site_static/js/jquery/jquery-1.4.4.js"></script>
   <script type="text/javascript" src="{{ request.META.SCRIPT_NAME }}/site_static/js/jquery/ui/jquery-ui-1.8.10.custom.js"></script>
   <script type="text/javascript" src="{{ request.META.SCRIPT_NAME }}/site_static/js/jquery.json-1.3.js"></script>
   <script type="text/javascript" src="{{ request.META.SCRIPT_NAME }}/site_static/js/booki.js"></script>
   <script src="{{ request.META.SCRIPT_NAME }}/site_static/js/messaging.js" type="text/javascript"></script>   
   <script type="text/javascript" src="{{ request.META.SCRIPT_NAME }}/site_static/js/general.js"></script>
   <link href="{{ request.META.SCRIPT_NAME }}/site_static/css/jquery.bubblepopup.v2.3.1.css" rel="stylesheet" type="text/css" />
   <link type="text/css" href="{{ request.META.SCRIPT_NAME }}/site_static/css/jquery-ui_overrides.css" rel="Stylesheet" >
   <script src="{{ request.META.SCRIPT_NAME }}/site_static/js/jquery.bubblepopup.v2.3.1.min.js" type="text/javascript"></script>

   {% booki_site_favicon %}
   {% booki_site_metadata %}


   <script type="text/javascript">
     $(function() {
	 $.booki.sputnikDispatcherURL = "{% url sputnik.views.dispatcher %}";
     });
   </script>

   <script type="text/javascript">
     $(function() {
	 // open debug window
	 $.booki.debug.init();
	 
	 $("#dialog-sputnik-error").dialog({
	     modal: true,
	     autoOpen: false,
	     buttons: {
		 Ok: function() {
		     $(this).dialog('close');
		     window.location = '.';
		 }
	     }
	 });
	 
	 $("A.debug").click(function() {
	     $("#bookidebug").dialog("open");
	     return false;
	 });

          $("FORM.messagefield").messagefield('init', {'view_post': '{% url booki.messaging.views.view_post %}' });

     });
   </script>

   {% block header %}
   {% endblock %}

   <link type="text/css" href="{{ request.META.SCRIPT_NAME }}/static/css/_user.css" rel="Stylesheet" >
 </head>
<body>

<div class="topbar"> 
        {% booki_site_name %}

	<div class="meta-bar">
    {% if request.user.is_authenticated %}
		<ul>
        	<li>
               <a href="{% url view_profile request.user.username %}"><strong>{{ request.user.username }}</strong></a>&nbsp;&nbsp;
               {% if request.user.is_superuser %}
                 |&nbsp;&nbsp;<a href="{% url control_frontpage %}">{% trans "Control Center" %}</a>&nbsp;&nbsp;
               {% endif %}
               |&nbsp;&nbsp;<a href="{% url signout %}">{% trans "Sign out" %}</a>&nbsp;&nbsp;|&nbsp;&nbsp;{% messagefield_button %} 
            </li>
        </ul>
    {% else %}
    	<ul>
            <li>
            	<a href="{% url signin %}?redirect={{ request.path }}">{% trans "Sign In / Create Account" %}</a>
            </li>
        </ul>
     {% endif %}
     <div style="padding-top: 10px; padding-right: 15px;">
<br/>
<script>
 $(function() {
  var $frm = $("FORM[name=changelang]");

  $("A[href=#]", $frm).click(function() {
     var lang = $(this).attr("class").substr(4);

     $("INPUT[name=language]", $frm).val(lang);
     $frm.submit();

     return false;
  });
 });
</script>
<form name="changelang" method="POST" action="{{ request.META.SCRIPT_NAME }}/accounts/i18n/setlang/?language=en-us">
       <input type="hidden" name="language" value="en-us">

       {% if request.LANGUAGE_CODE == "en" or request.LANGUAGE_CODE == "en-us" %}
         &nbsp;English&nbsp;|
       {% else %}
         &nbsp;<a class="langen" href="#">English</a>&nbsp;|
       {% endif %}

       {% if request.LANGUAGE_CODE == "es" %}
         &nbsp;Español&nbsp;|
       {% else %}
         &nbsp;<a class="langes" href="#">Español</a>&nbsp;|
       {% endif %}

       {% if request.LANGUAGE_CODE == "it" %}
         &nbsp;Italiano&nbsp;|
       {% else %}
         &nbsp;<a class="langit" href="#">Italiano</a>&nbsp;|
       {% endif %}

       {% if request.LANGUAGE_CODE == "ru" %}
         &nbsp;Русский&nbsp;|
       {% else %}
         &nbsp;<a class="langru" href="#">Русский</a>&nbsp;|
       {% endif %}

       {% if request.LANGUAGE_CODE == "sq" %}
         &nbsp;Shqip
       {% else %}
         &nbsp;<a class="langsq" href="#">Shqip</a>
       {% endif %}

</form>
     </div>


    </div><!-- End of .meta-bar -->
</div><!-- End top bar -->

	<div class="menubar shadow">
        {% if request.user.is_authenticated %}
        <div class="navbox">
             <ul>
      		   <li><a href="{% url view_profile request.user.username %}">{% trans "My Dashboard" %}</a></li>
             </ul>
        </div>
		{% endif %}
    
        <div class="navbox">
            <ul>
                <li><a href="{% url booki.portal.views.view_books %}">{% trans "Books" %}</a></li>
                <li><a href="{% url booki.portal.views.view_groups %}">{% trans "Groups" %}</a></li>
{'fraction_non_alphanumeric': 0.2169532261046404, 'fraction_numerical': 0.0046219264189314106, 'mean_word_length': 2.8365248226950355, 'pattern_counts': {'":': 0, '<': 181, '<?xml version=': 0, '>': 181, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, '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': '3729798', 'n_tokens_mistral': 4031, 'n_tokens_neox': 3666, 'n_words': 621}