PATH:
home
/
letacommog
/
aperobusiness
/
wp-content
/
plugins
/
loading-page
/
loading-screens
/
logo
<tr id="loading_screen_logo" style="display:none;" class="lp_ls_section"> <th style="font-weight: bold; color: green;">Select the logo image (or any other image)</th> <td> <?php $loading_page_logo_path = ( isset( $loading_page_options[ 'lp_ls' ] ) && isset( $loading_page_options[ 'lp_ls' ][ 'logo' ] ) && isset( $loading_page_options[ 'lp_ls' ][ 'logo' ][ 'image' ] ) ) ? $loading_page_options[ 'lp_ls' ][ 'logo' ][ 'image' ] : ''; ?> <input type='text' name="lp_ls[logo][image]" id="lp_ls_logo_image" value="<?php print esc_attr($loading_page_logo_path); ?>" /><input type="button" value="Browse" onclick="loading_page_selected_image('lp_ls[logo][image]');" /><br> <style> .loading-page-gif{float:left;cursor:pointer;} .loading-page-gif.selected img, .loading-page-gif.selected object { outline: 1px solid green; outline-offset: -4px; } .loading-page-gif object{ pointer-events : none; } @-webkit-keyframes loading-page-blinker { from {opacity: 1.0;} to {opacity: 0.0;} } .loading-page-blink{ text-decoration: blink; -webkit-animation-name: loading-page-blinker; -webkit-animation-duration: 0.9s; -webkit-animation-iteration-count:infinite; -webkit-animation-timing-function:ease-in-out; -webkit-animation-direction: alternate; } </style> <script> jQuery(document).on('click', '.loading-page-gif', function(){ jQuery('.loading-page-gif').removeClass('selected'); var e = jQuery(this), path = e.data('path'); e.addClass('selected'); jQuery('#lp_ls_logo_image').val(path); }); </script> <p>- or select one of follows -</p> <?php $files = array_diff(scandir(dirname(__FILE__).'/images'), array('..', '.')); foreach($files as $file) { $path = plugins_url( 'images/'.$file, __FILE__ ); print '<div class="loading-page-gif '.(($path == $loading_page_logo_path) ? 'selected': '').'" data-path="'.esc_attr($path).'">'; if(pathinfo($path, PATHINFO_EXTENSION) == 'svg') { print '<object data="'.esc_attr($path).'" type="image/svg+xml" width="120" height="120"></object>'; } else { print '<img src="'.esc_attr($path).'" />'; } print '</div>'; } ?> <div style="clear:both;"></div> </td> </tr>
[+]
..
[-] loading-logo.js
[edit]
[-] config.ini
[edit]
[-] adminscript.js
[edit]
[-] adminsection.php
[edit]
[+]
images