diff options
author | Dries Buytaert <dries@buytaert.net> | 2003-06-04 18:24:39 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2003-06-04 18:24:39 +0000 |
commit | 355d25e73d90f3174db459a5a380193e0505ada4 (patch) | |
tree | e7b2a531a259bbd83bdd1d482384bb753084bed5 /modules/system.module | |
parent | 3151a1cb71b972bc70aa083b2fd6a90ab36b7921 (diff) | |
download | brdo-355d25e73d90f3174db459a5a380193e0505ada4.tar.gz brdo-355d25e73d90f3174db459a5a380193e0505ada4.tar.bz2 |
- Bugfix: renamed the SQL field 'types' to 'nodes' because 'types' is a reserved keyword in MySQL 4. This fixes critical bug #1618. Patch by Marco.
==> This fix requires to run update.php!
- Bugfix: made sessions work without warnings when register_globals is turned off. The solution is to use $_SESSION instead of session_register(). This fixes critical bug #1797. Patch by Marco.
- Bugfix: sometimes error messages where being discarded when previewing a node. Patch by Craig Courtney.
- Bugfix: fixed charset problems. This fixes critical bug #1549. Patch '0023.charset.patch' by Al.
- Code improvements: removed some dead code from the comment module. Patch by Marco.
- Documentation improvements: polished the node module help texts and form descriptions. Patch '0019.node.module.help.patch' by Al.
- CSS improvements all over the map! Patch '0021.more.css.patch' by Al.
- GUI improvements: improved the position of Druplicon in the admin menu. Patch '0020.admin.logo.patch' by Al.
- GUI improvements: new logos for theme Marvin and theme UnConeD. Logos by Kristjan Jansen.
- GUI improvements: small changes to the output emitted by the profile module. Suggestions by Steven Wittens.
- GUI improvements: small fixes to Xtemplate. Patch '0022.xtemplate.css.patch' by Al.
TODO:
- Some modules such as the buddy list module and the annotation module in the contributions repository are also using session_register(). They should be updated. We should setup a task on Drupal.
- There is code emitting '<div align="right">' which doesn't validate.
- Does our XML feeds validate with the charset changes?
- The forum module's SQL doesn't work properly on PostgreSQL.
Diffstat (limited to 'modules/system.module')
-rw-r--r-- | modules/system.module | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/modules/system.module b/modules/system.module index 235c25768..569af7c32 100644 --- a/modules/system.module +++ b/modules/system.module @@ -128,6 +128,32 @@ function system_view_general() { $output .= form_select(t("Date format (short)"), "date_format_short", variable_get("date_format_short", $dateshort[0]), $dateshortchoices, t("The short format of date display.")); $output .= form_select(t("Date format (medium)"), "date_format_medium", variable_get("date_format_medium", $datemedium[0]), $datemediumchoices, t("The medium sized date display.")); $output .= form_select(t("Date format (long)"), "date_format_long", variable_get("date_format_long", $datelong[0]), $datelongchoices, t("Longer date format used for detailed display.")); + + $output .= "<hr />\n"; + + $output .= "<h3>". t("Character encoding settings") ."</h3>\n"; + + // charset settings + $charsets = array("iso-8859-1", + "iso-8859-2", + "iso-8859-3", + "iso-8859-4", + "iso-8859-5", + "iso-8859-6", + "iso-8859-7", + "iso-8859-8", + "iso-8859-8-i", + "iso-8859-9", + "utf-8", + "utf-16", + "utf-16be", + "euc-kr", + "koi8-r", + "ks_c_5601-1987", + "tis-620", + "iso-2022-kr", + "us-ascii"); + $output .= form_select(t("Character set"), "site_charset", variable_get("site_charset", "iso-8859-1"), $charsets, t("Select the character set (charset) used across your site. This will affect the content-type tag in web pages and the XML declarations in RSS feeds, among other things. You probably only need to change this if you need support for languages with non-ASCII characters like Korean, Polish, etc.")); return $output; } |