Log in with username/password: lyceum/lyceum

Changeset 1160

Show
Ignore:
Timestamp:
09/14/07 21:43:38 (1 year ago)
Author:
jjb
Message:

Different option for system and blog charset. #836

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/1.0/src/lyceum/system-admin/settings.php

    r1148 r1160  
    108108lyceum_settings_text_input('wp-content_file_path', 'wp-content_file_path', 'The file path where individual blog uploads and cache are kept.', 200) . 
    109109lyceum_settings_text_input('fileupload_base_url', 'File upload base url', 'This needs to work with wp-content_file_path above.') . 
    110 lyceum_settings_text_input('blog_charset', 'System character encoding') . 
     110lyceum_settings_text_input('system_charset', 'System character encoding') . 
    111111lyceum_settings_text_input('email_structure', 'email regex', 'Regular expression against which new email addresses must match (example: <strong>/.*@example\.tld/</strong>)') . 
    112112lyceum_settings_text_input('email_structure_error_message', 'email regex error', '(example: <strong>You must have a example.tld email address in order to make an account.</strong>)') . 
  • branches/1.0/src/lyceum/wp-admin/upgrade-functions.php

    r1144 r1160  
    118118   $wpdb->query("DELETE FROM $wpdb->options WHERE option_name = 'siteurl' AND option_domain = 'system'"); 
    119119 
     120   echo '<br/>&rarr; Deleting site-wide blog_charset option. (renamed to system_charset)'; 
     121   $wpdb->query("DELETE FROM $wpdb->options WHERE option_name = 'blog_charset' AND option_domain = 'system'"); 
     122 
    120123   echo '<br/>&rarr; Creating new post2cat index (See <a href="http://lyceum.ibiblio.org/2007/03/02/last-night-a-b-tree-saved-my-life-or-how-to-do-a-simple-index-audit-to-fix-a-slow-query/">this article</a> for more information).'; 
    121124 
  • branches/1.0/src/lyceum/wp-admin/upgrade-schema.php

    r1139 r1160  
    327327   add_option('restrict_admin_ip', 0); 
    328328   add_option('active_system_plugins'); 
    329    add_option('blog_charset', 'UTF-8'); 
     329   add_option('system_charset', 'UTF-8'); 
    330330   add_option('html_type', 'text/html'); 
    331331   add_option('presentation_tab', 1); 
Log in with username/password: lyceum/lyceum