HEX
Server: Apache
System: Linux webd001.cluster127.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User: mciraet (192513)
PHP: 8.2.31
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/mciraet/www/wp-content/themes/movedo/includes/admin/pages/grve-admin-page-sidebars.php
<?php
/*
*	Admin Custom Sidebars
*
* 	@author		Greatives Team
* 	@URI		http://greatives.eu
*/

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

$movedo_grve_custom_sidebars = get_option( '_movedo_grve_custom_sidebars' );
?>
	<div id="grve-sidebar-wrap" class="wrap">
		<h2><?php esc_html_e( "Sidebars", 'movedo' ); ?></h2>
		<?php movedo_grve_print_admin_links('sidebars'); ?>
		<br/>
		<?php if( isset( $_GET['sidebar-settings'] ) ) { ?>
		<div class="grve-sidebar-saved updated inline grve-notice-green">
			<p><strong><?php esc_html_e('Settings Saved!', 'movedo' ); ?></strong></p>
		</div>
		<?php } ?>
		<div class="grve-sidebar-changed updated inline grve-notice-green">
			<p><strong><?php esc_html_e('Settings have changed, you should save them!', 'movedo' ); ?></strong></p>
		</div>
		<form method="post" action="admin.php?page=movedo-sidebars">
			<table class="grve-sidebar-table widefat" cellspacing="0">
				<thead>
					<tr>
						<th>
							<input type="button" id="grve-add-custom-sidebar-item" class="button button-primary" value="<?php esc_html_e('Add Sidebar', 'movedo' ); ?>"/>
							<span class="grve-sidebar-spinner"></span>
						</th>
						<th>
							<input type="text" class="grve-sidebar-text" id="grve-custom-sidebar-item-name-new" value=""/>
							<div class="grve-sidebar-notice grve-notice-red" style="display:none;">
								<strong><?php esc_html_e('Field must not be empty!', 'movedo' ); ?></strong>
							</div>
							<div class="grve-sidebar-notice-exists grve-notice-red" style="display:none;">
								<strong><?php esc_html_e('Sidebar with this name already exists!', 'movedo' ); ?></strong>
							</div>
						</th>
					</tr>
				</thead>
				<tbody id="grve-custom-sidebar-container">
					<?php movedo_grve_print_admin_custom_sidebars( $movedo_grve_custom_sidebars ); ?>
				</tbody>
				<tfoot>
					<tr>
						<td><?php submit_button(); ?></td>
						<td>&nbsp;</td>
					</tr>
				</tfoot>
			</table>
			<?php wp_nonce_field( 'movedo_grve_nonce_sidebar_save', '_movedo_grve_nonce_sidebar_save' ); ?>

		</form>
	</div>
<?php


//Omit closing PHP tag to avoid accidental whitespace output errors.