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:
parent
922fe713df
commit
1b7ef6aab5
@ -250,7 +250,8 @@ function display_plugins_table($plugins, $page = 1, $totalpages = 1){
|
|||||||
|
|
||||||
$plugins_allowedtags = array('a' => array('href' => array(),'title' => array(), 'target' => array()),
|
$plugins_allowedtags = array('a' => array('href' => array(),'title' => array(), 'target' => array()),
|
||||||
'abbr' => array('title' => array()),'acronym' => array('title' => 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">
|
<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 class="star star1"><img src="<?php echo admin_url('images/star.gif'); ?>" alt="<?php _e('1 star') ?>" /></div>
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</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>
|
<td class="action-links"><?php if ( !empty($action_links) ) echo implode(' | ', $action_links); ?></td>
|
||||||
</tr>
|
</tr>
|
||||||
<?php
|
<?php
|
||||||
|
@ -15,6 +15,23 @@ p, ul, ol, blockquote { font-size: 12px; }
|
|||||||
padding: 0;
|
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 {
|
.plugins .action-links {
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user