Active plugin highlighting tweaks from MT. fixes #6275

git-svn-id: https://develop.svn.wordpress.org/trunk@7538 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2008-03-26 22:27:27 +00:00
parent 470a34a524
commit 337574056a
5 changed files with 19 additions and 5 deletions
+3 -3
View File
@@ -106,7 +106,7 @@ if (empty($plugins)) {
<th><?php _e('Plugin'); ?></th>
<th class="num"><?php _e('Version'); ?></th>
<th><?php _e('Description'); ?></th>
<th><?php _e('Status') ?></th>
<th class="status"><?php _e('Status') ?></th>
<th class="action-links"><?php _e('Action'); ?></th>
</tr>
</thead>
@@ -147,9 +147,9 @@ if (empty($plugins)) {
<td class='desc'><p>{$plugin_data['Description']}$author</p></td>
<td class='status'>";
if ( is_plugin_active($plugin_file) )
echo __('Active');
echo __('<span class="active">Active</span>');
else
_e('Inactive');
_e('<span class="inactive">Inactive</span>');
echo "</td>
<td class='togl action-links'>$toggle";
if ( !empty($action_links) )