diff --git a/wp-admin/admin-functions.php b/wp-admin/admin-functions.php index 3d01243d6..4526904df 100644 --- a/wp-admin/admin-functions.php +++ b/wp-admin/admin-functions.php @@ -565,7 +565,7 @@ function get_themes() { } // The default theme always exists. - $themes['Default'] = array('Name' => 'Default', 'Title' => 'Default', 'Description' => 'The default theme', 'Author' => '', 'Version' => '1.3', 'Template' => 'default', 'Stylesheet' => 'default', 'Template Files' => $default_template_files, 'Stylesheet Files' => $default_stylesheet_files, 'Template Dir' => '/', 'Stylesheet Dir' => '/', 'Parent Theme' => ''); + $themes['Default'] = array('Name' => 'Default', 'Title' => 'WordPress Default', 'Description' => 'The default theme included with WordPress.', 'Author' => 'Dave Shea', 'Version' => '1.3', 'Template' => 'default', 'Stylesheet' => 'default', 'Template Files' => $default_template_files, 'Stylesheet Files' => $default_stylesheet_files, 'Template Dir' => '/', 'Stylesheet Dir' => '/', 'Parent Theme' => ''); if (!$themes_dir || !$theme_files) { return $themes; diff --git a/wp-admin/themes.php b/wp-admin/themes.php index 1d8bee024..667aec7d1 100644 --- a/wp-admin/themes.php +++ b/wp-admin/themes.php @@ -15,7 +15,7 @@ if ( isset($_GET['action']) ) { update_option('stylesheet', $_GET['stylesheet']); } - header('Location: themes.php?activate=true'); + header('Location: themes.php?activated=true'); } } @@ -24,13 +24,19 @@ $title = __('Manage Themes'); $parent_file = 'themes.php'; require_once('admin-header.php'); -if ($user_level < 9) // Must be at least level 9 - die (__('Sorry, you must be at least a level 8 user to modify themes.')); +if ($user_level < 9) + die (__('Sorry, you must be at least a level 9 user to modify themes.')); ?> + +

+ + - -

%s. The template files are located in %s. The stylesheet files are located in %s. %s uses templates from %s. Changes made to the templates will affect both themes.'), $current_theme, $current_template_dir, $current_stylesheet_dir, $current_theme, $current_parent_theme); ?>

- -

%s. The template files are located in %s. The stylesheet files are located in %s.'), $current_theme, $current_template_dir, $current_stylesheet_dir); ?>

- -
-

-

wp-content/themes directory. Once a theme is installed, you may select it here.'); ?>

- +
+

+

+ +

%s. The template files are located in %s. The stylesheet files are located in %s. %s uses templates from %s. Changes made to the templates will affect both themes.'), $current_theme, $current_template_dir, $current_stylesheet_dir, $current_theme, $current_parent_theme); ?>

+ +

%s. The template files are located in %s. The stylesheet files are located in %s.'), $current_theme, $current_template_dir, $current_stylesheet_dir); ?>

+ +
-if (empty($themes)) { - _e("

Couldn't open themes directory or there are no themes available.

"); // TODO: make more helpful -} else { -?> +

+

wp-content/themes directory. Once a theme is installed, you may select it here.'); ?>

+ + - - + @@ -76,7 +82,7 @@ if (empty($themes)) { $author = $themes[$theme_name]['Author']; if ($template == $current_template && $stylesheet == $current_stylesheet) { - $action = "" . __('Active Theme') . ''; + $action = __('Active Theme'); } else { $action = "" . __('Select') . ''; } @@ -84,11 +90,10 @@ if (empty($themes)) { $theme = ('class="alternate"' == $theme) ? '' : 'class="alternate"'; echo " - - - + + - + "; } ?>
$title$version$author$title $version$author $description$action$action