<commit_before>    <!-- Logo and Primary Navigation -->
    <div class="navbar-inner navbar-inner-primary">
      <div class="container">
        <h1 class="logo"><a href="/">TroveBox</a></h1>
        <div class="nav-collapse collapse">
          <ul class="nav separator-left">
            <li class="<?php if($this->utility->isActiveTab('photos')) { ?> active active-page-item<?php } ?>"><a href="<?php $this->url->photosView(); ?>"><i class="icon-picture <?php if($this->utility->isActiveTab('photos')) { ?> tb-icon-highlight<?php } else { ?>tb-icon-dark<?php } ?>"></i> Gallery</a></li>
            <li class="<?php if($this->utility->isActiveTab('albums')) { ?> active active-page-item<?php } ?>"><a href="<?php $this->url->albumsView(); ?>"><i class="icon-th-large <?php if($this->utility->isActiveTab('albums')) { ?> tb-icon-highlight<?php } else { ?>tb-icon-dark<?php } ?>"></i> Albums</a></li>
            <?php if($this->user->isAdmin()) { ?>
              <li class="<?php if($this->utility->isActiveTab('upload')) { ?> active active-page-item<?php } ?>"><a href="<?php $this->url->photosUpload(); ?>"><i class="icon-upload <?php if($this->utility->isActiveTab('upload')) { ?> tb-icon-highlight<?php } else { ?>tb-icon-dark<?php } ?>"></i> Upload</a></li>
            <?php } ?>
          </ul>
        </div><!--/.nav-collapse -->
        <div class="search-wrap separator-left">
          <input type="search" name="search" placeholder="Search Tags..."/>
        </div>
        <?php if($this->user->isLoggedIn()) { ?>
          <div class="user">
            <a href="#" class="profile-link profile-photo-header-meta" data-toggle="dropdown"></a>
            <ul class="dropdown-menu" role="menu">
              <li><a href="/user/logout">Logout</a></li>
            </ul>
          </div>
        <?php } else { ?>
          <div class="user">
            <?php if($this->config->site->displaySignupLink == 1) { ?>
              <a href="<?php $this->utility->safe($this->config->site->displaySignupUrl); ?>" class="btn btn-brand btn-arrow">Sign Up</a>
            <?php } ?>
            <a href="/user/login?r=<?php $this->utility->safe($_SERVER['REQUEST_URI']); ?>" class="btn btn-theme-secondary">Sign In</a>
          </div>
        <?php } ?>
      </div><commit_msg>Adding link back to logged in user's website if they're on another user's site. #1005'<commit_after>    <!-- Logo and Primary Navigation -->
    <div class="navbar-inner navbar-inner-primary">
      <div class="container">
        <h1 class="logo"><a href="/">TroveBox</a></h1>
        <div class="nav-collapse collapse">
          <ul class="nav separator-left">
            <li class="<?php if($this->utility->isActiveTab('photos')) { ?> active active-page-item<?php } ?>"><a href="<?php $this->url->photosView(); ?>"><i class="icon-picture <?php if($this->utility->isActiveTab('photos')) { ?> tb-icon-highlight<?php } else { ?>tb-icon-dark<?php } ?>"></i> Gallery</a></li>
            <li class="<?php if($this->utility->isActiveTab('albums')) { ?> active active-page-item<?php } ?>"><a href="<?php $this->url->albumsView(); ?>"><i class="icon-th-large <?php if($this->utility->isActiveTab('albums')) { ?> tb-icon-highlight<?php } else { ?>tb-icon-dark<?php } ?>"></i> Albums</a></li>
            <?php if($this->user->isAdmin()) { ?>
              <li class="<?php if($this->utility->isActiveTab('upload')) { ?> active active-page-item<?php } ?>"><a href="<?php $this->url->photosUpload(); ?>"><i class="icon-upload <?php if($this->utility->isActiveTab('upload')) { ?> tb-icon-highlight<?php } else { ?>tb-icon-dark<?php } ?>"></i> Upload</a></li>
            <?php } ?>
          </ul>
        </div><!--/.nav-collapse -->
        <div class="search-wrap separator-left">
          <input type="search" name="search" placeholder="Search Tags..."/>
        </div>
        <?php if($this->user->isLoggedIn()) { ?>
          <div class="user">
            <a href="#" class="profile-link profile-photo-header-meta" data-toggle="dropdown"></a>
            <ul class="dropdown-menu" role="menu">
              <?php if($this->session->get('site') != '' && $this->utility->gethost() != $this->session->get('site')) { ?>
                <li><a href="<?php printf('%s://%s', $this->utility->getProtocol(false), $this->utility->safe($this->session->get('site'), false)); ?>">Back to my site</a></li>
              <?php } ?>
              <li><a href="/user/logout">Logout</a></li>
            </ul>
          </div>
        <?php } else { ?>
          <div class="user">
            <?php if($this->config->site->displaySignupLink == 1) { ?>
              <a href="<?php $this->utility->safe($this->config->site->displaySignupUrl); ?>" class="btn btn-brand btn-arrow">Sign Up</a>
            <?php } ?>
            <a href="/user/login?r=<?php $this->utility->safe($_SERVER['REQUEST_URI']); ?>" class="btn btn-theme-secondary">Sign In</a>
          </div>
        <?php } ?>
      </div>
{'fraction_non_alphanumeric': 0.24788732394366197, 'fraction_numerical': 0.002012072434607646, 'mean_word_length': 2.8445475638051043, 'pattern_counts': {'":': 0, '<': 164, '<?xml version=': 0, '>': 240, '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': '374429', 'n_tokens_mistral': 1563, 'n_tokens_neox': 1546, 'n_words': 276}