<commit_before><!DOCTYPE html>
<html lang="en">
<head>

<?php include_http_metas() ?>
<?php include_metas() ?>

<?php include_title() ?>

  <?php if (has_slot('data')): ?>
    <?php include_slot('data') ?>
  <?php endif; ?>
<?php if ($_SERVER['SERVER_NAME'] == 'registry.dev' || $_SERVER['SERVER_NAME'] == 'beta.metadataregistry.net' ): ?>
   <link rel="shortcut icon" href="/registry_favicon_dev.ico" />
<?php elseif ($_SERVER['SERVER_NAME'] == 'beta.metadataregistry.org' || $_SERVER['SERVER_NAME'] == 'beta-sand.metadataregistry.org' || $_SERVER['SERVER_NAME'] == 'beta-prod.metadataregistry.org'): ?>
   <link rel="shortcut icon" href="/registry_favicon_beta.ico" />
<?php elseif ($_SERVER['SERVER_NAME'] == 'sandbox.metadataregistry.org'): ?>
   <link rel="shortcut icon" href="/registry_favicon_sand.ico" />
<?php else: ?>
   <link rel="shortcut icon" href="/registry_favicon_prod.ico" />
<?php endif; ?>

<?php if (has_slot('feeds')): ?>
  <?php include_slot('feeds') ?>
<?php endif; ?>

</head>
<body>
<?php if ($_SERVER['SERVER_NAME'] == 'sandbox.metadataregistry.org' or $_SERVER['SERVER_NAME'] == 'metadataregistry.org'): //Get Satisfaction  ?>
    <script type="text/javascript" charset="utf-8"> var is_ssl = ("https:" == document.location.protocol); var asset_host = is_ssl ? "https://s3.amazonaws.com/getsatisfaction.com/" : "http://s3.amazonaws.com/getsatisfaction.com/"; document.write(unescape("%3Cscript src='" + asset_host + "javascripts/feedback-v2.js' type='text/javascript'%3E%3C/script%3E")); </script><script type="text/javascript" charset="utf-8"> var feedback_widget_options = {}; feedback_widget_options.display = "overlay"; feedback_widget_options.company = "metadataregistry"; feedback_widget_options.placement = "right"; feedback_widget_options.color = "#D8732F"; feedback_widget_options.style = "question"; var feedback_widget = new GSFN.feedback_widget(feedback_widget_options); </script>
<?php endif; ?>

  <?php use_helper('Javascript')?>

  <div id="indicator" style="display: none"></div>

  <div id="header">
    <ul>
      <?php if ($sf_user->isAuthenticated()): ?>
        <li><?php echo link_to(__('%1% profile', array('%1%' => $sf_user->getAttribute('nickname', '', 'subscriber'))), '@current_user_profile') ?></li>
        <li><?php echo link_to(__('sign out'), '@logout') ?></li>
      <?php else: ?>
        <li><?php echo link_to(__('sign in / register'), '@login') ?></li>
      <?php endif ?>
      <li class="last"><?php echo link_to(__('about'), '@about') ?></li>
    </ul>
    <div style="padding-left: 10px;">
      <?php echo link_to(image_tag('open_metadata_logo_with_interoperability.png', 'alt=registry align=left'), '@homepage') ?>
    </div>

    <div id="search">
    <table>
      <tr><?php include_partial('conceptprop/search', array('searchTerm' => $sf_params->get('term'))) ?></tr>
      <tr><?php include_partial('schemaprop/search', array('searchTerm' => $sf_params->get('term'))) ?></tr>
    </table>
<?php if ($_SERVER['SERVER_NAME'] == 'registry.dev'): ?>
      <br />
      <a href = "http://<?php echo $_SERVER['HTTP_HOST'] ?>/load_test_db.php">Load test database</a>
<?php endif; ?>

    </div>
  </div>

  <div id="content">
    <table class="layout">
      <tr>
        <td class="left">
          <div id="content_main" class="Left">
            <?php echo $sf_data->getRaw('sf_content') ?>
          </div>
        </td>
        <td class="right">
          <div id="content_bar" class="main-subcontent">
            <?php include_component_slot('sidebar') ?>
            <div>See a problem? <br /><?php echo link_to(__('Make an issue out of it...'), 'https://github.com/jonphipps/Metadata-Registry/issues/') ?></div>
          </div>
        </td>
      </tr>
    </table>
  </div>

  <div id="footer">
    <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/3.0/"><img alt="Creative Commons License" style="border-width:0" src="/images/cc_by-nc-sa_3.0_80x15.png"/></a>
  <?php echo __('powered by %1%', array('%1%' => link_to(image_tag('symfony.gif', 'align=bottom'), 'http://www.symfony-project.com/'))); ?>
    <?php echo link_to(image_tag('DO_Proudly_Hosted_Badge_Blue-735d53ec.png', array('alt' => 'Powered by Digital Ocean', 'size' => '75x20')), 'https://www.digitalocean.com/'); ?>

  </div>

