ubuntu-bots/Encyclopedia/factoids.tmpl

68 lines
1.8 KiB
Cheetah

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<title>Ubottu factoids</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="favicon" href="favicon.ico" type="image/png" />
<link rel="stylesheet" href="bot.css" />
<script type="text/javascript">
var DHTML = (document.getElementById || document.all || document.layers);
function getObj(name) {
if (document.getElementById) {
this.obj = document.getElementById(name);
this.style = document.getElementById(name).style;
}
else if (document.all) {
this.obj = document.all[name];
this.style = document.all[name].style;
}
else if (document.layers) {
this.obj = document.layers[name];
this.style = document.layers[name];
}
}
function toggle(item,prefix) {
var c = new getObj(prefix + '_' + item);
if ( c.style.display == 'inline' ) {
c.style.display = 'none';
}
else {
if ( !c.innerHTML && prefix == 'log' ) {
loadlog(item);
}
else {
c.style.display = 'inline';
}
}
}
</script>
</head>
<body>
<div class="main">
<h1>Ubottu factoids</h1>
<div class="errors">
%e
</div>
<p>
<a href="/">Home</a> &middot;
<a href="https://launchpad.net/ubuntu-bots">Launchpad</a> &middot;
<a href="ubuntu.db">Ubuntu database file</a>
</p>
<form action="factoids.cgi" method="GET">
<input class="input" type="text" name="search" />
<input class="input" type="submit" value="Search">
</form>
<p>
%s
</p>
<p>
&copy;2006-2007 Dennis Kaarsemaker<br />
&copy;2008-2009 Terence Simpson<br />
&copy;2018 Krytarik Raido
</p>
</div>
</body>
</html>