UPDATE: Fixed overlapping folders, plus optimized it for Safari. the new version is now 1.1
Made this MobileMe skin for RoundCube, since I use MobileMe on a daily basic for private and RoundCube for business, and didn't really feel like using two difference webmail clients.
Just be aware that apple might not like me using there icons, so only use it privately.
Here is the readme of what needs to be done for optimal viewing pleasure. And you can download version 1.0 here
Config requirements:
Code:
$rcmail_config['list_cols'] = array('cg', 'from', 'subject', 'date', 'size');
$rcmail_config['default_imap_folders'] = array('INBOX', 'Drafts', 'Sent', 'Trash', 'Junk');
$rcmail_config['skin_path'] = 'skins/MobileMe/';
$rcmail_config['preview_pane'] = TRUE;
"/program/js/app.js"
FIND this.button_sel = function(command, id)
CHANGE:
Code:
if (img && button.sel)
img.src = button.sel;
TO:
Code:
if (img && button.sel) {
img.src = button.sel;
if (command == "delete" || command == "reply" || command == "reply-all" || command == "forward" || command == "checkmail" || command == "compose" || command == "viewsource" || (command == "add" && id != "rcmbtn108") || command == "edit" || command == "export")
img.parentNode.style.backgroundImage = "url(skins/MobileMe/images/buttons/buttonbg_press.png)";
else if (command != "firstpage" && command != "previouspage" && command != "nextpage" && command != "lastpage" && command != "firstmessage" && command != "previousmessage" && command != "nextmessage" && command != "lastmessage" && command != "add-attachment" && id != "rcmbtn108")
img.parentNode.style.backgroundImage = "url(skins/MobileMe/images/buttons/buttonbgblue_press.png)";
else if (id == "rcmbtn113" || id == "rcmbtn114")
img.parentNode.style.backgroundImage = "url(skins/MobileMe/images/buttons/buttonbgblue_press.png)";
}
FIND: this.button_out = function(command, id)
CHANGE:
Code:
if (img && button.act)
img.src = button.act;
TO:
Code:
if (img && button.act) {
img.src = button.act;
if (command == "delete" || command == "reply" || command == "reply-all" || command == "forward" || command == "checkmail" || command == "compose" || command == "viewsource" || (command == "add" && id != "rcmbtn108") || command == "edit" || command == "export")
img.parentNode.style.backgroundImage = "url(skins/MobileMe/images/buttons/buttonbg.png)";
else if (command != "firstpage" && command != "previouspage" && command != "nextpage" && command != "lastpage" && command != "firstmessage" && command != "previousmessage" && command != "nextmessage" && command != "lastmessage" && command != "add-attachment" && id != "rcmbtn108")
img.parentNode.style.backgroundImage = "url(skins/MobileMe/images/buttons/buttonbgblue.png)";
else if (id == "rcmbtn113" || id == "rcmbtn114")
img.parentNode.style.backgroundImage = "url(skins/MobileMe/images/buttons/buttonbgblue.png)";
}
"/program/steps/mail/func.inc"
CHANGE:
Code:
$standard_headers = array('subject', 'from', 'organization', 'to', 'cc', 'bcc', 'reply-to', 'date');
TO:
Code:
$standard_headers = array('from', 'subject', 'date', 'to', 'organization', 'cc', 'bcc', 'reply-to');
--
And some screenshots:



View mail
Compose
Compose HTML
Contacts
Settings