Markup fixes for plugins page from DD32. fixes #6383

git-svn-id: https://develop.svn.wordpress.org/trunk@7515 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2008-03-26 03:33:14 +00:00
parent d99862c68d
commit 1a3fb85345

View File

@ -109,7 +109,7 @@ if (empty($plugins)) {
<th><?php _e('Plugin'); ?></th>
<th class="num"><?php _e('Version'); ?></th>
<th><?php _e('Description'); ?></th>
<th class="action-links" <?php if ( current_user_can('edit_plugins') ) echo ' colspan="2"'; ?>><?php _e('Action'); ?></th>
<th class="action-links"><?php _e('Action'); ?></th>
</tr>
</thead>
<tbody id="plugins">
@ -149,8 +149,9 @@ if (empty($plugins)) {
<td class='name'>{$plugin_data['Title']}</td>
<td class='vers'>{$plugin_data['Version']}</td>
<td class='desc'><p>{$plugin_data['Description']}$author</p></td>
<td class='togl action-links'>$toggle"; if ( current_user_can('edit_plugins') ) echo "$edit</td>";
echo"
<td class='togl action-links'>$toggle";
if ( current_user_can('edit_plugins') ) echo $edit;
echo "</td>
</tr>";
do_action( 'after_plugin_row', $plugin_file );
}