<commit_before><?php
	require_once('include/class.navigation.php');

	function hook_render_placeholder_topNav() {
		$topNavData = '{
			"pages": [
				{
					"title": "Nav 1",
					"link": "/nav1/"
				}, {
					"title": "Nav 2",
					"link": "/nav2/",
					"pages": [
						{
							"title": "Subnav 1",
							"link": "/downloads/fpo.pdf",
							"target": "_blank"
						}
					]
				}
			]
		}';

		$topNav = new Navigation($topNavData);
		$topNav->setCurrent($_SERVER['SCRIPT_NAME']);

		return $topNav->show();
	}

	Hook::applyFilter('render_placeholder_topNav', 'hook_render_placeholder_topNav');<commit_msg>No longer requires a require because of bootstrap<commit_after><?php
	function hook_render_placeholder_topNav() {
		$topNavData = '{
			"pages": [
				{
					"title": "Nav 1",
					"link": "/nav1/"
				}, {
					"title": "Nav 2",
					"link": "/nav2/",
					"pages": [
						{
							"title": "Subnav 1",
							"link": "/downloads/fpo.pdf",
							"target": "_blank"
						}
					]
				}
			]
		}';

		$topNav = new Navigation($topNavData);
		$topNav->setCurrent($_SERVER['SCRIPT_NAME']);

		return $topNav->show();
	}

	Hook::applyFilter('render_placeholder_topNav', 'hook_render_placeholder_topNav');
{'fraction_non_alphanumeric': 0.1921182266009852, 'fraction_numerical': 0.008210180623973728, 'mean_word_length': 2.8333333333333335, 'pattern_counts': {'":': 18, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6243915', 'n_tokens_mistral': 584, 'n_tokens_neox': 427, 'n_words': 69}