Changeset 878
- Timestamp:
- 02/17/2004 02:11:16 AM (21 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/install.php
r861 r878 379 379 "INSERT INTO $tableoptions (option_id, option_name, option_type, option_value, option_description, option_admin_level, option_width) VALUES(8,'users_can_register', 2, '1', 'whether you want to allow users to register on your blog', 8, 20)", 380 380 "INSERT INTO $tableoptions (option_id, option_name, option_type, option_value, option_description, option_admin_level, option_width) VALUES(54,'admin_email', 3, 'you@example.com', 'Your email (obvious eh?)', 8, 20)", 381 "INSERT INTO $tableoptions (option_id, option_name, option_type, option_value, option_description, option_admin_level, option_width) VALUES (93, 1, 'blog_charset', 'Y', 3, 'utf-8', 20, 8, 'your blog\'s charset (here\'s a <a href=\"http://developer.apple.com/documentation/macos8/TextIntlSvcs/TextEncodingConversionManager/TEC1.5/TEC.b0.html\">list of possible charsets</a>)', 8)", 381 382 // general blog setup 382 383 "INSERT INTO $tableoptions (option_id, option_name, option_type, option_value, option_description, option_admin_level, option_width) VALUES(9 ,'start_of_week', 5, '1', 'day at the start of the week', 8, 20)", -
trunk/wp-admin/options-general.php
r869 r878 86 86 <br /> 87 87 This address is used only for admin purposes. </td> 88 </tr> 88 </tr> 89 <tr valign="top"> 90 <th scope="row">Charset</th> 91 <td><input name="blog_charset" type="text" id="blog_charset" value="<?php echo get_settings('blog_charset'); ?>" size="20" class="code" /> 92 <br /> 93 Your weblog's charset (here's a <a href="http://developer.apple.com/documentation/macos8/TextIntlSvcs/TextEncodingConversionManager/TEC1.5/TEC.b0.html">list of possible charsets</a>)</td> 94 </tr> 89 95 <tr valign="top"> 90 96 <th scope="row">Membership:</th> -
trunk/wp-admin/upgrade-functions.php
r869 r878 707 707 708 708 $wpdb->query("DELETE FROM $tableoptiongroups WHERE group_id = 6"); 709 710 // Add blog_charset option 711 $wpdb->query("INSERT INTO $tableoptions (option_id, option_name, option_type, option_value, option_description, option_admin_level, option_width) VALUES (93, 1, 'blog_charset', 'Y', 3, 'utf-8', 20, 8, 'your blog\'s charset (here\'s a <a href=\"http://developer.apple.com/documentation/macos8/TextIntlSvcs/TextEncodingConversionManager/TEC1.5/TEC.b0.html\">list of possible charsets</a>)', 8)"); 712 709 713 } 710 714 -
trunk/wp-settings.php
r858 r878 60 60 $new_users_can_blog = get_settings('new_users_can_blog'); 61 61 $users_can_register = get_settings('users_can_register'); 62 $blog_charset = get_settings('blog_charset'); 62 63 $start_of_week = get_settings('start_of_week'); 63 64 $use_bbcode = get_settings('use_bbcode');
Note: See TracChangeset
for help on using the changeset viewer.