// SYSTEM PANEL //
[ROOT]
/
home
/
salvufkx
/
homedir
/
public_html
/
wp-content
/
plugins
/
gallery-images-ape
/
libs
[ PARENT ]
EDIT :: setting.php
<?php /* * Ape Gallery http://wpape.net * Version: 1.2.4 - 61253 * Author: Wp Ape (c) * Author URI: http://wpape.net * License: GPL-2.0+ * License URI: http://www.gnu.org/licenses/gpl-2.0.txt * Date: Thu, 08 Dec 2016 16:31:35 GMT */ function wpApeGallerySetting() { $active_tab = isset( $_GET[ 'tab' ] ) ? $_GET[ 'tab' ] : 'main_option'; ?> <div class="wrap"> <h2><?php _e('Wp Ape Gallery Options', 'wpape_gallery'); ?></h2> <?php settings_errors(); ?> <h2 class="nav-tab-wrapper"> <a href="edit.php?post_type=wpape_gallery_type&page=wpape-gallery-settings&tab=main_option" class="nav-tab <?php echo $active_tab == 'main_option' ? 'nav-tab-active' : ''; ?>"><?php _e('Main Options', 'wpape_gallery'); ?></a> <a href="edit.php?post_type=wpape_gallery_type&page=wpape-gallery-settings&tab=clone_options" class="nav-tab <?php echo $active_tab == 'clone_options' ? 'nav-tab-active' : ''; ?>"><?php _e('Clone Options', 'wpape_gallery'); ?></a> </h2> <form method="post" action="options.php?tab=<?php echo $active_tab; ?>"> <?php if( $active_tab == 'main_option' ) { settings_fields( 'wpape_gallery_settings' ); do_settings_sections( 'wpape_gallery_settings' ); wpApeSettingMainOptions(); } else { settings_fields( 'wpape_gallery_settings_clone' ); do_settings_sections( 'wpape_gallery_settings_clone' ); wpApeSettingCloneOptions(); } submit_button(); ?> </form> <div class="card"> <p><?php echo 'Copyright © 2016 <a href="http://wpape.net">Ape Team</a> '.__('All Rights Reserved'); ?></p> </div> </div> <?php } function wpApeSettingMainOptions(){ ?> <table class="form-table"> <tr> <th scope="row"><?php _e('JS libs version', 'wpape_gallery'); ?></th> <td> <fieldset> <label title='<?php _e('Latest version', 'wpape_gallery'); ?>'> <input type='radio' name='<?php echo WPAPE_GALLERY_NAMESPACE.'jqueryVersion'; ?>' value='latest' <?php if( get_option(WPAPE_GALLERY_NAMESPACE.'jqueryVersion', 'latest')=='latest' ) echo " checked='checked'";?> /> <?php _e('Latest version', 'wpape_gallery'); ?> </label> <br /> <label title='<?php _e('No conflict mode to avoid JS conflict', 'wpape_gallery'); ?>'> <input type='radio' name='<?php echo WPAPE_GALLERY_NAMESPACE.'jqueryVersion'; ?>' value='alt' <?php if( get_option(WPAPE_GALLERY_NAMESPACE.'jqueryVersion')=='alt' ) echo " checked='checked'";?> /> <?php _e('No conflict mode to avoid JS conflict', 'wpape_gallery'); ?> </label> <br /> <label title='<?php _e('Hard code, without WP API', 'wpape_gallery'); ?>'> <input type='radio' name='<?php echo WPAPE_GALLERY_NAMESPACE.'jqueryVersion'; ?>' value='include' <?php if( get_option(WPAPE_GALLERY_NAMESPACE.'jqueryVersion')=='include' ) echo " checked='checked'";?> /> <?php _e('Hard code, without WP API', 'wpape_gallery'); ?> </label> </fieldset> </td> </tr> <tr> <th scope="row"><?php _e('Interface', 'wpape_gallery'); ?></th> <td> <fieldset> <label title='<?php _e('Graphical', 'wpape_gallery'); ?>'> <input type='radio' name='<?php echo WPAPE_GALLERY_NAMESPACE.'switchStyle'; ?>' value='0' <?php if( !get_option(WPAPE_GALLERY_NAMESPACE.'switchStyle', '') ) echo " checked='checked'";?> /> <?php _e('Graphical', 'wpape_gallery'); ?> </label><br /> <label title='<?php _e('Classic', 'wpape_gallery'); ?>'> <input type='radio' name='<?php echo WPAPE_GALLERY_NAMESPACE.'switchStyle'; ?>' value='1' <?php if( get_option(WPAPE_GALLERY_NAMESPACE.'switchStyle')=='1' ) echo " checked='checked'";?> /> <?php _e('Classic', 'wpape_gallery'); ?> </label><br /> </fieldset> </td> </tr> <tr> <th scope="row"><?php _e('Start Delay', 'wpape_gallery'); ?></th> <td> <input name="<?php echo WPAPE_GALLERY_NAMESPACE.'delay'; ?>" id="<?php echo WPAPE_GALLERY_NAMESPACE.'delay'; ?>" value="<?php echo (int) get_option(WPAPE_GALLERY_NAMESPACE.'delay', '1000'); ?>" class="small-text" type="text"> ms. </td> </tr> </table> <?php } function wpApeSettingCloneOptions(){ ?> <table class="form-table"> <tr> <th scope="row"><?php _e('Title Prefix', 'wpape_gallery'); ?></th> <td> <input name="<?php echo WPAPE_GALLERY_NAMESPACE.'copyPrefix'; ?>" id="<?php echo WPAPE_GALLERY_NAMESPACE.'copyPrefix'; ?>" value="<?php echo get_option(WPAPE_GALLERY_NAMESPACE.'copyPrefix', ''); ?>" class="regular-text code" type="text"> </td> </tr> <tr> <th scope="row"><?php _e('Title Suffix', 'wpape_gallery'); ?></th> <td> <input name="<?php echo WPAPE_GALLERY_NAMESPACE.'copySuffix'; ?>" id="<?php echo WPAPE_GALLERY_NAMESPACE.'copySuffix'; ?>" value="<?php echo get_option(WPAPE_GALLERY_NAMESPACE.'copySuffix', 'copy'); ?>" class="regular-text code" type="text"> </td> </tr> </table> <?php } wpApeGallerySetting();
SAVE
CANCEL