| Server IP : 43.130.17.34 / Your IP : 216.73.217.6 Web Server : nginx/1.28.0 System : Linux VM-4-12-opencloudos 6.6.92-34.1.oc9.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jun 25 21:32:13 CST 2025 x86_64 User : www ( 1000) PHP Version : 8.0.26 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /www/wwwroot/yespkg.com/wp-content/plugins/bb-plugin/includes/ |
Upload File : |
<div id="fl-modules-form" class="fl-settings-form">
<h3 class="fl-settings-form-header"><?php _e('Enabled Modules', 'fl-builder'); ?></h3>
<form id="modules-form" action="<?php FLBuilderAdminSettings::render_form_action( 'modules' ); ?>" method="post">
<?php if ( FLBuilderAdminSettings::multisite_support() && ! is_network_admin() ) : ?>
<label>
<input class="fl-override-ms-cb" type="checkbox" name="fl-override-ms" value="1" <?php if(get_option('_fl_builder_enabled_modules')) echo 'checked="checked"'; ?> />
<?php _e('Override network settings?', 'fl-builder'); ?>
</label>
<?php endif; ?>
<div class="fl-settings-form-content">
<p><?php _e('Check or uncheck modules below to enable or disable them.', 'fl-builder'); ?></p>
<?php
$categories = FLBuilderModel::get_categorized_modules( true );
$enabled_modules = FLBuilderModel::get_enabled_modules();
$checked = in_array('all', $enabled_modules) ? 'checked' : '';
?>
<label>
<input class="fl-module-all-cb" type="checkbox" name="fl-modules[]" value="all" <?php echo $checked; ?> />
<?php _ex( 'All', 'Plugin setup page: Modules.', 'fl-builder' ); ?>
</label>
<?php foreach ( $categories as $title => $modules ) : ?>
<h3><?php echo $title; ?></h3>
<?php
if ( $title == __( 'WordPress Widgets', 'fl-builder') ) :
$checked = in_array('widget', $enabled_modules) ? 'checked' : '';
?>
<p>
<label>
<input class="fl-module-cb" type="checkbox" name="fl-modules[]" value="widget" <?php echo $checked; ?> />
<?php echo $title; ?>
</label>
</p>
<?php
continue;
endif;
foreach ( $modules as $module ) :
$checked = in_array($module->slug, $enabled_modules) ? 'checked' : '';
?>
<p>
<label>
<input class="fl-module-cb" type="checkbox" name="fl-modules[]" value="<?php echo $module->slug; ?>" <?php echo $checked; ?> />
<?php echo $module->name; ?>
</label>
</p>
<?php endforeach; ?>
<?php endforeach; ?>
</div>
<p class="submit">
<input type="submit" name="update" class="button-primary" value="<?php esc_attr_e( 'Save Module Settings', 'fl-builder' ); ?>" />
<?php wp_nonce_field('modules', 'fl-modules-nonce'); ?>
</p>
</form>
</div>