Plugin install dialog formatting fixes from DD32. fixes #7908

git-svn-id: http://svn.automattic.com/wordpress/trunk@9314 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2008-10-24 04:54:21 +00:00
parent 9b50d01630
commit b5b92a3968
3 changed files with 13 additions and 4 deletions

View File

@ -816,6 +816,14 @@ div.star.select:hover {
background-color: #cee1ef;
}
#plugin-information pre, #plugin-information code {
background-color: #ededff;
}
#plugin-information pre {
border: 1px solid #ccc;
}
/* inline editor */
.inline-editor input,
.inline-editor textarea,

View File

@ -132,6 +132,7 @@ div.star img {
padding-bottom: 2em;
}
#plugin-information .updated {
#plugin-information .updated,
#plugin-information pre {
margin-right: 215px;
}

View File

@ -255,7 +255,7 @@ 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(),'em' => array(),'strong' => array());
'code' => array(), 'pre' => array(), 'em' => array(),'strong' => array());
?>
<div class="tablenav">
@ -381,8 +381,8 @@ function install_plugin_information() {
$plugins_allowedtags = array('a' => array('href' => array(), 'title' => array(), 'target' => array()),
'abbr' => array('title' => array()), 'acronym' => array('title' => array()),
'code' => array(), 'em' => array(), 'strong' => array(), 'div' => array(),
'p' => array(), 'ul' => array(), 'ol' => array(), 'li' => array());
'code' => array(), 'pre' => array(), 'em' => array(), 'strong' => array(),
'div' => array(), 'p' => array(), 'ul' => array(), 'ol' => array(), 'li' => array());
//Sanitize HTML
foreach ( (array)$api->sections as $section_name => $content )
$api->sections[$section_name] = wp_kses($content, $plugins_allowedtags);