From 03b59c6e079c32c5682ab143602f92c8f89634fc Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Thu, 26 Feb 2009 02:46:51 +0000 Subject: [PATCH] Use plain link style instead of button. See #8652 git-svn-id: https://develop.svn.wordpress.org/trunk@10654 602fd350-edb4-49c9-b593-d223f7449a82 --- 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)