HEX
Server: Apache
System: Linux web2213.uni5.net 5.4.282-1.el8.elrepo.x86_64 #1 SMP Mon Aug 19 18:33:22 EDT 2024 x86_64
User: clinicamaciel (596848)
PHP: 7.3.33
Disabled: apache_child_terminate,c99_buff_prepare,c99_sess_put,dl,eval,exec,leak,link,myshellexec,openlog,passthru,pclose,pcntl_exec,php_check_syntax,php_strip_whitespace,popen,posix_kill,posix_mkfifo,posix_setpgid,posix_setsid,posix_setuid,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,shell_exec,show_source,symlink,system,socket_listen,socket_create_listen,putenv
Upload Files
File: /home/clinicamaciel/www/wp-content/plugins/essential-grid/admin/views/grid-widget-areas.php
<?php
/**
 * @package   Essential_Grid
 * @author    ThemePunch <info@themepunch.com>
 * @link      http://www.themepunch.com/essential/
 * @copyright 2020 ThemePunch
 * @since 1.0.6
 */
 
if( !defined( 'ABSPATH') ) exit();

?>
	<h2 class="topheader"><?php _e('Custom Widgets', EG_TEXTDOMAIN); ?></h2>
	
	<div id="eg-grid-widget-areas-wrapper">
		<?php
		$wa = new Essential_Grid_Widget_Areas();
		$sidebars = $wa->get_all_sidebars();
		
		if(is_array($sidebars) && !empty($sidebars)){
			foreach($sidebars as $handle => $name){
				?>
				<div class="eg-pbox esg-box" style="width:100%;min-width:500px">
					<h3 class="box-closed"><span style="font-weight:400"><?php _e('Handle:', EG_TEXTDOMAIN); ?></span><span>eg-<?php echo $handle; ?> </span><div class="eg-pbox-arrow"></div></h3>
					<div class="esg-box-inside" style="display:none;padding:0px !important;margin:0px !important;height:100%;position:relative;background:#ebebeb">
						<input type="hidden" name="esg-widget-area-handle[]" value="<?php echo $handle; ?>" />
						<div class="eg-custommeta-row">
							<div class="eg-cus-row-l"><label><?php _e('Name:', EG_TEXTDOMAIN); ?></label><input type="text" name="esg-widget-area-name[]" value="<?php echo @$name; ?>"></div>
						</div>
						
						<div class="eg-widget-area-save-wrap-settings">
							<a class="esg-btn esg-blue eg-widget-area-edit" href="javascript:void(0);"><?php _e('Edit', EG_TEXTDOMAIN); ?></a>
							<a class="esg-btn  eg-widget-area-delete" href="javascript:void(0);"><?php _e('Remove', EG_TEXTDOMAIN); ?></a>
						</div>
					</div>
				</div>
				<?php
			}
		}
		?>
	</div>
	
	<a class="esg-btn esg-blue" id="eg-widget-area-add" href="javascript:void(0);"><?php _e('Add New Widget Area', EG_TEXTDOMAIN); ?></a>
	
	
	<?php Essential_Grid_Dialogs::widget_areas_dialog(); ?>
	
	<script type="text/javascript">
		jQuery(function(){
			AdminEssentials.initWidgetAreas();
		});
	</script>