if (get_option('ecwid_use_new_horizontal_categories') == 'Y') {
    ?>
							checked="checked"
						<?php 
}
?>
						value="Y"
						/>
					<?php 
_e('Enable the new category menu', 'ecwid-shopping-cart');
?>
				</label>

				<div class="note">
					<?php 
echo sprintf(__('The new category menu looks better and is more mobile-friendly. If you haven\'t yet added category menu to your store page, you can do that in the <a %s>store page editor</a> (enable the "Show categories" option)', 'ecwid-shopping-cart'), 'href="post.php?post=' . ecwid_get_current_store_page_id() . '&action=edit&show-ecwid=true"');
?>
				</div>
			</div>
		</div>

	</fieldset>

	<fieldset>

		<div class="pure-control-group">
			<button type="submit" class="<?php 
echo ECWID_MAIN_BUTTON_CLASS;
?>
">
				<?php 
 protected function need_to_show_message($name)
 {
     $admin_page = '';
     if (function_exists('get_current_screen')) {
         $screen = get_current_screen();
         $admin_page = $screen->base;
     }
     if ($admin_page == 'toplevel_page_ecwid' && isset($_GET['reconnect'])) {
         return false;
     }
     switch ($name) {
         case 'on_activate':
             return $admin_page == 'plugins' && get_ecwid_store_id() == ECWID_DEMO_STORE_ID;
         case 'on_storeid_set':
             return get_ecwid_store_id() != ECWID_DEMO_STORE_ID && @$_GET['settings-updated'] == 'true' && $admin_page == 'toplevel_page_ecwid';
         case 'on_no_storeid_on_setup_pages':
             $is_newbie = get_ecwid_store_id() == ECWID_DEMO_STORE_ID;
             $is_ecwid_settings = in_array($admin_page, array('ecwid-store_page_ecwid-advanced', 'ecwid-store_page_ecwid-appearance'));
             $is_store_page = $admin_page == 'post' && isset($_GET['post']) && $_GET['post'] == ecwid_get_current_store_page_id();
             return $is_newbie && ($is_ecwid_settings || $is_store_page);
         case 'on_appearance_widgets':
             return isset($_GET['from-ecwid']) && $admin_page == 'widgets';
         case 'please_vote':
             $install_date = get_option('ecwid_installation_date');
             $result = false;
             if (!$install_date) {
                 add_option('ecwid_installation_date', time());
             } else {
                 $result = ecwid_is_paid_account() && $install_date + 60 * 60 * 24 * 30 < time();
             }
             foreach ($this->messages as $_name => $message) {
                 if ($_name != $name && $this->need_to_show_message($_name)) {
                     return false;
                 }
             }
             return $result;
     }
 }