WordPress.org

Plugin Directory

Changeset 560585


Ignore:
Timestamp:
06/19/12 14:57:47 (22 months ago)
Author:
ntm
Message:

8.8.10.14 beta 12

Location:
podpress/trunk
Files:
14 edited

Legend:

Unmodified
Added
Removed
  • podpress/trunk/js/podpress.js

    r529614 r560585  
    11/* podpress.js | podPress - JS scripts for the frontend and the Admin Site */ 
     2 
     3    /** 
     4    * podPress_https_check - checks whether the request is an https request and adjusts the protocol if necessary (will change only URLs with the siteurl at the begining) 
     5    * @package podPress 
     6    * @since 8.8.10.14 
     7    * @param String url - an full URL with protocol abbrevation 
     8    * @return String url - the URL with the protocol of the current request  
     9    */ 
     10    function podPress_https_check(url) { 
     11        var siteurl_without_protocol = podPressBlogURL.match(/^https?:\/\//i, url); 
     12        var url_without_protocol = podPressBlogURL.replace(siteurl_without_protocol, ''); 
     13        var siteurl_regexp = new RegExp( url_without_protocol, 'i' ); 
     14        if ( -1 != url.search(siteurl_regexp) ) { 
     15            return url.replace(/^http:/i, window.location.protocol); 
     16        } else { 
     17            return url; 
     18        } 
     19    } 
     20 
    221    function podPressShowVideoPreview (strPlayerDiv, strMediaFile, numWidth, numHeight, strPreviewImg) { 
    322        var refPlayerDiv = document.getElementById('podPressPlayerSpace_'+strPlayerDiv); 
     
    3150        strResult += '  <div class="podPress_videoplayer_middlerow" style="clear:left; width:100%; padding:0px; margin:0px;">'; 
    3251        strResult += '      <span style="width:7px; height:'+numHeight+'px; padding:0px; margin:0px; display:block; float:left; background:url(\''+podPressBackendURL+'images/vpreview_left_background.png\'); background-repeat:repeat-y;"></span>'; 
    33         strResult += '      <img class="podPress_previewImage" src="'+strPreviewImg+'" style="width:'+numWidth+'px; height:'+numHeight+'px; padding:0px; margin:0px; border:0px; float:left; display:inline;" alt="previewImg"  id="podPress_previewImageIMG_'+strPlayerDiv+'" />'; 
     52        strResult += '      <img class="podPress_previewImage" src="'+podPress_https_check(strPreviewImg)+'" style="width:'+numWidth+'px; height:'+numHeight+'px; padding:0px; margin:0px; border:0px; float:left; display:inline;" alt="previewImg"  id="podPress_previewImageIMG_'+strPlayerDiv+'" />'; 
    3453        strResult += '      <span style="width:7px; height:'+numHeight+'px; padding:0px; margin:0px; display:block; float:left; background:url(\''+podPressBackendURL+'images/vpreview_right_background.png\'); background-repeat:repeat-y;"></span>'; 
    3554        strResult += '  </div>'; 
  • podpress/trunk/js/podpress_admin.js

    r555490 r560585  
    444444    podPress_set_AuthorPreview(document.getElementById('iTunesAuthor').value); 
    445445 
    446     var iTunesImageURL = 'http://www.mightyseek.com/images/powered_by_podpress_large.png'; 
     446    var iTunesImageURL = 'http://plugins.svn.wordpress.org/podpress/tags/8.8.10/images/powered_by_podpress_large.png'; 
    447447    if(document.getElementById('iTunesImage').value == '') { 
    448448        if (document.getElementById('rss_image').value != '') { 
     
    453453    } 
    454454 
    455     podPress_set_PreviewImage(iTunesImageURL); 
     455    podPress_set_PreviewImage(podPress_https_check(iTunesImageURL)); 
    456456 
    457457    var rsslanguageIDX = document.getElementById('rss_language').selectedIndex; 
     
    470470 
    471471    if(document.getElementById('rss_image').value == '') { 
    472         document.getElementById('rss_imagePreview').src = 'http://www.mightyseek.com/images/powered_by_podpress.png'; 
    473     } else { 
    474         document.getElementById('rss_imagePreview').src = document.getElementById('rss_image').value; 
     472        document.getElementById('rss_imagePreview').src = 'http://plugins.svn.wordpress.org/podpress/tags/8.8.10/images/powered_by_podpress.png'; 
     473    } else { 
     474        document.getElementById('rss_imagePreview').src = podPress_https_check(document.getElementById('rss_image').value); 
    475475    } 
    476476 
    477477    if(document.getElementById('iTunesImage').value == '') { 
    478         document.getElementById('iTunesImagePreview').src = 'http://www.mightyseek.com/images/powered_by_podpress_large.png'; 
    479     } else { 
    480         document.getElementById('iTunesImagePreview').src = document.getElementById('iTunesImage').value; 
     478        document.getElementById('iTunesImagePreview').src = 'http://plugins.svn.wordpress.org/podpress/tags/8.8.10/images/powered_by_podpress_large.png'; 
     479    } else { 
     480        document.getElementById('iTunesImagePreview').src = podPress_https_check(document.getElementById('iTunesImage').value); 
    481481    } 
    482482} 
     
    547547    } 
    548548 
    549     var iTunesImageURL = 'http://www.mightyseek.com/images/powered_by_podpress_large.png'; 
     549    var iTunesImageURL = 'http://plugins.svn.wordpress.org/podpress/tags/8.8.10/images/powered_by_podpress_large.png'; 
    550550    if(document.getElementById('global_iTunesImage').value == '') { 
    551551        if (document.getElementById('global_rss_image').value != '') { 
     
    565565        }        
    566566    } 
    567     document.getElementById('iTunesPreviewImage').src = iTunesImageURL; 
    568     document.getElementById('YahooPreviewImage').src = iTunesImageURL; 
     567    document.getElementById('iTunesPreviewImage').src = podPress_https_check(iTunesImageURL); 
     568    document.getElementById('YahooPreviewImage').src = podPress_https_check(iTunesImageURL); 
    569569 
    570570    if(document.getElementById('iTunesImageChoice').value == 'Custom') { 
    571571        document.getElementById('iTunesImageWrapper').style.display=''; 
    572         document.getElementById('itunes_image_display').src = document.getElementById('iTunesImage').value; 
     572        document.getElementById('itunes_image_display').src = podPress_https_check(document.getElementById('iTunesImage').value); 
    573573    } else { 
    574574        document.getElementById('iTunesImageWrapper').style.display='none'; 
    575         document.getElementById('itunes_image_display').src = document.getElementById('global_iTunesImage').value; 
     575        document.getElementById('itunes_image_display').src = podPress_https_check(document.getElementById('global_iTunesImage').value); 
    576576    } 
    577577 
    578578    if(document.getElementById('rss_imageChoice').value == 'Custom') { 
    579579        document.getElementById('rss_imageWrapper').style.display=''; 
    580         document.getElementById('rss_image_Display').src = document.getElementById('rss_image').value; 
     580        document.getElementById('rss_image_Display').src = podPress_https_check(document.getElementById('rss_image').value); 
    581581    } else { 
    582582        document.getElementById('rss_imageWrapper').style.display='none'; 
    583         document.getElementById('rss_image_Display').src = document.getElementById('global_rss_image').value; 
     583        document.getElementById('rss_image_Display').src = podPress_https_check(document.getElementById('global_rss_image').value); 
    584584    } 
    585585    if(document.getElementById('rss_copyrightChoice').value == 'Custom') {  
  • podpress/trunk/optional_files/podpress_trac/index.php

    r306056 r560585  
    3333            podPress_processDownloadRedirect($parts[0], $parts[1], $parts[2], 'web'); 
    3434        } else { 
    35             header('Location: '.get_option('siteurl')); 
     35            header('Location: '.site_url()); 
    3636            exit; 
    3737        } 
  • podpress/trunk/podpress.php

    r556727 r560585  
    11<?php 
    2 define('PODPRESS_VERSION', '8.8.10.14 beta 11'); 
     2define('PODPRESS_VERSION', '8.8.10.14 beta 12'); 
    33/* 
    44Info for WordPress: 
    55============================================================================== 
    66Plugin Name: podPress 
    7 Version: 8.8.10.14 beta 11 
     7Version: 8.8.10.14 beta 12 
    88Plugin URI: http://www.mightyseek.com/podpress/ 
    99Description: The podPress plugin gives you everything you need in one easy plugin to use WordPress for Podcasting. Set it up in <a href="admin.php?page=podpress/podpress_feed.php">'podPress'->Feed/iTunes Settings</a>. If this plugin works for you, send us a comment. 
     
    7777*/ 
    7878 
    79 if ( ! function_exists( 'is_ssl' ) ) { 
    80     function is_ssl() { 
    81         if ( isset($_SERVER['HTTPS']) ) { 
    82             if ( 'on' == strtolower($_SERVER['HTTPS']) ) { 
    83                 return true; 
    84             } 
    85             if ( '1' == $_SERVER['HTTPS'] ) { 
    86                 return true; 
    87             } 
    88         } elseif ( isset($_SERVER['SERVER_PORT']) && ( '443' == $_SERVER['SERVER_PORT'] ) ) { 
    89             return true; 
    90         } 
    91         return false; 
    92     } 
    93 } 
    94  
    95 if ( version_compare( get_bloginfo( 'version' ) , '3.0' , '<' ) && is_ssl() ) { 
    96     $wp_content_url = str_replace( 'http://' , 'https://' , get_option( 'siteurl' ) ). '/wp-content'; 
    97 } else { 
    98     $wp_content_url = get_option( 'siteurl' ). '/wp-content'; 
    99 } 
    100  
    101 add_filter('option_siteurl', 'podpress_siteurl_is_ssl'); 
    102 function podpress_siteurl_is_ssl($siturl) { 
    103     if ( is_ssl() ) { 
    104         return str_replace( 'http://' , 'https://' , $siturl ); 
    105     } else { 
    106         return $siturl; 
    107     } 
    108 } 
    109  
    11079// Pre-2.6 compatibility  
    111 if ( ! defined( 'WP_CONTENT_URL' ) ) { define( 'WP_CONTENT_URL', $wp_content_url ); } 
     80if ( ! defined( 'WP_CONTENT_URL' ) ) { define( 'WP_CONTENT_URL', site_url() . '/wp-content' ); } 
    11281if ( ! defined( 'WP_CONTENT_DIR' ) ) { define( 'WP_CONTENT_DIR', ABSPATH . 'wp-content' ); } 
    11382if ( ! defined( 'WP_PLUGIN_URL' ) ) { define( 'WP_PLUGIN_URL', WP_CONTENT_URL. '/plugins' ); } 
    11483if ( ! defined( 'WP_PLUGIN_DIR' ) ) { define( 'WP_PLUGIN_DIR', WP_CONTENT_DIR . '/plugins' ); } 
     84if ( ! defined( 'WPMU_PLUGIN_URL' ) ) { define( 'WPMU_PLUGIN_URL', WP_CONTENT_URL. '/mu-plugins' ); } 
     85if ( ! defined( 'WPMU_PLUGIN_DIR' ) ) { define( 'WPMU_PLUGIN_DIR', WP_CONTENT_DIR . '/mu-plugins' ); } 
    11586if ( ! defined( 'PODPRESS_URL' ) ) { define( 'PODPRESS_URL', WP_PLUGIN_URL.'/'.dirname(plugin_basename(__FILE__)) ); } 
    11687if ( ! defined( 'PODPRESS_DIR' ) ) { define( 'PODPRESS_DIR', WP_PLUGIN_DIR.'/'.dirname(plugin_basename(__FILE__)) ); } 
    117  
     88        
    11889// the folder for config file for podPress like podpress_xspf_config.php 
    11990if ( ! defined( 'PODPRESS_OPTIONS_URL' ) ) { define( 'PODPRESS_OPTIONS_URL', WP_PLUGIN_URL.'/podpress_options' ); } 
     
    152123    // to (de-)activate the Podango Integration (default: FALSE) - Leave this feature deactivated because the Podango platform and all coresponding feature are offline for a long time (since end of 2008) now. 
    153124    if ( ! defined( 'PODPRESS_ACTIVATE_PODANGO_INTEGRATION' ) ) { define( 'PODPRESS_ACTIVATE_PODANGO_INTEGRATION', FALSE ); } 
     125     
    154126    // to (de-)activate the 3rd party stats feature (default: TRUE) 
    155127    if ( ! defined( 'PODPRESS_ACTIVATE_3RD_PARTY_STATS' ) ) { define( 'PODPRESS_ACTIVATE_3RD_PARTY_STATS', TRUE ); } 
     
    182154        podPress_checkmem('podPress functions loaded'); 
    183155        if($podPress_x = @parse_url($_SERVER['REQUEST_URI'])) { 
     156            $podPress_parsed_url = $podPress_x; 
    184157            $podPress_x = $podPress_x['path']; 
    185158            if (strpos($podPress_x, 'crossdomain.xml')) { 
     
    190163                $podPress = new podPress_class; 
    191164                podPress_checkmem('standard podPress class loaded'); 
    192                 podPress_statsDownloadRedirect($podPress_x); 
     165                if ( TRUE === isset($_SERVER['HTTPS']) AND FALSE === empty($_SERVER['HTTPS']) ) { 
     166                    podPress_statsDownloadRedirect($podPress_x, TRUE); 
     167                } else { 
     168                    podPress_statsDownloadRedirect($podPress_x, FALSE); 
     169                } 
    193170                exit; 
    194171            } 
     172            unset($podPress_parsed_url); 
    195173            unset($podPress_x); 
    196174        } 
     
    209187        podPress_checkmem('podPress start'); 
    210188 
    211         if(file_exists(ABSPATH.PLUGINDIR.'/podpress.php')) { 
     189        if(file_exists(PODPRESS_DIR.'.php')) { 
    212190            echo __('It appears you are upgrading podPress, but left the pre-4.x version of podpress.php file in the plugins directory. Please delete this file to continue.', 'podpress'); 
    213191            exit; 
     
    251229        } 
    252230        if ($podPress_inUpgrade) { 
    253             require_once(ABSPATH.PLUGINDIR.'/podpress/podpress_upgrade_class.php'); 
     231            require_once(PODPRESS_DIR.'/podpress_upgrade_class.php'); 
    254232            podPress_checkmem('podpress upgrade class loaded'); 
    255233            $podPress = new podPress_class(); 
     
    259237        if ( TRUE == is_admin() ) { 
    260238            podPress_checkmem('podpress admin functions loaded', true); 
    261             require_once(ABSPATH.PLUGINDIR.'/podpress/podpress_admin_functions.php'); 
     239            require_once(PODPRESS_DIR.'/podpress_admin_functions.php'); 
    262240            podPress_checkmem('podpress admin functions loaded'); 
    263241            if(isset($_GET['page'])) { 
     
    270248            switch($podPress_adminPage) { 
    271249                case 'podpress/podpress_general.php': 
    272                     require_once(ABSPATH.PLUGINDIR.'/podpress/podpress_admin_general_class.php'); 
     250                    require_once(PODPRESS_DIR.'/podpress_admin_general_class.php'); 
    273251                    podPress_checkmem('admin general code loaded'); 
    274252                break; 
    275253                case 'podpress/podpress_feed.php': 
    276                     require_once(ABSPATH.PLUGINDIR.'/podpress/podpress_admin_feed_class.php'); 
     254                    require_once(PODPRESS_DIR.'/podpress_admin_feed_class.php'); 
    277255                    podPress_checkmem('admin feed code loaded'); 
    278256                break; 
    279257                case 'podpress/podpress_players.php': 
    280                     require_once(ABSPATH.PLUGINDIR.'/podpress/podpress_admin_player_class.php'); 
     258                    require_once(PODPRESS_DIR.'/podpress_admin_player_class.php'); 
    281259                    podPress_checkmem('admin player code loaded'); 
    282260                break; 
    283261                case 'podpress/podpress_stats.php': 
    284                     require_once(ABSPATH.PLUGINDIR.'/podpress/podpress_admin_stats_class.php'); 
     262                    require_once(PODPRESS_DIR.'/podpress_admin_stats_class.php'); 
    285263                    podPress_checkmem('admin stats code loaded'); 
    286264                break; 
    287265                case 'podpress/podpress_podango.php': 
    288                     require_once(ABSPATH.PLUGINDIR.'/podpress/podpress_admin_podango_class.php'); 
     266                    require_once(PODPRESS_DIR.'/podpress_admin_podango_class.php'); 
    289267                    podPress_checkmem('admin podango code loaded'); 
    290268                break; 
    291269                default: 
    292                     require_once(ABSPATH.PLUGINDIR.'/podpress/podpress_admin_class.php'); 
     270                    require_once(PODPRESS_DIR.'/podpress_admin_class.php'); 
    293271                    podPress_checkmem('admin code loaded'); 
    294272                break; 
     
    297275            if($podPress->settings['enablePodangoIntegration']) { 
    298276                podPress_checkmem('PodangoAPI code loaded', true); 
    299                 require_once(ABSPATH.PLUGINDIR.'/podpress/podango-api.php'); 
     277                require_once(PODPRESS_DIR.'/podango-api.php'); 
    300278                $podPress->podangoapi = new PodangoAPI ($podPress->settings['podangoUserKey'], $podPress->settings['podangoPassKey']); 
    301279                if(!empty($podPress->settings['podangoDefaultPodcast'])) { 
     
    393371    /* stuff for premium podcasts */ 
    394372    if ( isset($podPress->settings['enablePremiumContent']) AND TRUE === $podPress->settings['enablePremiumContent'] ) { 
    395         require_once(ABSPATH.PLUGINDIR.'/podpress/podpress_premium_functions.php'); 
     373        require_once(PODPRESS_DIR.'/podpress_premium_functions.php'); 
    396374        podPress_checkmem('premium functions included'); 
    397375        #add_action('wp_login', 'podpress_adddigestauth'); 
     
    488466        if ( version_compare( $wp_version, '2.7', '>=' ) ) { 
    489467            $menutitle = __('podPress', 'podpress'); 
    490             add_menu_page('podPress',  $menutitle, $permission_needed, 'podpress/'.$starting_point.'.php', '', PODPRESS_URL.'/images/podpress_icon_r2_v2_16.png'); 
     468            add_menu_page('podPress',  $menutitle, $permission_needed, 'podpress/'.$starting_point.'.php', '', plugins_url('/images/podpress_icon_r2_v2_16.png', __FILE__) ); 
    491469        } else { 
    492470            add_menu_page('podPress', 'podPress', $permission_needed, 'podpress/'.$starting_point.'.php'); 
     
    526504// for WP 2.7+ 
    527505function podpress_print_frontend_js() { 
    528     wp_register_script( 'podpress_frontend_script',  PODPRESS_URL.'/js/podpress.js' ); 
     506    wp_register_script( 'podpress_frontend_script',  plugins_url('js/podpress.js', __FILE__) ); 
    529507    wp_enqueue_script( 'podpress_frontend_script' ); 
    530508     
     
    538516// for WP 2.7+ 
    539517function podpress_print_frontend_css() { 
     518    # if there is a podpress.css in the template folder then take this file otherwise use the default one 
    540519    if (file_exists(get_template_directory().'/podpress.css')) { 
    541520        wp_register_style( 'podpress_frontend_styles',  get_template_directory_uri().'/podpress.css' ); 
    542521    } else { 
    543         wp_register_style( 'podpress_frontend_styles',  PODPRESS_URL.'/podpress.css' ); 
     522        wp_register_style( 'podpress_frontend_styles',  plugins_url('podpress.css', __FILE__) ); 
    544523    } 
    545524    wp_enqueue_style( 'podpress_frontend_styles' ); 
     
    548527function podPress_wp_head() { 
    549528    // frontend header 
    550     echo '<script type="text/javascript" src="'.PODPRESS_URL.'/js/podpress.js"></script>'."\n"; 
     529    echo '<script type="text/javascript" src="'. plugins_url('js/podpress.js', __FILE__) .'"></script>'."\n"; 
    551530     
    552531    // ntm: this way of loading a localized Js scripts is probably not very elegant but it works in WP version older than 2.3 
     
    559538        echo '<link rel="stylesheet" href="'.get_template_directory_uri().'/podpress.css" type="text/css" />'."\n"; 
    560539    } else { 
    561         echo '<link rel="stylesheet" href="'.PODPRESS_URL.'/podpress.css" type="text/css" />'."\n"; 
     540        echo '<link rel="stylesheet" href="'.plugins_url('podpress.css', __FILE__).'" type="text/css" />'."\n"; 
    562541    } 
    563542     
     
    637616// for WP 2.7+ 
    638617function podpress_print_admin_statistics_js() { 
    639     wp_register_script( 'podpress_admin_statistics_script',  PODPRESS_URL.'/js/podpress_admin_statistics.js' ); 
     618    wp_register_script( 'podpress_admin_statistics_script',  plugins_url('/js/podpress_admin_statistics.js', __FILE__) ); 
    640619    wp_enqueue_script( 'podpress_admin_statistics_script' ); 
    641620} 
    642621// for WP 2.7+ 
    643622function podpress_print_admin_statistics_css() { 
    644     wp_register_style( 'podpress_admin_statistics_styles',  PODPRESS_URL.'/podpress_admin_statistics.css' ); 
     623    wp_register_style( 'podpress_admin_statistics_styles',  plugins_url('/podpress_admin_statistics.css', __FILE__) ); 
    645624    wp_enqueue_style( 'podpress_admin_statistics_styles' ); 
    646625} 
     
    649628    GLOBAL $pagenow, $wp_version; 
    650629    $page_with_podPress = Array('post.php', 'page.php', 'post-new.php', 'page-new.php', 'categories.php', 'admin.php', 'edit-tags.php'); 
     630    $plugins_url = plugins_url('', __FILE__); 
    651631    if ( in_array($pagenow, $page_with_podPress) ) { 
    652         wp_register_script( 'podpress_js',  PODPRESS_URL.'/js/podpress.js' ); 
    653         wp_register_script( 'podpress_admin_js',  PODPRESS_URL.'/js/podpress_admin.js' ); 
     632        wp_register_script( 'podpress_js', $plugins_url.'/js/podpress.js' ); 
     633        wp_register_script( 'podpress_admin_js', $plugins_url.'/js/podpress_admin.js' ); 
    654634        wp_enqueue_script( 'podpress_js' ); 
    655635        wp_enqueue_script( 'podpress_admin_js' ); 
     
    664644         
    665645    if ( 'admin.php' == $pagenow AND 'podpress/podpress_feed.php' == $_GET['page'] ) { 
    666         wp_register_script( 'podpress_jquery_ui',  PODPRESS_URL.'/js/jquery/podpress_jquery_ui_feedssettings.js' ); 
     646        wp_register_script( 'podpress_jquery_ui',  $plugins_url.'/js/jquery/podpress_jquery_ui_feedssettings.js' ); 
    667647    } 
    668648    if ( 'widgets.php' == $pagenow ) { 
    669649        if ( TRUE == version_compare($wp_version, '3.3', '>=') ) { 
    670             wp_register_script( 'podpress_jquery_ui',  PODPRESS_URL.'/js/jquery/podpress_jquery_ui_widgetssettings.js' ); 
     650            wp_register_script( 'podpress_jquery_ui',  $plugins_url.'/js/jquery/podpress_jquery_ui_widgetssettings.js' ); 
    671651        } elseif ( TRUE == version_compare($wp_version, '2.9', '>=') AND TRUE == version_compare($wp_version, '3.3', '<') ) { 
    672             wp_register_script( 'podpress_jquery_ui',  PODPRESS_URL.'/js/jquery/podpress_jquery_ui_widgetssettings_wp29_to_wp32.js' ); 
     652            wp_register_script( 'podpress_jquery_ui',  $plugins_url.'/js/jquery/podpress_jquery_ui_widgetssettings_wp29_to_wp32.js' ); 
    673653        } elseif ( TRUE == version_compare($wp_version, '2.8', '>=') AND TRUE == version_compare($wp_version, '2.9', '<') ) { 
    674             wp_register_script( 'podpress_jquery_ui',  PODPRESS_URL.'/js/jquery/podpress_jquery_ui_widgetssettings_wp28.js' ); 
     654            wp_register_script( 'podpress_jquery_ui',  $plugins_url.'/js/jquery/podpress_jquery_ui_widgetssettings_wp28.js' ); 
    675655        } elseif (TRUE == version_compare($wp_version, '2.8', '<')) { 
    676             wp_register_script( 'podpress_jquery_ui',  PODPRESS_URL.'/js/jquery/podpress_jquery_ui_widgetssettings_pre_wp28.js' ); 
     656            wp_register_script( 'podpress_jquery_ui',  $plugins_url.'/js/jquery/podpress_jquery_ui_widgetssettings_pre_wp28.js' ); 
    677657        } 
    678658    } 
    679659    if ( ('admin.php' == $pagenow AND 'podpress/podpress_feed.php' == $_GET['page']) OR 'widgets.php' == $pagenow ) { 
    680         wp_register_script( 'podpress-jquery-ui-core',  PODPRESS_URL.'/js/jquery/jquery-1.4.2.min.js' ); 
    681         wp_register_script( 'podpress_jquery_init',  PODPRESS_URL.'/js/jquery/podpress_jquery_init.js' ); 
    682         wp_register_script( 'jquery-ui-accordion-dialog',  PODPRESS_URL.'/js/jquery/jquery-ui-1.8.5.accordion_dialog.min.js' ); 
     660        wp_register_script( 'podpress-jquery-ui-core',  $plugins_url.'/js/jquery/jquery-1.4.2.min.js' ); 
     661        wp_register_script( 'podpress_jquery_init',  $plugins_url.'/js/jquery/podpress_jquery_init.js' ); 
     662        wp_register_script( 'jquery-ui-accordion-dialog',  $plugins_url.'/js/jquery/jquery-ui-1.8.5.accordion_dialog.min.js' ); 
    683663        wp_enqueue_script( 'podpress-jquery-ui-core' ); 
    684664        wp_enqueue_script( 'podpress_jquery_init' ); 
     
    689669// for WP 2.7+ 
    690670function podpress_print_admin_css() { 
    691     wp_register_style( 'podpress_admin_styles',  PODPRESS_URL.'/podpress_admin_wp27plus.css' ); 
     671    wp_register_style( 'podpress_admin_styles',  plugins_url('/podpress_admin_wp27plus.css', __FILE__) ); 
    692672    wp_enqueue_style( 'podpress_admin_styles' ); 
    693673    GLOBAL $pagenow; 
     
    697677    } 
    698678    if ( ('admin.php' == $pagenow AND 'podpress/podpress_feed.php' == $_GET['page']) OR 'widgets.php' == $pagenow ) { 
    699         wp_register_style( 'podpress_jquery_ui',  PODPRESS_URL.'/js/jquery/css/custom-theme/jquery-ui-1.8.5.custom.css' ); 
     679        wp_register_style( 'podpress_jquery_ui',  plugins_url('/js/jquery/css/custom-theme/jquery-ui-1.8.5.custom.css', __FILE__) ); 
    700680        wp_enqueue_style( 'podpress_jquery_ui' ); 
    701681    } 
     
    706686    Global $pagenow, $wp_version; 
    707687    $page_with_podPress = Array('post.php', 'page.php', 'post-new.php', 'page-new.php', 'categories.php', 'admin.php'); 
     688    $plugins_url = plugins_url('', __FILE__); 
    708689    if ( in_array($pagenow, $page_with_podPress) ) { 
    709      
    710690        // ntm: this way of loading a localized Js scripts is probably not very elegant but it works in WP version older than 2.3 
    711691        // I know that since WP 2.3 the function wp_localize_script() exists and when it is decided to raise the minimum WP requirement of this plugin then this method will be used. 
     
    715695        podpress_print_js_vars(); 
    716696         
    717         echo '<script type="text/javascript" src="'.PODPRESS_URL.'/js/podpress.js"></script>'."\n"; 
    718         echo '<script type="text/javascript" src="'.PODPRESS_URL.'/js/podpress_admin.js"></script>'."\n"; 
     697        echo '<script type="text/javascript" src="'.$plugins_url.'/js/podpress.js"></script>'."\n"; 
     698        echo '<script type="text/javascript" src="'.$plugins_url.'/js/podpress_admin.js"></script>'."\n"; 
    719699    } 
    720700    $page_with_podPress = Array('post.php', 'page.php', 'post-new.php', 'page-new.php', 'categories.php', 'admin.php', 'widgets.php'); 
    721701    if ( in_array($pagenow, $page_with_podPress) ) { 
    722         //~ if ( function_exists('wp_admin_tiger_css') ) { 
    723702        if ( TRUE == version_compare($wp_version, '2.5', '>=') AND TRUE == version_compare($wp_version, '2.7', '<') ) { 
    724703            $admincss = 'podpress_admin_tigercheck.css'; 
     
    726705            $admincss = 'podpress_admin.css'; 
    727706        } 
    728         echo '<link rel="stylesheet" href="'.PODPRESS_URL.'/'.$admincss.'" type="text/css" />'."\n"; 
     707        echo '<link rel="stylesheet" href="'.$plugins_url.'/'.$admincss.'" type="text/css" />'."\n"; 
    729708    } 
    730709     
    731710    if ( ('admin.php' == $pagenow AND 'podpress/podpress_feed.php' == $_GET['page']) OR 'widgets.php' == $pagenow ) { 
    732         echo '<script type="text/javascript" src="'.PODPRESS_URL.'/js/jquery/jquery-1.4.2.min.js"></script>'."\n"; 
    733         echo '<script type="text/javascript" src="'.PODPRESS_URL.'/js/jquery/podpress_jquery_init.js"></script>'."\n"; 
    734         echo '<script type="text/javascript" src="'.PODPRESS_URL.'/js/jquery/jquery-ui-1.8.5.accordion_dialog.min.js"></script>'."\n"; 
     711        echo '<script type="text/javascript" src="'.$plugins_url.'/js/jquery/jquery-1.4.2.min.js"></script>'."\n"; 
     712        echo '<script type="text/javascript" src="'.$plugins_url.'/js/jquery/podpress_jquery_init.js"></script>'."\n"; 
     713        echo '<script type="text/javascript" src="'.$plugins_url.'/js/jquery/jquery-ui-1.8.5.accordion_dialog.min.js"></script>'."\n"; 
    735714        if ( 'widgets.php' == $pagenow ) { 
    736             echo '<script type="text/javascript" src="'.PODPRESS_URL.'/js/jquery/podpress_jquery_ui_widgetssettings_pre_wp28.js"></script>'."\n"; 
    737         } else { 
    738             echo '<script type="text/javascript" src="'.PODPRESS_URL.'/js/jquery/podpress_jquery_ui_feedssettings.js"></script>'."\n"; 
    739         } 
    740         echo '<link rel="stylesheet" href="'.PODPRESS_URL.'/js/jquery/css/custom-theme/jquery-ui-1.8.5.custom.css" type="text/css" />'."\n"; 
     715            echo '<script type="text/javascript" src="'.$plugins_url.'/js/jquery/podpress_jquery_ui_widgetssettings_pre_wp28.js"></script>'."\n"; 
     716        } else { 
     717            echo '<script type="text/javascript" src="'.$plugins_url.'/js/jquery/podpress_jquery_ui_feedssettings.js"></script>'."\n"; 
     718        } 
     719        echo '<link rel="stylesheet" href="'.$plugins_url.'/js/jquery/css/custom-theme/jquery-ui-1.8.5.custom.css" type="text/css" />'."\n"; 
    741720    } 
    742721    if ( ('admin.php' == $pagenow AND 'podpress/podpress_players.php' == $_GET['page']) OR 'widgets.php' == $pagenow ) { 
    743         echo '<link rel="stylesheet" href="'.PODPRESS_URL.'/podpress.css'.'" type="text/css" />'."\n"; 
     722        echo '<link rel="stylesheet" href="'.$plugins_url.'/podpress.css'.'" type="text/css" />'."\n"; 
    744723    } 
    745724    if ( 'admin.php' == $pagenow AND 'podpress/podpress_stats.php' == $_GET['page'] ) { 
    746         echo '<script type="text/javascript" src="'.PODPRESS_URL.'/js/podpress_admin_statistics.js"></script>'."\n"; 
    747         echo '<link rel="stylesheet" href="'.PODPRESS_URL.'/podpress_admin_statistics.css'.'" type="text/css" />'."\n"; 
     725        echo '<script type="text/javascript" src="'.$plugins_url.'/js/podpress_admin_statistics.js"></script>'."\n"; 
     726        echo '<link rel="stylesheet" href="'.$plugins_url.'/podpress_admin_statistics.css'.'" type="text/css" />'."\n"; 
    748727    } 
    749728} 
     
    779758            } 
    780759        } 
    781         echo '<script type="text/javascript" src="'.PODPRESS_URL.'/players/1pixelout/1pixelout_audio-player.js"></script>'."\n"; 
     760        echo '<script type="text/javascript" src="'. plugins_url('/players/1pixelout/1pixelout_audio-player.js', __FILE__) . '"></script>'."\n"; 
    782761        echo '<script type="text/javascript">//<![CDATA['."\n"; 
    783762        echo '  var podPressPlayerFile = "1pixelout_player.swf";'."\n"; // this is for the Play in Popup function, too! 
    784763        echo '  var podPressPopupPlayerOpt = new Object();'."\n"; 
    785764        echo $podpupplayerOptions; 
    786         echo '  podpressAudioPlayer.setup("'.PODPRESS_URL.'/players/1pixelout/" + podPressPlayerFile, {'.$playerOptions.' pagebg:"FFFFFF", transparentpagebg:"yes", encode: "no"} );'."\n"; 
     765        echo '  podpressAudioPlayer.setup("'. plugins_url('', __FILE__) .'/players/1pixelout/" + podPressPlayerFile, {'.$playerOptions.' pagebg:"FFFFFF", transparentpagebg:"yes", encode: "no"} );'."\n"; 
    787766        echo '//]]></script>'."\n"; 
    788767    } 
    789768    echo '<script type="text/javascript">//<![CDATA['."\n"; 
    790     echo 'var podPressBlogURL = "'.get_option('siteurl').'/";'."\n"; 
    791     echo 'var podPressBackendURL = "'.PODPRESS_URL.'/";'."\n"; 
     769    echo 'var podPressBlogURL = "'. site_url() .'/";'."\n"; 
     770    echo 'var podPressBackendURL = "'. plugins_url('', __FILE__) .'/";'."\n"; 
    792771    if ( FALSE == isset($podPress->settings['videoPreviewImage']) OR empty($podPress->settings['videoPreviewImage']) ) { 
    793772        echo 'var podPressDefaultPreviewImage = podPressBackendURL+"images/vpreview_center.png";'."\n"; 
     
    851830function podPress_print_feed_links_to_header() { 
    852831    GLOBAL $podPress; 
    853     if ( is_array($podPress->settings['podpress_feeds']) AND FALSE == empty($podPress->settings['podpress_feeds']) ) { 
     832    if ( is_array($podPress->settings['podpress_feeds']) AND FALSE === empty($podPress->settings['podpress_feeds']) ) { 
    854833        echo "\n"; 
    855834        $blogname = get_bloginfo('name'); 
    856835        foreach ($podPress->settings['podpress_feeds'] as $feed) { 
    857             if ( isset($feed['use_headerlink']) AND TRUE === $feed['use_headerlink'] AND TRUE === $feed['use'] AND FALSE == empty($feed['slug']) ) {//TRUE === $feed['use_headerlink']  
     836            if ( isset($feed['use_headerlink']) AND TRUE === $feed['use_headerlink'] AND TRUE === $feed['use'] AND FALSE === empty($feed['slug']) ) {//TRUE === $feed['use_headerlink']  
    858837                switch ( $feed['feedtitle'] ) { 
    859838                    default: 
     
    897876    // ntm: old podPress version check. It checks only at myghtyseek.com and not at wordpress.org for new versions !!! and only on the plugins.php page 
    898877    if ((strpos($_SERVER['REQUEST_URI'], 'plugins.php') !== false) && (podPress_remote_version_check() == 1)) { 
    899         echo "<script type='text/javascript' src='" . PODPRESS_URL . "/js/prototype/prototype-1.4.0.js'></script>\n"; 
     878        echo "<script type='text/javascript' src='" . plugins_url('js/prototype/prototype-1.4.0.js', __FILE__)."'></script>\n"; 
    900879        $alert = "\n"; 
    901880        $alert .= "\n<script type='text/javascript'>"; 
     
    12051184        case 'atom' : 
    12061185            if (!function_exists('do_feed_atom') OR TRUE == version_compare('2.3', $wp_version,'>')) {  
    1207                 load_template(ABSPATH.PLUGINDIR.'/podpress/wp-atom1.php'); 
     1186                load_template(PODPRESS_DIR.'/wp-atom1.php'); 
    12081187            } else { 
    12091188                do_feed_atom($withcomments); 
     
    12241203    GLOBAL $podPress, $podPress_feedHooksAdded; 
    12251204    if(!$podPress_feedHooksAdded) { 
    1226         require_once(ABSPATH.PLUGINDIR.'/podpress/podpress_feed_functions.php'); 
     1205        require_once(PODPRESS_DIR.'/podpress_feed_functions.php'); 
    12271206        podPress_checkmem('podPress feed functions loaded'); 
    12281207        add_filter('option_blogname', 'podPress_feedblogname'); 
     
    12881267    echo "\n<!-- podPress dbx for modern WP versions - page -->\n"; 
    12891268} 
     1269 
     1270 
     1271if ( ! function_exists( 'is_ssl' ) ) { 
     1272    /** 
     1273    * is_ssl - is the is_ssl() function from WP. It provides backwards compatibility (is_ssl() was new in WP 2.6). 
     1274    * 
     1275    * @package podPress 
     1276    * @since 8.8.10.14 
     1277    * 
     1278    * @return bool - returns TRUE if it is a SSL request and FALSE if not 
     1279    */ 
     1280    function is_ssl() { 
     1281        if ( isset($_SERVER['HTTPS']) ) { 
     1282            if ( 'on' == strtolower($_SERVER['HTTPS']) ) { 
     1283                return true; 
     1284            } 
     1285            if ( '1' == $_SERVER['HTTPS'] ) { 
     1286                return true; 
     1287            } 
     1288        } elseif ( isset($_SERVER['SERVER_PORT']) && ( '443' == $_SERVER['SERVER_PORT'] ) ) { 
     1289            return true; 
     1290        } 
     1291        return false; 
     1292    } 
     1293} 
     1294 
     1295if ( ! function_exists( 'site_url' ) ) { 
     1296    /** 
     1297    * site_url - is a function which should provide backwards compatibility if podPress is used with WP older than 2.6. (site_url() was new in WP 2.6. 
     1298    * 
     1299    * @package podPress 
     1300    * @since 8.8.10.14 
     1301    * 
     1302    * @return str $siteurl - the site URL or an empty string 
     1303    */ 
     1304    function site_url() { 
     1305        $siteurl = get_option('siteurl'); 
     1306        if (FALSE !== $siteurl) { 
     1307            return podpress_siteurl_is_ssl($siteurl); 
     1308        } else { 
     1309            return ''; 
     1310        } 
     1311    } 
     1312} 
     1313 
     1314if ( ! function_exists( 'plugins_url' ) ) { 
     1315    /** 
     1316    * Retrieve the url to the plugins directory or to a specific file within that directory. 
     1317    * You can hardcode the plugin slug in $path or pass __FILE__ as a second argument to get the correct folder name. 
     1318    * 
     1319    * @package WordPress 
     1320    * @since 2.6.0 
     1321    * 
     1322    * @param string $path Optional. Path relative to the plugins url. 
     1323    * @param string $plugin Optional. The plugin file that you want to be relative to - i.e. pass in __FILE__ 
     1324    * @return string Plugins url link with optional path appended. 
     1325    */ 
     1326    function plugins_url($path = '', $plugin = '') { 
     1327        $mu_plugin_dir = WPMU_PLUGIN_DIR; 
     1328        foreach ( array('path', 'plugin', 'mu_plugin_dir') as $var ) { 
     1329            $$var = str_replace('\\' ,'/', $$var); // sanitize for Win32 installs 
     1330            $$var = preg_replace('|/+|', '/', $$var); 
     1331        } 
     1332        if ( !empty($plugin) && 0 === strpos($plugin, $mu_plugin_dir) ) { 
     1333            $url = WPMU_PLUGIN_URL; 
     1334        } else { 
     1335            $url = WP_PLUGIN_URL; 
     1336        } 
     1337        if ( 0 === strpos($url, 'http') && is_ssl() ) { 
     1338            $url = str_replace( 'http://', 'https://', $url ); 
     1339        } 
     1340        if ( !empty($plugin) && is_string($plugin) ) { 
     1341            $folder = dirname(plugin_basename($plugin)); 
     1342            if ( '.' != $folder ) { 
     1343                $url .= '/' . ltrim($folder, '/'); 
     1344            } 
     1345        } 
     1346       
     1347        if ( !empty($path) && is_string($path) && strpos($path, '..') === false ) { 
     1348            $url .= '/' . ltrim($path, '/'); 
     1349        } 
     1350        return apply_filters('plugins_url', $url, $path, $plugin); 
     1351    } 
     1352} 
     1353 
     1354/** 
     1355* podpress_siteurl_is_ssl - switches URLs which include the siteurl to a https:// URL if it is an SSL request 
     1356* 
     1357* @package podPress 
     1358* @since 8.8.10.14 
     1359* 
     1360* @param str $url - the URL string which should be controlled and modified 
     1361* 
     1362* @return str $url - the URL 
     1363*/ 
     1364function podpress_siteurl_is_ssl($url) { 
     1365    if ( TRUE === is_ssl() ) { 
     1366        printphpnotices_var_dump($url); 
     1367        $inludes_siteurl = strpos( $url, str_replace('https://' , 'http://' , site_url()) ); 
     1368        if ( FALSE !== $inludes_siteurl AND 0 == $inludes_siteurl ) { 
     1369            printphpnotices_var_dump($inludes_siteurl); 
     1370            return str_replace( 'http://' , 'https://' , $url ); 
     1371        } else { 
     1372            return $url; 
     1373        } 
     1374    } else { 
     1375        return $url; 
     1376    } 
     1377} 
     1378 
    12901379 
    12911380// some helper functions 
  • podpress/trunk/podpress_admin_class.php

    r556727 r560585  
    3737 
    3838        function post_form($entryType = 'post') { 
    39          
     39             
     40            $plugins_url = plugins_url('', __FILE__); 
     41             
    4042            if(!is_object($GLOBALS['post']) && isset($GLOBALS['post_cache'][$GLOBALS['post']])) { 
    4143                $post = $GLOBALS['post_cache'][$GLOBALS['post']]; 
     
    345347                echo '                      </td>'."\n"; 
    346348                echo '                      <td>'."\n"; 
    347                 echo '                          <input type="text" id="podPressMedia_'.$num.'_size" name="podPressMedia['.$num.'][size]" size="10" value="'.$thisMedia['size'].'" onchange="javascript: podPressMediaFiles['.$num.'][\'size\'] = this.value;"/> '.__('[in byte]', 'podpress').' <img src="'.PODPRESS_URL.'/images/ajax-loader.gif" id="podPressMedia_'.$num.'_size_loadimg" class="podpress_ajax_loader_img" /><input type="button" id="podPressMedia_'.$num.'_size_detectbutton" value="'.__('Auto Detect', 'podpress').'" onclick="podPress_getfileinfo(\'size\', '.$num.');"/>'."\n"; 
     349                echo '                          <input type="text" id="podPressMedia_'.$num.'_size" name="podPressMedia['.$num.'][size]" size="10" value="'.$thisMedia['size'].'" onchange="javascript: podPressMediaFiles['.$num.'][\'size\'] = this.value;"/> '.__('[in byte]', 'podpress').' <img src="'.$plugins_url.'/images/ajax-loader.gif" id="podPressMedia_'.$num.'_size_loadimg" class="podpress_ajax_loader_img" /><input type="button" id="podPressMedia_'.$num.'_size_detectbutton" value="'.__('Auto Detect', 'podpress').'" onclick="podPress_getfileinfo(\'size\', '.$num.');"/>'."\n"; 
    348350                echo '                      </td>'."\n"; 
    349351                echo '                  </tr>'."\n"; 
     
    353355                echo '                      </td>'."\n"; 
    354356                echo '                      <td>'."\n"; 
    355                 echo '                          <input type="text" id="podPressMedia_'.$num.'_duration" name="podPressMedia['.$num.'][duration]" size="10" value="'.$thisMedia['duration'].'" onchange="javascript: podPressMediaFiles['.$num.'][\'duration\'] = this.value;"/> <span class="podpress_abbr" title="'.__('hours:minutes:seconds - for example: 2:45:10 or 34:01 or 1:36 or 120:47 or 0:10', 'podpress').'">'.__('[hh:mm:ss]', 'podpress').'</span> <img src="'.PODPRESS_URL.'/images/ajax-loader.gif" id="podPressMedia_'.$num.'_duration_loadimg" class="podpress_ajax_loader_img" /><input type="button" id="podPressMedia_'.$num.'_duration_detectbutton" value="'.__('Auto Detect', 'podpress').'" onclick="podPress_getfileinfo(\'duration\', '.$num.');"/> ('.sprintf(__('This may take some time for remote files. %1$s', 'podpress'), '<span class="podpress_abbr" title="'.__('If the file is not on the same server as your blog then podPress will attempt to download the file in order to get this information with the help of getID3() which is only able to retrieve ID3 tags from local files. podPress removes the temporary download file at the end of this process. It is likely that this feature works only for relative small files because the download is probably limited by execution time and memory limits on the server of your blog.', 'podpress').'">'.__('Because ...', 'podpress').'</span>').')'."\n"; 
     357                echo '                          <input type="text" id="podPressMedia_'.$num.'_duration" name="podPressMedia['.$num.'][duration]" size="10" value="'.$thisMedia['duration'].'" onchange="javascript: podPressMediaFiles['.$num.'][\'duration\'] = this.value;"/> <span class="podpress_abbr" title="'.__('hours:minutes:seconds - for example: 2:45:10 or 34:01 or 1:36 or 120:47 or 0:10', 'podpress').'">'.__('[hh:mm:ss]', 'podpress').'</span> <img src="'.$plugins_url.'/images/ajax-loader.gif" id="podPressMedia_'.$num.'_duration_loadimg" class="podpress_ajax_loader_img" /><input type="button" id="podPressMedia_'.$num.'_duration_detectbutton" value="'.__('Auto Detect', 'podpress').'" onclick="podPress_getfileinfo(\'duration\', '.$num.');"/> ('.sprintf(__('This may take some time for remote files. %1$s', 'podpress'), '<span class="podpress_abbr" title="'.__('If the file is not on the same server as your blog then podPress will attempt to download the file in order to get this information with the help of getID3() which is only able to retrieve ID3 tags from local files. podPress removes the temporary download file at the end of this process. It is likely that this feature works only for relative small files because the download is probably limited by execution time and memory limits on the server of your blog.', 'podpress').'">'.__('Because ...', 'podpress').'</span>').')'."\n"; 
    356358                echo '                      </td>'."\n"; 
    357359                echo '                  </tr>'."\n"; 
     
    447449                echo '                      </td>'."\n"; 
    448450                echo '                      <td>'."\n"; 
    449                 echo '                          <img src="'.PODPRESS_URL.'/images/ajax-loader.gif" id="podPressMedia_'.$num.'_id3tags_loadimg" class="podpress_ajax_loader_img" /><input type="button" id="podPressMedia_'.$num.'_id3tags_detectbutton" value="'.__('Show','podpress').'" onclick="javascript: podPressShowHideID3Tags('.$num.');" /> ('.sprintf(__('This may take some time for remote files. %1$s', 'podpress'), '<span class="podpress_abbr" title="'.__('If the file is not on the same server as your blog then podPress will attempt to download the file in order to get this information with the help of getID3() which is only able to retrieve ID3 tags from local files. podPress removes the temporary download file at the end of this process. It is likely that this feature works only for relative small files because the download is probably limited by execution time and memory limits on the server of your blog.', 'podpress').'">'.__('Because ...', 'podpress').'</span>').')'."\n"; 
     451                echo '                          <img src="'.$plugins_url.'/images/ajax-loader.gif" id="podPressMedia_'.$num.'_id3tags_loadimg" class="podpress_ajax_loader_img" /><input type="button" id="podPressMedia_'.$num.'_id3tags_detectbutton" value="'.__('Show','podpress').'" onclick="javascript: podPressShowHideID3Tags('.$num.');" /> ('.sprintf(__('This may take some time for remote files. %1$s', 'podpress'), '<span class="podpress_abbr" title="'.__('If the file is not on the same server as your blog then podPress will attempt to download the file in order to get this information with the help of getID3() which is only able to retrieve ID3 tags from local files. podPress removes the temporary download file at the end of this process. It is likely that this feature works only for relative small files because the download is probably limited by execution time and memory limits on the server of your blog.', 'podpress').'">'.__('Because ...', 'podpress').'</span>').')'."\n"; 
    450452                echo '                      </td>'."\n"; 
    451453                echo '                  </tr>'."\n"; 
     
    632634        function post_form_wp25plus($entryType = 'post') { 
    633635            $blog_charset = get_bloginfo('charset'); 
     636             
     637            $plugins_url = plugins_url('', __FILE__); 
     638             
    634639            if(!is_object($GLOBALS['post']) && isset($GLOBALS['post_cache'][$GLOBALS['post']])) { 
    635640                $post = $GLOBALS['post_cache'][$GLOBALS['post']]; 
     
    786791            echo '</script>'."\n"; 
    787792             
    788             echo '<input type="hidden" id="podPressMedia_defaultpreviewImage" value="'.PODPRESS_URL.'/images/vpreview_center.png" />'."\n"; 
     793            echo '<input type="hidden" id="podPressMedia_defaultpreviewImage" value="'.$plugins_url.'/images/vpreview_center.png" />'."\n"; 
    789794            if ( defined('NONCE_KEY') AND is_string(constant('NONCE_KEY')) AND '' != trim(constant('NONCE_KEY')) ) { 
    790795                echo '<input type="hidden" id="podPress_AJAX_sec" value="' . wp_create_nonce(NONCE_KEY) . '" />'."\n"; 
     
    937942                echo '                      </th>'."\n"; 
    938943                echo '                      <td>'."\n"; 
    939                 echo '                          <input type="text" id="podPressMedia_'.$num.'_size" name="podPressMedia['.$num.'][size]" size="10" value="'.$thisMedia['size'].'" onchange="javascript: podPressMediaFiles['.$num.'][\'size\'] = this.value;"/> '.__('[in byte]', 'podpress').' <img src="'.PODPRESS_URL.'/images/ajax-loader.gif" id="podPressMedia_'.$num.'_size_loadimg" class="podpress_ajax_loader_img" /><input type="button" id="podPressMedia_'.$num.'_size_detectbutton" value="'.__('Auto Detect', 'podpress').'" onclick="podPress_getfileinfo(\'size\', '.$num.');" />'."\n"; 
     944                echo '                          <input type="text" id="podPressMedia_'.$num.'_size" name="podPressMedia['.$num.'][size]" size="10" value="'.$thisMedia['size'].'" onchange="javascript: podPressMediaFiles['.$num.'][\'size\'] = this.value;"/> '.__('[in byte]', 'podpress').' <img src="'.$plugins_url.'/images/ajax-loader.gif" id="podPressMedia_'.$num.'_size_loadimg" class="podpress_ajax_loader_img" /><input type="button" id="podPressMedia_'.$num.'_size_detectbutton" value="'.__('Auto Detect', 'podpress').'" onclick="podPress_getfileinfo(\'size\', '.$num.');" />'."\n"; 
    940945                echo '                      </td>'."\n"; 
    941946                echo '                  </tr>'."\n"; 
     
    945950                echo '                      </th>'."\n"; 
    946951                echo '                      <td>'."\n"; 
    947                 echo '                          <input type="text" id="podPressMedia_'.$num.'_duration" name="podPressMedia['.$num.'][duration]" size="10" value="'.$thisMedia['duration'].'" onchange="javascript: podPressMediaFiles['.$num.'][\'duration\'] = this.value;"/> <span class="podpress_abbr" title="'.__('hours:minutes:seconds - for example: 2:45:10 or 34:01 or 1:36 or 120:47 or 0:10', 'podpress').'">'.__('[hh:mm:ss]', 'podpress').'</span> <img src="'.PODPRESS_URL.'/images/ajax-loader.gif" id="podPressMedia_'.$num.'_duration_loadimg" class="podpress_ajax_loader_img" /><input type="button" id="podPressMedia_'.$num.'_duration_detectbutton" value="'.__('Auto Detect', 'podpress').'" onclick="podPress_getfileinfo(\'duration\', '.$num.');" /> ('.sprintf(__('This may take some time for remote files. %1$s', 'podpress'), '<span class="podpress_abbr" title="'.__('If the file is not on the same server as your blog then podPress will attempt to download the file in order to get this information with the help of getID3() which is only able to retrieve ID3 tags from local files. podPress removes the temporary download file at the end of this process. It is likely that this feature works only for relative small files because the download is probably limited by execution time and memory limits on the server of your blog.', 'podpress').'">'.__('Because ...', 'podpress').'</span>').')'."\n"; 
     952                echo '                          <input type="text" id="podPressMedia_'.$num.'_duration" name="podPressMedia['.$num.'][duration]" size="10" value="'.$thisMedia['duration'].'" onchange="javascript: podPressMediaFiles['.$num.'][\'duration\'] = this.value;"/> <span class="podpress_abbr" title="'.__('hours:minutes:seconds - for example: 2:45:10 or 34:01 or 1:36 or 120:47 or 0:10', 'podpress').'">'.__('[hh:mm:ss]', 'podpress').'</span> <img src="'.$plugins_url.'/images/ajax-loader.gif" id="podPressMedia_'.$num.'_duration_loadimg" class="podpress_ajax_loader_img" /><input type="button" id="podPressMedia_'.$num.'_duration_detectbutton" value="'.__('Auto Detect', 'podpress').'" onclick="podPress_getfileinfo(\'duration\', '.$num.');" /> ('.sprintf(__('This may take some time for remote files. %1$s', 'podpress'), '<span class="podpress_abbr" title="'.__('If the file is not on the same server as your blog then podPress will attempt to download the file in order to get this information with the help of getID3() which is only able to retrieve ID3 tags from local files. podPress removes the temporary download file at the end of this process. It is likely that this feature works only for relative small files because the download is probably limited by execution time and memory limits on the server of your blog.', 'podpress').'">'.__('Because ...', 'podpress').'</span>').')'."\n"; 
    948953                echo '                      </td>'."\n"; 
    949954                echo '                  </tr>'."\n"; 
     
    10411046                echo '                      </th>'."\n"; 
    10421047                echo '                      <td>'."\n"; 
    1043                 echo '                          <img src="'.PODPRESS_URL.'/images/ajax-loader.gif" id="podPressMedia_'.$num.'_id3tags_loadimg" class="podpress_ajax_loader_img" /><input type="button" id="podPressMedia_'.$num.'_id3tags_detectbutton" value="'.__('Show','podpress').'" onclick="javascript: podPressShowHideID3Tags('.$num.');" /> ('.sprintf(__('This may take some time for remote files. %1$s', 'podpress'), '<span class="podpress_abbr" title="'.__('If the file is not on the same server as your blog then podPress will attempt to download the file in order to get this information with the help of getID3() which is only able to retrieve ID3 tags from local files. podPress removes the temporary download file at the end of this process. It is likely that this feature works only for relative small files because the download is probably limited by execution time and memory limits on the server of your blog.', 'podpress').'">'.__('Because ...', 'podpress').'</span>').')'."\n"; 
     1048                echo '                          <img src="'.$plugins_url.'/images/ajax-loader.gif" id="podPressMedia_'.$num.'_id3tags_loadimg" class="podpress_ajax_loader_img" /><input type="button" id="podPressMedia_'.$num.'_id3tags_detectbutton" value="'.__('Show','podpress').'" onclick="javascript: podPressShowHideID3Tags('.$num.');" /> ('.sprintf(__('This may take some time for remote files. %1$s', 'podpress'), '<span class="podpress_abbr" title="'.__('If the file is not on the same server as your blog then podPress will attempt to download the file in order to get this information with the help of getID3() which is only able to retrieve ID3 tags from local files. podPress removes the temporary download file at the end of this process. It is likely that this feature works only for relative small files because the download is probably limited by execution time and memory limits on the server of your blog.', 'podpress').'">'.__('Because ...', 'podpress').'</span>').')'."\n"; 
    10441049                echo '                      </td>'."\n"; 
    10451050                echo '                  </tr>'."\n"; 
     
    14091414                    $data['podcastFeedURL'] = get_category_feed_link($_GET['cat_ID']); 
    14101415                } else { 
    1411                     $data['podcastFeedURL'] = get_option('siteurl').'/?feed=rss2&cat='.$input->cat_ID; 
     1416                    $data['podcastFeedURL'] = site_url().'/?feed=rss2&cat='.$input->cat_ID; 
    14121417                } 
    14131418            } else { 
     
    14221427                            $data['podcastFeedURL'] = get_category_feed_link($_GET['cat_ID']); 
    14231428                        } else { 
    1424                             $data['podcastFeedURL'] = get_option('siteurl').'/?feed=rss2&cat='.$input->cat_ID; 
     1429                            $data['podcastFeedURL'] = site_url().'/?feed=rss2&cat='.$input->cat_ID; 
    14251430                        } 
    14261431                    } 
  • podpress/trunk/podpress_admin_feed_class.php

    r556727 r560585  
    6767            echo '  <fieldset class="options">'."\n"; 
    6868            echo '      <legend>'.__('Settings for the default Feeds', 'podpress').'</legend>'."\n"; 
    69             /* 
    70             echo '      <p class="submit"> '."\n"; 
    71             echo '      <input type="submit" name="Submit" value="'.__('Update Options', 'podpress').' &raquo;" /> '."\n"; 
    72             echo '      </p> '."\n"; 
    73             */ 
    7469            echo '      <p>'.sprintf(__('podPress adds automatically additional elements (e.g. <a href="http://www.apple.com/itunes/podcasts/specs.html#rss" target="_blank">iTunes RSS tags</a>) to the default RSS Feeds of your weblog. But it uses the RSS image, the copyright name, the license URL and the News Feed language also for the ATOM Feeds. You can configure these elements in the following section. But podPress adds also new Feeds to your weblog (see <a href="#podpressfeeds">%1$s</a> below).', 'podpress'), __('podPress Feeds', 'podpress')).'</p>'."\n"; 
    7570            echo '      <h3>'.__('iTunes Settings', 'podpress').'</h3>'."\n"; 
     
    8277            echo '              <td colspan="2">'."\n"; 
    8378            echo '                  <input name="iTunes[FeedID]" id="iTunesFeedID" type="text" value="'.$this->settings['iTunes']['FeedID'].'" size="10" />'; 
    84             //~ //echo '                    <input type="button" name="Ping_iTunes_update" value="'.__('Ping iTunes Update', 'podpress').'" onclick="javascript: if(document.getElementById(\'iTunesFeedID\').value != \'\') { window.open(\'https://phobos.apple.com/WebObjects/MZFinance.woa/wa/pingPodcast?id=\'+document.getElementById(\'iTunesFeedID\').value); }"/>'."\n"; 
    85             //~ if ( !empty($this->settings['iTunes']['FeedID'] ) ) { 
    86                 //~ echo '                  <label for="podpress_its_preview">'.__('iTunes Store Preview', 'podpress').'</label> <a href="" class="podpress_image_preview_link" title="'.__('open the iTunes Store page of your Feed in a preview frame', 'podpress').'" onclick="podPress_jQuery(\'#podpress_its_preview\').dialog(\'open\'); return false;">'.__('open the preview frame', 'podpress').'</a>'."\n"; 
    87                 //~ echo '                  <div id="podpress_its_preview" title="'.__('iTunes Store Preview', 'podpress').'" class="podpress_its_preview">'."\n"; 
    88                 //~ echo '                      <iframe src="" style="width:100%; height:80%;">'."\n"; 
    89                 //~ echo '                          <img id="podpress_its_preview_loader_img" src="'.PODPRESS_URL.'/images/ajax-loader.gif">'."\n"; 
    90                 //~ echo '                      </iframe>'."\n"; 
    91                 //~ echo '                  </div>'."\n"; 
    92             //~ } 
    9379            echo '              </td>'."\n"; 
    9480            echo '          </tr>'."\n"; 
     
    125111            echo '                  <label for="iTunesImage">'.__('iTunes:Image', 'podpress').'</label>'; 
    126112            echo '              </th>'."\n"; 
     113             
     114            $itunes_image_url = $this->settings['iTunes']['image']; 
     115             
     116             
    127117            echo '              <td colspan="2">'."\n"; 
    128118            echo '                  '.__('The iTunes image should be a square image with <a href="http://www.apple.com/itunes/podcasts/specs.html#image" target="_blank">at least 1400 x 1400 pixels</a> as Apple writes in "<a href="http://www.apple.com/itunes/podcasts/specs.html" target="_blank">Making a Podcast</a>" of their own Podcasting Resources. iTunes supports JPEG and PNG images (the file name extensions should ".jpg" or ".png").', 'podpress')."\n"; 
    129119            echo '                  <br/>'; 
    130             echo '                  <input type="text" id="iTunesImage" name="iTunes[image]" class="podpress_wide_text_field" value="'.attribute_escape($this->settings['iTunes']['image']).'" size="40" onchange="podPress_updateFeedSettings();"/>'."\n"; 
     120            echo '                  <input type="text" id="iTunesImage" name="iTunes[image]" class="podpress_wide_text_field" value="'.attribute_escape($itunes_image_url).'" size="40" onchange="podPress_updateFeedSettings();"/>'."\n"; 
    131121            echo '                  <br />'; 
    132122            echo '                  <img id="iTunesImagePreview" style="width:300px; height:300px;" alt="Podcast Image - Big" src="" />'."<br />\n"; 
     
    225215                $adminurl = admin_url(); // since WP 2.6 
    226216            } else { 
    227                 $adminurl = get_option( 'siteurl' ) . '/wp-admin'; 
     217                $adminurl = site_url() . '/wp-admin'; 
    228218            } 
    229219             
     
    300290            echo '                  <label for="rss_image">'.__('Blog/RSS Image (144 x 144 pixels)', 'podpress').'</label>'."\n"; 
    301291            echo '              </th>'."\n"; 
    302             echo '              <td colspan="2">'."\n"; 
    303             echo '                  <input type="text" id="rss_image" name="rss_image" class="podpress_wide_text_field" value="'.attribute_escape(get_option('rss_image')).'" size="40" onchange="podPress_updateFeedSettings();"/>'."\n"; 
     292            $rss_image = get_option('rss_image'); 
     293            echo '              <td colspan="2">'."\n"; 
     294            echo '                  <input type="text" id="rss_image" name="rss_image" class="podpress_wide_text_field" value="'.attribute_escape($rss_image).'" size="40" onchange="podPress_updateFeedSettings();"/>'."\n"; 
    304295            echo '                  <br />'; 
    305296            echo '                  <img id="rss_imagePreview" style="width:144px; height:144px;" alt="Podcast Image - Small" src="" />'."\n"; 
     
    512503                    echo '                  <label for="podpress_feed_'.$i.'_iTunesImage">'.__('iTunes:Image', 'podpress').'</label> <a href="" class="podpress_image_preview_link" title="'.__('Feed', 'podpress').' '.$feed['slug'].' - '.__('iTunes:Image', 'podpress').'" onclick="podPress_jQuery(\'#podpress-itunesimage-preview-'.$i.'\').dialog(\'open\'); return false;">'.__('Preview', 'podpress').'</a><br /><input type="text" name="podpress_feeds['.$i.'][itunes-image]" id="podpress_feed_'.$i.'_iTunesImage" class="podpress_feeds_text_field" value="'.attribute_escape($feed['itunes-image']).'" size="40" />'."\n"; 
    513504                    echo '                  <div id="podpress-itunesimage-preview-'.$i.'" title="'.attribute_escape(__('Feed', 'podpress').' '.$feed['slug'].' - '.__('iTunes:Image', 'podpress')).'" class="podpress_itunesimage_preview">'."\n"; 
    514                     echo '                      <img src="'.$feed['itunes-image'].'" />'."\n"; 
     505                    echo '                      <img src="'.podpress_siteurl_is_ssl($feed['itunes-image']).'" />'."\n"; 
    515506                    echo '                  </div>'."\n"; 
    516507                    echo '              </div>'."\n"; 
     
    519510                    echo '              </div>'."\n"; 
    520511                    if ( FALSE == isset($feed['rss_image']) OR empty($feed['rss_image']) ) { 
    521                         $feed['rss_image'] = get_option('rss_image'); 
     512                        $feed['rss_image'] = $rss_image; 
    522513                    } 
    523514                    echo '              <div class="podpress_feed_settings_left_col">'."\n"; 
    524515                    echo '                  <label for="podpress_feed_'.$i.'_rss_image">'.__('RSS Image (144 x 144 pixels)', 'podpress').'</label> <a href="" class="podpress_image_preview_link" title="'.__('Feed', 'podpress').' '.$feed['slug'].' - '.__('RSS Image', 'podpress').'" onclick="podPress_jQuery(\'#podpress-rssimage-preview-'.$i.'\').dialog(\'open\'); return false;">'.__('Preview', 'podpress').'</a><br /><input type="text" name="podpress_feeds['.$i.'][rss_image]" id="podpress_feed_'.$i.'_rss_image" class="podpress_feeds_text_field" value="'.attribute_escape($feed['rss_image']).'" size="40" />'."\n"; 
    525516                    echo '                  <div id="podpress-rssimage-preview-'.$i.'" title="'.attribute_escape(__('Feed', 'podpress').' '.$feed['slug'].' - '.__('RSS Image', 'podpress')).'" class="podpress_rssimage_preview">'."\n"; 
    526                     echo '                      <img src="'.$feed['rss_image'].'" />'."\n"; 
     517                    echo '                      <img src="'.podpress_siteurl_is_ssl($feed['rss_image']).'" />'."\n"; 
    527518                    echo '                  </div>'."\n"; 
    528519                    echo '              </div>'."\n"; 
     
    753744                    echo '                  <label for="podpress_feed_'.$j.'_email">'.__('Owner E-mail address', 'podpress').'</label><br /><input type="text" name="podpress_feeds['.$j.'][email]" id="podpress_feed_'.$j.'_email" class="podpress_feeds_text_field" value="" size="40" />'."\n"; 
    754745                    echo '              </div>'."\n"; 
    755                     $itunesimageurl = attribute_escape($this->settings['iTunes']['image']); 
     746                    $itunesimageurl = attribute_escape($itunes_image_url); 
    756747                    echo '              <div class="podpress_feed_settings_left_col">'."\n"; 
    757748                    echo '                  <label for="podpress_feed_'.$j.'_iTunesImage">'.__('iTunes:Image', 'podpress').'</label> <a href="" class="podpress_image_preview_link" title="'.__('Feed', 'podpress').' '.$j.' - '.__('iTunes:Image', 'podpress').'" onclick="podPress_jQuery(\'#podpress-itunesimage-preview-'.$j.'\').dialog(\'open\'); return false;">'.__('Preview', 'podpress').'</a><br /><input type="text" name="podpress_feeds['.$j.'][itunes-image]" id="podpress_feed_'.$j.'_iTunesImage" class="podpress_feeds_text_field" value="'.$itunesimageurl.'" size="40" />'."\n"; 
    758749                    echo '                  <div id="podpress-itunesimage-preview-'.$j.'" title="'.attribute_escape(__('iTunes:Image', 'podpress')).'" class="podpress_itunesimage_preview">'."\n"; 
    759                     echo '                      <img src="'.$itunesimageurl.'" />'."\n"; 
     750                    echo '                      <img src="'.podpress_siteurl_is_ssl($itunesimageurl).'" />'."\n"; 
    760751                    echo '                  </div>'."\n"; 
    761752                    echo '              </div>'."\n"; 
    762                     $rssimageurl = attribute_escape(get_option('rss_image')); 
     753                    $rssimageurl = attribute_escape($rss_image); 
    763754                    echo '              <div class="podpress_feed_settings_right_col">'."\n"; 
    764755                    echo '                  <label for="podpress_feed_'.$j.'_copyright">'.__('Feed Copyright / license name', 'podpress').'</label><br /><input type="text" name="podpress_feeds['.$j.'][copyright]" id="podpress_feed_'.$j.'_copyright" class="podpress_feeds_text_field" value="" size="40" />'."\n"; 
     
    767758                    echo '                  <label for="podpress_feed_'.$j.'_rss_image">'.__('RSS Image (144 x 144 pixels)', 'podpress').'</label> <a href="" class="podpress_image_preview_link" title="'.__('Feed', 'podpress').' '.$j.' - '.__('RSS Image', 'podpress').'" onclick="podPress_jQuery(\'#podpress-rssimage-preview-'.$j.'\').dialog(\'open\'); return false;">'.__('Preview', 'podpress').'</a><br /><input type="text" name="podpress_feeds['.$j.'][rss_image]" id="podpress_feed_'.$j.'_rss_image" class="podpress_feeds_text_field" value="'.$rssimageurl.'" size="40" />'."\n"; 
    768759                    echo '                  <div id="podpress-rssimage-preview-'.$j.'" title="'.attribute_escape(__('RSS Image', 'podpress')).'" class="podpress_rssimage_preview">'."\n"; 
    769                     echo '                      <img src="'.$rssimageurl.'" />'."\n"; 
     760                    echo '                      <img src="'.podpress_siteurl_is_ssl($rssimageurl).'" />'."\n"; 
    770761                    echo '                  </div>'."\n"; 
    771762                    echo '              </div>'."\n"; 
     
    10511042            $result = podPress_update_option('podPress_config', $this->settings); 
    10521043            if ( FALSE !== $result ) { 
    1053                 $location = get_option('siteurl') . '/wp-admin/admin.php?page=podpress/podpress_feed.php&updated=true'.'&debugreport='.$report; 
     1044                $location = site_url() . '/wp-admin/admin.php?page=podpress/podpress_feed.php&updated=true'.'&debugreport='.$report; 
    10541045            } else { 
    1055                 $location = get_option('siteurl') . '/wp-admin/admin.php?page=podpress/podpress_feed.php&updated=false'.'&debugreport='.$report; 
     1046                $location = site_url() . '/wp-admin/admin.php?page=podpress/podpress_feed.php&updated=false'.'&debugreport='.$report; 
    10561047            } 
    10571048            header('Location: '.$location); 
  • podpress/trunk/podpress_admin_functions.php

    r556727 r560585  
    4343 
    4444    function podPress_DirectoriesPreview($context) { 
     45        $plugins_url = plugins_url('', __FILE__); 
    4546        echo '  <fieldset class="options">'."\n"; 
    4647        echo '      <legend class="podpress_directorypreview_legend">'.__('Directory Preview', 'podpress').'</legend> <a href="javascript:void(null);" id="podpress_showhide_directory_preview" class="podpress_showhide_element" onclick="podpress_showhide_adv(\'podpress_DirectoryPreviewDisplay\', true, this.id);">[ '.__('Show', 'podpress').' ]</a>'; 
    4748        echo '      <div id="podpress_DirectoryPreviewDisplay" style="display:none;">'."\n"; 
    48         echo '      <a href="javascript:void(null);" onclick="javascript: podPressShowDirectoryPreview(\'iTunes\');"><img src="'.podPress_url().'images/directoryPreview_iTunes_logo.png" border="0" alt="iTunes preview" /></a> &nbsp;'; 
     49        echo '      <a href="javascript:void(null);" onclick="javascript: podPressShowDirectoryPreview(\'iTunes\');"><img src="'.$plugins_url.'/images/directoryPreview_iTunes_logo.png" border="0" alt="iTunes preview" /></a> &nbsp;'; 
    4950        /// YAHOO! Podcast is shutdown since 2007 - see, http://en.wikipedia.org/wiki/Yahoo!_Podcasts 
    50         //echo '        <a href="javascript:void(null);" onclick="javascript: podPressShowDirectoryPreview(\'Yahoo\');"><img src="'.podPress_url().'images/directoryPreview_yahoo_logo.png" border="0" alt="Yahoo preview" /></a> &nbsp;'; 
    51         echo '      <a href="javascript:void(null);" onclick="javascript: podPressShowDirectoryPreview(\'PodcastAlley\');"><img src="'.podPress_url().'images/directoryPreview_PCA_logo.png" border="0" alt="PodcastAlley preview" /></a>'; 
    52         echo '      <a href="javascript:void(null);" onclick="javascript: podPressShowDirectoryPreview(\'PodcastReady\');"><img src="'.podPress_url().'images/directoryPreview_PodcastReady_logo.png" border="0" alt="PodcastAlley preview" /></a>'; 
    53         echo '      <a href="javascript:void(null);" onclick="javascript: podPressShowDirectoryPreview(\'Blubrry\');"><img src="'.podPress_url().'images/directoryPreview_Blubrry_logo.jpg" border="0" alt="Blubrry preview" /></a>'; 
     51        //echo '        <a href="javascript:void(null);" onclick="javascript: podPressShowDirectoryPreview(\'Yahoo\');"><img src="'.$plugins_url.'/images/directoryPreview_yahoo_logo.png" border="0" alt="Yahoo preview" /></a> &nbsp;'; 
     52        echo '      <a href="javascript:void(null);" onclick="javascript: podPressShowDirectoryPreview(\'PodcastAlley\');"><img src="'.$plugins_url.'/images/directoryPreview_PCA_logo.png" border="0" alt="PodcastAlley preview" /></a>'; 
     53        echo '      <a href="javascript:void(null);" onclick="javascript: podPressShowDirectoryPreview(\'PodcastReady\');"><img src="'.$plugins_url.'/images/directoryPreview_PodcastReady_logo.png" border="0" alt="PodcastAlley preview" /></a>'; 
     54        echo '      <a href="javascript:void(null);" onclick="javascript: podPressShowDirectoryPreview(\'Blubrry\');"><img src="'.$plugins_url.'/images/directoryPreview_Blubrry_logo.jpg" border="0" alt="Blubrry preview" /></a>'; 
    5455        echo '      '."\n"; 
    5556        echo '      <div id="iTunesPreviewDisplay" style="border: 0;">'."\n"; 
     
    7172        echo '                          Language: <span id="iTunesRssLanguagePreview">English</span><br/>'."\n"; 
    7273        echo '                          Total: n episodes<br/><br/>'."\n"; 
    73         echo '                          <img src="'.podPress_url().'images/directoryPreview_iTunes_subscribebutton.png" border="0" alt="iTunesSubscriptions" /> '."\n"; 
     74        echo '                          <img src="'.$plugins_url.'/images/directoryPreview_iTunes_subscribebutton.png" border="0" alt="iTunesSubscriptions" /> '."\n"; 
    7475        echo '                      </span>'."\n"; 
    7576        echo '                  </td>'."\n"; 
    7677        echo '                  <td rowspan="3" width="1%">'."\n"; 
    77         echo '                      <img src="'.podPress_url().'images/directoryPreview_iTunes_seeallpodcasts.png" border="0" alt="iTunesSeeAllPodcasts" /> '."\n"; 
     78        echo '                      <img src="'.$plugins_url.'/images/directoryPreview_iTunes_seeallpodcasts.png" border="0" alt="iTunesSeeAllPodcasts" /> '."\n"; 
    7879        echo '                      <br/><br/>'."\n"; 
    79         echo '                      <img src="'.podPress_url().'images/directoryPreview_iTunes_alsosubcribedto.png" border="0" alt="iTunesAlsoSubscribeTo" /> '."\n"; 
     80        echo '                      <img src="'.$plugins_url.'/images/directoryPreview_iTunes_alsosubcribedto.png" border="0" alt="iTunesAlsoSubscribeTo" /> '."\n"; 
    8081        echo '                  </td>'."\n"; 
    8182        echo '              </tr>'."\n"; 
     
    9192        echo '                          <tr>'."\n"; 
    9293        echo '                              <td align="left">'."\n"; 
    93         echo '                                  <img src="'.podPress_url().'images/directoryPreview_iTunes_l_reviews.png" border="0" alt="iTunesReviews" /> '."\n"; 
     94        echo '                                  <img src="'.$plugins_url.'/images/directoryPreview_iTunes_l_reviews.png" border="0" alt="iTunesReviews" /> '."\n"; 
    9495        echo '                              </td>'."\n"; 
    9596        echo '                              <td align="right">'."\n"; 
    96         echo '                                  <img src="'.podPress_url().'images/directoryPreview_iTunes_r_reviews.png" border="0" alt="iTunesReviews" /> '."\n"; 
     97        echo '                                  <img src="'.$plugins_url.'/images/directoryPreview_iTunes_r_reviews.png" border="0" alt="iTunesReviews" /> '."\n"; 
    9798        echo '                              </td>'."\n"; 
    9899        echo '                          </tr>'."\n"; 
     
    115116        echo '                      <td width="1%" rowspan="2">'."\n"; 
    116117        echo '                          <img id="YahooPreviewImage" width="175" height="175" alt="Podcast Image" src=""/><br/><br/>'."\n"; 
    117         echo '                          <img src="'.podPress_url().'images/directoryPreview_yahoo_buttons.png" border="0" alt="YahooButtons" /> '."\n"; 
     118        echo '                          <img src="'.$plugins_url.'/images/directoryPreview_yahoo_buttons.png" border="0" alt="YahooButtons" /> '."\n"; 
    118119        echo '                      </td>'."\n"; 
    119120        echo '                      <td colspan="2">'."\n"; 
     
    125126        echo '                          <font size="+1" color="#669900">Details</font><br/>'."\n"; 
    126127        echo '                          Episodes: N<br/>'."\n"; 
    127         echo '                          Web Site: <font color="#2597D6">'.get_option('siteurl').'</font><br/>'."\n"; 
     128        echo '                          Web Site: <font color="#2597D6">'.site_url().'</font><br/>'."\n"; 
    128129        echo '                          RSS: <span id="YahooFeedURLPreview" style="color: #2597D6;"></span><br/>'."\n"; 
    129130        echo '                          Author: <span id="YahooAuthorPreview"></span><br/>'."\n"; 
     
    136137        echo '                          Be the first to rate!<br/><br/>'."\n"; 
    137138        echo '                      <b>Rate it:</b><br/>'."\n"; 
    138         echo '                      <img src="'.podPress_url().'images/directoryPreview_yahoo_stars.png" border="0" alt="YahooStars" /> '."\n"; 
     139        echo '                      <img src="'.$plugins_url.'/images/directoryPreview_yahoo_stars.png" border="0" alt="YahooStars" /> '."\n"; 
    139140        echo '                      <br/><font color="#2597D6">Write a Review</font><br/>'."\n"; 
    140141        echo '                      </td>'."\n"; 
     
    149150        echo '              <tr valign="top">'."\n"; 
    150151        echo '                  <td width="5%">'."\n"; 
    151         echo '                      <img src="'.podPress_url().'images/directoryPreview_PCA_left.png" border="0" alt="PCA Left" /> '."\n"; 
     152        echo '                      <img src="'.$plugins_url.'/images/directoryPreview_PCA_left.png" border="0" alt="PCA Left" /> '."\n"; 
    152153        echo '                  </td>'."\n"; 
    153154        echo '                  <td width="90%">'."\n"; 
     
    167168        echo '                                              <span class="podPress_captionstats">MEMBER: </span>1/2000<br/>'."\n"; 
    168169        echo '                                              <span class="podPress_captionstats">MONTHLY RANK:</span><br/>Not Yet Ranked<br/>'."\n"; 
    169         echo '                                              <br/><img src="'.podPress_url().'images/directoryPreview_PCA_buttons.png" border="0" alt="PCAButtons" /> '."\n"; 
     170        echo '                                              <br/><img src="'.$plugins_url.'/images/directoryPreview_PCA_buttons.png" border="0" alt="PCAButtons" /> '."\n"; 
    170171        echo '                                          </td>'."\n"; 
    171172        echo '                                      </tr>'."\n"; 
     
    180181        echo '                  </td>'."\n"; 
    181182        echo '                  <td width="5%">'."\n"; 
    182         echo '                      <img src="'.podPress_url().'images/directoryPreview_PCA_right.png" border="0" alt="PCA Right" /> '."\n"; 
     183        echo '                      <img src="'.$plugins_url.'/images/directoryPreview_PCA_right.png" border="0" alt="PCA Right" /> '."\n"; 
    183184        echo '                  </td>'."\n"; 
    184185        echo '              </tr>'."\n"; 
     
    192193        echo '                  <td width="200" align="center">'."\n"; 
    193194        echo '                      <br/><img id="PodcastReadyPreviewImage" width="175" height="175" alt="Podcast Image" src=""/><br/>'."\n"; 
    194         echo '                      <img src="'.podPress_url().'images/directoryPreview_PodcastReady_buttons.png" border="0" alt="PodcastReadyButtons" /><br/>'."\n"; 
     195        echo '                      <img src="'.$plugins_url.'/images/directoryPreview_PodcastReady_buttons.png" border="0" alt="PodcastReadyButtons" /><br/>'."\n"; 
    195196        echo '                  </td>'."\n"; 
    196197        echo '                  <td>'."\n"; 
     
    199200        echo '                      <b>Filed Under:</b> <span id="PodcastReadyCategoryPreview" style="color: #466B90;"></span><br/>'."\n"; 
    200201        echo '                      <b>Media Type:</b> MP3<br/><br/>'."\n"; 
    201         echo '                      <img src="'.podPress_url().'images/directoryPreview_PodcastReady_listeners.png" border="0" alt="PodcastReadyOtherPeople" /> '."\n"; 
     202        echo '                      <img src="'.$plugins_url.'/images/directoryPreview_PodcastReady_listeners.png" border="0" alt="PodcastReadyOtherPeople" /> '."\n"; 
    202203        echo '                  </td>'."\n"; 
    203204        echo '              </tr>'."\n"; 
     
    220221        echo '                          <td width="100" height="100" align="left" valign="top"><img id="BlubrryPreviewImage" width="90" height="90" alt="Podcast Image" src=""/></td>'."\n"; 
    221222        echo '                          <td width="120" valign="top"><div id="BlubrryAuthorPreview" style="font-weight: bold;">AUTHOR NAME</div>'."\n"; 
    222         echo '                              <img src="'.podPress_url().'images/directoryPreview_Blubrry_buttons.png" width="64" height="52" /></td>'."\n"; 
     223        echo '                              <img src="'.$plugins_url.'/images/directoryPreview_Blubrry_buttons.png" width="64" height="52" /></td>'."\n"; 
    223224        echo '                      </tr>'."\n"; 
    224225        echo '                      <tr>'."\n"; 
     
    231232        echo '                          <td colspan="2"><div style="color:#9933D5; font-weight: bold; font-size: 14px;">Latest Podcast Post Title</div>'."\n"; 
    232233        echo '                          <div style="font-size: 12px;">The content of your post appears here.  Wow your stuff looks good.  Hey what if someone wants to listen, they can click on the button below.</div>'."\n"; 
    233         echo '                          <img src="'.podPress_url().'images/directoryPreview_Blubrry_buttons_episode.png" />'."\n"; 
     234        echo '                          <img src="'.$plugins_url.'/images/directoryPreview_Blubrry_buttons_episode.png" />'."\n"; 
    234235        echo '                          </td>'."\n"; 
    235236        echo '                      </tr>'."\n"; 
     
    239240        echo '                  <div style="font-size: 18px; font-weight: bold; padding-bottom: 10px;">Description</div>'."\n"; 
    240241        echo '                  <div style="font-size: 12px; padding-bottom: 5px;" id="BlubrryDescriptionPreview">DESCRIPTION OF PODCAST</div>'."\n"; 
    241         echo '                  <div style="text-align:right; padding-bottom: 10px;"><img src="'.podPress_url().'images/directoryPreview_Blubrry_syndication.png" /></div>'."\n"; 
     242        echo '                  <div style="text-align:right; padding-bottom: 10px;"><img src="'.$plugins_url.'/images/directoryPreview_Blubrry_syndication.png" /></div>'."\n"; 
    242243        echo '                  <div style="font-size: 18px; font-weight: bold; padding-bottom: 10px;">Tags</div>'."\n"; 
    243244        echo '                  <div style="padding-bottom: 10px;">mightyseek podpress awesome wordpress plugin</div>'."\n"; 
    244245        echo '                  <div style="font-size: 18px; font-weight: bold; padding-bottom: 10px;">Friends</div>'."\n"; 
    245         echo '                  <div style="background-image:url('.podPress_url().'images/directoryPreview_Blubrry_friends.jpg); background-repeat:no-repeat; background-position: top left; height:113px;">&nbsp;</div>'."\n"; 
     246        echo '                  <div style="background-image:url('.$plugins_url.'/images/directoryPreview_Blubrry_friends.jpg); background-repeat:no-repeat; background-position: top left; height:113px;">&nbsp;</div>'."\n"; 
    246247        echo '              </td>'."\n"; 
    247248        echo '          </tr>'."\n"; 
     
    433434        $langs['bh'] = 'Bihari languages'; 
    434435        $langs['bi'] = 'Bislama'; 
    435         $langs['nb'] = htmlentities('Bokmål, Norwegian; Norwegian Bokmål'); 
     436        $langs['nb'] = htmlentities('Bokm\E5l, Norwegian; Norwegian Bokm\E5l'); 
    436437        $langs['bs'] = 'Bosnian'; 
    437438        $langs['br'] = 'Breton'; 
     
    642643        $langs['ve'] = 'Venda'; 
    643644        $langs['vi'] = 'Vietnamese'; 
    644         $langs['vo'] = htmlentities('Volapük'); 
     645        $langs['vo'] = htmlentities('Volap\FCk'); 
    645646        $langs['wa'] = 'Walloon'; 
    646647        $langs['cy'] = 'Welsh'; 
     
    11971198     
    11981199    function podPress_showID3tags($mediafile) { 
    1199         if (FALSE !== strpos($mediafile, 'http://www.youtube')) { 
     1200        if (FALSE !== strpos($mediafile, 'http://www.youtube') OR FALSE !== strpos($mediafile, 'https://www.youtube')) { 
    12001201            return ''; 
    12011202        } 
    1202          
     1203        $plugins_url = plugins_url('', __FILE__); 
    12031204        //~ $allowed_ext = array('mp3', 'ogg', 'ogv', 'asf', 'avi', 'mov', 'qt', 'mp4', 'm4v', 'm4a', 'wma', 'wmv', 'mpg', 'mpeg', 'flv', 'swf'); 
    12041205        //~ $ext = strtolower(end(explode('.', $mediafile))); 
     
    12481249            // The # + time() in the URL of the covert art should make the server show always the current image and not a cached version. 
    12491250            if ( isset($fileinfo['podpress_tmp_download_exists']) AND TRUE === $fileinfo['podpress_tmp_download_exists'] ) { 
    1250                 $result .= '        <th>'.__('Cover Art', 'podpress').'</th><td><span id="podPressMedia_'.$randID.'_tagCoverArt"><img src="'.PODPRESS_URL.'/podpress_backend.php?action=id3image&filename='.rawurlencode($fileinfo['filenamepath']).'&tmpdownloadexists=yes&_ajax_nonce=' . $nonce . '#'.time().'" alt="" /></span></td>'."\n"; 
     1251                $result .= '        <th>'.__('Cover Art', 'podpress').'</th><td><span id="podPressMedia_'.$randID.'_tagCoverArt"><img src="'.$plugins_url.'/podpress_backend.php?action=id3image&filename='.rawurlencode($fileinfo['filenamepath']).'&tmpdownloadexists=yes&_ajax_nonce=' . $nonce . '#'.time().'" alt="" /></span></td>'."\n"; 
    12511252                podPress_var_dump('podPress_showID3tags - podpress_tmp_download_exists = TRUE'); 
    12521253            } else { 
    1253                 $result .= '        <th>'.__('Cover Art', 'podpress').'</th><td><span id="podPressMedia_'.$randID.'_tagCoverArt"><img src="'.PODPRESS_URL.'/podpress_backend.php?action=id3image&filename='.rawurlencode($fileinfo['filenamepath']).'&tmpdownloadexists=no&_ajax_nonce=' . $nonce . '#'.time().'" alt="" /></span></td>'."\n"; 
     1254                $result .= '        <th>'.__('Cover Art', 'podpress').'</th><td><span id="podPressMedia_'.$randID.'_tagCoverArt"><img src="'.$plugins_url.'/podpress_backend.php?action=id3image&filename='.rawurlencode($fileinfo['filenamepath']).'&tmpdownloadexists=no&_ajax_nonce=' . $nonce . '#'.time().'" alt="" /></span></td>'."\n"; 
    12541255                podPress_var_dump('podPress_showID3tags - podpress_tmp_download_exists = FALSE'); 
    12551256            } 
     
    13281329            podPress_var_dump('start of the duration retrieval'); 
    13291330            $systemFileName = $podPress->convertPodcastFileNameToSystemPath($mediafile); 
     1331            printphpnotices_var_dump($systemFileName); 
    13301332            if(file_exists($systemFileName)) { 
    13311333                $uriFileName = $systemFileName; 
    13321334            } else { 
    13331335                $systemFileName = $podPress->TryToFindAbsFileName($mediafile); 
     1336                printphpnotices_var_dump($systemFileName); 
    13341337                if(FALSE !== $systemFileName) { 
    13351338                    $uriFileName = $systemFileName; 
  • podpress/trunk/podpress_admin_general_class.php

    r499486 r560585  
    199199                $adminurl = admin_url(); // since WP 2.6 
    200200            } else { 
    201                 $adminurl = get_option( 'siteurl' ) . '/wp-admin'; 
     201                $adminurl = site_url() . '/wp-admin'; 
    202202            } 
    203203            $permalinksettingsurl = trailingslashit($adminurl).'options-permalink.php'; 
     
    274274            echo '              <th><label for="statsmethodtest">'.__('Test the stat method', 'podpress').':</label></th>'."\n"; 
    275275            echo '              <td colspan="2">'."\n"; 
    276             echo '                  <input type="button" name="statTest" value="'.__('start the test', 'podpress').'" onclick="podPressTestStats(\''.get_bloginfo('home').'/podpress_trac/web/0/0/podPressStatTest.txt\')"/>'."\n"; // WP 3.0 compatible 
     276            echo '                  <input type="button" name="statTest" value="'.__('start the test', 'podpress').'" onclick="podPressTestStats(\''.site_url().'/podpress_trac/web/0/0/podPressStatTest.txt\')"/>'."\n"; // WP 3.0 compatible 
    277277            echo '                  <input type="text" name="statTestResult" id="statTestResult" size="30" value="" readonly="readonly" />'."\n"; 
    278278            echo '              </td>'."\n"; 
     
    886886            echo '              <th><label for="donation_button">'.__('Donations Appreciated:', 'podpress').'</label></th>'."\n"; 
    887887            echo '              <td>'."\n"; 
    888             echo '                  <a id="donation_button" href="http://www.mightyseek.com/podpress_donate.php" title="'.__('Donation button of the original author of this project Dan Kuykendall (seek3r)', 'podpress').'" target="_blank"><img alt="'.__('Donation button of the original author of this project Dan Kuykendall (seek3r)', 'podpress').'" border="0" src="'.PODPRESS_URL.'/images/x-click-but04.gif" /></a>'."\n"; 
     888            echo '                  <a id="donation_button" href="http://www.mightyseek.com/podpress_donate.php" title="'.__('Donation button of the original author of this project Dan Kuykendall (seek3r)', 'podpress').'" target="_blank"><img alt="'.__('Donation button of the original author of this project Dan Kuykendall (seek3r)', 'podpress').'" border="0" src="'.plugins_url('/images/x-click-but04.gif', __FILE__).'" /></a>'."\n"; 
    889889            echo '              </td>'."\n"; 
    890890            echo '              <td class="podpress_settings_description_cell">'.__('This project is a labor of love, feel no obligation what-so-ever to donate. For those that want to, here ya go.', 'podpress').' <span class="nonessential">('.__('Donation button of the original author of this project Dan Kuykendall (seek3r)', 'podpress').')</span></td>'."\n"; 
     
    12001200            $result = podPress_update_option('podPress_config', $this->settings); 
    12011201            if ( FALSE !== $result ) { 
    1202                 $location = get_option('siteurl') . '/wp-admin/admin.php?page=podpress/podpress_general.php&updated=true'; 
    1203             } else { 
    1204                 $location = get_option('siteurl') . '/wp-admin/admin.php?page=podpress/podpress_general.php&updated=false'; 
     1202                $location = site_url() . '/wp-admin/admin.php?page=podpress/podpress_general.php&updated=true'; 
     1203            } else { 
     1204                $location = site_url() . '/wp-admin/admin.php?page=podpress/podpress_general.php&updated=false'; 
    12051205            } 
    12061206            header('Location: '.$location); 
  • podpress/trunk/podpress_admin_player_class.php

    r519114 r560585  
    7070            } 
    7171             
    72             $podPress_url = podPress_url(); 
     72            $podPress_url = plugins_url('', __FILE__); 
    7373             
    7474            echo '  <fieldset class="options">'."\n"; 
     
    8282            echo '              <th>'.__('Colour map', 'podpress').':</th>'."\n"; 
    8383            if ($this->settings['mp3Player'] == '1pixelout') { 
    84                 echo '              <td colspan="2"><img src="'.$podPress_url.'images/colormap_1pixelout_numbers.png" alt="'.__('1PixelOut Player Color Map', 'podpress').'" /></td>'."\n"; 
    85             } else { 
    86                 echo '              <td colspan="2"><img src="'.$podPress_url.'images/colormap_podango_numbers.png" alt="'.__('Podango Player Color Map', 'podpress').'" /></td>'."\n"; 
     84                echo '              <td colspan="2"><img src="'.$podPress_url.'/images/colormap_1pixelout_numbers.png" alt="'.__('1PixelOut Player Color Map', 'podpress').'" /></td>'."\n"; 
     85            } else { 
     86                echo '              <td colspan="2"><img src="'.$podPress_url.'/images/colormap_podango_numbers.png" alt="'.__('Podango Player Color Map', 'podpress').'" /></td>'."\n"; 
    8787            } 
    8888            //~ if ($this->settings['mp3Player'] == '1pixelout') { 
    89                 //~ echo '              <td colspan="2"><img src="'.$podPress_url.'images/map.png" alt="1PixelOut Player Map" /></td>'."\n"; 
     89                //~ echo '              <td colspan="2"><img src="'.$podPress_url.'/images/map.png" alt="1PixelOut Player Map" /></td>'."\n"; 
    9090            //~ } else { 
    91                 //~ echo '              <td colspan="2"><img src="'.$podPress_url.'images/map-podango.png" alt="Podango Player Map" /></td>'."\n"; 
     91                //~ echo '              <td colspan="2"><img src="'.$podPress_url.'/images/map-podango.png" alt="Podango Player Map" /></td>'."\n"; 
    9292            //~ } 
    9393            echo '          </tr>'."\n"; 
     
    102102    <div id="podpress_color_picker_box"><!-- color picker box begin --> 
    103103        <div class="podpress_color_picker_row"> 
    104             <span class="podpress_color_picker_field" style="background-color:#000000"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#000000\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    105             <span class="podpress_color_picker_field" style="background-color:#000033"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#000033\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    106             <span class="podpress_color_picker_field" style="background-color:#000066"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#000066\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    107             <span class="podpress_color_picker_field" style="background-color:#000099"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#000099\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    108             <span class="podpress_color_picker_field" style="background-color:#0000cc"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#0000cc\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    109             <span class="podpress_color_picker_field" style="background-color:#0000ff"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#0000ff\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    110             <span class="podpress_color_picker_field" style="background-color:#006600"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#006600\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    111             <span class="podpress_color_picker_field" style="background-color:#006633"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#006633\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    112             <span class="podpress_color_picker_field" style="background-color:#006666"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#006666\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    113             <span class="podpress_color_picker_field" style="background-color:#006699"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#006699\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    114             <span class="podpress_color_picker_field" style="background-color:#0066cc"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#0066cc\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    115             <span class="podpress_color_picker_field" style="background-color:#0066ff"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#0066ff\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    116             <span class="podpress_color_picker_field" style="background-color:#00cc00"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#00cc00\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    117             <span class="podpress_color_picker_field" style="background-color:#00cc33"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#00cc33\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    118             <span class="podpress_color_picker_field" style="background-color:#00cc66"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#00cc66\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    119             <span class="podpress_color_picker_field" style="background-color:#00cc99"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#00cc99\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    120             <span class="podpress_color_picker_field" style="background-color:#00cccc"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#00cccc\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    121             <span class="podpress_color_picker_field" style="background-color:#00ccff"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#00ccff\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    122         </div><!-- color picker row end --> 
    123         <div class="podpress_color_picker_row"> 
    124             <span class="podpress_color_picker_field" style="background-color:#003300"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#003300\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    125             <span class="podpress_color_picker_field" style="background-color:#003333"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#003333\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    126             <span class="podpress_color_picker_field" style="background-color:#003366"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#003366\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    127             <span class="podpress_color_picker_field" style="background-color:#003399"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#003399\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    128             <span class="podpress_color_picker_field" style="background-color:#0033cc"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#0033cc\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    129             <span class="podpress_color_picker_field" style="background-color:#0033ff"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#0033ff\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    130             <span class="podpress_color_picker_field" style="background-color:#009900"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#009900\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    131             <span class="podpress_color_picker_field" style="background-color:#009933"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#009933\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    132             <span class="podpress_color_picker_field" style="background-color:#009966"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#009966\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    133             <span class="podpress_color_picker_field" style="background-color:#009999"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#009999\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    134             <span class="podpress_color_picker_field" style="background-color:#0099cc"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#0099cc\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    135             <span class="podpress_color_picker_field" style="background-color:#0099ff"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#0099ff\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    136             <span class="podpress_color_picker_field" style="background-color:#00ff00"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#00ff00\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    137             <span class="podpress_color_picker_field" style="background-color:#00ff33"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#00ff33\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    138             <span class="podpress_color_picker_field" style="background-color:#00ff66"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#00ff66\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    139             <span class="podpress_color_picker_field" style="background-color:#00ff99"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#00ff99\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    140             <span class="podpress_color_picker_field" style="background-color:#00ffcc"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#00ffcc\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    141             <span class="podpress_color_picker_field" style="background-color:#00ffff"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#00ffff\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    142         </div><!-- color picker row end --> 
    143         <div class="podpress_color_picker_row"> 
    144             <span class="podpress_color_picker_field" style="background-color:#330000"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#330000\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    145             <span class="podpress_color_picker_field" style="background-color:#330033"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#330033\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    146             <span class="podpress_color_picker_field" style="background-color:#330066"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#330066\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    147             <span class="podpress_color_picker_field" style="background-color:#330099"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#330099\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    148             <span class="podpress_color_picker_field" style="background-color:#3300cc"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#3300cc\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    149             <span class="podpress_color_picker_field" style="background-color:#3300ff"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#3300ff\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    150             <span class="podpress_color_picker_field" style="background-color:#336600"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#336600\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    151             <span class="podpress_color_picker_field" style="background-color:#336633"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#336633\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    152             <span class="podpress_color_picker_field" style="background-color:#336666"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#336666\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    153             <span class="podpress_color_picker_field" style="background-color:#336699"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#336699\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    154             <span class="podpress_color_picker_field" style="background-color:#3366cc"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#3366cc\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    155             <span class="podpress_color_picker_field" style="background-color:#3366ff"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#3366ff\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    156             <span class="podpress_color_picker_field" style="background-color:#33cc00"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#33cc00\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    157             <span class="podpress_color_picker_field" style="background-color:#33cc33"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#33cc33\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    158             <span class="podpress_color_picker_field" style="background-color:#33cc66"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#33cc66\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    159             <span class="podpress_color_picker_field" style="background-color:#33cc99"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#33cc99\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    160             <span class="podpress_color_picker_field" style="background-color:#33cccc"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#33cccc\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    161             <span class="podpress_color_picker_field" style="background-color:#33ccff"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#33ccff\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    162         </div><!-- color picker row end --> 
    163         <div class="podpress_color_picker_row"> 
    164             <span class="podpress_color_picker_field" style="background-color:#333300"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#333300\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    165             <span class="podpress_color_picker_field" style="background-color:#333333"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#333333\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    166             <span class="podpress_color_picker_field" style="background-color:#333366"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#333366\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    167             <span class="podpress_color_picker_field" style="background-color:#333399"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#333399\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    168             <span class="podpress_color_picker_field" style="background-color:#3333cc"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#3333cc\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    169             <span class="podpress_color_picker_field" style="background-color:#3333ff"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#3333ff\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    170             <span class="podpress_color_picker_field" style="background-color:#339900"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#339900\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    171             <span class="podpress_color_picker_field" style="background-color:#339933"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#339933\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    172             <span class="podpress_color_picker_field" style="background-color:#339966"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#339966\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    173             <span class="podpress_color_picker_field" style="background-color:#339999"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#339999\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    174             <span class="podpress_color_picker_field" style="background-color:#3399cc"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#3399cc\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    175             <span class="podpress_color_picker_field" style="background-color:#3399ff"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#3399ff\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    176             <span class="podpress_color_picker_field" style="background-color:#33ff00"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#33ff00\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    177             <span class="podpress_color_picker_field" style="background-color:#33ff33"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#33ff33\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    178             <span class="podpress_color_picker_field" style="background-color:#33ff66"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#33ff66\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    179             <span class="podpress_color_picker_field" style="background-color:#33ff99"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#33ff99\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    180             <span class="podpress_color_picker_field" style="background-color:#33ffcc"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#33ffcc\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    181             <span class="podpress_color_picker_field" style="background-color:#33ffff"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#33ffff\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    182         </div><!-- color picker row end --> 
    183         <div class="podpress_color_picker_row"> 
    184             <span class="podpress_color_picker_field" style="background-color:#660000"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#660000\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    185             <span class="podpress_color_picker_field" style="background-color:#660033"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#660033\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    186             <span class="podpress_color_picker_field" style="background-color:#660066"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#660066\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    187             <span class="podpress_color_picker_field" style="background-color:#660099"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#660099\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    188             <span class="podpress_color_picker_field" style="background-color:#6600cc"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#6600cc\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    189             <span class="podpress_color_picker_field" style="background-color:#6600ff"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#6600ff\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    190             <span class="podpress_color_picker_field" style="background-color:#666600"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#666600\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    191             <span class="podpress_color_picker_field" style="background-color:#666633"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#666633\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    192             <span class="podpress_color_picker_field" style="background-color:#666666"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#666666\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    193             <span class="podpress_color_picker_field" style="background-color:#666699"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#666699\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    194             <span class="podpress_color_picker_field" style="background-color:#6666cc"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#6666cc\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    195             <span class="podpress_color_picker_field" style="background-color:#6666ff"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#6666ff\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    196             <span class="podpress_color_picker_field" style="background-color:#66cc00"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#66cc00\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    197             <span class="podpress_color_picker_field" style="background-color:#66cc33"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#66cc33\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    198             <span class="podpress_color_picker_field" style="background-color:#66cc66"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#66cc66\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    199             <span class="podpress_color_picker_field" style="background-color:#66cc99"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#66cc99\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    200             <span class="podpress_color_picker_field" style="background-color:#66cccc"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#66cccc\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    201             <span class="podpress_color_picker_field" style="background-color:#66ccff"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#66ccff\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    202         </div><!-- color picker row end --> 
    203         <div class="podpress_color_picker_row"> 
    204             <span class="podpress_color_picker_field" style="background-color:#663300"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#663300\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    205             <span class="podpress_color_picker_field" style="background-color:#663333"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#663333\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    206             <span class="podpress_color_picker_field" style="background-color:#663366"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#663366\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    207             <span class="podpress_color_picker_field" style="background-color:#663399"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#663399\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    208             <span class="podpress_color_picker_field" style="background-color:#6633cc"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#6633cc\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    209             <span class="podpress_color_picker_field" style="background-color:#6633ff"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#6633ff\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    210             <span class="podpress_color_picker_field" style="background-color:#669900"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#669900\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    211             <span class="podpress_color_picker_field" style="background-color:#669933"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#669933\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    212             <span class="podpress_color_picker_field" style="background-color:#669966"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#669966\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    213             <span class="podpress_color_picker_field" style="background-color:#669999"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#669999\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    214             <span class="podpress_color_picker_field" style="background-color:#6699cc"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#6699cc\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    215             <span class="podpress_color_picker_field" style="background-color:#6699ff"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#6699ff\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    216             <span class="podpress_color_picker_field" style="background-color:#66ff00"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#66ff00\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    217             <span class="podpress_color_picker_field" style="background-color:#66ff33"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#66ff33\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    218             <span class="podpress_color_picker_field" style="background-color:#66ff66"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#66ff66\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    219             <span class="podpress_color_picker_field" style="background-color:#66ff99"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#66ff99\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    220             <span class="podpress_color_picker_field" style="background-color:#66ffcc"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#66ffcc\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    221             <span class="podpress_color_picker_field" style="background-color:#66ffff"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#66ffff\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    222         </div><!-- color picker row end --> 
    223         <div class="podpress_color_picker_row"> 
    224             <span class="podpress_color_picker_field" style="background-color:#990000"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#990000\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    225             <span class="podpress_color_picker_field" style="background-color:#990033"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#990033\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    226             <span class="podpress_color_picker_field" style="background-color:#990066"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#990066\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    227             <span class="podpress_color_picker_field" style="background-color:#990099"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#990099\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    228             <span class="podpress_color_picker_field" style="background-color:#9900cc"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#9900cc\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    229             <span class="podpress_color_picker_field" style="background-color:#9900ff"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#9900ff\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    230             <span class="podpress_color_picker_field" style="background-color:#996600"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#996600\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    231             <span class="podpress_color_picker_field" style="background-color:#996633"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#996633\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    232             <span class="podpress_color_picker_field" style="background-color:#996666"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#996666\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    233             <span class="podpress_color_picker_field" style="background-color:#996699"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#996699\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    234             <span class="podpress_color_picker_field" style="background-color:#9966cc"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#9966cc\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    235             <span class="podpress_color_picker_field" style="background-color:#9966ff"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#9966ff\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    236             <span class="podpress_color_picker_field" style="background-color:#99cc00"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#99cc00\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    237             <span class="podpress_color_picker_field" style="background-color:#99cc33"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#99cc33\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    238             <span class="podpress_color_picker_field" style="background-color:#99cc66"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#99cc66\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    239             <span class="podpress_color_picker_field" style="background-color:#99cc99"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#99cc99\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    240             <span class="podpress_color_picker_field" style="background-color:#99cccc"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#99cccc\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    241             <span class="podpress_color_picker_field" style="background-color:#99ccff"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#99ccff\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    242         </div><!-- color picker row end --> 
    243         <div class="podpress_color_picker_row"> 
    244             <span class="podpress_color_picker_field" style="background-color:#993300"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#993300\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    245             <span class="podpress_color_picker_field" style="background-color:#993333"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#993333\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    246             <span class="podpress_color_picker_field" style="background-color:#993366"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#993366\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    247             <span class="podpress_color_picker_field" style="background-color:#993399"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#993399\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    248             <span class="podpress_color_picker_field" style="background-color:#9933cc"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#9933cc\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    249             <span class="podpress_color_picker_field" style="background-color:#9933ff"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#9933ff\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    250             <span class="podpress_color_picker_field" style="background-color:#999900"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#999900\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    251             <span class="podpress_color_picker_field" style="background-color:#999933"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#999933\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    252             <span class="podpress_color_picker_field" style="background-color:#999966"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#999966\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    253             <span class="podpress_color_picker_field" style="background-color:#999999"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#999999\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    254             <span class="podpress_color_picker_field" style="background-color:#9999cc"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#9999cc\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    255             <span class="podpress_color_picker_field" style="background-color:#9999ff"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#9999ff\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    256             <span class="podpress_color_picker_field" style="background-color:#99ff00"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#99ff00\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    257             <span class="podpress_color_picker_field" style="background-color:#99ff33"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#99ff33\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    258             <span class="podpress_color_picker_field" style="background-color:#99ff66"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#99ff66\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    259             <span class="podpress_color_picker_field" style="background-color:#99ff99"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#99ff99\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    260             <span class="podpress_color_picker_field" style="background-color:#99ffcc"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#99ffcc\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    261             <span class="podpress_color_picker_field" style="background-color:#99ffff"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#99ffff\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    262         </div><!-- color picker row end --> 
    263         <div class="podpress_color_picker_row"> 
    264             <span class="podpress_color_picker_field" style="background-color:#cc0000"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#cc0000\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    265             <span class="podpress_color_picker_field" style="background-color:#cc0033"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#cc0033\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    266             <span class="podpress_color_picker_field" style="background-color:#cc0066"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#cc0066\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    267             <span class="podpress_color_picker_field" style="background-color:#cc0099"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#cc0099\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    268             <span class="podpress_color_picker_field" style="background-color:#cc00cc"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#cc00cc\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    269             <span class="podpress_color_picker_field" style="background-color:#cc00ff"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#cc00ff\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    270             <span class="podpress_color_picker_field" style="background-color:#cc6600"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#cc6600\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    271             <span class="podpress_color_picker_field" style="background-color:#cc6633"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#cc6633\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    272             <span class="podpress_color_picker_field" style="background-color:#cc6666"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#cc6666\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    273             <span class="podpress_color_picker_field" style="background-color:#cc6699"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#cc6699\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    274             <span class="podpress_color_picker_field" style="background-color:#cc66cc"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#cc66cc\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    275             <span class="podpress_color_picker_field" style="background-color:#cc66ff"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#cc66ff\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    276             <span class="podpress_color_picker_field" style="background-color:#cccc00"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#cccc00\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    277             <span class="podpress_color_picker_field" style="background-color:#cccc33"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#cccc33\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    278             <span class="podpress_color_picker_field" style="background-color:#cccc66"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#cccc66\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    279             <span class="podpress_color_picker_field" style="background-color:#cccc99"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#cccc99\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    280             <span class="podpress_color_picker_field" style="background-color:#cccccc"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#cccccc\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    281             <span class="podpress_color_picker_field" style="background-color:#ccccff"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#ccccff\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    282         </div><!-- color picker row end --> 
    283         <div class="podpress_color_picker_row"> 
    284             <span class="podpress_color_picker_field" style="background-color:#cc3300"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#cc3300\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    285             <span class="podpress_color_picker_field" style="background-color:#cc3333"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#cc3333\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    286             <span class="podpress_color_picker_field" style="background-color:#cc3366"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#cc3366\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    287             <span class="podpress_color_picker_field" style="background-color:#cc3399"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#cc3399\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    288             <span class="podpress_color_picker_field" style="background-color:#cc33cc"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#cc33cc\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    289             <span class="podpress_color_picker_field" style="background-color:#cc33ff"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#cc33ff\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    290             <span class="podpress_color_picker_field" style="background-color:#cc9900"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#cc9900\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    291             <span class="podpress_color_picker_field" style="background-color:#cc9933"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#cc9933\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    292             <span class="podpress_color_picker_field" style="background-color:#cc9966"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#cc9966\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    293             <span class="podpress_color_picker_field" style="background-color:#cc9999"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#cc9999\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    294             <span class="podpress_color_picker_field" style="background-color:#cc99cc"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#cc99cc\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    295             <span class="podpress_color_picker_field" style="background-color:#cc99ff"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#cc99ff\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    296             <span class="podpress_color_picker_field" style="background-color:#ccff00"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#ccff00\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    297             <span class="podpress_color_picker_field" style="background-color:#ccff33"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#ccff33\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    298             <span class="podpress_color_picker_field" style="background-color:#ccff66"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#ccff66\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    299             <span class="podpress_color_picker_field" style="background-color:#ccff99"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#ccff99\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    300             <span class="podpress_color_picker_field" style="background-color:#ccffcc"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#ccffcc\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    301             <span class="podpress_color_picker_field" style="background-color:#ccffff"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#ccffff\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    302         </div><!-- color picker row end --> 
    303         <div class="podpress_color_picker_row"> 
    304             <span class="podpress_color_picker_field" style="background-color:#ff0000"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#ff0000\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    305             <span class="podpress_color_picker_field" style="background-color:#ff0033"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#ff0033\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    306             <span class="podpress_color_picker_field" style="background-color:#ff0066"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#ff0066\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    307             <span class="podpress_color_picker_field" style="background-color:#ff0099"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#ff0099\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    308             <span class="podpress_color_picker_field" style="background-color:#ff00cc"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#ff00cc\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    309             <span class="podpress_color_picker_field" style="background-color:#ff00ff"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#ff00ff\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    310             <span class="podpress_color_picker_field" style="background-color:#ff6600"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#ff6600\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    311             <span class="podpress_color_picker_field" style="background-color:#ff6633"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#ff6633\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    312             <span class="podpress_color_picker_field" style="background-color:#ff6666"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#ff6666\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    313             <span class="podpress_color_picker_field" style="background-color:#ff6699"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#ff6699\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    314             <span class="podpress_color_picker_field" style="background-color:#ff66cc"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#ff66cc\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    315             <span class="podpress_color_picker_field" style="background-color:#ff66ff"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#ff66ff\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    316             <span class="podpress_color_picker_field" style="background-color:#ffcc00"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#ffcc00\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    317             <span class="podpress_color_picker_field" style="background-color:#ffcc33"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#ffcc33\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    318             <span class="podpress_color_picker_field" style="background-color:#ffcc66"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#ffcc66\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    319             <span class="podpress_color_picker_field" style="background-color:#ffcc99"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#ffcc99\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    320             <span class="podpress_color_picker_field" style="background-color:#ffcccc"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#ffcccc\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    321             <span class="podpress_color_picker_field" style="background-color:#ffccff"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#ffccff\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    322         </div><!-- color picker row end --> 
    323         <div class="podpress_color_picker_row"> 
    324             <span class="podpress_color_picker_field" style="background-color:#ff3300"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#ff3300\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    325             <span class="podpress_color_picker_field" style="background-color:#ff3333"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#ff3333\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    326             <span class="podpress_color_picker_field" style="background-color:#ff3366"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#ff3366\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    327             <span class="podpress_color_picker_field" style="background-color:#ff3399"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#ff3399\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    328             <span class="podpress_color_picker_field" style="background-color:#ff33cc"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#ff33cc\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    329             <span class="podpress_color_picker_field" style="background-color:#ff33ff"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#ff33ff\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    330             <span class="podpress_color_picker_field" style="background-color:#ff9900"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#ff9900\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    331             <span class="podpress_color_picker_field" style="background-color:#ff9933"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#ff9933\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    332             <span class="podpress_color_picker_field" style="background-color:#ff9966"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#ff9966\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    333             <span class="podpress_color_picker_field" style="background-color:#ff9999"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#ff9999\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    334             <span class="podpress_color_picker_field" style="background-color:#ff99cc"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#ff99cc\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    335             <span class="podpress_color_picker_field" style="background-color:#ff99ff"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#ff99ff\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    336             <span class="podpress_color_picker_field" style="background-color:#ffff00"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#ffff00\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    337             <span class="podpress_color_picker_field" style="background-color:#ffff33"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#ffff33\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    338             <span class="podpress_color_picker_field" style="background-color:#ffff66"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#ffff66\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    339             <span class="podpress_color_picker_field" style="background-color:#ffff99"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#ffff99\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    340             <span class="podpress_color_picker_field" style="background-color:#ffffcc"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#ffffcc\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
    341             <span class="podpress_color_picker_field" style="background-color:#ffffff"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#ffffff\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span> 
     104            <span class="podpress_color_picker_field" style="background-color:#000000"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#000000\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     105            <span class="podpress_color_picker_field" style="background-color:#000033"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#000033\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     106            <span class="podpress_color_picker_field" style="background-color:#000066"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#000066\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     107            <span class="podpress_color_picker_field" style="background-color:#000099"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#000099\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     108            <span class="podpress_color_picker_field" style="background-color:#0000cc"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#0000cc\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     109            <span class="podpress_color_picker_field" style="background-color:#0000ff"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#0000ff\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     110            <span class="podpress_color_picker_field" style="background-color:#006600"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#006600\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     111            <span class="podpress_color_picker_field" style="background-color:#006633"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#006633\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     112            <span class="podpress_color_picker_field" style="background-color:#006666"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#006666\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     113            <span class="podpress_color_picker_field" style="background-color:#006699"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#006699\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     114            <span class="podpress_color_picker_field" style="background-color:#0066cc"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#0066cc\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     115            <span class="podpress_color_picker_field" style="background-color:#0066ff"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#0066ff\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     116            <span class="podpress_color_picker_field" style="background-color:#00cc00"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#00cc00\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     117            <span class="podpress_color_picker_field" style="background-color:#00cc33"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#00cc33\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     118            <span class="podpress_color_picker_field" style="background-color:#00cc66"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#00cc66\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     119            <span class="podpress_color_picker_field" style="background-color:#00cc99"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#00cc99\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     120            <span class="podpress_color_picker_field" style="background-color:#00cccc"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#00cccc\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     121            <span class="podpress_color_picker_field" style="background-color:#00ccff"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#00ccff\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     122        </div><!-- color picker row end --> 
     123        <div class="podpress_color_picker_row"> 
     124            <span class="podpress_color_picker_field" style="background-color:#003300"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#003300\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     125            <span class="podpress_color_picker_field" style="background-color:#003333"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#003333\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     126            <span class="podpress_color_picker_field" style="background-color:#003366"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#003366\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     127            <span class="podpress_color_picker_field" style="background-color:#003399"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#003399\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     128            <span class="podpress_color_picker_field" style="background-color:#0033cc"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#0033cc\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     129            <span class="podpress_color_picker_field" style="background-color:#0033ff"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#0033ff\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     130            <span class="podpress_color_picker_field" style="background-color:#009900"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#009900\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     131            <span class="podpress_color_picker_field" style="background-color:#009933"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#009933\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     132            <span class="podpress_color_picker_field" style="background-color:#009966"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#009966\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     133            <span class="podpress_color_picker_field" style="background-color:#009999"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#009999\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     134            <span class="podpress_color_picker_field" style="background-color:#0099cc"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#0099cc\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     135            <span class="podpress_color_picker_field" style="background-color:#0099ff"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#0099ff\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     136            <span class="podpress_color_picker_field" style="background-color:#00ff00"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#00ff00\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     137            <span class="podpress_color_picker_field" style="background-color:#00ff33"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#00ff33\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     138            <span class="podpress_color_picker_field" style="background-color:#00ff66"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#00ff66\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     139            <span class="podpress_color_picker_field" style="background-color:#00ff99"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#00ff99\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     140            <span class="podpress_color_picker_field" style="background-color:#00ffcc"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#00ffcc\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     141            <span class="podpress_color_picker_field" style="background-color:#00ffff"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#00ffff\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     142        </div><!-- color picker row end --> 
     143        <div class="podpress_color_picker_row"> 
     144            <span class="podpress_color_picker_field" style="background-color:#330000"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#330000\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     145            <span class="podpress_color_picker_field" style="background-color:#330033"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#330033\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     146            <span class="podpress_color_picker_field" style="background-color:#330066"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#330066\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     147            <span class="podpress_color_picker_field" style="background-color:#330099"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#330099\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     148            <span class="podpress_color_picker_field" style="background-color:#3300cc"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#3300cc\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     149            <span class="podpress_color_picker_field" style="background-color:#3300ff"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#3300ff\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     150            <span class="podpress_color_picker_field" style="background-color:#336600"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#336600\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     151            <span class="podpress_color_picker_field" style="background-color:#336633"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#336633\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     152            <span class="podpress_color_picker_field" style="background-color:#336666"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#336666\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     153            <span class="podpress_color_picker_field" style="background-color:#336699"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#336699\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     154            <span class="podpress_color_picker_field" style="background-color:#3366cc"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#3366cc\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     155            <span class="podpress_color_picker_field" style="background-color:#3366ff"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#3366ff\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     156            <span class="podpress_color_picker_field" style="background-color:#33cc00"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#33cc00\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     157            <span class="podpress_color_picker_field" style="background-color:#33cc33"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#33cc33\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     158            <span class="podpress_color_picker_field" style="background-color:#33cc66"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#33cc66\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     159            <span class="podpress_color_picker_field" style="background-color:#33cc99"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#33cc99\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     160            <span class="podpress_color_picker_field" style="background-color:#33cccc"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#33cccc\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     161            <span class="podpress_color_picker_field" style="background-color:#33ccff"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#33ccff\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     162        </div><!-- color picker row end --> 
     163        <div class="podpress_color_picker_row"> 
     164            <span class="podpress_color_picker_field" style="background-color:#333300"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#333300\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     165            <span class="podpress_color_picker_field" style="background-color:#333333"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#333333\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     166            <span class="podpress_color_picker_field" style="background-color:#333366"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#333366\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     167            <span class="podpress_color_picker_field" style="background-color:#333399"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#333399\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     168            <span class="podpress_color_picker_field" style="background-color:#3333cc"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#3333cc\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     169            <span class="podpress_color_picker_field" style="background-color:#3333ff"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#3333ff\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     170            <span class="podpress_color_picker_field" style="background-color:#339900"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#339900\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     171            <span class="podpress_color_picker_field" style="background-color:#339933"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#339933\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     172            <span class="podpress_color_picker_field" style="background-color:#339966"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#339966\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     173            <span class="podpress_color_picker_field" style="background-color:#339999"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#339999\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     174            <span class="podpress_color_picker_field" style="background-color:#3399cc"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#3399cc\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     175            <span class="podpress_color_picker_field" style="background-color:#3399ff"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#3399ff\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     176            <span class="podpress_color_picker_field" style="background-color:#33ff00"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#33ff00\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     177            <span class="podpress_color_picker_field" style="background-color:#33ff33"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#33ff33\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     178            <span class="podpress_color_picker_field" style="background-color:#33ff66"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#33ff66\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     179            <span class="podpress_color_picker_field" style="background-color:#33ff99"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#33ff99\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     180            <span class="podpress_color_picker_field" style="background-color:#33ffcc"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#33ffcc\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     181            <span class="podpress_color_picker_field" style="background-color:#33ffff"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#33ffff\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     182        </div><!-- color picker row end --> 
     183        <div class="podpress_color_picker_row"> 
     184            <span class="podpress_color_picker_field" style="background-color:#660000"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#660000\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     185            <span class="podpress_color_picker_field" style="background-color:#660033"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#660033\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     186            <span class="podpress_color_picker_field" style="background-color:#660066"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#660066\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     187            <span class="podpress_color_picker_field" style="background-color:#660099"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#660099\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     188            <span class="podpress_color_picker_field" style="background-color:#6600cc"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#6600cc\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     189            <span class="podpress_color_picker_field" style="background-color:#6600ff"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#6600ff\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     190            <span class="podpress_color_picker_field" style="background-color:#666600"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#666600\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     191            <span class="podpress_color_picker_field" style="background-color:#666633"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#666633\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     192            <span class="podpress_color_picker_field" style="background-color:#666666"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#666666\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     193            <span class="podpress_color_picker_field" style="background-color:#666699"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#666699\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     194            <span class="podpress_color_picker_field" style="background-color:#6666cc"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#6666cc\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     195            <span class="podpress_color_picker_field" style="background-color:#6666ff"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#6666ff\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     196            <span class="podpress_color_picker_field" style="background-color:#66cc00"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#66cc00\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     197            <span class="podpress_color_picker_field" style="background-color:#66cc33"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#66cc33\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     198            <span class="podpress_color_picker_field" style="background-color:#66cc66"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#66cc66\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     199            <span class="podpress_color_picker_field" style="background-color:#66cc99"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#66cc99\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     200            <span class="podpress_color_picker_field" style="background-color:#66cccc"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#66cccc\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     201            <span class="podpress_color_picker_field" style="background-color:#66ccff"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#66ccff\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     202        </div><!-- color picker row end --> 
     203        <div class="podpress_color_picker_row"> 
     204            <span class="podpress_color_picker_field" style="background-color:#663300"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#663300\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     205            <span class="podpress_color_picker_field" style="background-color:#663333"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#663333\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     206            <span class="podpress_color_picker_field" style="background-color:#663366"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#663366\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     207            <span class="podpress_color_picker_field" style="background-color:#663399"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#663399\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     208            <span class="podpress_color_picker_field" style="background-color:#6633cc"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#6633cc\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     209            <span class="podpress_color_picker_field" style="background-color:#6633ff"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#6633ff\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     210            <span class="podpress_color_picker_field" style="background-color:#669900"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#669900\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     211            <span class="podpress_color_picker_field" style="background-color:#669933"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#669933\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     212            <span class="podpress_color_picker_field" style="background-color:#669966"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#669966\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     213            <span class="podpress_color_picker_field" style="background-color:#669999"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#669999\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     214            <span class="podpress_color_picker_field" style="background-color:#6699cc"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#6699cc\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     215            <span class="podpress_color_picker_field" style="background-color:#6699ff"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#6699ff\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     216            <span class="podpress_color_picker_field" style="background-color:#66ff00"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#66ff00\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     217            <span class="podpress_color_picker_field" style="background-color:#66ff33"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#66ff33\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     218            <span class="podpress_color_picker_field" style="background-color:#66ff66"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#66ff66\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     219            <span class="podpress_color_picker_field" style="background-color:#66ff99"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#66ff99\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     220            <span class="podpress_color_picker_field" style="background-color:#66ffcc"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#66ffcc\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     221            <span class="podpress_color_picker_field" style="background-color:#66ffff"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#66ffff\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     222        </div><!-- color picker row end --> 
     223        <div class="podpress_color_picker_row"> 
     224            <span class="podpress_color_picker_field" style="background-color:#990000"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#990000\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     225            <span class="podpress_color_picker_field" style="background-color:#990033"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#990033\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     226            <span class="podpress_color_picker_field" style="background-color:#990066"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#990066\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     227            <span class="podpress_color_picker_field" style="background-color:#990099"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#990099\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     228            <span class="podpress_color_picker_field" style="background-color:#9900cc"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#9900cc\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     229            <span class="podpress_color_picker_field" style="background-color:#9900ff"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#9900ff\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     230            <span class="podpress_color_picker_field" style="background-color:#996600"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#996600\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     231            <span class="podpress_color_picker_field" style="background-color:#996633"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#996633\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     232            <span class="podpress_color_picker_field" style="background-color:#996666"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#996666\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     233            <span class="podpress_color_picker_field" style="background-color:#996699"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#996699\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     234            <span class="podpress_color_picker_field" style="background-color:#9966cc"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#9966cc\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     235            <span class="podpress_color_picker_field" style="background-color:#9966ff"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#9966ff\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     236            <span class="podpress_color_picker_field" style="background-color:#99cc00"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#99cc00\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     237            <span class="podpress_color_picker_field" style="background-color:#99cc33"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#99cc33\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     238            <span class="podpress_color_picker_field" style="background-color:#99cc66"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#99cc66\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     239            <span class="podpress_color_picker_field" style="background-color:#99cc99"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#99cc99\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     240            <span class="podpress_color_picker_field" style="background-color:#99cccc"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#99cccc\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     241            <span class="podpress_color_picker_field" style="background-color:#99ccff"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#99ccff\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     242        </div><!-- color picker row end --> 
     243        <div class="podpress_color_picker_row"> 
     244            <span class="podpress_color_picker_field" style="background-color:#993300"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#993300\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     245            <span class="podpress_color_picker_field" style="background-color:#993333"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#993333\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     246            <span class="podpress_color_picker_field" style="background-color:#993366"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#993366\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     247            <span class="podpress_color_picker_field" style="background-color:#993399"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#993399\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     248            <span class="podpress_color_picker_field" style="background-color:#9933cc"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#9933cc\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     249            <span class="podpress_color_picker_field" style="background-color:#9933ff"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#9933ff\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     250            <span class="podpress_color_picker_field" style="background-color:#999900"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#999900\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     251            <span class="podpress_color_picker_field" style="background-color:#999933"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#999933\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     252            <span class="podpress_color_picker_field" style="background-color:#999966"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#999966\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     253            <span class="podpress_color_picker_field" style="background-color:#999999"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#999999\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     254            <span class="podpress_color_picker_field" style="background-color:#9999cc"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#9999cc\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     255            <span class="podpress_color_picker_field" style="background-color:#9999ff"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#9999ff\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     256            <span class="podpress_color_picker_field" style="background-color:#99ff00"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#99ff00\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     257            <span class="podpress_color_picker_field" style="background-color:#99ff33"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#99ff33\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     258            <span class="podpress_color_picker_field" style="background-color:#99ff66"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#99ff66\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     259            <span class="podpress_color_picker_field" style="background-color:#99ff99"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#99ff99\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     260            <span class="podpress_color_picker_field" style="background-color:#99ffcc"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#99ffcc\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     261            <span class="podpress_color_picker_field" style="background-color:#99ffff"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#99ffff\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     262        </div><!-- color picker row end --> 
     263        <div class="podpress_color_picker_row"> 
     264            <span class="podpress_color_picker_field" style="background-color:#cc0000"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#cc0000\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     265            <span class="podpress_color_picker_field" style="background-color:#cc0033"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#cc0033\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     266            <span class="podpress_color_picker_field" style="background-color:#cc0066"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#cc0066\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     267            <span class="podpress_color_picker_field" style="background-color:#cc0099"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#cc0099\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     268            <span class="podpress_color_picker_field" style="background-color:#cc00cc"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#cc00cc\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     269            <span class="podpress_color_picker_field" style="background-color:#cc00ff"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#cc00ff\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     270            <span class="podpress_color_picker_field" style="background-color:#cc6600"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#cc6600\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     271            <span class="podpress_color_picker_field" style="background-color:#cc6633"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#cc6633\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     272            <span class="podpress_color_picker_field" style="background-color:#cc6666"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#cc6666\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     273            <span class="podpress_color_picker_field" style="background-color:#cc6699"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#cc6699\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     274            <span class="podpress_color_picker_field" style="background-color:#cc66cc"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#cc66cc\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     275            <span class="podpress_color_picker_field" style="background-color:#cc66ff"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#cc66ff\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     276            <span class="podpress_color_picker_field" style="background-color:#cccc00"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#cccc00\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     277            <span class="podpress_color_picker_field" style="background-color:#cccc33"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#cccc33\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     278            <span class="podpress_color_picker_field" style="background-color:#cccc66"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#cccc66\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     279            <span class="podpress_color_picker_field" style="background-color:#cccc99"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#cccc99\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     280            <span class="podpress_color_picker_field" style="background-color:#cccccc"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#cccccc\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     281            <span class="podpress_color_picker_field" style="background-color:#ccccff"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#ccccff\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     282        </div><!-- color picker row end --> 
     283        <div class="podpress_color_picker_row"> 
     284            <span class="podpress_color_picker_field" style="background-color:#cc3300"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#cc3300\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     285            <span class="podpress_color_picker_field" style="background-color:#cc3333"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#cc3333\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     286            <span class="podpress_color_picker_field" style="background-color:#cc3366"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#cc3366\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     287            <span class="podpress_color_picker_field" style="background-color:#cc3399"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#cc3399\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     288            <span class="podpress_color_picker_field" style="background-color:#cc33cc"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#cc33cc\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     289            <span class="podpress_color_picker_field" style="background-color:#cc33ff"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#cc33ff\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     290            <span class="podpress_color_picker_field" style="background-color:#cc9900"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#cc9900\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     291            <span class="podpress_color_picker_field" style="background-color:#cc9933"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#cc9933\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     292            <span class="podpress_color_picker_field" style="background-color:#cc9966"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#cc9966\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     293            <span class="podpress_color_picker_field" style="background-color:#cc9999"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#cc9999\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     294            <span class="podpress_color_picker_field" style="background-color:#cc99cc"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#cc99cc\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     295            <span class="podpress_color_picker_field" style="background-color:#cc99ff"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#cc99ff\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     296            <span class="podpress_color_picker_field" style="background-color:#ccff00"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#ccff00\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     297            <span class="podpress_color_picker_field" style="background-color:#ccff33"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#ccff33\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     298            <span class="podpress_color_picker_field" style="background-color:#ccff66"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#ccff66\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     299            <span class="podpress_color_picker_field" style="background-color:#ccff99"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#ccff99\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     300            <span class="podpress_color_picker_field" style="background-color:#ccffcc"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#ccffcc\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     301            <span class="podpress_color_picker_field" style="background-color:#ccffff"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#ccffff\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     302        </div><!-- color picker row end --> 
     303        <div class="podpress_color_picker_row"> 
     304            <span class="podpress_color_picker_field" style="background-color:#ff0000"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#ff0000\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     305            <span class="podpress_color_picker_field" style="background-color:#ff0033"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#ff0033\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     306            <span class="podpress_color_picker_field" style="background-color:#ff0066"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#ff0066\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     307            <span class="podpress_color_picker_field" style="background-color:#ff0099"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#ff0099\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     308            <span class="podpress_color_picker_field" style="background-color:#ff00cc"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#ff00cc\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     309            <span class="podpress_color_picker_field" style="background-color:#ff00ff"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#ff00ff\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     310            <span class="podpress_color_picker_field" style="background-color:#ff6600"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#ff6600\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     311            <span class="podpress_color_picker_field" style="background-color:#ff6633"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#ff6633\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     312            <span class="podpress_color_picker_field" style="background-color:#ff6666"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#ff6666\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     313            <span class="podpress_color_picker_field" style="background-color:#ff6699"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#ff6699\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     314            <span class="podpress_color_picker_field" style="background-color:#ff66cc"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#ff66cc\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     315            <span class="podpress_color_picker_field" style="background-color:#ff66ff"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#ff66ff\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     316            <span class="podpress_color_picker_field" style="background-color:#ffcc00"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#ffcc00\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     317            <span class="podpress_color_picker_field" style="background-color:#ffcc33"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#ffcc33\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     318            <span class="podpress_color_picker_field" style="background-color:#ffcc66"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#ffcc66\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     319            <span class="podpress_color_picker_field" style="background-color:#ffcc99"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#ffcc99\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     320            <span class="podpress_color_picker_field" style="background-color:#ffcccc"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#ffcccc\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     321            <span class="podpress_color_picker_field" style="background-color:#ffccff"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#ffccff\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     322        </div><!-- color picker row end --> 
     323        <div class="podpress_color_picker_row"> 
     324            <span class="podpress_color_picker_field" style="background-color:#ff3300"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#ff3300\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     325            <span class="podpress_color_picker_field" style="background-color:#ff3333"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#ff3333\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     326            <span class="podpress_color_picker_field" style="background-color:#ff3366"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#ff3366\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     327            <span class="podpress_color_picker_field" style="background-color:#ff3399"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#ff3399\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     328            <span class="podpress_color_picker_field" style="background-color:#ff33cc"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#ff33cc\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     329            <span class="podpress_color_picker_field" style="background-color:#ff33ff"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#ff33ff\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     330            <span class="podpress_color_picker_field" style="background-color:#ff9900"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#ff9900\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     331            <span class="podpress_color_picker_field" style="background-color:#ff9933"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#ff9933\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     332            <span class="podpress_color_picker_field" style="background-color:#ff9966"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#ff9966\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     333            <span class="podpress_color_picker_field" style="background-color:#ff9999"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#ff9999\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     334            <span class="podpress_color_picker_field" style="background-color:#ff99cc"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#ff99cc\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     335            <span class="podpress_color_picker_field" style="background-color:#ff99ff"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#ff99ff\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     336            <span class="podpress_color_picker_field" style="background-color:#ffff00"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#ffff00\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     337            <span class="podpress_color_picker_field" style="background-color:#ffff33"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#ffff33\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     338            <span class="podpress_color_picker_field" style="background-color:#ffff66"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#ffff66\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     339            <span class="podpress_color_picker_field" style="background-color:#ffff99"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#ffff99\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     340            <span class="podpress_color_picker_field" style="background-color:#ffffcc"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#ffffcc\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
     341            <span class="podpress_color_picker_field" style="background-color:#ffffff"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#ffffff\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span> 
    342342        </div><!-- color picker row end --> 
    343343         
     
    348348        echo '<div class="podpress_color_picker_row">'."\n"; 
    349349        for ($i=0; $i < 16; $i++) { 
    350             echo '      <span class="podpress_color_picker_field" style="background-color:#'.$hex[$i].$hex[$i].$hex[$i].$hex[$i].$hex[$i].$hex[$i].'"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#'.$hex[$i].$hex[$i].$hex[$i].$hex[$i].$hex[$i].$hex[$i].'\'); return true"><img src="'.$podPress_url.'images/podpress_spacer.gif" alt="." /></a></span>'."\n"; 
     350            echo '      <span class="podpress_color_picker_field" style="background-color:#'.$hex[$i].$hex[$i].$hex[$i].$hex[$i].$hex[$i].$hex[$i].'"><a href="javascript: podPress_colorLock()" onmouseover="javascript: podPress_colorSet(\'#'.$hex[$i].$hex[$i].$hex[$i].$hex[$i].$hex[$i].$hex[$i].'\'); return true"><img src="'.$podPress_url.'/images/podpress_spacer.gif" alt="." /></a></span>'."\n"; 
    351351        } 
    352352        echo '</div>'."\n"; 
     
    457457            echo '              <td colspan="2">'."\n"; 
    458458            if ( FALSE == $this->settings['enablePodangoIntegration'] AND TRUE == isset($this->settings['mp3Player']) AND '1pixelout' == $this->settings['mp3Player'] ) { 
    459             echo '                  <input type="checkbox" name="playerSettings[listenWrapper]" id="playerSettings_listenWrapper" '; if($this->settings['player']['listenWrapper']) { echo 'checked="checked"'; } echo ' onclick="javascript: if (this.checked == true) { document.getElementById(\'podpress_lwc_1\').style.backgroundImage = \'url('.PODPRESS_URL.'/images/listen_wrapper.gif)\';} else { document.getElementById(\'podpress_lwc_1\').style.backgroundImage = \'\'; }" />'."\n"; 
    460             } else { 
    461             echo '                  <input type="checkbox" name="playerSettings[listenWrapper]" id="playerSettings_listenWrapper" '; if($this->settings['player']['listenWrapper']) { echo 'checked="checked"'; } echo " onclick=\"javascript: podPressShowHideWrapper('podPressPlayerSpace_1', '".PODPRESS_URL.'/images/listen_wrapper.gif'."');\"/>\n"; 
     459            echo '                  <input type="checkbox" name="playerSettings[listenWrapper]" id="playerSettings_listenWrapper" '; if($this->settings['player']['listenWrapper']) { echo 'checked="checked"'; } echo ' onclick="javascript: if (this.checked == true) { document.getElementById(\'podpress_lwc_1\').style.backgroundImage = \'url('.$podPress_url.'/images/listen_wrapper.gif)\';} else { document.getElementById(\'podpress_lwc_1\').style.backgroundImage = \'\'; }" />'."\n"; 
     460            } else { 
     461            echo '                  <input type="checkbox" name="playerSettings[listenWrapper]" id="playerSettings_listenWrapper" '; if($this->settings['player']['listenWrapper']) { echo 'checked="checked"'; } echo " onclick=\"javascript: podPressShowHideWrapper('podPressPlayerSpace_1', '".$podPress_url.'/images/listen_wrapper.gif'."');\"/>\n"; 
    462462            } 
    463463            echo '              </td>'."\n"; 
     
    468468            if ( FALSE == $this->settings['enablePodangoIntegration'] AND TRUE == isset($this->settings['mp3Player']) AND '1pixelout' == $this->settings['mp3Player'] ) { 
    469469                if (TRUE == isset($this->settings['player']['listenWrapper']) AND TRUE == $this->settings['player']['listenWrapper']) { 
    470                     echo '                  <div class="podpress_listenwrapper_container" id="podpress_lwc_1" style="background-image:url('.PODPRESS_URL.'/images/listen_wrapper.gif);"><div class="podpress_mp3_borderleft"></div><div class="podpress_1pixelout_container"><div id="podPressPlayerSpace_1"></div></div></div>'."\n"; 
     470                    echo '                  <div class="podpress_listenwrapper_container" id="podpress_lwc_1" style="background-image:url('.$podPress_url.'/images/listen_wrapper.gif);"><div class="podpress_mp3_borderleft"></div><div class="podpress_1pixelout_container"><div id="podPressPlayerSpace_1"></div></div></div>'."\n"; 
    471471                } else { 
    472472                    echo '                  <div class="podpress_listenwrapper_container" id="podpress_lwc_1"><div class="podpress_mp3_borderleft"></div><div class="podpress_1pixelout_container"><div id="podPressPlayerSpace_1"></div></div></div>'."\n"; 
     
    567567            echo '              <td class="podpress_player_description_cell">'.sprintf(__('With this option the displayed title and artist of a mp3 file will be overwritten by the custom title which you can insert for each file at the editor page and the post specific value of iTunes:Author. This helps in cases when the "%1$s" option is not helping e.g. if your media files are on a server or domain and you can not use a cross-domain policy file or if you are using the statistic features of podPress.', 'podpress'), __('Use a cross-domain policy file', 'podpress')).'</td>'."\n"; 
    568568            echo '          </tr>'."\n"; 
     569            if (TRUE == isset($this->settings['player']['animation']) AND 'no' == $this->settings['player']['animation'] ) { $checked = ' checked="checked"'; }  else { $checked = ''; } 
     570            echo '          <tr>'."\n"; 
     571            echo '              <th><label for="playerSettings_animation_">'.__('1Pixelout Player always open', 'podpress').':</label></th>'."\n"; 
     572            echo '              <td class="podpress_player_narrowmiddle_col">'."\n"; 
     573            echo '                  <input type="checkbox" name="playerSettings[animation]" id="playerSettings_animation_"'.$checked.' value="yes" />'."\n"; 
     574            echo '              </td>'."\n"; 
     575            echo '              <td class="podpress_player_description_cell">'.__('The player is always open.', 'podpress').'</td>'."\n"; 
     576            echo '          </tr>'."\n";         
     577            if (TRUE == isset($this->settings['player']['remaining']) AND 'yes' == $this->settings['player']['remaining'] ) { $checked = ' checked="checked"'; }  else { $checked = ''; } 
     578            echo '          <tr>'."\n"; 
     579            echo '              <th><label for="playerSettings_remaining_">'.__('1Pixelout Player shows remaining time', 'podpress').':</label></th>'."\n"; 
     580            echo '              <td class="podpress_player_narrowmiddle_col">'."\n"; 
     581            echo '                  <input type="checkbox" name="playerSettings[remaining]" id="playerSettings_remaining_"'.$checked.' value="yes" />'."\n"; 
     582            echo '              </td>'."\n"; 
     583            echo '              <td class="podpress_player_description_cell">'.__('The player shows the remaining track time rather than the ellapsed time.', 'podpress').'</td>'."\n"; 
     584            echo '          </tr>'."\n";         
    569585            echo '      </table>'."\n"; 
    570586            echo '  </fieldset>'."\n"; 
     
    607623            echo '              <th><label for="videoPreviewImage">'.__('Preview Image URL', 'podpress').':</label></th>'."\n"; 
    608624            echo '              <td colspan="2">'."\n"; 
    609             echo '                  <input type="text" id="videoPreviewImage" name="videoPreviewImage" class="podpress_wide_text_field" size="40" value="'.attribute_escape($this->settings['videoPreviewImage']).'" onchange="javascript: document.getElementById(\'podPress_previewImageIMG_2\').src = this.value;" />'."\n"; 
     625            echo '                  <input type="text" id="videoPreviewImage" name="videoPreviewImage" class="podpress_wide_text_field" size="40" value="'.attribute_escape($this->settings['videoPreviewImage']).'" onchange="javascript: document.getElementById(\'podPress_previewImageIMG_2\').src = this.value.replace(/http:/gi, window.location.protocol);" />'."\n"; 
    610626            echo '              </td>'."\n"; 
    611627            echo '          </tr>'."\n"; 
     
    631647            echo '      </table>'."\n"; 
    632648            echo '<script type="text/javascript"><!--'."\n"; 
    633             echo "  document.getElementById('podPressPlayerSpace_2').innerHTML = podPressGenerateVideoPreview(2, '', 320, 240, '".$this->settings['videoPreviewImage']."', true);\n"; 
     649            echo "  document.getElementById('podPressPlayerSpace_2').innerHTML = podPressGenerateVideoPreview(2, '', 320, 240, '".podpress_siteurl_is_ssl($this->settings['videoPreviewImage'])."', true);\n"; 
    634650            echo "--></script>\n"; 
    635651            echo '  </fieldset>'."\n"; 
     
    742758            } 
    743759             
     760            if (isset($_POST['playerSettings']['remaining'])) { 
     761                $this->settings['player']['remaining'] = 'yes'; 
     762            } else { 
     763                $this->settings['player']['remaining'] = 'no'; 
     764            } 
     765            if (isset($_POST['playerSettings']['animation'])) { 
     766                $this->settings['player']['animation'] = 'no'; 
     767            } else { 
     768                $this->settings['player']['animation'] = 'yes'; 
     769            } 
     770             
     771             
    744772            if ( TRUE == isset($_POST['use_html5_media_tags']) ) { 
    745773                $this->settings['use_html5_media_tags'] = TRUE; 
     
    756784            $result = podPress_update_option('podPress_config', $this->settings); 
    757785            if ( FALSE !== $result ) { 
    758                 $location = get_option('siteurl') . '/wp-admin/admin.php?page=podpress/podpress_players.php&updated=true'; 
    759             } else { 
    760                 $location = get_option('siteurl') . '/wp-admin/admin.php?page=podpress/podpress_players.php&updated=false'; 
     786                $location = site_url() . '/wp-admin/admin.php?page=podpress/podpress_players.php&updated=true'; 
     787            } else { 
     788                $location = site_url() . '/wp-admin/admin.php?page=podpress/podpress_players.php&updated=false'; 
    761789            } 
    762790            header('Location: '.$location); 
  • podpress/trunk/podpress_admin_stats_class.php

    r444334 r560585  
    2727        GLOBAL $wpdb; 
    2828         
    29         $this->path = get_option('siteurl').'/wp-admin/admin.php?page=podpress/podpress_stats.php'; 
     29        $this->path = site_url().'/wp-admin/admin.php?page=podpress/podpress_stats.php'; 
    3030        if (isset($_GET['display']) && is_string($_GET['display'])) { 
    3131            $this->path .= '&amp;display='.$_GET['display']; 
     
    243243        GLOBAL $wpdb, $wp_version; 
    244244        podPress_isAuthorized(); 
    245         $baseurl = get_option('siteurl') . '/wp-admin/admin.php?page=podpress/podpress_stats.php&display='; 
     245        $baseurl = site_url() . '/wp-admin/admin.php?page=podpress/podpress_stats.php&display='; 
    246246        echo '<div class="wrap">'."\n"; 
    247247         
     
    12511251                                echo '                      <td>'.podPress_strlimiter2(urldecode($stat->media), 30, TRUE).'</td>'."\n"; 
    12521252                                if ( TRUE == version_compare($wp_version, '2.3', '<') ) { 
    1253                                     echo '                      <td><a href="'.get_option('siteurl').'/wp-admin/post.php?action=edit&amp;post='.$stat->postID.'" title="'.__('Edit this post','podpress').'">'.podPress_strlimiter2($stat->post_title, 30, TRUE).'</a></td>'."\n"; 
     1253                                    echo '                      <td><a href="'.site_url().'/wp-admin/post.php?action=edit&amp;post='.$stat->postID.'" title="'.__('Edit this post','podpress').'">'.podPress_strlimiter2($stat->post_title, 30, TRUE).'</a></td>'."\n"; 
    12541254                                } else { 
    12551255                                    echo '                      <td><a href="'.get_edit_post_link($stat->postID).'" title="'.__('Edit this post','podpress').'">'.podPress_strlimiter2($stat->post_title, 30, TRUE).'</a></td>'."\n"; 
     
    13161316                                echo '                      <td>'.($start +$i).'.</td>'."\n"; 
    13171317                                //~ if ( TRUE == version_compare($wp_version, '2.3', '<') ) { 
    1318                                     //~ echo '                      <td><a href="'.get_option('siteurl').'/wp-admin/post.php?action=edit&amp;post='.$stat->postID.'" title="'.__('Edit this post','podpress').'">'.podPress_strlimiter2($stat->post_title, 30, TRUE).'</a></td>'."\n"; 
     1318                                    //~ echo '                      <td><a href="'.site_url().'/wp-admin/post.php?action=edit&amp;post='.$stat->postID.'" title="'.__('Edit this post','podpress').'">'.podPress_strlimiter2($stat->post_title, 30, TRUE).'</a></td>'."\n"; 
    13191319                                //~ } else { 
    13201320                                    //~ echo '                      <td><a href="'.get_edit_post_link($stat->postID).'" title="'.__('Edit this post','podpress').'">'.podPress_strlimiter2($stat->post_title, 30, TRUE).'</a></td>'."\n"; 
     
    16931693                /* Output */ 
    16941694                echo '<div id="podPress_graph" style="width: '.$image_width.'px;">'."\n"; 
    1695                 echo '    <p><img src="'.$this->tempfileurlpath.'/'.$filename.'" width="'.$image_width.'" height="'.$image_height.'" alt="podPress-Statistics" /></p>'."\n"; 
     1695                echo '    <p><img src="'.podpress_siteurl_is_ssl($this->tempfileurlpath).'/'.$filename.'" width="'.$image_width.'" height="'.$image_height.'" alt="podPress-Statistics" /></p>'."\n"; 
    16961696                echo "</div>\n"; 
    16971697                echo '<p>'.__('Time to generate the graph', 'podpress').': '.number_format($chronometry1, 3, $this->local_settings['numbers'][0], $this->local_settings['numbers'][1]).' '.__('seconds', 'podpress').' ('.__('image', 'podpress').': '.number_format($chronometry2, 3, $this->local_settings['numbers'][0], $this->local_settings['numbers'][1]).' '.__('seconds', 'podpress').").\n"; 
     
    19171917                $memory_used = podPress_bytes($end_memory-$start_memory); 
    19181918                echo '<div id="podPress_graph" style="width: '.$image_width.'px;">'."\n"; 
    1919                 echo '    <p style="padding-top: 0;"><img src="'.$this->tempfileurlpath.'/'.$filename.'" width="'.$image_width.'" height="'.$image_height.'" alt="podPress-Statistics" /></p>'."\n"; 
     1919                echo '    <p style="padding-top: 0;"><img src="'.podpress_siteurl_is_ssl($this->tempfileurlpath).'/'.$filename.'" width="'.$image_width.'" height="'.$image_height.'" alt="podPress-Statistics" /></p>'."\n"; 
    19201920                echo $this->paging($start, $limit, $total, 'Posts'); 
    19211921                echo '    <div class="clear"></div>'."\n"; 
  • podpress/trunk/podpress_class.php

    r529614 r560585  
    7979        // new in podPress since 8.8.5 beta 9 
    8080        function upload_dir() { 
    81             $siteurl = get_option( 'siteurl' ); 
     81            $siteurl = site_url(); 
    8282            $upload_path = get_option( 'upload_path' ); 
    8383            $upload_path = trim($upload_path); 
     
    357357            if(empty($this->settings['podcastFeedURL'])) { 
    358358                if(podPress_WPVersionCheck('2.1')) { 
    359                     //~ $this->settings['podcastFeedURL'] = get_option('siteurl').'/?feed=podcast'; 
     359                    //~ $this->settings['podcastFeedURL'] = site_url().'/?feed=podcast'; 
    360360                    $this->settings['podcastFeedURL'] = get_feed_link('podcast'); 
    361361                } else { 
    362                     $this->settings['podcastFeedURL'] = get_option('siteurl').'/?feed=rss2'; 
     362                    $this->settings['podcastFeedURL'] = site_url().'/?feed=rss2'; 
    363363                } 
    364364            } 
     
    743743            $result['buffer'] = 5; // for 1Pixelout player (since podPress 8.8.5.2) 
    744744            $result['checkpolicy'] = 'no'; // for 1Pixelout player (since podPress 8.8.5.2) 
    745              
     745            $result['animation'] = 'yes'; // for 1Pixelout player (since podPress 8.8.10.14) 
     746            $result['remaining'] = 'no'; // for 1Pixelout player (since podPress 8.8.10.14) 
     747         
    746748            // player settings which are no direct resp. JS parameters of the players 
    747749            $result['overwriteTitleandArtist'] = 'no'; // for 1Pixelout player (since podPress 8.8.5.2) 
     
    757759 
    758760        function convertPodcastFileNameToValidWebPath($filename) { 
     761        printphpnotices_var_dump($_SERVER['SERVER_PROTOCOL']); 
     762        printphpnotices_var_dump($_SERVER['HTTP_HOST']); 
     763        printphpnotices_var_dump($filename); 
    759764            if ( strpos(substr($filename, 0, 10), '://') ) { 
    760765                $url = $filename; 
     
    765770                    $baseurl = $this->settings['mediaWebPath']; 
    766771                } else { 
    767                     $baseurl = get_option('siteurl').$this->settings['mediaWebPath']; 
     772                    $baseurl = site_url().$this->settings['mediaWebPath']; 
    768773                } 
    769774                if ( substr($filename, -1, 1) != '/' ) { 
     
    775780        } 
    776781 
    777         function convertPodcastFileNameToWebPath($postID, $mediaNum, $filename = '', $method = false){ 
     782        function convertPodcastFileNameToWebPath($postID, $mediaNum, $filename = '', $method = false) { 
     783            global $wp_version; 
    778784            $url = $this->convertPodcastFileNameToValidWebPath($filename); 
    779785            if($method != false) { 
     
    783789                        $url = podPress_url().'download.mp3?'.$method.'='.$postID.'/'.$mediaNum.'/'.$filename_part; 
    784790                    } else { 
    785                         $url = get_bloginfo('home').'/podpress_trac/'.$method.'/'.$postID.'/'.$mediaNum.'/'.$filename_part; 
     791                        if (TRUE === version_compare($wp_version, '3.0', '<')) { 
     792                            $url = get_bloginfo('home').'/podpress_trac/'.$method.'/'.$postID.'/'.$mediaNum.'/'.$filename_part; 
     793                        } else { 
     794                            $url = home_url().'/podpress_trac/'.$method.'/'.$postID.'/'.$mediaNum.'/'.$filename_part; 
     795                        } 
    786796                    } 
    787797                } elseif($this->settings['enable3rdPartyStats'] == 'Podtrac') { 
     
    831841                 
    832842                //$result= parse_url($url); 
    833                 $home= get_bloginfo('home'); 
     843                $home = preg_replace('/^https?/i', '', get_bloginfo('home')); 
     844                $url = preg_replace('/^https?/i', '', $url); 
    834845                $result['path'] = str_replace($home, '', $url); 
    835846                $urlpath_parts = explode('/', $result['path']); 
     
    857868        */ 
    858869        function checkWritableTempFileDir($returnMessages = FALSE) { 
    859             $siteurl = get_option('siteurl'); 
     870            $siteurl = site_url(); 
    860871            if (file_exists($this->tempfilesystempath)) { 
    861872                if(is_writable($this->tempfilesystempath)) { 
  • podpress/trunk/podpress_functions.php

    r498667 r560585  
    4444        if (!defined('PODPRESSSITEURL') || $noDomain) { 
    4545            $result = ''; 
    46             $urlparts = parse_url(get_option('siteurl')); 
     46            $urlparts = parse_url(site_url()); 
    4747            if(!$noDomain) { 
    4848                if(empty($urlparts['scheme'])) { 
     
    8383            return PODPRESSURL; 
    8484        } else { 
    85             //~ $result = get_option('siteurl'); 
     85            //~ $result = site_url(); 
    8686            //~ if(substr($result, -1, 1) != '/') { 
    8787                //~ $result .= '/'; 
     
    564564        GLOBAL $podPress, $wp_version, $wpdb; 
    565565        $options = get_option('widget_podPressFeedButtons'); 
     566        $plugins_url = plugins_url('', __FILE__); 
    566567        $newoptions = $options; 
    567568        if ( isset($_POST['podPressFeedButtons-submit']) ) { 
     
    740741                                    $feedbutton_checked = ''; 
    741742                                } 
    742                                 echo '<input type="radio" name="podpressfeeds['.$feed['slug'].'][button]" id="'.$id_base.''.$i.'" value="'.$feedbutton.'"'.$feedbutton_checked.' /> <label for="'.$id_base.''.$i.'"><img src="'.PODPRESS_URL.'/images/'.$feedbutton.'" alt="" /></label><br />'."\n"; 
     743                                echo '<input type="radio" name="podpressfeeds['.$feed['slug'].'][button]" id="'.$id_base.''.$i.'" value="'.$feedbutton.'"'.$feedbutton_checked.' /> <label for="'.$id_base.''.$i.'"><img src="'.$plugins_url.'/images/'.$feedbutton.'" alt="" /></label><br />'."\n"; 
    743744                                $i++; 
    744745                            } 
     
    809810    function podPress_feedButtons ($args) { 
    810811        GLOBAL $podPress, $wp_version; 
     812        $plugins_url = plugins_url('', __FILE__); 
    811813        extract($args); 
    812814        $options = get_option('widget_podPressFeedButtons'); 
    813815        if ( version_compare( $wp_version, '2.2', '>=' ) ) { // the rss.png is in wp_includes since WP 2.2 (this is only necessary until the required  WP version will be changed to e.g 2.3) 
    814             $feed_icon = '<img src="'.get_option('siteurl') . '/' . WPINC . '/images/rss.png" class="podpress_feed_icon" alt="" />'; 
     816            $feed_icon = '<img src="'. site_url() . '/' . WPINC . '/images/rss.png" class="podpress_feed_icon" alt="" />'; 
    815817        } else { 
    816818            $feed_icon = apply_filters('podpress_legacy_support_feed_icon', ''); 
     
    857859                    } 
    858860                    if ( FALSE == empty($options['itunes_buttonurl']) ) { 
    859                         echo ' title="'.__('Subscribe to the Podcast Feed with iTunes', 'podpress').'"><img src="'.$options['itunes_buttonurl'].'" class="podpress_feed_buttons" alt="'.__('Subscribe with iTunes', 'podpress').'" /></a></li>'."\n"; 
     861                        echo ' title="'.__('Subscribe to the Podcast Feed with iTunes', 'podpress').'"><img src="'.podpress_siteurl_is_ssl($options['itunes_buttonurl']).'" class="podpress_feed_buttons" alt="'.__('Subscribe with iTunes', 'podpress').'" /></a></li>'."\n"; 
    860862                    } else { 
    861                         echo ' title="'.__('Subscribe to the Podcast Feed with iTunes', 'podpress').'"><img src="'.podPress_url().'images/itunes.png" class="podpress_feed_buttons" alt="'.__('Subscribe with iTunes', 'podpress').'" /></a></li>'."\n"; 
     863                        echo ' title="'.__('Subscribe to the Podcast Feed with iTunes', 'podpress').'"><img src="'.$plugins_url.'/images/itunes.png" class="podpress_feed_buttons" alt="'.__('Subscribe with iTunes', 'podpress').'" /></a></li>'."\n"; 
    862864                    } 
    863865                } 
     
    880882                                    } 
    881883                                    if ( FALSE == empty($feed_options['buttonurl']) ) { 
    882                                         echo '  <li><a href="'.$feed_link.'" title="'.attribute_escape($descr).'"><img src="'.$feed_options['buttonurl'].'" class="podpress_feed_buttons" alt="'.attribute_escape(stripslashes($feed['name'])).'" /></a></li>'."\n"; 
     884                                        echo '  <li><a href="'.$feed_link.'" title="'.attribute_escape($descr).'"><img src="'.podpress_siteurl_is_ssl($feed_options['buttonurl']).'" class="podpress_feed_buttons" alt="'.attribute_escape(stripslashes($feed['name'])).'" /></a></li>'."\n"; 
    883885                                    } else { 
    884886                                        echo '  <li><a href="'.$feed_link.'" title="'.attribute_escape($descr).'">'.$feed_icon.' '.stripslashes($feed['name']).'</a></li>'."\n"; 
     
    897899                    } 
    898900                    if ( FALSE == empty($options['posts_buttonurl']) ) { 
    899                         echo '  <li><a href="'.$feedlink.'" title="'.__('Subscribe to the main RSS Feed with any feed reader', 'podpress').'"><img src="'.$options['posts_buttonurl'].'" class="podpress_feed_buttons" alt="'.__('Subscribe to the RSS Feed', 'podpress').'" /></a></li>'."\n"; 
     901                        echo '  <li><a href="'.$feedlink.'" title="'.__('Subscribe to the main RSS Feed with any feed reader', 'podpress').'"><img src="'.podpress_siteurl_is_ssl($options['posts_buttonurl']).'" class="podpress_feed_buttons" alt="'.__('Subscribe to the RSS Feed', 'podpress').'" /></a></li>'."\n"; 
    900902                    } else { 
    901                         echo '  <li><a href="'.$feedlink.'" title="'.__('Subscribe to the main RSS Feed with any feed reader', 'podpress').'"><img src="'.podPress_url().'images/feed_button-rss-blog.png" class="podpress_feed_buttons" alt="'.__('Subscribe to the RSS Feed', 'podpress').'" /></a></li>'."\n"; 
     903                        echo '  <li><a href="'.$feedlink.'" title="'.__('Subscribe to the main RSS Feed with any feed reader', 'podpress').'"><img src="'.$plugins_url.'/images/feed_button-rss-blog.png" class="podpress_feed_buttons" alt="'.__('Subscribe to the RSS Feed', 'podpress').'" /></a></li>'."\n"; 
    902904                    } 
    903905                } 
     
    909911                    } 
    910912                    if ( FALSE == empty($options['comments_buttonurl']) ) { 
    911                         echo '  <li><a href="'.$feedlink.'" title="'.__('Subscribe to the comments RSS Feed with any feed reader', 'podpress').'"><img src="'.$options['comments_buttonurl'].'" class="podpress_feed_buttons" alt="'.__('Subscribe to the comments RSS Feed', 'podpress').'" /></a></li>'."\n"; 
     913                        echo '  <li><a href="'.$feedlink.'" title="'.__('Subscribe to the comments RSS Feed with any feed reader', 'podpress').'"><img src="'.podpress_siteurl_is_ssl($options['comments_buttonurl']).'" class="podpress_feed_buttons" alt="'.__('Subscribe to the comments RSS Feed', 'podpress').'" /></a></li>'."\n"; 
    912914                    } else { 
    913                         echo '  <li><a href="'.$feedlink.'" title="'.__('Subscribe to the comments RSS Feed with any feed reader', 'podpress').'"><img src="'.podPress_url().'images/feed_button-rss-comments.png" class="podpress_feed_buttons" alt="'.__('Subscribe to the comments RSS Feed', 'podpress').'" /></a></li>'."\n"; 
     915                        echo '  <li><a href="'.$feedlink.'" title="'.__('Subscribe to the comments RSS Feed with any feed reader', 'podpress').'"><img src="'.$plugins_url.'/images/feed_button-rss-comments.png" class="podpress_feed_buttons" alt="'.__('Subscribe to the comments RSS Feed', 'podpress').'" /></a></li>'."\n"; 
    914916                    } 
    915917                } 
     
    921923                    } 
    922924                    if ( FALSE == empty($options['entries-atom_buttonurl']) ) { 
    923                         echo '  <li><a href="'.$feedlink.'" title="'.__('Subscribe to the main ATOM Feed with any feed reader', 'podpress').'"><img src="'.$options['entries-atom_buttonurl'].'" class="podpress_feed_buttons" alt="'.__('Subscribe to the ATOM Feed', 'podpress').'" /></a></li>'."\n"; 
     925                        echo '  <li><a href="'.$feedlink.'" title="'.__('Subscribe to the main ATOM Feed with any feed reader', 'podpress').'"><img src="'.podpress_siteurl_is_ssl($options['entries-atom_buttonurl']).'" class="podpress_feed_buttons" alt="'.__('Subscribe to the ATOM Feed', 'podpress').'" /></a></li>'."\n"; 
    924926                    } else { 
    925                         echo '  <li><a href="'.$feedlink.'" title="'.__('Subscribe to the main ATOM Feed with any feed reader', 'podpress').'"><img src="'.podPress_url().'images/feed_button-atom-blog.png" class="podpress_feed_buttons" alt="'.__('Subscribe to the ATOM Feed', 'podpress').'" /></a></li>'."\n"; 
     927                        echo '  <li><a href="'.$feedlink.'" title="'.__('Subscribe to the main ATOM Feed with any feed reader', 'podpress').'"><img src="'.$plugins_url.'/images/feed_button-atom-blog.png" class="podpress_feed_buttons" alt="'.__('Subscribe to the ATOM Feed', 'podpress').'" /></a></li>'."\n"; 
    926928                    } 
    927929                } 
     
    933935                    } 
    934936                    if ( FALSE == empty($options['comments-atom_buttonurl']) ) { 
    935                         echo '  <li><a href="'.$feedlink.'" title="'.__('Subscribe to the comments ATOM Feed with any feed reader', 'podpress').'"><img src="'.$options['comments-atom_buttonurl'].'" class="podpress_feed_buttons" alt="'.__('Subscribe to the comments ATOM Feed', 'podpress').'" /></a></li>'."\n"; 
     937                        echo '  <li><a href="'.$feedlink.'" title="'.__('Subscribe to the comments ATOM Feed with any feed reader', 'podpress').'"><img src="'.podpress_siteurl_is_ssl($options['comments-atom_buttonurl']).'" class="podpress_feed_buttons" alt="'.__('Subscribe to the comments ATOM Feed', 'podpress').'" /></a></li>'."\n"; 
    936938                    } else { 
    937                         echo '  <li><a href="'.$feedlink.'" title="'.__('Subscribe to the comments ATOM Feed with any feed reader', 'podpress').'"><img src="'.podPress_url().'images/feed_button-atom-comments.png" class="podpress_feed_buttons" alt="'.__('Subscribe to the comments ATOM Feed', 'podpress').'" /></a></li>'."\n"; 
     939                        echo '  <li><a href="'.$feedlink.'" title="'.__('Subscribe to the comments ATOM Feed with any feed reader', 'podpress').'"><img src="'.$plugins_url.'/images/feed_button-atom-comments.png" class="podpress_feed_buttons" alt="'.__('Subscribe to the comments ATOM Feed', 'podpress').'" /></a></li>'."\n"; 
    938940                    } 
    939941                } 
     
    949951                                    $cat_feed_link = get_category_feed_link($cat_id); 
    950952                                } else { 
    951                                     $cat_feed_link = get_option('siteurl').'/?feed=rss2&cat='.$cat_id; 
     953                                    $cat_feed_link = site_url().'/?feed=rss2&cat='.$cat_id; 
    952954                                } 
    953955                            } 
    954956                            if ( FALSE == empty($catcast_options['buttonurl']) ) { 
    955                                 echo '  <li><a href="'.$cat_feed_link.'" title="'.__('Subscribe to this Category RSS Feed with any feed reader', 'podpress').'"><img src="'.$catcast_options['buttonurl'].'" class="podpress_feed_buttons" alt="'.attributes_escape(sprintf(__('Category "%1$s" RSS Feed', 'podpress'), get_cat_name($cat_id))).'" /></a></li>'."\n"; 
     957                                echo '  <li><a href="'.$cat_feed_link.'" title="'.__('Subscribe to this Category RSS Feed with any feed reader', 'podpress').'"><img src="'.podpress_siteurl_is_ssl($catcast_options['buttonurl']).'" class="podpress_feed_buttons" alt="'.attributes_escape(sprintf(__('Category "%1$s" RSS Feed', 'podpress'), get_cat_name($cat_id))).'" /></a></li>'."\n"; 
    956958                            } else { 
    957959                                echo '  <li><a href="'.$cat_feed_link.'" title="'.__('Subscribe to this Category RSS Feed with any feed reader', 'podpress').'">'.$feed_icon.' '.sprintf(__('Category "%1$s" RSS Feed', 'podpress'), get_cat_name($cat_id)).'</a></li>'."\n"; 
     
    10381040                                    $cat_feed_link = get_category_feed_link($cat_id); 
    10391041                                } else { 
    1040                                     $cat_feed_link = get_option('siteurl').'/?feed=rss2&cat='.$cat_id; 
     1042                                    $cat_feed_link = site_url().'/?feed=rss2&cat='.$cat_id; 
    10411043                                } 
    10421044                            } 
     
    11621164    function podPress_xspfPlayer($args) { 
    11631165        GLOBAL $podPress, $blog_id; 
     1166        $plugins_url = plugins_url('', __FILE__); 
    11641167        extract($args); 
    11651168        $options = get_option('widget_podPressXspfPlayer'); 
     
    11761179        } 
    11771180         
    1178         $skin_variables_url = PODPRESS_OPTIONS_URL.'/xspf_options/variables'; 
     1181        $skin_variables_url = podpress_siteurl_is_ssl(PODPRESS_OPTIONS_URL.'/xspf_options/variables'); 
    11791182        $skin_variables_dir = PODPRESS_OPTIONS_DIR.'/xspf_options/variables'; 
    11801183         
    1181         $skin_file = PODPRESS_URL.'/podpress_xspfskinfile.php'; 
     1184        $skin_file = $plugins_url.'/podpress_xspfskinfile.php'; 
    11821185 
    11831186        echo $before_widget."\n"; 
     
    11881191            } 
    11891192            if ( TRUE == defined('PODPRESS_XSPF_PLAYER_USE_CUSTOM_SKINFILE_'.$blog_id) AND TRUE == defined('PODPRESS_XSPF_SLIM_SKIN_URL_'.$blog_id) AND TRUE == defined('PODPRESS_XSPF_SLIM_SKIN_DIR_'.$blog_id) AND TRUE == is_readable(constant('PODPRESS_XSPF_SLIM_SKIN_DIR_'.$blog_id).'/skin_'.$blog_id.'_'.$options['PlayerWidth'].'x'.$options['SlimPlayerHeight'].'.xml') ) { 
    1190                 $skin_file = constant('PODPRESS_XSPF_SLIM_SKIN_URL_'.$blog_id).'/skin_'.$blog_id.'_'.$options['PlayerWidth'].'x'.$options['SlimPlayerHeight'].'.xml'; 
     1193                $skin_file = podpress_siteurl_is_ssl(constant('PODPRESS_XSPF_SLIM_SKIN_URL_'.$blog_id)).'/skin_'.$blog_id.'_'.$options['PlayerWidth'].'x'.$options['SlimPlayerHeight'].'.xml'; 
    11911194            } 
    11921195            $skin_variables_url .= '_slim'; 
     
    12011204                } 
    12021205            } 
    1203             $data_string = PODPRESS_URL.'/players/xspf_jukebox/xspf_jukebox.swf?playlist_url='.(PODPRESS_URL.'/podpress_xspfplaylist.php').$variables; 
     1206            $data_string = $plugins_url.'/players/xspf_jukebox/xspf_jukebox.swf?playlist_url='.($plugins_url.'/podpress_xspfplaylist.php').$variables; 
    12041207            $data_string = htmlspecialchars($data_string); 
    12051208            echo '<object type="application/x-shockwave-flash" classid="CLSID:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'.$options['PlayerWidth'].'" height="'.$options['PlayerHeight'].'" id="podpress_xspf_player_slim">'."\n"; 
     
    12101213            } 
    12111214            if ( TRUE == defined('PODPRESS_XSPF_PLAYER_USE_CUSTOM_SKINFILE_'.$blog_id) AND TRUE == defined('PODPRESS_XSPF_SKIN_URL_'.$blog_id) AND TRUE == defined('PODPRESS_XSPF_SKIN_DIR_'.$blog_id) AND TRUE == is_readable(constant('PODPRESS_XSPF_SKIN_DIR_'.$blog_id).'/skin_'.$blog_id.'_'.$options['PlayerWidth'].'x'.$options['PlayerHeight'].'.xml') ) { 
    1212                 $skin_file = constant('PODPRESS_XSPF_SKIN_URL_'.$blog_id).'/skin_'.$blog_id.'_'.$options['PlayerWidth'].'x'.$options['PlayerHeight'].'.xml'; 
     1215                $skin_file = podpress_siteurl_is_ssl(constant('PODPRESS_XSPF_SKIN_URL_'.$blog_id)).'/skin_'.$blog_id.'_'.$options['PlayerWidth'].'x'.$options['PlayerHeight'].'.xml'; 
    12131216            } 
    12141217            if ( TRUE === defined('PODPRESS_XSPF_USE_CUSTOM_VARIABLES_'.$blog_id) AND TRUE === constant('PODPRESS_XSPF_USE_CUSTOM_VARIABLES_'.$blog_id) AND TRUE == is_readable($skin_variables_dir.'/variables_'.$blog_id.'.txt')) { 
     
    12211224                } 
    12221225            } 
    1223             $data_string = PODPRESS_URL.'/players/xspf_jukebox/xspf_jukebox.swf?playlist_url='.(PODPRESS_URL.'/podpress_xspfplaylist.php').$variables; 
     1226            $data_string = $plugins_url.'/players/xspf_jukebox/xspf_jukebox.swf?playlist_url='.($plugins_url.'/podpress_xspfplaylist.php').$variables; 
    12241227            $data_string = htmlspecialchars($data_string); 
    12251228            echo '<object type="application/x-shockwave-flash" classid="CLSID:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'.$options['PlayerWidth'].'" height="'.$options['PlayerHeight'].'" id="podpress_xspf_player">'."\n"; 
     
    12621265            function widget($args, $instance) { 
    12631266                GLOBAL $podPress, $wp_version; 
     1267                $plugins_url = plugins_url('', __FILE__); 
    12641268                extract( $args ); 
    12651269                $title = apply_filters('widget_title', $instance['title']); 
    1266                 $feed_icon = '<img src="'.get_option('siteurl') . '/' . WPINC . '/images/rss.png" class="podpress_feed_icon" alt="" />'; 
     1270                $feed_icon = '<img src="'. site_url() . '/' . WPINC . '/images/rss.png" class="podpress_feed_icon" alt="" />'; 
    12671271                echo $before_widget; 
    12681272                echo $before_title . $title . $after_title; 
     
    12791283                            } 
    12801284                            if ( FALSE == empty($instance['itunes_buttonurl']) ) { 
    1281                                 echo ' title="'.__('Subscribe to the Podcast Feed with iTunes', 'podpress').'"><img src="'.$instance['itunes_buttonurl'].'" class="podpress_feed_buttons" alt="'.__('Subscribe with iTunes', 'podpress').'" /></a></li>'."\n"; 
    1282                             } else { 
    1283                                 echo ' title="'.__('Subscribe to the Podcast Feed with iTunes', 'podpress').'"><img src="'.podPress_url().'images/itunes.png" class="podpress_feed_buttons" alt="'.__('Subscribe with iTunes', 'podpress').'" /></a></li>'."\n"; 
     1285                                echo ' title="'.__('Subscribe to the Podcast Feed with iTunes', 'podpress').'"><img src="'.podpress_siteurl_is_ssl($instance['itunes_buttonurl']).'" class="podpress_feed_buttons" alt="'.__('Subscribe with iTunes', 'podpress').'" /></a></li>'."\n"; 
     1286                            } else { 
     1287                                echo ' title="'.__('Subscribe to the Podcast Feed with iTunes', 'podpress').'"><img src="'.$plugins_url.'/images/itunes.png" class="podpress_feed_buttons" alt="'.__('Subscribe with iTunes', 'podpress').'" /></a></li>'."\n"; 
    12841288                            } 
    12851289                        } 
     
    13021306                                            } 
    13031307                                            if ( FALSE == empty($feed_options['buttonurl']) ) { 
    1304                                                 echo '  <li><a href="'.$feed_link.'" title="'.esc_attr($descr).'"><img src="'.$feed_options['buttonurl'].'" class="podpress_feed_buttons" alt="'.esc_attr(stripslashes($feed['name'])).'" /></a></li>'."\n"; 
     1308                                                echo '  <li><a href="'.$feed_link.'" title="'.esc_attr($descr).'"><img src="'.podpress_siteurl_is_ssl($feed_options['buttonurl']).'" class="podpress_feed_buttons" alt="'.esc_attr(stripslashes($feed['name'])).'" /></a></li>'."\n"; 
    13051309                                            } else { 
    13061310                                                echo '  <li><a href="'.$feed_link.'" title="'.esc_attr($descr).'">'.$feed_icon.' '.stripslashes($feed['name']).'</a></li>'."\n"; 
     
    13191323                            } 
    13201324                            if ( FALSE == empty($instance['posts_buttonurl']) ) { 
    1321                                 echo '  <li><a href="'.$feedlink.'" title="'.__('Subscribe to the main RSS Feed with any feed reader', 'podpress').'"><img src="'.$instance['posts_buttonurl'].'" class="podpress_feed_buttons" alt="'.__('Subscribe to the RSS Feed', 'podpress').'" /></a></li>'."\n"; 
    1322                             } else { 
    1323                                 echo '  <li><a href="'.$feedlink.'" title="'.__('Subscribe to the main RSS Feed with any feed reader', 'podpress').'"><img src="'.podPress_url().'images/feed_button-rss-blog.png" class="podpress_feed_buttons" alt="'.__('Subscribe to the RSS Feed', 'podpress').'" /></a></li>'."\n"; 
     1325                                echo '  <li><a href="'.$feedlink.'" title="'.__('Subscribe to the main RSS Feed with any feed reader', 'podpress').'"><img src="'.podpress_siteurl_is_ssl($instance['posts_buttonurl']).'" class="podpress_feed_buttons" alt="'.__('Subscribe to the RSS Feed', 'podpress').'" /></a></li>'."\n"; 
     1326                            } else { 
     1327                                echo '  <li><a href="'.$feedlink.'" title="'.__('Subscribe to the main RSS Feed with any feed reader', 'podpress').'"><img src="'.$plugins_url.'/images/feed_button-rss-blog.png" class="podpress_feed_buttons" alt="'.__('Subscribe to the RSS Feed', 'podpress').'" /></a></li>'."\n"; 
    13241328                            } 
    13251329                        } 
     
    13311335                            } 
    13321336                            if ( FALSE == empty($instance['comments_buttonurl']) ) { 
    1333                                 echo '  <li><a href="'.$feedlink.'" title="'.__('Subscribe to the comments RSS Feed with any feed reader', 'podpress').'"><img src="'.$instance['comments_buttonurl'].'" class="podpress_feed_buttons" alt="'.__('Subscribe to the comments RSS Feed', 'podpress').'" /></a></li>'."\n"; 
    1334                             } else { 
    1335                                 echo '  <li><a href="'.$feedlink.'" title="'.__('Subscribe to the comments RSS Feed with any feed reader', 'podpress').'"><img src="'.podPress_url().'images/feed_button-rss-comments.png" class="podpress_feed_buttons" alt="'.__('Subscribe to the comments RSS Feed', 'podpress').'" /></a></li>'."\n"; 
     1337                                echo '  <li><a href="'.$feedlink.'" title="'.__('Subscribe to the comments RSS Feed with any feed reader', 'podpress').'"><img src="'.podpress_siteurl_is_ssl($instance['comments_buttonurl']).'" class="podpress_feed_buttons" alt="'.__('Subscribe to the comments RSS Feed', 'podpress').'" /></a></li>'."\n"; 
     1338                            } else { 
     1339                                echo '  <li><a href="'.$feedlink.'" title="'.__('Subscribe to the comments RSS Feed with any feed reader', 'podpress').'"><img src="'.$plugins_url.'/images/feed_button-rss-comments.png" class="podpress_feed_buttons" alt="'.__('Subscribe to the comments RSS Feed', 'podpress').'" /></a></li>'."\n"; 
    13361340                            } 
    13371341                        } 
     
    13431347                            } 
    13441348                            if ( FALSE == empty($instance['entries-atom_buttonurl']) ) { 
    1345                                 echo '  <li><a href="'.$feedlink.'" title="'.__('Subscribe to the main ATOM Feed with any feed reader', 'podpress').'"><img src="'.$instance['entries-atom_buttonurl'].'" class="podpress_feed_buttons" alt="'.__('Subscribe to the ATOM Feed', 'podpress').'" /></a></li>'."\n"; 
    1346                             } else { 
    1347                                 echo '  <li><a href="'.$feedlink.'" title="'.__('Subscribe to the main ATOM Feed with any feed reader', 'podpress').'"><img src="'.podPress_url().'images/feed_button-atom-blog.png" class="podpress_feed_buttons" alt="'.__('Subscribe to the ATOM Feed', 'podpress').'" /></a></li>'."\n"; 
     1349                                echo '  <li><a href="'.$feedlink.'" title="'.__('Subscribe to the main ATOM Feed with any feed reader', 'podpress').'"><img src="'.podpress_siteurl_is_ssl($instance['entries-atom_buttonurl']).'" class="podpress_feed_buttons" alt="'.__('Subscribe to the ATOM Feed', 'podpress').'" /></a></li>'."\n"; 
     1350                            } else { 
     1351                                echo '  <li><a href="'.$feedlink.'" title="'.__('Subscribe to the main ATOM Feed with any feed reader', 'podpress').'"><img src="'.$plugins_url.'/images/feed_button-atom-blog.png" class="podpress_feed_buttons" alt="'.__('Subscribe to the ATOM Feed', 'podpress').'" /></a></li>'."\n"; 
    13481352                            } 
    13491353                        } 
     
    13551359                            } 
    13561360                            if ( FALSE == empty($instance['comments-atom_buttonurl']) ) { 
    1357                                 echo '  <li><a href="'.$feedlink.'" title="'.__('Subscribe to the comments ATOM Feed with any feed reader', 'podpress').'"><img src="'.$instance['comments-atom_buttonurl'].'" class="podpress_feed_buttons" alt="'.__('Subscribe to the comments ATOM Feed', 'podpress').'" /></a></li>'."\n"; 
    1358                             } else { 
    1359                                 echo '  <li><a href="'.$feedlink.'" title="'.__('Subscribe to the comments ATOM Feed with any feed reader', 'podpress').'"><img src="'.podPress_url().'images/feed_button-atom-comments.png" class="podpress_feed_buttons" alt="'.__('Subscribe to the comments ATOM Feed', 'podpress').'" /></a></li>'."\n"; 
     1361                                echo '  <li><a href="'.$feedlink.'" title="'.__('Subscribe to the comments ATOM Feed with any feed reader', 'podpress').'"><img src="'.podpress_siteurl_is_ssl($instance['comments-atom_buttonurl']).'" class="podpress_feed_buttons" alt="'.__('Subscribe to the comments ATOM Feed', 'podpress').'" /></a></li>'."\n"; 
     1362                            } else { 
     1363                                echo '  <li><a href="'.$feedlink.'" title="'.__('Subscribe to the comments ATOM Feed with any feed reader', 'podpress').'"><img src="'.$plugins_url.'/images/feed_button-atom-comments.png" class="podpress_feed_buttons" alt="'.__('Subscribe to the comments ATOM Feed', 'podpress').'" /></a></li>'."\n"; 
    13601364                            } 
    13611365                        } 
     
    13731377                                    } 
    13741378                                    if ( FALSE == empty($catcast_options['buttonurl']) ) { 
    1375                                         echo '  <li><a href="'.$cat_feed_link.'" title="'.__('Subscribe to this Category RSS Feed with any feed reader', 'podpress').'"><img src="'.$catcast_options['buttonurl'].'" class="podpress_feed_buttons" alt="'.esc_attr(sprintf(__('Category "%1$s" RSS Feed', 'podpress'), get_cat_name($cat_id))).'" /></a></li>'."\n"; 
     1379                                        echo '  <li><a href="'.$cat_feed_link.'" title="'.__('Subscribe to this Category RSS Feed with any feed reader', 'podpress').'"><img src="'.podpress_siteurl_is_ssl($catcast_options['buttonurl']).'" class="podpress_feed_buttons" alt="'.esc_attr(sprintf(__('Category "%1$s" RSS Feed', 'podpress'), get_cat_name($cat_id))).'" /></a></li>'."\n"; 
    13761380                                    } else { 
    13771381                                        echo '  <li><a href="'.$cat_feed_link.'" title="'.__('Subscribe to this Category RSS Feed with any feed reader', 'podpress').'">'.$feed_icon.' '.sprintf(__('Category "%1$s" RSS Feed', 'podpress'), get_cat_name($cat_id)).'</a></li>'."\n"; 
     
    15291533            function form($instance) { 
    15301534                GLOBAL $podPress, $wpdb; 
     1535                $plugins_url = plugins_url('', __FILE__); 
    15311536                 
    15321537                // take over the old widget settings (of podPress 8.8.5.x widgets) 
     
    16631668                                    $feedbutton_checked = ''; 
    16641669                                } 
    1665                                 echo '<input type="radio" name="'.$this->get_field_name('podpressfeeds').'['.$feed['slug'].'][button]" id="'.$id_base.''.$i.'" value="'.$feedbutton.'"'.$feedbutton_checked.' /> <label for="'.$id_base.''.$i.'"><img src="'.PODPRESS_URL.'/images/'.$feedbutton.'" alt="'.$feedbutton.'" title="'.$feedbutton.'" /></label><br />'."\n"; 
     1670                                echo '<input type="radio" name="'.$this->get_field_name('podpressfeeds').'['.$feed['slug'].'][button]" id="'.$id_base.''.$i.'" value="'.$feedbutton.'"'.$feedbutton_checked.' /> <label for="'.$id_base.''.$i.'"><img src="'.$plugins_url.'/images/'.$feedbutton.'" alt="'.$feedbutton.'" title="'.$feedbutton.'" /></label><br />'."\n"; 
    16661671                                $i++; 
    16671672                            } 
     
    17981803            function widget($args, $instance) { 
    17991804                GLOBAL $podPress, $blog_id; 
     1805                $plugins_url = plugins_url('', __FILE__); 
    18001806                extract($args); 
    18011807                if (!isset($instance['title'])) { 
     
    18171823                    update_option('podpress_xspf_widget_temp', $widget_id); 
    18181824                } 
     1825                 
    18191826                // podpress_xspf_widget_temp is going to be deleted from the db after the playlist has been loaded. (The XSPF loads the skin file before the playlist.) 
    1820                  
    1821                 $skin_variables_url = PODPRESS_OPTIONS_URL.'/xspf_options/variables'; 
     1827                $skin_variables_url = podpress_siteurl_is_ssl(PODPRESS_OPTIONS_URL.'/xspf_options/variables'); 
    18221828                $skin_variables_dir = PODPRESS_OPTIONS_DIR.'/xspf_options/variables'; 
    1823                 $skin_file = PODPRESS_URL.'/podpress_xspfskinfile.php'; 
     1829                $skin_file = $plugins_url.'/podpress_xspfskinfile.php'; 
    18241830 
    18251831                echo $before_widget."\n"; 
     
    18361842                         
    18371843                        if ( TRUE == defined('PODPRESS_XSPF_PLAYER_USE_CUSTOM_SKINFILE_'.$blog_id) AND TRUE == defined('PODPRESS_XSPF_SLIM_SKIN_URL_'.$blog_id) AND TRUE == defined('PODPRESS_XSPF_SLIM_SKIN_DIR_'.$blog_id) AND TRUE == is_readable(constant('PODPRESS_XSPF_SLIM_SKIN_DIR_'.$blog_id).'/skin_'.$blog_id.'_'.$instance['PlayerWidth'].'x'.$instance['SlimPlayerHeight'].'.xml') ) { 
    1838                             $skin_file = constant('PODPRESS_XSPF_SLIM_SKIN_URL_'.$blog_id).'/skin_'.$blog_id.'_'.$instance['PlayerWidth'].'x'.$instance['SlimPlayerHeight'].'.xml'; 
     1844                            $skin_file = podpress_siteurl_is_ssl(constant('PODPRESS_XSPF_SLIM_SKIN_URL_'.$blog_id)).'/skin_'.$blog_id.'_'.$instance['PlayerWidth'].'x'.$instance['SlimPlayerHeight'].'.xml'; 
    18391845                        } 
    18401846                         
     
    18501856                            } 
    18511857                        } 
    1852                         $data_string = PODPRESS_URL.'/players/xspf_jukebox/xspf_jukebox.swf?playlist_url='.(PODPRESS_URL.'/podpress_xspfplaylist.php').$variables; 
     1858                        $data_string = $plugins_url.'/players/xspf_jukebox/xspf_jukebox.swf?playlist_url='.($plugins_url.'/podpress_xspfplaylist.php').$variables; 
    18531859                        $data_string = htmlspecialchars($data_string); 
    18541860                        echo '<object type="application/x-shockwave-flash" classid="CLSID:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'.$instance['PlayerWidth'].'" height="'.$instance['SlimPlayerHeight'].'" id="podpress_xspf_player_slim">'."\n"; 
     
    18601866                         
    18611867                        if ( TRUE == defined('PODPRESS_XSPF_PLAYER_USE_CUSTOM_SKINFILE_'.$blog_id) AND TRUE == defined('PODPRESS_XSPF_SKIN_URL_'.$blog_id) AND TRUE == defined('PODPRESS_XSPF_SKIN_DIR_'.$blog_id) AND TRUE == is_readable(constant('PODPRESS_XSPF_SKIN_DIR_'.$blog_id).'/skin_'.$blog_id.'_'.$instance['PlayerWidth'].'x'.$instance['PlayerHeight'].'.xml') ) { 
    1862                             $skin_file = constant('PODPRESS_XSPF_SKIN_URL_'.$blog_id).'/skin_'.$blog_id.'_'.$instance['PlayerWidth'].'x'.$instance['PlayerHeight'].'.xml'; 
     1868                            $skin_file = podpress_siteurl_is_ssl(constant('PODPRESS_XSPF_SKIN_URL_'.$blog_id)).'/skin_'.$blog_id.'_'.$instance['PlayerWidth'].'x'.$instance['PlayerHeight'].'.xml'; 
    18631869                        } 
    18641870                        if ( TRUE === defined('PODPRESS_XSPF_USE_CUSTOM_VARIABLES_'.$blog_id) AND TRUE === constant('PODPRESS_XSPF_USE_CUSTOM_VARIABLES_'.$blog_id) AND TRUE == is_readable($skin_variables_dir.'/variables_'.$blog_id.'.txt')) { 
     
    18711877                            } 
    18721878                        } 
    1873                         $data_string = PODPRESS_URL.'/players/xspf_jukebox/xspf_jukebox.swf?playlist_url='.(PODPRESS_URL.'/podpress_xspfplaylist.php').$variables; 
     1879                        $data_string = $plugins_url.'/players/xspf_jukebox/xspf_jukebox.swf?playlist_url='.($plugins_url.'/podpress_xspfplaylist.php').$variables; 
    18741880                        $data_string = htmlspecialchars($data_string); 
    18751881                        echo '<object type="application/x-shockwave-flash" classid="CLSID:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'.$instance['PlayerWidth'].'" height="'.$instance['PlayerHeight'].'" id="podpress_xspf_player">'."\n"; 
     
    22062212    } 
    22072213     
    2208     function podPress_statsDownloadRedirect($requested = '##NOTSET##') { 
     2214    function podPress_statsDownloadRedirect($requested = '##NOTSET##', $is_https = FALSE) { 
    22092215        GLOBAL $podPress; 
    2210         //~ printphpnotices_var_dump('requested a:'); 
    2211         //~ printphpnotices_var_dump($requested); 
    22122216        if($requested == '##NOTSET##') { 
    22132217            $requested = parse_url($_SERVER['REQUEST_URI']); 
    22142218            $requested = $requested['path']; 
    22152219        } 
    2216         //~ printphpnotices_var_dump('requested b:'); 
    2217         //~ printphpnotices_var_dump($requested); 
    22182220        $pos = 0; 
    22192221        if (is_404() || $pos = strpos($requested, 'podpress_trac')) { 
     
    22272229            $requested = substr($requested, $pos); 
    22282230            $parts = explode('/', $requested); 
    2229             //~ printphpnotices_var_dump($parts); 
    22302231            if(count($parts) == 4) { 
    2231                 podPress_processDownloadRedirect($parts[1], $parts[2], $parts[3], $parts[0]); 
    2232             } 
    2233         } 
    2234     } 
    2235  
    2236     function podPress_processDownloadRedirect($postID, $mediaNum, $filename, $method = '') { 
     2232                podPress_processDownloadRedirect($parts[1], $parts[2], $parts[3], $parts[0], $is_https); 
     2233            } 
     2234        } 
     2235    } 
     2236 
     2237    function podPress_processDownloadRedirect($postID, $mediaNum, $filename, $method = '', $is_https = FALSE) { 
    22372238        GLOBAL $podPress, $wpdb; 
    22382239        $allowedMethods = array('feed', 'play', 'web'); 
     
    22612262 
    22622263        if(!$realURL) { 
    2263             header('X-PodPress-Location: '.get_option('siteurl')); 
    2264             header('Location: '.get_option('siteurl')); 
     2264            header('X-PodPress-Location: '.site_url()); 
     2265            header('Location: '.site_url()); 
    22652266            exit; 
    22662267        } 
     
    22782279        } 
    22792280        $realURL = $podPress->convertPodcastFileNameToValidWebPath($realURL); 
     2281 
     2282        if (TRUE === $is_https) { 
     2283            $realURL = podpress_siteurl_is_ssl($realURL); 
     2284        } 
    22802285     
    22812286        if ($podPress->settings['enable3rdPartyStats'] == 'PodTrac') { 
     
    23452350            $client = new Snoopy(); 
    23462351            $client->_fp_timeout = 10; 
    2347             if (@$client->fetch('http://www.mightyseek.com/podpress_downloads/versioncheck.php?url='.get_option('siteurl').'&current='.PODPRESS_VERSION) === false) { 
     2352            if (@$client->fetch('http://www.mightyseek.com/podpress_downloads/versioncheck.php?url='.site_url().'&current='.PODPRESS_VERSION) === false) { 
    23482353                return -1; 
    23492354            } else { 
  • podpress/trunk/podpress_theme.php

    r498563 r560585  
    2727        $podPressPlayBlockScripts = ''; 
    2828        $podPressContentAll = ''; 
     29         
     30        $plugins_url = plugins_url('', __FILE__); 
    2931         
    3032        if ( TRUE === defined('PODPRESS_SHOW_SECTION_MARKERS') AND TRUE === constant('PODPRESS_SHOW_SECTION_MARKERS') ) { 
     
    5860            $dividerNeeded = false; 
    5961             
     62            $val['image'] = podpress_siteurl_is_ssl($val['image']); 
     63            $val['URI'] = podpress_siteurl_is_ssl($val['URI']); 
     64            $val['URI_Player'] = podpress_siteurl_is_ssl($val['URI_Player']); 
     65            $val['previewImage'] = podpress_siteurl_is_ssl($val['previewImage']); 
     66             
    6067            $podPressEpisodeTitle = stripslashes(htmlspecialchars_decode(__($val['title'], 'podpress'))); // if the title is not given by the author then it will be a defaultTitle (see podPress_defaultTitles) 
    6168 
     
    7279                } 
    7380                if ( 'audio_mp3' == $val['type'] AND TRUE == isset($podPress->settings['player']['listenWrapper']) AND TRUE == $podPress->settings['player']['listenWrapper'] AND FALSE == $podPress->settings['enablePodangoIntegration'] AND TRUE == isset($podPress->settings['mp3Player']) AND '1pixelout' == $podPress->settings['mp3Player'] ) { 
    74                     $podPressContent .= "\n".'<div class="podpress_listenwrapper_container" id="podpress_lwc_'.$GLOBALS['podPressPlayer'].'" style="background-image:url('.PODPRESS_URL.'/images/listen_wrapper.gif);'.$style_wrap_1pixelout.'"><div class="podpress_mp3_borderleft"></div><div class="podpress_1pixelout_container"><div id="podPressPlayerSpace_'.$GLOBALS['podPressPlayer'].'"><!-- podPress --></div></div></div>'."\n"; 
     81                    $podPressContent .= "\n".'<div class="podpress_listenwrapper_container" id="podpress_lwc_'.$GLOBALS['podPressPlayer'].'" style="background-image:url('.$plugins_url.'/images/listen_wrapper.gif);'.$style_wrap_1pixelout.'"><div class="podpress_mp3_borderleft"></div><div class="podpress_1pixelout_container"><div id="podPressPlayerSpace_'.$GLOBALS['podPressPlayer'].'"><!-- podPress --></div></div></div>'."\n"; 
    7582                } elseif ( 'audio_mp3' == $val['type'] AND (False == isset($podPress->settings['player']['listenWrapper']) OR FALSE == $podPress->settings['player']['listenWrapper']) AND FALSE == $podPress->settings['enablePodangoIntegration'] AND TRUE == isset($podPress->settings['mp3Player']) AND '1pixelout' == $podPress->settings['mp3Player'] ) { 
    7683                    $podPressContent .= "\n".'<div class="podpress_playerspace podpress_playerspace_'.$val['type'].' podpress_mp3player"'.$style.'><div id="podPressPlayerSpace_'.$GLOBALS['podPressPlayer'].'"><!-- podPress --></div></div>'."\n"; 
     
    8996                    } 
    9097                } 
    91                 $podPressDownloadlinks .= '<img src="'.podPress_url().'images/'.$val['image'].'" class="podPress_imgicon podpress_imgicon_'.$val['type'].'" alt="" />'; 
     98                $podPressDownloadlinks .= '<img src="'.$plugins_url.'/images/'.$val['image'].'" class="podPress_imgicon podpress_imgicon_'.$val['type'].'" alt="" />'; 
    9299                if($val['enableDownload'] && !empty($val['URI'])) { 
    93100                    $podPressDownloadlinks .= '</a>'; 
     
    106113                    $torrentimg = 'misc_torrent_icon.png'; 
    107114                } 
    108                 $podPressDownloadlinks .= '<img src="'.podPress_url().'images/'.$torrentimg.'" class="podPress_imgicon" alt="" />'; 
     115                $podPressDownloadlinks .= '<img src="'.$plugins_url.'/images/'.$torrentimg.'" class="podPress_imgicon" alt="" />'; 
    109116                $podPressDownloadlinks .= '</a>'; 
    110117            } 
     
    144151 
    145152            if(!$val['authorized']) { 
    146                 $podPressDownloadlinks .= ' <a href="'.get_option('siteurl').'/wp-login.php" class="podpress_protected_link">'.__('(Protected Content)', 'podpress').'</a><br/>'."\n"; 
     153                $podPressDownloadlinks .= ' <a href="'.site_url().'/wp-login.php" class="podpress_protected_link">'.__('(Protected Content)', 'podpress').'</a><br/>'."\n"; 
    147154            } else { 
    148155                if($val['enablePlayer']) { 
     
    161168                    if ($val['enablePlaylink']) { 
    162169                        if ($podPress->settings['contentAutoDisplayPlayer']) { 
    163                             $podPressDownloadlinks .= '<a href="#podPressPlayerSpace_'.$GLOBALS['podPressPlayer'].'" class="podpress_playlink podpress_playlink_'.$val['type'].'" onclick="javascript:podPressShowHidePlayer(\''.$GLOBALS['podPressPlayer'].'\', \''.js_escape($val['URI_Player']).'\', '.strval(intval($val['dimensionW'])).', '.strval(intval($val['dimensionH'])).', \''.$previewVal.'\', \''.$val['previewImage'].'\', \''.js_escape($val['title']).'\', \''.js_escape($val['artist']).'\'); return false;"><span id="podPressPlayerSpace_'.$GLOBALS['podPressPlayer'].'_PlayLink" class="podPress_playerspace_playlink">'.$hideplayerplaynow_divider.__('Play Now', 'podpress').'</span></a>'; 
     170                            $podPressDownloadlinks .= '<a href="#podPressPlayerSpace_'.$GLOBALS['podPressPlayer'].'" class="podpress_playlink podpress_playlink_'.$val['type'].'" onclick="javascript:podPressShowHidePlayer(\''.$GLOBALS['podPressPlayer'].'\', \''.js_escape($val['URI_Player']).'\', '.strval(intval($val['dimensionW'])).', '.strval(intval($val['dimensionH'])).', \''.$previewVal.'\', \''.js_escape($val['previewImage']).'\', \''.js_escape($val['title']).'\', \''.js_escape($val['artist']).'\'); return false;"><span id="podPressPlayerSpace_'.$GLOBALS['podPressPlayer'].'_PlayLink" class="podPress_playerspace_playlink">'.$hideplayerplaynow_divider.__('Play Now', 'podpress').'</span></a>'; 
    164171                        } else { 
    165                             $podPressDownloadlinks .= '<a href="#podPressPlayerSpace_'.$GLOBALS['podPressPlayer'].'" class="podpress_playlink podpress_playlink_'.$val['type'].'" onclick="javascript:podPressShowHidePlayer(\''.$GLOBALS['podPressPlayer'].'\', \''.js_escape($val['URI_Player']).'\', '.strval(intval($val['dimensionW'])).', '.strval(intval($val['dimensionH'])).', \'force\', \''.$val['previewImage'].'\', \''.js_escape($val['title']).'\', \''.js_escape($val['artist']).'\'); return false;"><span id="podPressPlayerSpace_'.$GLOBALS['podPressPlayer'].'_PlayLink" class="podPress_playerspace_playlink">'.$hideplayerplaynow_divider.__('Play Now', 'podpress').'</span></a>'; 
     172                            $podPressDownloadlinks .= '<a href="#podPressPlayerSpace_'.$GLOBALS['podPressPlayer'].'" class="podpress_playlink podpress_playlink_'.$val['type'].'" onclick="javascript:podPressShowHidePlayer(\''.$GLOBALS['podPressPlayer'].'\', \''.js_escape($val['URI_Player']).'\', '.strval(intval($val['dimensionW'])).', '.strval(intval($val['dimensionH'])).', \'force\', \''.js_escape($val['previewImage']).'\', \''.js_escape($val['title']).'\', \''.js_escape($val['artist']).'\'); return false;"><span id="podPressPlayerSpace_'.$GLOBALS['podPressPlayer'].'_PlayLink" class="podPress_playerspace_playlink">'.$hideplayerplaynow_divider.__('Play Now', 'podpress').'</span></a>'; 
    166173                        } 
    167174                        $dividerNeeded = true; 
  • podpress/trunk/readme.txt

    r556727 r560585  
    5959* beta 10: minor fixes for the JS at the editor page (m4a preview player size) 
    6060* beta 11: new iTunes:image size is 1400x1400 pixels / bug fix: for a warning which occured with PHP 5.4 (Thank you [enderandrew](http://wordpress.org/support/profile/enderandrew) for [reporting the problem](http://wordpress.org/support/topic/plugin-podpress-php-54-warning).) 
     61* beta 12:new: option which makes the 1PixelOut player to stay always open 
     62* beta 12:new: option which lets the 1PixelOut player show the remaining track time rather than the elapsed time 
     63* beta 12:If a request of a blog page is a request via HTTPS then podPress will load icons and default images with the related URL scheme (https:// instead of http://). 
    6164 
    6265= v8.8.10.13 = 
Note: See TracChangeset for help on using the changeset viewer.