From 0b1ebe0118d06c682cb09e52327ddf9ad4b65445 Mon Sep 17 00:00:00 2001 From: John Bintz Date: Thu, 14 Jan 2010 15:41:55 -0500 Subject: [PATCH] move admin out to separate file --- classes/PostFixtures.inc | 41 +++----------------------------------- classes/partials/admin.inc | 34 +++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+), 38 deletions(-) create mode 100644 classes/partials/admin.inc diff --git a/classes/PostFixtures.inc b/classes/PostFixtures.inc index 5da07e2..095f42a 100644 --- a/classes/PostFixtures.inc +++ b/classes/PostFixtures.inc @@ -76,44 +76,9 @@ class PostFixtures { /** * Render the admin page. */ - function render_admin() { ?> -
-

- -

- Post Fixtures is a developer tool for quickly setting up the WordPress database to test certain combinations of posts, categories, and meta data.', 'post-fixtures'); ?> - You should not have this installed on a live site!', 'post-fixtures'); ?> - will delete all of your posts, categories, and metadata as necessary!', 'post-fixtures'); ?> -

- -
- -

- - - -
- -
- +

+ +

+ Post Fixtures is a developer tool for quickly setting up the WordPress database to test certain combinations of posts, categories, and meta data.', 'post-fixtures'); ?> + You should not have this installed on a live site!', 'post-fixtures'); ?> + will delete all of your posts, categories, and metadata as necessary!', 'post-fixtures'); ?> +

+ +
+ +

+ + + +
+ +