* Improve input handling. * Enable multi-message output. * Improve request logging. * Add real delete function. * Improve factoid web page. * Extend factoid info output. * Count calls of aliases towards their own popularity. * Show info on deleted factoids too. * Improve factoid search algorithm. * Sort factoid search by popularity. * Improve command name structure. * Various other and minor improvements. * Update default configuration.
68 lines
1.8 KiB
Cheetah
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> ·
|
|
<a href="https://launchpad.net/ubuntu-bots">Launchpad</a> ·
|
|
<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>
|
|
©2006-2007 Dennis Kaarsemaker<br />
|
|
©2008-2009 Terence Simpson<br />
|
|
©2018 Krytarik Raido
|
|
</p>
|
|
</div>
|
|
</body>
|
|
</html>
|