diff options
author | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2008-09-22 16:43:54 +0000 |
---|---|---|
committer | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2008-09-22 16:43:54 +0000 |
commit | a43a0b30f6e2b58532d3f243758f31c6c886075e (patch) | |
tree | b4002f23255af90c37ffec0b94358043a2830c67 /wp-admin/wpmu-options.php | |
parent | 967611ca7eb235103dbabfa968d76caca1217851 (diff) | |
download | wordpress-mu-a43a0b30f6e2b58532d3f243758f31c6c886075e.tar.gz wordpress-mu-a43a0b30f6e2b58532d3f243758f31c6c886075e.tar.xz wordpress-mu-a43a0b30f6e2b58532d3f243758f31c6c886075e.zip |
Media buttons on Write Post page are now configurable, see #598 and #738
git-svn-id: http://svn.automattic.com/wordpress-mu/branches/2.6@1493 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-admin/wpmu-options.php')
-rw-r--r-- | wp-admin/wpmu-options.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/wp-admin/wpmu-options.php b/wp-admin/wpmu-options.php index cd772a4..9bc6cf0 100644 --- a/wp-admin/wpmu-options.php +++ b/wp-admin/wpmu-options.php @@ -117,6 +117,14 @@ if (isset($_GET['updated'])) { </tr> <tr valign="top"> + <th scope="row"><?php _e('Upload media button') ?></th> + <?php $mu_media_buttons = get_site_option( 'mu_media_buttons', array() ); ?> + <td><label><input type='checkbox' id="mu_media_buttons_image" name="mu_media_buttons[image]" value='1' <?php if( $mu_media_buttons[ 'image' ] ) { echo 'checked=checked '; } ?>/> Images</label><br /> + <label><input type='checkbox' id="mu_media_buttons_video" name="mu_media_buttons[video]" value='1' <?php if( $mu_media_buttons[ 'video' ] ) { echo 'checked=checked '; } ?>/> Videos</label><br /> + <label><input type='checkbox' id="mu_media_buttons_audio" name="mu_media_buttons[audio]" value='1' <?php if( $mu_media_buttons[ 'audio' ] ) { echo 'checked=checked '; } ?>/> Music</label><br /> + The media upload buttons to display on the "Write Post" page. Make sure you update the "Upload File Types" below as well.</td> + </tr> + <tr valign="top"> <th scope="row"><?php _e('Blog upload space') ?></th> <td><input name="blog_upload_space" type="text" id="blog_upload_space" value="<?php echo get_site_option('blog_upload_space', 10) ?>" size="3" /> MB</td> </tr> |