diff options
author | Evan Prodromou <evan@controlyourself.ca> | 2009-07-29 11:49:01 -0400 |
---|---|---|
committer | Evan Prodromou <evan@controlyourself.ca> | 2009-07-29 11:49:01 -0400 |
commit | 2b834d04d9d57db0709b829260cae87aae9136f3 (patch) | |
tree | 3ed52b21784d0cb8bdf0c1cbb553ef56e472cafd | |
parent | 18573632b463c8ecf865b8a6f6a1887fa91e5ca7 (diff) | |
parent | f3352254b792b201b1acaa93c9f58530c671ad11 (diff) |
Merge branch '0.8.x' of git@gitorious.org:laconica/mainline into 0.8.x
-rw-r--r-- | db/laconica_pg.sql | 10 | ||||
-rwxr-xr-x | scripts/maildaemon.php | 3 | ||||
-rw-r--r-- | theme/base/css/ie6.css | 3 |
3 files changed, 16 insertions, 0 deletions
diff --git a/db/laconica_pg.sql b/db/laconica_pg.sql index 24581bad0..ad34720a2 100644 --- a/db/laconica_pg.sql +++ b/db/laconica_pg.sql @@ -519,6 +519,16 @@ create table group_alias ( ); create index group_alias_group_id_idx on group_alias (group_id); +create table session ( + + id varchar(32) primary key /* comment 'session ID'*/, + session_data text /* comment 'session data'*/, + created timestamp not null DEFAULT CURRENT_TIMESTAMP /* comment 'date this record was created'*/, + modified integer DEFAULT extract(epoch from CURRENT_TIMESTAMP) /* comment 'date this record was modified'*/ +); + +create index session_modified_idx on session (modified); + /* Textsearch stuff */ diff --git a/scripts/maildaemon.php b/scripts/maildaemon.php index a4003b6b2..3ef4d0638 100755 --- a/scripts/maildaemon.php +++ b/scripts/maildaemon.php @@ -317,6 +317,9 @@ class MailerDaemon } else if ($parsed->ctype_primary == 'text' && $parsed->ctype_secondary=='plain') { $msg = $parsed->body; + if(strtolower($parsed->ctype_parameters['charset']) != "utf-8"){ + $msg = utf8_encode($msg); + } }else if(!empty($parsed->body)){ if(common_config('attachments', 'uploads')){ //only save attachments if uploads are enabled diff --git a/theme/base/css/ie6.css b/theme/base/css/ie6.css index eca240faa..edc49478f 100644 --- a/theme/base/css/ie6.css +++ b/theme/base/css/ie6.css @@ -35,3 +35,6 @@ width:20%; width:50%; margin-left:30px; } +.notice-options a { +width:16px; +}
\ No newline at end of file |