From a0fd2c6eaf445dc800238a35164c9e147451acec Mon Sep 17 00:00:00 2001 From: ryan Date: Thu, 26 Feb 2009 02:46:51 +0000 Subject: [PATCH] Use plain link style instead of button. See #8652 git-svn-id: http://svn.automattic.com/wordpress/trunk@10654 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/theme-install.php | 26 ++++++++++++-------------- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/wp-admin/includes/theme-install.php b/wp-admin/includes/theme-install.php index a4d102b947..51086f9897 100644 --- a/wp-admin/includes/theme-install.php +++ b/wp-admin/includes/theme-install.php @@ -268,11 +268,6 @@ function display_themes($themes, $page = 1, $totalpages = 1) { $type = isset($_REQUEST['type']) ? stripslashes( $_REQUEST['type'] ) : ''; $term = isset($_REQUEST['s']) ? stripslashes( $_REQUEST['s'] ) : ''; - - $themes_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()); - ?>
@@ -335,18 +330,21 @@ function display_themes($themes, $page = 1, $totalpages = 1) { $preview_link = $theme->preview_url . '?TB_iframe=true&width=600&height=400'; $action_links = array(); $action_links[] = '' . __('Install') . ''; - $action_links[] = '' . __('Preview') . ''; + '&TB_iframe=true&width=600&height=800') . '" class="thickbox onclick" title="' . attribute_escape(sprintf(__('Install "%s"'), $name)) . '">' . __('Install') . ''; + $action_links[] = '' . __('Preview') . ''; $action_links = apply_filters('theme_install_action_links', $action_links, $theme); - $actions = implode ( ' ', $action_links ); - echo " - - + $actions = implode ( ' | ', $action_links ); +?> + '> + -

{$name}

- $actions -

{$desc}

"; +

+ +

+

version, $themes_allowedtags) ?>

+

author, $themes_allowedtags) ?>

+ string 'Magazine Basic' (length=14)