<commit_before><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="robots" content="noindex,nofollow" />
<?php echo $html->meta('favicon.ico',
	$html->url('/favicon.ico'),
    array('type' => 'icon')
);?>
<?php
echo $html->css(array('/brownie/css/brownie', '/brownie/css/fancybox/jquery.fancybox-1.3.1'));
echo $javascript->link(array(
	'/brownie/js/jquery-1.3.2.min',
	'/brownie/js/jquery.fancybox-1.3.1.pack',
	'/brownie/js/jquery.selso',
	'/brownie/js/jquery.comboselect',
	'/brownie/js/brownie'
));
echo $scripts_for_layout;
?>
<title><?php echo $title_for_layout; ?></title>
</head>
<body>
	<div id="container">
		<div id="header">
			<h1>
			<?php echo $html->link($companyName, array('plugin' => 'brownie', 'controller' => 'brownie', 'action' => 'index'));?>
			</h1>
		</div>
		<?php
		if(!empty($authUser)){
			echo '
			<div id="options-bar">
				<p>' . sprintf(__d('brownie', 'Welcome %s', true), $authUser['username']) . '</p>
				<ul>
					<li class="home">'.$html->link(__d('brownie', 'Home', true),
					array('controller' => 'brownie', 'action' => 'index')) . '</li>';

					if($isUserRoot) {
						echo '
						<li class="users">' . $html->link(__d('brownie', 'Users', true),
						array('controller' => 'contents', 'action' => 'index', 'BrwUser')) . '</li>
						<li class="groups">' . $html->link(__d('brownie', 'Users groups', true),
						array('controller' => 'contents', 'action' => 'index', 'BrwGroup')) . '</li>';
					}

					echo'
					<li class="logout">'.$html->link(__d('brownie', 'Logout', true),
					array('controller' => 'users', 'action' => 'logout')).'</li>
				</ul>
			</div>
			<div id="menu">'. $this->element('menu') . '</div>
			<div id="content">';
			$session->flash();
			echo $content_for_layout;
			echo '</div>';
		} else {
			$session->flash();
			echo $content_for_layout;
		}
		?>
	</div>
	<div id="footer">&nbsp;</div>
</body>
</html><commit_msg>echo for $session->flash() cake1.3 fix<commit_after><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="robots" content="noindex,nofollow" />
<?php echo $html->meta('favicon.ico',
	$html->url('/favicon.ico'),
    array('type' => 'icon')
);?>
<?php
echo $html->css(array('/brownie/css/brownie', '/brownie/css/fancybox/jquery.fancybox-1.3.1'));
echo $javascript->link(array(
	'/brownie/js/jquery-1.3.2.min',
	'/brownie/js/jquery.fancybox-1.3.1.pack',
	'/brownie/js/jquery.selso',
	'/brownie/js/jquery.comboselect',
	'/brownie/js/brownie'
));
echo $scripts_for_layout;
?>
<title><?php echo $title_for_layout; ?></title>
</head>
<body>
	<div id="container">
		<div id="header">
			<h1>
			<?php echo $html->link($companyName, array('plugin' => 'brownie', 'controller' => 'brownie', 'action' => 'index'));?>
			</h1>
		</div>
		<?php
		if(!empty($authUser)){
			echo '
			<div id="options-bar">
				<p>' . sprintf(__d('brownie', 'Welcome %s', true), $authUser['username']) . '</p>
				<ul>
					<li class="home">'.$html->link(__d('brownie', 'Home', true),
					array('controller' => 'brownie', 'action' => 'index')) . '</li>';

					if($isUserRoot) {
						echo '
						<li class="users">' . $html->link(__d('brownie', 'Users', true),
						array('controller' => 'contents', 'action' => 'index', 'BrwUser')) . '</li>
						<li class="groups">' . $html->link(__d('brownie', 'Users groups', true),
						array('controller' => 'contents', 'action' => 'index', 'BrwGroup')) . '</li>';
					}

					echo'
					<li class="logout">'.$html->link(__d('brownie', 'Logout', true),
					array('controller' => 'users', 'action' => 'logout')).'</li>
				</ul>
			</div>
			<div id="menu">'. $this->element('menu') . '</div>
			<div id="content">';
			echo $session->flash();
			echo $content_for_layout;
			echo '</div>';
		} else {
			echo $session->flash();
			echo $content_for_layout;
		}
		?>
	</div>
	<div id="footer">&nbsp;</div>
</body>
</html>
{'fraction_non_alphanumeric': 0.2605617181968374, 'fraction_numerical': 0.011328770356384235, 'mean_word_length': 3.922183507549361, 'pattern_counts': {'":': 0, '<': 87, '<?xml version=': 0, '>': 136, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 2}, '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': '5869116', 'n_tokens_mistral': 1861, 'n_tokens_neox': 1596, 'n_words': 279}