1fe04d644a
Copy pasting from an email introduced linebreaks :-(
69 lines
2.9 KiB
Bash
Executable file
69 lines
2.9 KiB
Bash
Executable file
#!/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>
|
|
<li><a href="http://blogs.gnome.org/foundation/">Blog</a></li>
|
|
<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>
|
|
<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> ·
|
|
<a href="http://www.gnome.org/start/stable/">Download</a> ·
|
|
<!--<a href="http://www.gnome.org/contribute/"><i>Get Involved!</i></a> ·-->
|
|
<a href="http://www.gnome.org/">Users</a> ·
|
|
<a href="http://library.gnome.org/devel">Developers</a> ·
|
|
<a href="http://foundation.gnome.org/"><b>Foundation</b></a> ·
|
|
<a href="http://www.gnome.org/contact/">Contact</a>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="copyright">
|
|
Copyright © 2005-2009, <a href="http://www.gnome.org/">The GNOME Project</a>.<br />
|
|
Maintained by the GNOME Foundation <a href="mailto:board-list@gnome.org">Board of Directors</a> and <a href="mailto:membership-committee@gnome.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 {
|
|
var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", 1);
|
|
piwikTracker.trackPageView();
|
|
piwikTracker.enableLinkTracking();
|
|
} catch( err ) {}
|
|
</script><noscript><p><img src="http://webstats.gnome.org/piwik.php?idsite=1" style="border:0" alt=""/></p></noscript>
|
|
<!-- End Piwik Tag -->
|
|
|
|
</body>
|
|
|
|
</html>
|
|
FOOT
|