function display()
    {
        $tax = get_taxonomy('event-venue');
        $action = $this->current_action();
        $venue = isset($_REQUEST['event-venue']) ? $_REQUEST['event-venue'] : false;
        ?>
	<div class="wrap">
		<?php 
        screen_icon('edit');
        ?>

		<?php 
        if (($action == 'edit' || $action == 'update') && $venue || $action == 'create') {
            $this->edit_form($venue);
        } else {
            //Else we are not creating or editing. Display table
            $venue_table = new EO_Venue_List_Table();
            $venue_table->prepare_items();
            //Check if we have searched the venues
            $search_term = isset($_REQUEST['s']) ? esc_attr($_REQUEST['s']) : '';
            ?>

				<h2>
					<?php 
            ?>
					<?php 
            echo esc_html($tax->labels->name);
            ?>
					 <a href="edit.php?post_type=event&page=venues&action=create" class="add-new-h2"><?php 
            echo esc_html($tax->labels->add_new_item);
            ?>
</a> 
					<?php 
            if ($search_term) {
                printf('<span class="subtitle">' . __('Search results for &#8220;%s&#8221;') . '</span>', $search_term);
            }
            ?>
				</h2>
  
		       	 <form id="eo-venue-table" method="get">
					<!-- Ensure that the form posts back to our current page -->
					<input type="hidden" name="page" value="venues" />
					<input type="hidden" name="post_type" value="event" />
	
	       		     <!-- Now we can render the completed list table -->
					<?php 
            $venue_table->search_box($tax->labels->search_items, 's');
            ?>
					<?php 
            $venue_table->display();
            ?>
				 </form>
			<?php 
        }
        ?>

	</div><!--End .wrap -->
    <?php 
    }
    function display()
    {
        ?>
	<div class="wrap columns-2">
		<div id='icon-edit' class='icon32'><br/></div>
		<?php 
        $action = $this->current_action();
        $venue = isset($_REQUEST['event-venue']) ? $_REQUEST['event-venue'] : false;
        if (($action == "edit" || $action == "update") && $venue || $action == "create") {
            $this->edit_form($venue);
        } else {
            //Else we are not creating or editing. Display table
            $venue_table = new EO_Venue_List_Table();
            $venue_table->prepare_items();
            //Check if we have searched the venues
            $search_term = isset($_REQUEST['s']) ? esc_attr($_REQUEST['s']) : '';
            ?>

			<h2><?php 
            _e('Venues', 'eventorganiser');
            ?>
 <a href="edit.php?post_type=event&page=venues&action=create" class="add-new-h2"><?php 
            _ex('Add New', 'post');
            ?>
</a> 
				<?php 
            if ($search_term) {
                printf('<span class="subtitle">' . __('Search results for &#8220;%s&#8221;') . '</span>', $search_term);
            }
            ?>
			</h2>
  
	       	 <form id="eo-venue-table" method="get">
       		     <!-- Ensure that the form posts back to our current page -->
       		     <input type="hidden" name="page" value="venues" />
       		     <input type="hidden" name="post_type" value="event" />
	
       		     <!-- Now we can render the completed list table -->
       		     <?php 
            $venue_table->search_box(__('Search Venues', 'eventorganiser'), 's');
            ?>
			     <?php 
            $venue_table->display();
            ?>
			 </form>
		<?php 
        }
        ?>

    </div><!--End .wrap -->
    <?php 
    }