<commit_before>
<div id="logo">
  <a href="http://sites.stfx.ca/library/" title="StFX library website">
    <img src="../uploaded_files/STFX/stfx_logo.jpg" alt="stfx logo"/>
  </a>
</div>

<div id="header-links">
  <a href="/primo_library/libweb/action/search.do?&vid=STFX">New Search</a>
  |
  <a href="http://sites.stfx.ca/library/document_delivery">Document Delivery</a>
  |  
  <a href="http://sites.stfx.ca/library/electronic_resources">Electronic Resources</a>
  |
  <a href="http://stfx.libguides.com/">Subject Guides</a>
  |
  <a title="Get help using this portal" target="popup" href="helpHandler.do?helpId=search" class="EXLMainMenuITEMHelp" target="popup" onclick="openWindow(this.href, this.target, 'top=100,left=50,width=600,height=500,resizable=1,scrollbars=1'); return false;">Help</a>
</div>

<script type="text/javascript">
//<![CDATA[
//All this does is change the favicon from the Ex Libris Rainbow Swirl to the Novanet icon.

var novanet = novanet || {};

novanet.current_view = 'STFX'; //change this for each View
novanet.upload_folder = '/primo_library/libweb/uploaded_files/NOVANET_TEMPLATE'; //do not change this per-view -- files referenced here are all stored in NOVANET_TEMPLATE
novanet.$head = $('head');
novanet.headElements = [];  //an array of DOMElements we will add to the <head> node at the end of this script.

//remove Ex Libris apple-touch-icon
$("link[rel=apple-touch-icon]").remove();

//add our own favicon
novanet.headElements.push(
  $('<link>').attr({
    rel: 'shortcut icon',
    href: 'http://www.novanet.ns.ca/favicon.ico'
  }).get()
);


//add Novanet apple-touch-icons
$.each(['57', '114', '72', '144', '60', '120', '76', '152', '180'], function(idx, s){
  var szstring = s + 'x' + s;
  novanet.headElements.push(
    $('<link>').attr({
      rel:   'apple-touch-icon',
      sizes: szstring,
      href: novanet.upload_folder + '/apple-touch-icon-' + szstring + '.png'
    }).get()
  );  
});

//add .png favicons for those browsers that can take higher-res versions.
//the order of the sizes array is important, especially the first and last elements.
$.each(['192', '160', '96', '16', '32'], function(idx, s){
  var szstring = s + 'x' + s;
  novanet.headElements.push(
    $('<link>').attr({
      rel  : 'icon',
      sizes: szstring,
      href : novanet.upload_folder + '/favicon-' + szstring + '.png'
    }).get()
  );
});

//add some msapplication crap for "Pinned Sites"
var metas = [
{name: 'application-name', content: 'Novanet'},
{name: 'msapplication-TileColor', content: '#2d89ef'},
{name: 'msapplication-TileImage', content: novanet.upload_folder + '/mstile-144x144.png'},
{name: 'msapplication-starturl', content: '/primo_library/libweb/action/search.do?&vid=' + novanet.current_view},
{name: 'msapplication-tooltip', content: 'Search Novanet'},
{name: 'msapplication-task', content: 'name=New Search;action-uri=/primo_library/libweb/action/search.do?&vid=' + novanet.current_view + ';icon-uri=/link to magnifying glass'},
{name: 'msapplication-config', content: novanet.upload_folder + '/browserconfig.xml'}
];
$.each(metas, function(idx, attrs){
  novanet.headElements.push(
    $('<meta>').attr(attrs).get()
  );
});

//console.log('additions: ' + novanet.headElements.length);

//add all the new elements to the DOM:
novanet.$head.append(novanet.headElements);

//console.log(novanet.$head);

//Todo.  Add opensearch description link tag.

// ]]>
</script>

<commit_msg>STFX header links change in sandbox<commit_after>
<div id="logo">
  <a href="http://sites.stfx.ca/library/" title="StFX library website">
    <img src="../uploaded_files/STFX/stfx_logo.jpg" alt="stfx logo"/>
  </a>
