HEX
Server: Apache
System: Linux WWW 6.1.0-40-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.153-1 (2025-09-20) x86_64
User: web11 (1011)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: /var/www/ideasforum.kaunokolegija.lt/wp-content/plugins/robo-gallery/includes/options/cache.php
<?php 
/*
*      Robo Gallery By Robosoft    
*      Version: 2.6.18
*      Contact: https://robosoft.co/robogallery/ 
*      Available only in  https://robosoft.co/robogallery/ 
*/
if ( ! defined( 'WPINC' ) ) exit;

$cache_box = new_cmbre2_box( array(
    'id'            => ROBO_GALLERY_PREFIX . 'cache_metabox',
    'title'         => __( 'Cache', 'robo-gallery' ),
    'object_types'  => array( ROBO_GALLERY_TYPE_POST ),
    'show_names' 	=> false,
    'context' 		=> 'normal',
    'priority' 		=> 'high',
));

$cache_box->add_field( array(
    'name'    	=> __('Cache','robo-gallery'),
    'default' 	=> '',
    'options'	=> array( 
    		'' 		=> 'Disable', 
    		'1' 	=> 'Enable', 
    ),
    'id'	  	=> ROBO_GALLERY_PREFIX .'cache',
    'type'    	=> 'rbsradiobutton',
    'before_row' 	=> '
<div class="rbs_block">

	<div class="row">
		<div class="col-sm-12">
			'.__('Make your gallery unbelievable faster. With enabled cache option you gallery load faster in ten times.', 'robo-gallery').'
		</div>
	</div>

	<br />
',
	'after_row'		=> ' 

	<div class="row">
		<div class="col-sm-12">
			'.__('If you modify settings gallery generate new cache after save.', 'robo-gallery').'<br/>
			'.__('You can configure timeout for cleaning  of the cached resources ', 'robo-gallery').' <a target="_blank" href="'.admin_url( 'edit.php?post_type=robo_gallery_table&page=robo-gallery-settings').'">'.__('here').'</a>.
		</div>
	</div>

</div> ',
));