Add some styling to plugins descriptions when installing

git-svn-id: http://svn.automattic.com/wordpress/trunk@10790 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
azaozz 2009-03-15 13:09:25 +00:00
parent 922fe713df
commit 1b7ef6aab5
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;
}