set link target=_blank to open links in new window/tab
[bookman] / index.cgi
1 #!/bin/zsh
2 echo 'Content-type: text/html\n'
3
4 cat <<NOTES
5 <!DOCTYPE HTML>
6 <html>
7   <head>
8     <title>Bookmarks!</title>
9     <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
10     <link rel="stylesheet" type="text/css" href="bookmarks.css">
11     <script type="text/javascript">
12     <!--
13     function show(id){
14       document.getElementById(id).style.display = "block";
15     }
16     function hide(id){
17       document.getElementById(id).style.display = "none";
18     }
19     -->
20     </script>
21   </head>
22   <body>
23 NOTES
24
25 if [ -z "${REMOTE_USER}" ]; then
26   . ./error.sh
27 else
28   . ./bookmarks.sh
29 fi
30
31 echo '</body></html>'