</div>

<div id="header-links">
  <a href="/primo_library/libweb/action/search.do?&vid=STFX">New Search</a>
  |
  <a href="http://stfx.libguides.com/">Subject Guides</a>
  |
  <a href="http://sites.stfx.ca/library/livehelp">Contact Us</a>
  |
  <a title="Get help using this portal" target="popup" href="helpHandler.do?helpId=search" class="EXLMainMenuITEMHelp" target="popup" onclick="openWindow(this.href, this.target, 'top=100,left=50,width=600,height=500,resizable=1,scrollbars=1'); return false;">Help</a>
</div>

<script type="text/javascript">
//<![CDATA[
//All this does is change the favicon from the Ex Libris Rainbow Swirl to the Novanet icon.

var novanet = novanet || {};

novanet.current_view = 'STFX'; //change this for each View
novanet.upload_folder = '/primo_library/libweb/uploaded_files/NOVANET_TEMPLATE'; //do not change this per-view -- files referenced here are all stored in NOVANET_TEMPLATE
novanet.$head = $('head');
novanet.headElements = [];  //an array of DOMElements we will add to the <head> node at the end of this script.

//remove Ex Libris apple-touch-icon
$("link[rel=apple-touch-icon]").remove();

//add our own favicon
novanet.headElements.push(
  $('<link>').attr({
    rel: 'shortcut icon',
    href: 'http://www.novanet.ns.ca/favicon.ico'
  }).get()
);


//add Novanet apple-touch-icons
$.each(['57', '114', '72', '144', '60', '120', '76', '152', '180'], function(idx, s){
  var szstring = s + 'x' + s;
  novanet.headElements.push(
    $('<link>').attr({
      rel:   'apple-touch-icon',
      sizes: szstring,
      href: novanet.upload_folder + '/apple-touch-icon-' + szstring + '.png'
    }).get()
  );  
});

//add .png favicons for those browsers that can take higher-res versions.
//the order of the sizes array is important, especially the first and last elements.
$.each(['192', '160', '96', '16', '32'], function(idx, s){
  var szstring = s + 'x' + s;
  novanet.headElements.push(
    $('<link>').attr({
      rel  : 'icon',
      sizes: szstring,
      href : novanet.upload_folder + '/favicon-' + szstring + '.png'
    }).get()
  );
});

//add some msapplication crap for "Pinned Sites"
var metas = [
{name: 'application-name', content: 'Novanet'},
{name: 'msapplication-TileColor', content: '#2d89ef'},
{name: 'msapplication-TileImage', content: novanet.upload_folder + '/mstile-144x144.png'},
{name: 'msapplication-starturl', content: '/primo_library/libweb/action/search.do?&vid=' + novanet.current_view},
{name: 'msapplication-tooltip', content: 'Search Novanet'},
{name: 'msapplication-task', content: 'name=New Search;action-uri=/primo_library/libweb/action/search.do?&vid=' + novanet.current_view + ';icon-uri=/link to magnifying glass'},
{name: 'msapplication-config', content: novanet.upload_folder + '/browserconfig.xml'}
];
$.each(metas, function(idx, attrs){
  novanet.headElements.push(
    $('<meta>').attr(attrs).get()
  );
});

//console.log('additions: ' + novanet.headElements.length);

//add all the new elements to the DOM:
novanet.$head.append(novanet.headElements);

//console.log(novanet.$head);

//Todo.  Add opensearch description link tag.

// ]]>
</script>


{'fraction_non_alphanumeric': 0.18819025180385804, 'fraction_numerical': 0.016786923869827712, 'mean_word_length': 4.3522458628841605, 'pattern_counts': {'":': 0, '<': 51, '<?xml version=': 0, '>': 51, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 2, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4600136', 'n_tokens_mistral': 2501, 'n_tokens_neox': 2396, 'n_words': 556}