voting/include/evilsedhack

70 lines
2.9 KiB
Text
Raw Normal View History

#!/bin/sh
PAGE=$1
ROOT=$2
sed "s,<head>,<head><meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" /><link rel=\"stylesheet\" type=\"text/css\" href=\"http://www.gnome.org/default.css\" /><link rel=\"stylesheet\" type=\"text/css\" href=\"$ROOT/foundation.css\" /><link rel=\"icon\" type=\"image/png\" href=\"http://www.gnome.org/img/logo/foot-16.png\" />,i;s,<body\([^>]*\)>,<body\1><div id=\"body\">,i;/<\/body>/,//d" $PAGE
cat <<-FOOT
</div>
<div id="sidebar">
<p class="section">Foundation</p>
<ul>
<li><a href="$ROOT/about/">About the Foundation</a></li>
2009-05-29 01:04:25 +00:00
<li><a href="http://blogs.gnome.org/foundation/">Blog</a></li>
2009-09-11 15:49:46 +00:00
<li><a href="$ROOT/reports/">Reports</a></li>
<li><a href="$ROOT/membership/">Membership</a></li>
<li><a href="$ROOT/elections/">Elections</a></li>
<li><a href="$ROOT/referenda/">Referenda</a></li>
2004-02-23 10:44:35 +00:00
<li><a href="$ROOT/legal/">Legal</a></li>
<li><a href="$ROOT/finance/">Finance</a></li>
<li><a href="$ROOT/contact/">Contact</a></li>
</ul>
<ul>
<li><a href="http://www.gnome.org/press/">Press</a></li>
<li><a href="http://www.gnome.org/friends/">Donate to GNOME</a></li>
</ul>
</div>
<div id="hdr">
<div id="logo"><a href="$ROOT/"><img src="http://www.gnome.org/img/spacer" alt="Home" /></a></div>
<div id="banner"><img src="http://www.gnome.org/img/spacer" alt="" /></div>
<p class="none"></p>
<div id="hdrNav">
<a href="http://www.gnome.org/about/">About GNOME</a> &middot;
<a href="http://www.gnome.org/start/stable/">Download</a> &middot;
<!--<a href="http://www.gnome.org/contribute/"><i>Get Involved!</i></a> &middot;-->
<a href="http://www.gnome.org/">Users</a> &middot;
<a href="http://library.gnome.org/devel">Developers</a> &middot;
<a href="http://foundation.gnome.org/"><b>Foundation</b></a> &middot;
<a href="http://www.gnome.org/contact/">Contact</a>
</div>
</div>
<div id="copyright">
Copyright &copy; 2005-2009, <a href="http://www.gnome.org/">The GNOME Project</a>.<br />
2004-02-23 10:36:08 +00:00
Maintained by the GNOME Foundation <a href="mailto:board-list&#64;gnome&#46;org">Board of Directors</a> and <a href="mailto:membership-committee&#64;gnome&#46;org">Membership Committee</a>.<br />
<a href="http://validator.w3.org/check/referer">Optimised</a> for
<a href="http://www.w3.org/">standards</a>.
Hosted by <a href="http://www.redhat.com/">Red Hat</a>.
</div>
<!-- Piwik -->
<script type="text/javascript">
var pkBaseURL = (("https:" == document.location.protocol) ? "https://webstats.gnome.org/" : "http://webstats.gnome.org/");
document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E"));
</script><script type="text/javascript">
try {
2009-11-10 05:49:11 +00:00
var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", 5);
piwikTracker.trackPageView();
piwikTracker.enableLinkTracking();
} catch( err ) {}
2009-11-10 05:49:11 +00:00
</script><noscript><p><img src="http://webstats.gnome.org/piwik.php?idsite=5" style="border:0" alt=""/></p></noscript>
<!-- End Piwik Tag -->
</body>
</html>
FOOT