Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
56 lines (40 sloc) 1.46 KB
<?php
$html_title = 'Get Involved with Mozilla';
$breadcrumbs = array('');
$top_menu = array('selected' => '/contribute');
$menu = array(
'id' => 'contribute',
'selected' => '/contribute/',
);
$extra_headers = '
<meta name="keywords" content="get involved, contribute, mozilla, support, l10n, localization, qa, firefox, foxfire, camino, thunderbird, bugzilla, seamonkey, calendar, lightning, open web, better internet, webmaker" />
<META NAME="WT.ad" CONTENT="news_c">';
$base = $config['file_root'];
$rest = "contribute/bugs/index.html";
$fname = "{$base}/{$rest}";
if (file_exists($fname)) {
$contents = file_get_contents($fname);
} else {
$contents = file_get_contents("{$base}/mozilla.org/{$rest}");
}
preg_match("/<!--UHOH-->(.*)<!--OHNO-->/mis", $contents, $matches);
$extra_headers .= $matches[1];
require_once "{$config['file_root']}/includes/forms/contribute-form-header.inc.php";
require_once "{$config['file_root']}/includes/header-2010.inc.php";
?>
<div id="main-content" class="contribute landing" style="width: 175%;">
<?php
preg_match("/<!--OHDEAR-->(.*)<!--OHHDEAR-->/mis", $contents, $matches);
echo $matches[1];
?>
</div>
<div id="sidebar">
<?php //$left_menu->display(); ?>
<?php //include "{$config['file_root']}/includes/forms/contribute-form.inc.php"; ?>
</div>
<?php
$extra_footers = '
<script type="text/javascript" src="/script/1.0/mozilla-pager.js"></script>
';
require_once "{$config['file_root']}/includes/footer-2010.inc.php";
?>