From 5ede560f8ceff1d2eb5d2dcd2bd7432acfa18f73 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 14 May 2007 09:08:18 +0100 Subject: [PATCH] add infobox overlay, layout fixes --- functions.js | 14 ++++++++++++++ modules/pref-filters.php | 2 +- modules/pref-labels.php | 2 +- modules/pref-users.php | 6 +++--- prefs.php | 2 ++ tt-rss.css | 12 ++++++++++++ tt-rss.php | 2 ++ 7 files changed, 35 insertions(+), 5 deletions(-) diff --git a/functions.js b/functions.js index 21a0da79..f308a3d2 100644 --- a/functions.js +++ b/functions.js @@ -1319,6 +1319,14 @@ function leading_zero(p) { } function closeInfoBox(cleanup) { + + if (!is_msie()) { + var overlay = document.getElementById("dialog_overlay"); + if (overlay) { + overlay.style.display = "none"; + } + } + var box = document.getElementById('infoBox'); var shadow = document.getElementById('infoBoxShadow'); @@ -1375,6 +1383,12 @@ function infobox_submit_callback() { function infobox_callback() { if (xmlhttp.readyState == 4) { + var overlay = document.getElementById("dialog_overlay"); + + if (overlay) { + overlay.style.display = "block"; + } + var box = document.getElementById('infoBox'); var shadow = document.getElementById('infoBoxShadow'); if (box) { diff --git a/modules/pref-filters.php b/modules/pref-filters.php index db2744b2..7445c0e0 100644 --- a/modules/pref-filters.php +++ b/modules/pref-filters.php @@ -260,7 +260,7 @@ print "   ".__('Filter expression')." - ".__('Feed')." + ".__('Feed')." ".__('Match')." ".__('Action').""; diff --git a/modules/pref-labels.php b/modules/pref-labels.php index 3b1f5829..5260e765 100644 --- a/modules/pref-labels.php +++ b/modules/pref-labels.php @@ -234,7 +234,7 @@ print "   ".__('Caption')." - ".__('SQL Expression')." + ".__('SQL Expression')." "; diff --git a/modules/pref-users.php b/modules/pref-users.php index b61323ad..156772b7 100644 --- a/modules/pref-users.php +++ b/modules/pref-users.php @@ -212,9 +212,9 @@ print "   - ".__('Login')." - ".__('Access Level')." - ".__('Last login').""; + ".__('Login')." + ".__('Access Level')." + ".__('Last login').""; $lnum = 0; diff --git a/prefs.php b/prefs.php index be0cd419..ca48f43f 100644 --- a/prefs.php +++ b/prefs.php @@ -131,6 +131,8 @@ window.onload = init;
 
BAH
+
+