diff options
| author | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2005-09-06 09:28:11 +0000 |
|---|---|---|
| committer | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2005-09-06 09:28:11 +0000 |
| commit | 6d37e66b8f875c212adfe47345a176ada2e6ba21 (patch) | |
| tree | ef6d4894fe5e0fac58917214f106384d7dc90a43 /wp-inst/wp-admin/admin-functions.php | |
| parent | f924fef968a36ff93f2deeb54bd8570550a375e5 (diff) | |
| download | wordpress-mu-6d37e66b8f875c212adfe47345a176ada2e6ba21.tar.gz wordpress-mu-6d37e66b8f875c212adfe47345a176ada2e6ba21.tar.xz wordpress-mu-6d37e66b8f875c212adfe47345a176ada2e6ba21.zip | |
WP Merge with cool new profile page!
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@293 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-inst/wp-admin/admin-functions.php')
| -rw-r--r-- | wp-inst/wp-admin/admin-functions.php | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/wp-inst/wp-admin/admin-functions.php b/wp-inst/wp-admin/admin-functions.php index 621f19e..8cc5139 100644 --- a/wp-inst/wp-admin/admin-functions.php +++ b/wp-inst/wp-admin/admin-functions.php @@ -1401,6 +1401,22 @@ function get_importers() { return $wp_importers; } +function current_theme_info() { + $themes = get_themes(); + $current_theme = get_current_theme(); + $ct->title = $themes[$current_theme]['Title']; + $ct->version = $themes[$current_theme]['Version']; + $ct->parent_theme = $themes[$current_theme]['Parent Theme']; + $ct->template_dir = $themes[$current_theme]['Template Dir']; + $ct->stylesheet_dir = $themes[$current_theme]['Stylesheet Dir']; + $ct->template = $themes[$current_theme]['Template']; + $ct->stylesheet = $themes[$current_theme]['Stylesheet']; + $ct->screenshot = $themes[$current_theme]['Screenshot']; + $ct->description = $themes[$current_theme]['Description']; + $ct->author = $themes[$current_theme]['Author']; + return $ct; +} + function AJAX_search_box( $get_url, $search_field = 'newvalue', $search_results_field = 'searchresults' ) { ?> <script language="JavaScript"> |
