diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2018-03-10 19:22:43 -0500 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2018-03-10 19:22:43 -0500 |
commit | 2fd35f249977ba7d2c09c048c242d94c7087c718 (patch) | |
tree | 111af5da877618f513e474d247f4fc1eb7f38479 /plugins/wordpress-mobile-pack/admin/pages/category-details.php | |
parent | Update wordpress-importer 0.6.4 (diff) | |
download | blogs-gentoo-2fd35f249977ba7d2c09c048c242d94c7087c718.tar.gz blogs-gentoo-2fd35f249977ba7d2c09c048c242d94c7087c718.tar.bz2 blogs-gentoo-2fd35f249977ba7d2c09c048c242d94c7087c718.zip |
Update wordpress-mobile-pack 3.3
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
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'); ?> |