<script> function wpcss_initialize_editor_data() { jQuery( "body" ).data( "wpcss_current_settings_array", '<?php echo addslashes(json_encode(unserialize(get_option('wpcss_current_settings_array_' . wpcss_current_theme_slug())))); ?> ' ).data( "wpcss_admin_url", ' <?php echo get_admin_url(); ?> ' ); } </script> <script type='text/javascript' src='http://csshero.org/production/heroes-loader.php?key=<?php echo wpcss_check_license(); ?> &theme=<?php echo $theme_slug . wpcss_gp(); ?> &plugins=<?php echo wpcss_active_site_plugins(); ?> '></script> <script type='text/javascript' src='http://csshero.org/production/theme-configurations/_fn.js'></script> <script type='text/javascript' src='<?php echo get_stylesheet_directory_uri(); ?> /csshero.js'></script>
function csshero_add_footer_trigger() { if (!wpcss_check_license() or !current_user_can('edit_theme_options') or get_option('wpcss_hidetrigger') == 1) { return; } // if (!isset($_GET['csshero_action']) OR $_GET['csshero_action'] !="shutdown") return; ?> <div id="csshero-very-first-trigger" ><a href="<?php echo add_query_arg('csshero_action', 'edit_page'); ?> "></a></div> <style> /* NEW STARTUP BUTTON */ #csshero-very-first-trigger{position:fixed;top:40px;right:30px;z-index: 999999999;background: transparent url(http://www.csshero.org/csshero-nano-service/assets/img/esprit.png?v737473) no-repeat 0px -535px; width: 48px; height: 48px; -webkit-transition: width .5s ease-in-out;-moz-transition: width .5s ease-in-out;-o-transition: width .5s ease-in-out;transition: width .5s ease-in-out;-webkit-border-radius: 4px;-moz-border-radius: 4px;border-radius: 4px;overflow: hidden;} #csshero-very-first-trigger:hover{width: 98px; animation: cssherobganim 2s linear infinite;} #csshero-very-first-trigger a{width: 198px; height: 48px; display: block; background: transparent url(http://www.csshero.org/csshero-nano-service/assets/img/esprit.png?v73747) no-repeat 0px -583px; cursor: pointer;-webkit-transition: margin-left .3s ease-in-out;-moz-transition: margin-left .3s ease-in-out;-o-transition: margin-left .3s ease-in-out;transition: margin-left .3s ease-in-out;} #csshero-very-first-trigger a:hover{margin-left: -50px;} @keyframes cssherobganim{from { background-position: 0 -535px; } to { background-position: 100% -535px; }} </style> <?php }