| Server IP : 38.190.208.107 / Your IP : 216.73.217.2 Web Server : nginx/1.28.1 System : Linux ht2026040333114 6.1.0-10-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.37-1 (2023-07-03) x86_64 User : root ( 0) PHP Version : 8.2.28 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,eval,assert,passthru,system,exec,shell_exec,popen,proc_open MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /www/wwwroot/wp.3/wp-content/plugins/dt-the7-core/mods/albums/admin/options/ |
Upload File : |
<?php
/**
* Templates settings
*
*/
// File Security Check
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
$new_options = array();
/**
* Heading definition.
*/
$new_options[] = array(
'name' => _x( 'Gallery', 'theme-options', 'dt-the7-core' ),
'type' => 'heading',
'id' => 'gallery',
);
/**
* Previous & next buttons
*/
$new_options[] = array(
'name' => _x( 'Previous & next buttons', 'theme-options', 'dt-the7-core' ),
'type' => 'block',
);
// checkbox
$new_options['general-next_prev_in_album'] = array(
'name' => _x( 'Show in gallery albums', 'theme-options', 'dt-the7-core' ),
'id' => 'general-next_prev_in_album',
'type' => 'images',
'class' => 'small',
'std' => 1,
'options' => array(
'1' => array(
'title' => _x( 'Enabled', 'theme-options', 'dt-the7-core' ),
'src' => '/inc/admin/assets/images/general-next-prev-enabled.gif',
),
'0' => array(
'title' => _x( 'Disabled', 'theme-options', 'dt-the7-core' ),
'src' => '/inc/admin/assets/images/microwidgets-disabled.gif',
),
),
);
/**
* Back button.
*/
$new_options[] = array( 'name' => _x( 'Back button', 'theme-options', 'dt-the7-core' ), 'type' => 'block' );
$new_options['general-show_back_button_in_album'] = array(
'name' => _x( 'Back button', 'theme-options', 'dt-the7-core' ),
'id' => 'general-show_back_button_in_album',
'std' => '0',
'type' => 'images',
'class' => 'small',
'options' => array(
'1' => array(
'title' => _x( 'Enabled', 'theme-options', 'dt-the7-core' ),
'src' => '/inc/admin/assets/images/general-show-back-button-enabled.gif',
),
'0' => array(
'title' => _x( 'Disabled', 'theme-options', 'dt-the7-core' ),
'src' => '/inc/admin/assets/images/microwidgets-disabled.gif',
),
),
);
$new_options['general-album_back_button_url'] = array(
'name' => _x( 'Back button url', 'theme-options', 'dt-the7-core' ),
'id' => 'general-album_back_button_url',
'type' => 'text',
'std' => '',
'class' => 'wide',
'dependency' => array(
'field' => 'general-show_back_button_in_album',
'operator' => '==',
'value' => '1',
),
);
/**
* Meta information.
*/
$new_options[] = array( 'name' => _x( 'Meta information', 'theme-options', 'dt-the7-core' ), 'type' => 'block' );
$new_options['general-album_meta_on'] = array(
'name' => _x( 'Meta information', 'theme-options', 'dt-the7-core' ),
'id' => 'general-album_meta_on',
'std' => '1',
'type' => 'images',
'class' => 'small',
'options' => array(
'1' => array(
'title' => _x( 'Enabled', 'theme-options', 'dt-the7-core' ),
'src' => '/inc/admin/assets/images/general-album_meta_on-enabled.gif',
),
'0' => array(
'title' => _x( 'Disabled', 'theme-options', 'dt-the7-core' ),
'src' => '/inc/admin/assets/images/microwidgets-disabled.gif',
),
),
'show_hide' => array( '1' => true ),
);
$new_options[] = array( 'type' => 'js_hide_begin' );
$new_options['general-album_meta_date'] = array(
'name' => _x( 'Date', 'theme-options', 'dt-the7-core' ),
'id' => 'general-album_meta_date',
'type' => 'checkbox',
'std' => 1,
);
$new_options['general-album_meta_author'] = array(
'name' => _x( 'Author', 'theme-options', 'dt-the7-core' ),
'id' => 'general-album_meta_author',
'type' => 'checkbox',
'std' => 1,
);
$new_options['general-album_meta_categories'] = array(
'name' => _x( 'Categories', 'theme-options', 'dt-the7-core' ),
'id' => 'general-album_meta_categories',
'type' => 'checkbox',
'std' => 1,
);
$new_options['general-album_meta_comments'] = array(
'name' => _x( 'Comments', 'theme-options', 'dt-the7-core' ),
'id' => 'general-album_meta_comments',
'type' => 'checkbox',
'std' => 1,
);
$new_options[] = array( 'type' => 'js_hide_end' );
// add new options
if ( isset( $options ) ) {
$options = dt_array_push_after( $options, $new_options, 'blog_and_portfolio_placeholder' );
}
// cleanup
unset( $new_options );