Add some styling to plugins descriptions when installing

git-svn-id: https://develop.svn.wordpress.org/trunk@10790 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz 2009-03-15 13:09:25 +00:00
parent 7efda16c61
commit c39389175b
2 changed files with 20 additions and 2 deletions

View File

@ -250,7 +250,8 @@ function display_plugins_table($plugins, $page = 1, $totalpages = 1){
$plugins_allowedtags = array('a' => array('href' => array(),'title' => array(), 'target' => array()),
'abbr' => array('title' => array()),'acronym' => array('title' => array()),
'code' => array(), 'pre' => array(), 'em' => array(),'strong' => array());
'code' => array(), 'pre' => array(), 'em' => array(),'strong' => array(),
'ul' => array(), 'ol' => array(), 'li' => array(), 'p' => array(), 'br' => array());
?>
<div class="tablenav">
@ -343,7 +344,7 @@ function display_plugins_table($plugins, $page = 1, $totalpages = 1){
<div class="star star1"><img src="<?php echo admin_url('images/star.gif'); ?>" alt="<?php _e('1 star') ?>" /></div>
</div>
</td>
<td class="desc"><p><?php echo $description, $author; ?></p></td>
<td class="desc"><?php echo $description, $author; ?></td>
<td class="action-links"><?php if ( !empty($action_links) ) echo implode(' | ', $action_links); ?></td>
</tr>
<?php

View File

@ -15,6 +15,23 @@ p, ul, ol, blockquote { font-size: 12px; }
padding: 0;
}
.plugins .desc p {
margin: 0 0 10px;
}
.plugins td.desc {
line-height: 1.5em;
}
.plugins .desc ul,
.plugins .desc ol {
margin: 0 0 0 2em;
}
.plugins .desc ul {
list-style-type: disc;
}
.plugins .action-links {
white-space: nowrap;
}