/usr/share/doc/swish++/examples/www_example/search.html is in swish++ 6.1.5-2.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | <!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US" xml:lang="en-US">
<head>
<title>Sample SWISH++ Search Form</title>
<meta name="description"
content="This is a toy example XHTML form to show how to interface SWISH++ to a web-based search form." />
<meta name="author" content="Paul J. Lucas" />
<meta name="copyright" content="Copyright (C) 2001 Paul J. Lucas" />
</head>
<body>
<script language="JavaScript">
<!--
function not_empty( the_field ) {
if ( the_field.value == "" ) {
alert( "The " + the_field.name + " field is required." );
the_field.focus();
return false;
}
return true;
}
// -->
</script>
<form action="search.cgi" onsubmit="return not_empty( Search )">
<input type="text" name="Search" size="30" /><br />
<input type="checkbox" name="Stem"><b>Stem words</b>
<input type="submit" value="Search" />
</form>
</body>
</html>
|