summaryrefslogtreecommitdiff
path: root/functions.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2007-03-02 20:16:45 +0100
committerAndrew Dolgov <[email protected]>2007-03-02 20:16:45 +0100
commit0d32b41e36fffa800991267b637d9344cb88fd2e (patch)
tree645e10ade87573dca2149b18a1c4a3973984c55a /functions.js
parentb05d782d90348a1c1a4d16b0e39695cbdf663629 (diff)
interface tweaks, add info/question/exclamation pics
Diffstat (limited to 'functions.js')
-rw-r--r--functions.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/functions.js b/functions.js
index 991c0715d..da12a3c36 100644
--- a/functions.js
+++ b/functions.js
@@ -155,11 +155,13 @@ function notify_real(msg, doc, no_hide, is_err) {
// n.style.backgroundColor = "#ffcccc";
// n.style.color = "black";
// n.style.borderColor = "#ff0000";
+ msg = "<img src='images/sign_excl.png'> " + msg;
} else {
n.className = "notify";
// n.style.backgroundColor = "#fff7d5";
// n.style.borderColor = "#d7c47a";
// n.style.color = "black";
+ msg = "<img src='images/sign_info.png'> " + msg;
}
// msg = "<img src='images/live_com_loading.gif'> " + msg;
@@ -1396,7 +1398,7 @@ function toggleSubmitNotEmpty(e, submit_id) {
}
function isValidURL(s) {
- return s.match("http://") != null || s.match("https://") != null;
+ return s.match("http://") != null || s.match("https://") != null || s.match("feed://") != null;
}
function qafAdd() {