<commit_before><?php

/**
 * Override or insert variables into the html templates.
 */
function ggp_theme_preprocess_html(&$vars) {
  global $theme_key;
  // Load the media queries styles
  // Remember to rename these files to match the names used here - they are
  // in the CSS directory of your subtheme.
  $media_queries_css = array(
    'ggp_theme.responsive.style.css',
    'ggp_theme.responsive.gpanels.css'
  );
  load_subtheme_media_queries($media_queries_css, 'ggp_theme');
  drupal_add_js(array('ggp_theme' => array('background' => file_create_url(theme_get_setting('bg_image_path')))), 'setting');

   // Fonts
  $fonts = array(
    'bf'  => 'base_font',
    'snf' => 'site_name_font',
    'ssf' => 'site_slogan_font',
    'ptf' => 'page_title_font',
    'ntf' => 'node_title_font',
    'ctf' => 'comment_title_font',
    'btf' => 'block_title_font'
  );
  $families = get_font_families($fonts, $theme_key);
  if (!empty($families)) {
    foreach ($families as $family) {
      $vars['classes_array'][] = $family;
    }
  }
 /**
  * Load IE specific stylesheets
  * AT automates adding IE stylesheets, simply add to the array using
  * the conditional comment as the key and the stylesheet name as the value.
  *
  * See our online help: http://adaptivethemes.com/documentation/working-with-internet-explorer
  *
  * For example to add a stylesheet for IE8 only use:
  *
  *  'IE 8' => 'ie-8.css',
  *
  * Your IE CSS file must be in the /css/ directory in your subtheme.
  */
  /* -- Delete this line to add a conditional stylesheet for IE 7 or less.
  $ie_files = array(
    'lte IE 7' => 'ie-lte-7.css',
  );
  load_subtheme_ie_styles($ie_files, 'ggp_theme');
  // */
}

 /*-- Delete this line if you want to use this function
function ggp_theme_process_html(&$vars) {

}
// */

/**
 * Override or insert variables into the page templates.
 */
/* -- Delete this line if you want to use these functions
function ggp_theme_preprocess_page(&$vars) {
}

function ggp_theme_process_page(&$vars) {
}
// */

/**
 * Override or insert variables into the node templates.
 */
/* -- Delete this line if you want to use these functions
function ggp_theme_preprocess_node(&$vars) {
}

function ggp_theme_process_node(&$vars) {
}
// */

/**
 * Override or insert variables into the comment templates.
 */
/* -- Delete this line if you want to use these functions
function ggp_theme_preprocess_comment(&$vars) {
}

function ggp_theme_process_comment(&$vars) {
}
// */

/**
 * Override or insert variables into the block templates.
 */
function ggp_theme_preprocess_block(&$vars) {<commit_msg>removed pubdate from time elements<commit_after><?php

/**
 * Override or insert variables into the html templates.
 */
function ggp_theme_preprocess_html(&$vars) {
  global $theme_key;
  // Load the media queries styles
  // Remember to rename these files to match the names used here - they are
  // in the CSS directory of your subtheme.
  $media_queries_css = array(
    'ggp_theme.responsive.style.css',
    'ggp_theme.responsive.gpanels.css'
  );
  load_subtheme_media_queries($media_queries_css, 'ggp_theme');
  drupal_add_js(array('ggp_theme' => array('background' => file_create_url(theme_get_setting('bg_image_path')))), 'setting');

   // Fonts
  $fonts = array(
    'bf'  => 'base_font',
    'snf' => 'site_name_font',
    'ssf' => 'site_slogan_font',
    'ptf' => 'page_title_font',
    'ntf' => 'node_title_font',
    'ctf' => 'comment_title_font',
    'btf' => 'block_title_font'
  );
  $families = get_font_families($fonts, $theme_key);
  if (!empty($families)) {
    foreach ($families as $family) {
      $vars['classes_array'][] = $family;
    }
  }
 /**
  * Load IE specific stylesheets
  * AT automates adding IE stylesheets, simply add to the array using
  * the conditional comment as the key and the stylesheet name as the value.
  *
  * See our online help: http://adaptivethemes.com/documentation/working-with-internet-explorer
  *
  * For example to add a stylesheet for IE8 only use:
  *
  *  'IE 8' => 'ie-8.css',
  *
  * Your IE CSS file must be in the /css/ directory in your subtheme.
  */
  /* -- Delete this line to add a conditional stylesheet for IE 7 or less.
  $ie_files = array(
    'lte IE 7' => 'ie-lte-7.css',
  );
  load_subtheme_ie_styles($ie_files, 'ggp_theme');
  // */
}

 /*-- Delete this line if you want to use this function
function ggp_theme_process_html(&$vars) {

}
// */

/**
 * Override or insert variables into the page templates.
 */
/* -- Delete this line if you want to use these functions
function ggp_theme_preprocess_page(&$vars) {
}

function ggp_theme_process_page(&$vars) {
}
// */

/**
 * Override or insert variables into the node templates.
 */

function ggp_theme_preprocess_node(&$vars) {
  // Publication date, formatted with time element
  $vars['publication_date'] = '<time datetime="' . $vars['datetime'] . '">' . $vars['date'] . '</time>';
   // Last updated formatted in time element
  $vars['last_update'] = '<time datetime="' . $vars['datetime_updated'] . '">' . $vars['custom_date_and_time'] . '</time>';


}

function ggp_theme_process_node(&$vars) {
}
// */

/**
 * Override or insert variables into the comment templates.
 */
/* -- Delete this line if you want to use these functions
function ggp_theme_preprocess_comment(&$vars) {
}

function ggp_theme_process_comment(&$vars) {
}
// */

/**
 * Override or insert variables into the block templates.
 */
function ggp_theme_preprocess_block(&$vars) {
{'fraction_non_alphanumeric': 0.13753424657534247, 'fraction_numerical': 0.002191780821917808, 'mean_word_length': 3.68034188034188, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 29, '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': '449806', 'n_tokens_mistral': 1867, 'n_tokens_neox': 1815, 'n_words': 506}