Commit 70e5f819 authored by David Byers's avatar David Byers
Browse files

Fixed bugs 685 and 683.

Updated web pages so they sort of work in Netscape 4
parent 1d1deffe
2002-08-01 David Byers <david.byers@swipnet.se>
Fix bug 685:
* flags.el (lyskom-read-options): The return value is now nil on
all error conditions (no user area, invalid person etc).
Fix bug 683:
* startup.el (kom-start-anew): Don't accept empty string as a
name.
2002-07-30 David Byers <david.byers@swipnet.se>
Fix bug 675:
......
......@@ -180,20 +180,24 @@
(defun lyskom-read-options ()
"Reads the user-area and sets the variables according to the choises."
"Reads the user-area and sets the variables according to the choises.
Returns a list of variables that were ignored."
(if (and lyskom-pers-no
(not (zerop lyskom-pers-no)))
(let ((pers-stat (blocking-do 'get-pers-stat lyskom-pers-no)))
(if (not pers-stat) ;+++ Other error handler.
(lyskom-insert-string 'you-dont-exist)
(progn (lyskom-insert-string 'you-dont-exist)
nil)
(setq lyskom-other-clients-user-areas nil)
(if (zerop (pers-stat->user-area pers-stat))
(progn
;; (lyskom-tell-phrases-validate)
(setq lyskom-options-done t))
(setq lyskom-options-done t)
nil)
(lyskom-read-options-eval
(blocking-do 'get-text
(pers-stat->user-area pers-stat))))))))
(pers-stat->user-area pers-stat))))))
nil))
(defun lyskom-read-options-eval (text)
"Handles the call from where we have the text.
......
......@@ -501,7 +501,10 @@ shown to other users."
'(pers)))))
(if new-me
nil
(let ((name (lyskom-read-conf-name
(let ((name nil))
(while (or (null name)
(string= name ""))
(setq name (lyskom-read-conf-name
(lyskom-get-string 'what-is-your-name)
'(pers none) t "" t)))
(setq new-me
......
......@@ -3,6 +3,7 @@
<html>
<head>
<title>The LysKOM Elisp Client</title>
<style type="text/css">
body {
font-family: sans-serif;
......@@ -19,10 +20,8 @@
a:visited { color: #551a8b; }
a:active { color: #ff0000; }
img.icon {
width: 40px;
height: 40px;
border: none;
.icon {
border: 0px;
}
</style>
......@@ -40,7 +39,7 @@
</h1>
</td>
<td align="right">
<a href="/"><img class="icon" src="http://www.lysator.liu.se/icons/lyslogo.gif" alt="" /></a>
<a href="/"><img class="icon" src="http://www.lysator.liu.se/icons/lyslogo-icon.gif" alt="" /></a>
<a href="/Main.html"><img class="icon" src="http://www.lysator.liu.se/icons/wwwlysator.gif" alt="" /></a>
<a href="/lyskom/"><img class="icon" src="http://www.lysator.liu.se/icons/lyskom.gif" alt="" /></a>
<img class="icon" src="http://www.lysator.liu.se/icons/elispclient.gif" alt="" />
......@@ -219,7 +218,7 @@
<p>
<i>June 2002</i> &bull; Since some time all bug reports
and feature requests for the elisp client are liste in <a
and feature requests for the elisp client are listed in <a
href="http://bugzilla.lysator.liu.se/">Lysator's
bugzilla</a>.
</p>
......@@ -234,10 +233,10 @@
<td colspan="3" align="right">
<p>
<a href="http://jigsaw.w3.org/css-validator/validator-uri.html">
<img src="vcss.png" alt="Valid CSS 1.0" style="border: none" />
<img src="vcss.png" alt="Valid CSS 1.0" class="icon" />
</a>
<a href="http://validator.w3.org/check/referer">
<img src="valid-xhtml10.png" alt="Valid XHTML 1.0" style="border: none" />
<img src="valid-xhtml10.png" alt="Valid XHTML 1.0" class="icon" />
</a>
</p>
</td>
......
......@@ -3,6 +3,7 @@
<html>
<head>
<title>Elispklienten fr LysKOM</title>
<style type="text/css">
body {
font-family: sans-serif;
......@@ -19,11 +20,10 @@
a:visited { color: #551a8b; }
a:active { color: #ff0000; }
img.icon {
width: 40px;
height: 40px;
border: none;
.icon {
border: 0px;
}
</style>
</head>
......@@ -40,7 +40,7 @@
</h1>
</td>
<td align="right">
<a href="/"><img class="icon" src="http://www.lysator.liu.se/icons/lyslogo.gif" alt="" /></a>
<a href="/"><img class="icon" src="http://www.lysator.liu.se/icons/lyslogo-icon.gif" alt="" /></a>
<a href="/Main.html"><img class="icon" src="http://www.lysator.liu.se/icons/wwwlysator.gif" alt="" /></a>
<a href="/lyskom/"><img class="icon" src="http://www.lysator.liu.se/icons/lyskom.gif" alt="" /></a>
<img class="icon" src="http://www.lysator.liu.se/icons/elispclient.gif" alt="" />
......@@ -225,8 +225,8 @@
</p>
<p>
Hr kan du rsta p din favoritbug och ven rapportera
bugger och lgga in nya frbttringsfrslag.
Hr kan du rsta p din favoritbug och, rapportera
buggar och lgga in nya frbttringsfrslag.
</p>
</td>
</tr>
......@@ -234,10 +234,10 @@
<td colspan="3" align="right">
<p>
<a href="http://jigsaw.w3.org/css-validator/validator-uri.html">
<img src="vcss.png" alt="Valid CSS 1.0" style="border: none" />
<img src="vcss.png" alt="Valid CSS 1.0" class="icon" />
</a>
<a href="http://validator.w3.org/check/referer">
<img src="valid-xhtml10.png" alt="Valid XHTML 1.0" style="border: none" />
<img src="valid-xhtml10.png" alt="Valid XHTML 1.0" class="icon" />
</a>
</p>
</td>
......
......@@ -3,6 +3,7 @@
<html>
<head>
<title>Elispklienten fr LysKOM</title>
<style type="text/css">
body {
font-family: sans-serif;
......@@ -19,11 +20,10 @@
a:visited { color: #551a8b; }
a:active { color: #ff0000; }
img.icon {
width: 40px;
height: 40px;
border: none;
.icon {
border: 0px;
}
</style>
</head>
......@@ -40,7 +40,7 @@
</h1>
</td>
<td align="right">
<a href="/"><img class="icon" src="http://www.lysator.liu.se/icons/lyslogo.gif" alt="" /></a>
<a href="/"><img class="icon" src="http://www.lysator.liu.se/icons/lyslogo-icon.gif" alt="" /></a>
<a href="/Main.html"><img class="icon" src="http://www.lysator.liu.se/icons/wwwlysator.gif" alt="" /></a>
<a href="/lyskom/"><img class="icon" src="http://www.lysator.liu.se/icons/lyskom.gif" alt="" /></a>
<img class="icon" src="http://www.lysator.liu.se/icons/elispclient.gif" alt="" />
......@@ -225,8 +225,8 @@
</p>
<p>
Hr kan du rsta p din favoritbug och ven rapportera
bugger och lgga in nya frbttringsfrslag.
Hr kan du rsta p din favoritbug och, rapportera
buggar och lgga in nya frbttringsfrslag.
</p>
</td>
</tr>
......@@ -234,10 +234,10 @@
<td colspan="3" align="right">
<p>
<a href="http://jigsaw.w3.org/css-validator/validator-uri.html">
<img src="vcss.png" alt="Valid CSS 1.0" style="border: none" />
<img src="vcss.png" alt="Valid CSS 1.0" class="icon" />
</a>
<a href="http://validator.w3.org/check/referer">
<img src="valid-xhtml10.png" alt="Valid XHTML 1.0" style="border: none" />
<img src="valid-xhtml10.png" alt="Valid XHTML 1.0" class="icon" />
</a>
</p>
</td>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment