Active plugin highlighting tweaks from MT. fixes #6275

git-svn-id: http://svn.automattic.com/wordpress/trunk@7538 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2008-03-26 22:27:27 +00:00
parent b39d0790ec
commit bfba721708
5 changed files with 19 additions and 5 deletions

View File

@ -380,7 +380,7 @@ input.readonly {
}
#plugins .active {
background-color: #EAF3FA;
background-color: #e7f7d3;
}
#plugins .togl {

View File

@ -117,7 +117,7 @@ h6 {
}
.widefat td {
padding: 7px 15px 6px 10px;
padding: 7px 15px 9px 10px;
vertical-align: top;
}

BIN
wp-admin/images/active.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 781 B

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) )

View File

@ -1459,4 +1459,18 @@ td.action-links, th.action-links {
.hide-if-no-js {
display: none;
}
.status * {
line-height: 16px;
display: block;
padding-left: 18px;
}
th.status {
padding-left: 28px;
}
.status .active {
background: url(images/active.png) center left no-repeat;
}