<?php
/**
 * Event Actions Menu - Reusable component for event management
 * DEPRECATED: This functionality has been moved to navbar_fixed.php
 * This file now serves as a compatibility wrapper.
 * 
 * For new implementations, include navbar_fixed.php directly instead.
 * 
 * Required variables:
 * - $event_id: The ID of the event (optional if using localStorage)
 * 
 * Optional variables:
 * - $show_header: Whether to show the card header (default: true)
 * - $card_classes: Additional CSS classes for the card (default: 'border-0 shadow-sm')
 * - $show_public_view: Whether to show the public view button in header (default: true)
 * - $use_localStorage: Whether to load event_id from localStorage (default: false)
 */

// For backward compatibility, show a notice that this component has been moved
if (!isset($hide_deprecated_notice)) {
    echo '<!-- Event Actions Menu functionality has been moved to navbar_fixed.php -->';
}

// If the navbar hasn't been included yet, include it now
if (!defined('NAVBAR_FIXED_INCLUDED')) {
    // Set up required variables for navbar
    $show_token_balance = $show_token_balance ?? true;
    $show_event_selector = $show_event_selector ?? true;
    $use_localStorage = $use_localStorage ?? true;
    $navbar_theme = $navbar_theme ?? 'dark';
    
    // Include the navbar which now contains all the event actions functionality
    include __DIR__ . '/navbar_fixed.php';
    define('NAVBAR_FIXED_INCLUDED', true);
}
?>
