Permalink
Browse files

Started integrating GoogieSpell

  • Loading branch information...
thomascube committed May 1, 2006
1 parent fecb03f commit dd53e2b489e8787bb339511e33f2d6c4fd5efe3f
View
@@ -1,6 +1,12 @@
CHANGELOG RoundCube Webmail
---------------------------
+- Applied prev/next patch by Leonard Bouchet
+- Applied patches by Mark Bucciarelli
+- Applied patch for requesting receipts by Salvatore Ansani
+- Integrated GoogieSpell as suggested by phil (styling is not perfect yet, localization is missing)
+
+
2006/04/13
----------
- Added Slovenian localization
View
@@ -2,7 +2,7 @@
/*
+-----------------------------------------------------------------------+
| RoundCube Webmail IMAP Client |
- | Version 0.1-20060402 |
+ | Version 0.1-20060501 |
| |
| Copyright (C) 2005, RoundCube Dev. - Switzerland |
| Licensed under the GNU GPL |
@@ -40,7 +40,7 @@
*/
-define('RCMAIL_VERSION', '0.1-20060402');
+define('RCMAIL_VERSION', '0.1-20060501');
// define global vars
$CHARSET = 'UTF-8';
@@ -276,7 +276,10 @@
include('program/steps/mail/list.inc');
if ($_action=='search')
- include('program/steps/mail/search.inc');
+ include('program/steps/mail/search.inc');
+
+ if ($_action=='spell')
+ include('program/steps/mail/spell.inc');
if ($_action=='rss')
include('program/steps/mail/rss.inc');
View
@@ -321,8 +321,9 @@ function load_gui()
$javascript .= "$JS_OBJECT_NAME.set_env('framed', true);\n";
$OUTPUT->add_script($javascript);
- $OUTPUT->include_script('program/js/common.js');
- $OUTPUT->include_script('program/js/app.js');
+ $OUTPUT->include_script('common.js');
+ $OUTPUT->include_script('app.js');
+ $OUTPUT->scripts_path = 'program/js/';
// set locale setting
rcmail_set_locale($sess_user_lang);
@@ -193,6 +193,7 @@ class rcube_html_page
// correct absolute pathes in images and other tags
$output = preg_replace('/(src|href|background)=(["\']?)(\/[a-z0-9_\-]+)/Ui', "\\1=\\2$base_path\\3", $output);
+ $output = str_replace('$__skin_path', $base_path, $output);
print rcube_charset_convert($output, 'UTF-8', $this->charset);
}
View
@@ -363,5 +363,36 @@ function rcube_get_object_pos(obj)
return {x:iX, y:iY};
}
+
+
+// cookie functions by GoogieSpell
+function setCookie(name, value, expires, path, domain, secure)
+ {
+ var curCookie = name + "=" + escape(value) +
+ (expires ? "; expires=" + expires.toGMTString() : "") +
+ (path ? "; path=" + path : "") +
+ (domain ? "; domain=" + domain : "") +
+ (secure ? "; secure" : "");
+ document.cookie = curCookie;
+ }
+
+function getCookie(name)
+ {
+ var dc = document.cookie;
+ var prefix = name + "=";
+ var begin = dc.indexOf("; " + prefix);
+ if (begin == -1)
+ {
+ begin = dc.indexOf(prefix);
+ if (begin != 0) return null;
+ }
+ else
+ begin += 2;
+ var end = document.cookie.indexOf(";", begin);
+ if (end == -1)
+ end = dc.length;
+ return unescape(dc.substring(begin + prefix.length, end));
+ }
+
var bw = new roundcube_browser();
Oops, something went wrong.

0 comments on commit dd53e2b

Please sign in to comment.