summaryrefslogtreecommitdiffstats
path: root/wp-admin/wpmu-themes.php
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2008-04-16 14:40:34 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2008-04-16 14:40:34 +0000
commit85e815bf00f6a27fbe1ed1fb3e0d3e2a2a7fe040 (patch)
treea37c35e2f9836ec01d540b728dee70f4cb146d57 /wp-admin/wpmu-themes.php
parent20b08443b2a595369bf9be3b87c04685c9aad5e7 (diff)
downloadwordpress-mu-85e815bf00f6a27fbe1ed1fb3e0d3e2a2a7fe040.tar.gz
wordpress-mu-85e815bf00f6a27fbe1ed1fb3e0d3e2a2a7fe040.tar.xz
wordpress-mu-85e815bf00f6a27fbe1ed1fb3e0d3e2a2a7fe040.zip
Applied patch in #590 by momo360modena and fixed a minor bug with blog searching
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@1237 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-admin/wpmu-themes.php')
-rw-r--r--wp-admin/wpmu-themes.php21
1 files changed, 11 insertions, 10 deletions
diff --git a/wp-admin/wpmu-themes.php b/wp-admin/wpmu-themes.php
index 512b7bb..a6a566c 100644
--- a/wp-admin/wpmu-themes.php
+++ b/wp-admin/wpmu-themes.php
@@ -22,28 +22,29 @@ $allowed_themes = get_site_allowed_themes();
<form action='wpmu-edit.php?action=updatethemes' method='post'>
<h2><?php _e('Site Themes') ?></h2>
<p><?php _e('Disable themes site-wide. You can enable themes on a blog by blog basis.') ?></p>
- <table style="border:0; width:100%;" cellspacing="5" cellpadding="5">
+ <table class="widefat">
<thead>
- <tr>
- <th style="width:15%;"><?php _e('Active') ?></th>
- <th style="width:15%;"><?php _e('Theme') ?></th>
- <th style="width:70%;"><?php _e('Description') ?></th>
- </tr>
+ <tr>
+ <th style="width:15%;text-align:center;"><?php _e('Active') ?></th>
+ <th style="width:25%;"><?php _e('Theme') ?></th>
+ <th style="width:60%;"><?php _e('Description') ?></th>
+ </tr>
</thead>
- <tbody id="the-list">
+ <tbody id="plugins">
<?php
foreach( (array) $themes as $key => $theme ) :
$theme_key = wp_specialchars($theme['Stylesheet']);
- $class = ('alternate' == $class) ? '' : 'alternate';
- $enabled = $disabled = '';
+ $class = ('alt' == $class) ? '' : 'alt';
+ $class1 = $enabled = $disabled = '';
if( isset( $allowed_themes[ $theme_key ] ) == true ) {
$enabled = 'checked="checked" ';
+ $class1 = ' active';
} else {
$disabled = 'checked="checked" ';
}
?>
- <tr valign="top" class="<?php echo $class; ?>">
+ <tr valign="top" class="<?php echo $class.$class1; ?>">
<td style="text-align:center;">
<label><input name="theme[<?php echo $theme_key ?>]" type="radio" id="disabled_<?php echo $theme_key ?>" value="disabled" <?php echo $disabled ?> /> <?php _e('No') ?></label>
&nbsp;&nbsp;&nbsp;