WWW improvements, fixes and a bug.
This commit is contained in:
1
dist/config/bbs.ini
vendored
1
dist/config/bbs.ini
vendored
@@ -16,6 +16,7 @@ Automessage Write Level = 10
|
||||
Fork = false
|
||||
Enable WWW = false
|
||||
WWW Port = 8080
|
||||
WWW URL = http://127.0.0.1:8080/
|
||||
Enable SSH = false
|
||||
SSH Port = 2024
|
||||
SSH DSA Key = /home/andrew/MagickaBBS/keys/ssh_host_dsa_key
|
||||
|
12
dist/www/header.tpl
vendored
12
dist/www/header.tpl
vendored
@@ -1,19 +1,19 @@
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>Magicka BBS</TITLE>
|
||||
<link rel="stylesheet" type="text/css" href="/static/style.css">
|
||||
<link rel="stylesheet" type="text/css" href="@@WWW_URL@@static/style.css">
|
||||
<meta charset="utf-8">
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<div class="header">
|
||||
<img src="/static/header.png" alt="Magicka BBS" />
|
||||
<img src="@@WWW_URL@@static/header.png" alt="Magicka BBS" />
|
||||
</div>
|
||||
<div class="menu">
|
||||
<ul>
|
||||
<li><a href="/">Home</a></li>
|
||||
<li><a href="/last10/">Last 10 Callers</a></li>
|
||||
<li><a href="/email/">Email</a></li>
|
||||
<li><a href="/msgs/">Conferences</a></li>
|
||||
<li><a href="@@WWW_URL@@">Home</a></li>
|
||||
<li><a href="@@WWW_URL@@last10/">Last 10 Callers</a></li>
|
||||
<li><a href="@@WWW_URL@@email/">Email</a></li>
|
||||
<li><a href="@@WWW_URL@@msgs/">Conferences</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<hr />
|
||||
|
Reference in New Issue
Block a user