-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsearch.html
More file actions
83 lines (77 loc) · 2.42 KB
/
Copy pathsearch.html
File metadata and controls
83 lines (77 loc) · 2.42 KB
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<html> <!-- -*-coding:utf-8-*- -->
<head>
<title>Chaton @@room-name@@ > Search</title>
<link href="@@httpd-url@@@@url-path@@chaton.css" rel="Stylesheet" type="text/css" />
<script src="@@prototype-url@@" type="text/javascript"></script>
<script type="text/javascript">
<!--
function searchInRoom()
{
var w = $F('search-word');
var sr = $F('search-within-room');
var ss = $F('search-within-site');
if (w != '') {
var q = "http://www.google.com/search?q=" + encodeURI(w) + '+inurl:';
if (ss) q += '@@site-search-url@@';
else q += '@@httpd-url@@@@url-path@@';
q += '&filter=0';
document.location.href = q;
}
}
-->
</script>
</head>
<body id="the-body">
<h1 id="room-title">
<img class="room-icon" src="@@icon-url@@" align="absmiddle" alt="" />
@@room-name@@ > Search
</h1>
<div id="right-pane">
<div class="chaton-logo">
Built on <a href="http://chaton.practical-scheme.net/">Chaton</a>
</div>
<div class="room-description">
@@room-description@@
</div>
<div class="room-links">
<a href="@@httpd-url@@@@url-path@@badge.html">Badge</a> |
<a href="http://chaton.practical-scheme.net/doc/Tools">Tools</a>
</div>
</div>
<div id="left-pane">
<div class="search-box">
<form onsubmit="searchInRoom();return false;" id="search-form">
<p>
Search by Google:
<input type="text" name="word" id="search-word" size="20" />
<input type="submit" name="submit" id="search-button" value="Go" />
</p>
<p class="search-area">
<input type="radio" name="within" id="search-within-room" checked="checked" />
<label for="search-within-room">
in this room (<span class="search-area-url">@@httpd-url@@@@url-path@@</span>)
</label>
</p>
<p class="search-area">
<input type="radio" name="within" id="search-within-site" />
<label for="search-within-site">
across rooms under <span class="search-area-url">@@site-search-url@@</span>
</label>
</p>
</form>
</div>
<p class="search-note">
Search may yield no results unless Google has crawled the archive.
</p>
<p class="search-note">
Googleがアーカイブをまだクロールしていない場合、検索結果は出ません。
</p>
<p class="search-navigate">
<a href="@@httpd-url@@@@url-path@@">Return to the chat room</a>
</p>
<p class="search-navigate">
<a href="@@httpd-url@@@@url-path@@a/yesterday">Read archives</a>
</p>
</div>
</body>
</html>