<?php
  //Google analytics
  if ($_SERVER['SERVER_NAME'] == 'sandbox.metadataregistry.org')
  {
    echo '<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>';
    echo javascript_tag('
      _uacct = "UA-840150-2";
      urchinTracker();
    ');
  }

  if ($_SERVER['SERVER_NAME'] == 'metadataregistry.org')
  {
    echo '<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>';
    echo javascript_tag('
      _uacct = "UA-840150-1";
      urchinTracker();
    ');
  }<commit_msg>reformat layout and remove get satisfaction<commit_after><!DOCTYPE html>
<html lang="en">
<head>
  <?php include_http_metas() ?>
  <?php include_metas() ?>

  <?php include_title() ?>

  <?php if (has_slot('data')): ?><?php include_slot('data') ?><?php endif; ?>
  <?php if ($_SERVER['SERVER_NAME'] == 'registry.dev' || $_SERVER['SERVER_NAME'] == 'beta.metadataregistry.net'): ?>
    <link rel="shortcut icon" href="/registry_favicon_dev.ico"/>
  <?php elseif ($_SERVER['SERVER_NAME'] == 'beta.metadataregistry.org' || $_SERVER['SERVER_NAME'] == 'beta-sand.metadataregistry.org' || $_SERVER['SERVER_NAME'] == 'beta-prod.metadataregistry.org'): ?>
    <link rel="shortcut icon" href="/registry_favicon_beta.ico"/>
  <?php elseif ($_SERVER['SERVER_NAME'] == 'sandbox.metadataregistry.org'): ?>
    <link rel="shortcut icon" href="/registry_favicon_sand.ico"/>
  <?php else: ?>
    <link rel="shortcut icon" href="/registry_favicon_prod.ico"/>
  <?php endif; ?>

  <?php if (has_slot('feeds')): ?><?php include_slot('feeds') ?><?php endif; ?>
</head>
<body>

<?php use_helper('Javascript') ?>
<div id="indicator" style="display: none"></div>
<div id="header">
  <ul>
    <?php if ($sf_user->isAuthenticated()): ?>
      <li><?php echo link_to(__('%1% profile', [ '%1%' => $sf_user->getAttribute('nickname', '', 'subscriber') ]),
                             '@current_user_profile') ?></li>
      <li><?php echo link_to(__('sign out'), '@logout') ?></li>
    <?php else: ?>
      <li><?php echo link_to(__('sign in / register'), '@login') ?></li>
    <?php endif ?>
    <li class="last"><?php echo link_to(__('about'), '@about') ?></li>
  </ul>
  <div style="padding-left: 10px;">
    <?php echo link_to(image_tag('open_metadata_logo_with_interoperability.png', 'alt=registry align=left'),
                       '@homepage') ?>
  </div>
  <div id="search">
    <table>
      <tr><?php include_partial('conceptprop/search', [ 'searchTerm' => $sf_params->get('term') ]) ?></tr>
      <tr><?php include_partial('schemaprop/search', [ 'searchTerm' => $sf_params->get('term') ]) ?></tr>
    </table>
    <?php if ($_SERVER['SERVER_NAME'] == 'registry.dev'): ?>
      <br/><a href="http://<?php echo $_SERVER['HTTP_HOST'] ?>/load_test_db.php">Load test database</a>
    <?php endif; ?>
  </div>
</div>
<div id="content">
  <table class="layout">
    <tr>
      <td class="left">
        <div id="content_main" class="Left">
          <?php echo $sf_data->getRaw('sf_content') ?>
        </div>
      </td>
      <td class="right">
        <div id="content_bar" class="main-subcontent">
          <?php include_component_slot('sidebar') ?>
          <div>See a problem? <br/><?php echo link_to(__('Make an issue out of it...'),
                                                      'https://github.com/jonphipps/Metadata-Registry/issues/') ?></div>
        </div>
      </td>
    </tr>
  </table>
</div>
<div id="footer">
  <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/3.0/"><img alt="Creative Commons License" style="border-width:0" src="/images/cc_by-nc-sa_3.0_80x15.png"/></a>
  <?php echo __('powered by %1%',
                [ '%1%' => link_to(image_tag('symfony.gif', 'align=bottom'), 'http://www.symfony-project.com/') ]); ?>
  <?php echo link_to(image_tag('DO_Proudly_Hosted_Badge_Blue-735d53ec.png',
                               [ 'alt' => 'Powered by Digital Ocean', 'size' => '75x20' ]),
                     'https://www.digitalocean.com/'); ?>
</div>
<?php
//Google analytics
if ($_SERVER['SERVER_NAME'] == 'sandbox.metadataregistry.org') {
  echo '<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>';
  echo javascript_tag('
      _uacct = "UA-840150-2";
      urchinTracker();
    ');
}

if ($_SERVER['SERVER_NAME'] == 'metadataregistry.org') {
  echo '<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>';
  echo javascript_tag('
      _uacct = "UA-840150-1";
      urchinTracker();
    ');
}
{'fraction_non_alphanumeric': 0.21825172452787517, 'fraction_numerical': 0.010064457763202533, 'mean_word_length': 3.8861878453038674, 'pattern_counts': {'":': 0, '<': 201, '<?xml version=': 0, '>': 221, 'https://': 5, 'lorem ipsum': 0, 'www.': 8, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 3, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4803785', 'n_tokens_mistral': 3128, 'n_tokens_neox': 3058, 'n_words': 550}