From: Matt Date: Sat, 7 Feb 2009 06:42:02 +0000 (+0000) Subject: * Fix user push email config X-Git-Tag: v7.86~1485 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=d7069aa427060cf5f4e3a6eb919f0a36cdda86c1 * Fix user push email config * Roomlist styling fix: neutralize link colors, underline the current room --- diff --git a/webcit/pushemail.c b/webcit/pushemail.c index 2f8c6a130..5c55ddc39 100644 --- a/webcit/pushemail.c +++ b/webcit/pushemail.c @@ -11,8 +11,6 @@ void display_pushemail(void) { int is_funambol = 0; char mobnum[20]; - svput("BOXTITLE", WCS_STRING, _("Push email and SMS settings")); - /* Find any existing settings*/ if (goto_config_room() == 0) { int msgnum = 0; @@ -51,6 +49,11 @@ void display_pushemail(void) { } } } + // TODO: do in a saner fashion. + svput("PUSH_NONE", WCS_STRING, " "); // defaults + svput("PUSH_TEXT", WCS_STRING, " "); + svput("PUSH_FNBL", WCS_STRING, " "); + svput("SMSNUM", WCS_STRING, " "); if (is_none) { svput("PUSH_NONE", WCS_STRING, "checked=\"checked\""); } else if (is_pager) { diff --git a/webcit/static/t/pushemail.html b/webcit/static/t/pushemail.html index 15711e910..e5db1a53e 100644 --- a/webcit/static/t/pushemail.html +++ b/webcit/static/t/pushemail.html @@ -5,7 +5,7 @@
-
+
@@ -22,15 +22,15 @@

>Notify Funambol server

+ "funambol" >Notify Funambol server

>Send a text message to... >Send a text message to... > (Use international format, without any leading zeros, spaces or hypens, like +61415011501)

>Don't send any notifications

+ "none" >Don't send any notifications

diff --git a/webcit/static/wclib.js b/webcit/static/wclib.js index 870ca031d..4e2d2976e 100644 --- a/webcit/static/wclib.js +++ b/webcit/static/wclib.js @@ -197,6 +197,10 @@ function switch_to_menu_buttons() { } function IconBarRoomList() { var currentExpanded = ctdlLocalPrefs.readPref("rooms_expanded"); + var curRoomName = ""; + if (document.getElementById("rmname")) { + curRoomName = getTextContent(document.getElementById("rmname")); + } currentDropTargets = new Array(); var iconbar = document.getElementById("iconbar"); roomlist = document.getElementById("roomlist"); @@ -216,7 +220,7 @@ function IconBarRoomList() { var mailboxRooms = GetMailboxRooms(); for(var i=0; i