diff options
Diffstat (limited to 'plugins/wordpress-mobile-pack/admin/pages/category-details.php')
-rwxr-xr-x | plugins/wordpress-mobile-pack/admin/pages/category-details.php | 28 |
1 files changed, 3 insertions, 25 deletions
diff --git a/plugins/wordpress-mobile-pack/admin/pages/category-details.php b/plugins/wordpress-mobile-pack/admin/pages/category-details.php index 4a740ff7..3e165ab7 100755 --- a/plugins/wordpress-mobile-pack/admin/pages/category-details.php +++ b/plugins/wordpress-mobile-pack/admin/pages/category-details.php @@ -7,35 +7,16 @@ }); } </script> -<?php -// Load Free or Premium menu -$menu_type = 'free'; - -if (WMobilePack_Options::get_setting('premium_active') == 1 && WMobilePack_Options::get_setting('premium_api_key') != '') { - - $menu_type = 'premium_classic'; - - $kit_type = WMobilePack::get_kit_type(); - if ($kit_type == 'wpmp'){ - $menu_type = 'premium_wpmp'; - } -} -?> <div id="wmpack-admin"> <div class="spacer-60"></div> <!-- set title --> - <h1><?php echo WMP_PLUGIN_NAME.' '.WMP_VERSION;?><?php echo $menu_type != 'free' ? ' - Premium' : '';?></h1> + <h1><?php echo WMP_PLUGIN_NAME.' '.WMP_VERSION;?></h1> <div class="spacer-20"></div> <div class="content"> <div class="left-side"> <!-- add nav menu --> - <?php - if ($menu_type == 'free') - include_once(WMP_PLUGIN_PATH.'admin/sections/admin-menu.php'); - elseif ($menu_type == 'premium_wpmp') - include_once(WMP_PLUGIN_PATH.'admin/sections/admin-menu-premium.php'); - ?> + <?php include_once(WMP_PLUGIN_PATH.'admin/sections/admin-menu.php');?> <div class="spacer-0"></div> <div class="details branding-category"> @@ -129,10 +110,7 @@ if (WMobilePack_Options::get_setting('premium_active') == 1 && WMobilePack_Optio <div class="right-side"> <!-- waitlist form --> - <?php - if ($menu_type == 'free') - include_once(WMP_PLUGIN_PATH.'admin/sections/waitlist.php'); - ?> + <?php include_once(WMP_PLUGIN_PATH.'admin/sections/waitlist.php');?> <!-- add feedback form --> <?php include_once(WMP_PLUGIN_PATH.'admin/sections/feedback.php'); ?> |