Changeset 17547

Show
Ignore:
Timestamp:
08/28/07 17:16:37 (10 months ago)
Author:
GamerZ
Message:

WP 2.3 Update

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • wp-useronline/trunk/readme.html

    r15777 r17547  
    33<head>       
    44      <meta http-equiv="content-type" content="text/html; charset=utf-8" /> 
    5       <title>WP-UserOnline 1.20 Readme</title> 
     5      <title>WP-UserOnline 2.20 Readme</title> 
    66      <style type="text/css" media="screen"> 
    77            /* Default Style */ 
     
    205205<div id="Container"> 
    206206      <!-- Title --> 
    207       <div id="Title">WP-UserOnline 1.20&nbsp;&nbsp;&nbsp;<span style="color: #aaaaaa;">Readme</span></div> 
     207      <div id="Title">WP-UserOnline 2.20&nbsp;&nbsp;&nbsp;<span style="color: #aaaaaa;">Readme</span></div> 
    208208 
    209209      <!-- Tabs --> 
     
    231231                        <script type="text/javascript"> 
    232232                              /* <![CDATA[*/ 
    233                               document.write(' <a href="mailto:gamerz84@hotmail.com?Subject=WP-UserOnline%201.20%20Support" title="EMail To gamerz84@hotmail.com">gamerz84@hotmail.com</a>'); 
     233                              document.write(' <a href="mailto:gamerz84@hotmail.com?Subject=WP-UserOnline%202.20%20Support" title="EMail To gamerz84@hotmail.com">gamerz84@hotmail.com</a>'); 
    234234                              /* ]]> */ 
    235235                        </script> 
     
    245245                  <p> 
    246246                        <strong>Download:</strong><br /> 
    247                         <strong>&raquo;</strong> <a href="http://lesterchan.net/others/downloads.php?id=14" title="http://lesterchan.net/others/downloads.php?id=14">WP-UserOnline 1.20 For WordPress 2.1.x And Above</a><br /> 
     247                        <strong>&raquo;</strong> <a href="http://lesterchan.net/others/downloads.php?id=14" title="http://lesterchan.net/others/downloads.php?id=14">WP-UserOnline 2.20 For WordPress 2.3.x</a><br /> 
     248                        <strong>&raquo;</strong> <a href="http://lesterchan.net/others/downloads/wp-useronline211.zip" title="http://lesterchan.net/others/downloads/wp-useronline211.zip">WP-UserOnline 2.11 For WordPress 2.1.x And 2.2.x</a><br /> 
    248249                        <strong>&raquo;</strong> <a href="http://lesterchan.net/others/downloads/wp-useronline206.zip" title="http://lesterchan.net/others/downloads/wp-useronline206.zip">WP-UserOnline 2.06 For WordPress 2.0.x</a><br /> 
    249250                        <strong>&raquo;</strong> <a href="http://lesterchan.net/others/downloads/wp-useronline.zip" title="http://lesterchan.net/others/downloads/wp-useronline.zip">WP-UserOnline 1.00 For WordPress 1.5.2</a> 
     
    295296                              <strong>Version 2.20 (01-10-2007)</strong> 
    296297                              <ul> 
     298                                    <li>NEW: Works For WordPress 2.3 Only</li> 
    297299                                    <li>NEW:Templates Options Added</li> 
    298300                                    <li>NEW: Ability To Uninstall WP-UserOnline</li> 
     
    409411            <div id="Upgrade" style="display: none;"> 
    410412                  <div class="SubTitle">&raquo; Upgrade Instructions</div> 
    411                   <div class="SubSubTitle">From v1.0x To v1.20</div> 
     413                  <div class="SubSubTitle">From v1.0x To v2.20</div> 
    412414                  <ol> 
    413415                        <li> 
     
    540542      </div> 
    541543</div> 
    542 <p id="Copyright">WP-UserOnline 1.20<br />Copyright &copy; 2007 Lester 'GaMerZ' Chan. All Rights Reserved.</p> 
     544<p id="Copyright">WP-UserOnline 2.20<br />Copyright &copy; 2007 Lester 'GaMerZ' Chan. All Rights Reserved.</p> 
    543545</body> 
    544546</html> 
  • wp-useronline/trunk/readme.txt

    r15777 r17547  
    33Donate link: http://lesterchan.net/wordpress 
    44Tags: useronline, usersonline, wp-useronline, online, users, user, ajax, widget 
    5 Requires at least: 2.1.0 
     5Requires at least: 2.3.0 
    66Stable tag: 2.11 
    77 
  • wp-useronline/trunk/useronline/useronline-widget.php

    r16584 r17547  
    6868            } 
    6969            echo '<p style="text-align: left;"><label for="useronline-title">'.__('Widget Title', 'wp-useronline').':</label>&nbsp;&nbsp;&nbsp;<input type="text" id="useronline-title" name="useronline-title" value="'.htmlspecialchars($options['title']).'" />'; 
    70             echo '<p style="text-align: center;"><label for="useronline-usersbrowsingsite">'.__('Display Users Browsing Site Under Users Online Count?', 'wp-useronline').'</label></p>'."\n"; 
    71             echo '<p style="text-align: center;"><input type="radio" id="useronline-usersbrowsingsite" name="useronline-usersbrowsingsite" value="1"'; 
     70            echo '<p style="text-align: center;">'.__('Display Users Browsing Site Under Users Online Count?', 'wp-useronline').'</p>'."\n"; 
     71            echo '<p style="text-align: center;"><input type="radio" id="useronline-usersbrowsingsite-1" name="useronline-usersbrowsingsite" value="1"'; 
    7272            checked(1, intval($options['display_usersbrowsingsite'])); 
    73             echo ' />&nbsp;'.__('Yes', 'wp-useronline').'&nbsp;&nbsp;&nbsp;<input type="radio" id="useronline-usersbrowsingsite" name="useronline-usersbrowsingsite" value="0"'; 
     73            echo ' />&nbsp;<label for="useronline-usersbrowsingsite-1">'.__('Yes', 'wp-useronline').'</label>&nbsp;&nbsp;&nbsp;<input type="radio" id="useronline-usersbrowsingsite-0" name="useronline-usersbrowsingsite" value="0"'; 
    7474            checked(0, intval($options['display_usersbrowsingsite'])); 
    75             echo ' />&nbsp;'.__('No', 'wp-useronline').'</p>'."\n"; 
     75            echo ' />&nbsp;<label for="useronline-usersbrowsingsite-0">'.__('No', 'wp-useronline').'</label></p>'."\n"; 
    7676            echo '<input type="hidden" id="useronline-submit" name="useronline-submit" value="1" />'."\n"; 
    7777      } 
  • wp-useronline/trunk/useronline/useronline.php

    r17007 r17547  
    781781      $stats_display = get_option('stats_display'); 
    782782      if($stats_display['useronline'] == 1) { 
    783             $content .= '<input type="checkbox" name="stats_display[]" value="useronline" checked="checked" />&nbsp;&nbsp;'.__('WP-UserOnline', 'wp-useronline').'<br />'."\n"; 
    784       } else { 
    785             $content .= '<input type="checkbox" name="stats_display[]" value="useronline" />&nbsp;&nbsp;'.__('WP-UserOnline', 'wp-useronline').'<br />'."\n"; 
     783            $content .= '<input type="checkbox" name="stats_display[]" id="wpstats_useronline" value="useronline" checked="checked" />&nbsp;&nbsp;<label for="wpstats_useronline">'.__('WP-UserOnline', 'wp-useronline').'</label><br />'."\n"; 
     784      } else { 
     785            $content .= '<input type="checkbox" name="stats_display[]" id="wpstats_useronline" value="useronline" />&nbsp;&nbsp;<label for="wpstats_useronline">'.__('WP-UserOnline', 'wp-useronline').'</label><br />'."\n"; 
    786786      } 
    787787      return $content; 
     
    809809      global $wpdb; 
    810810      $bots = array('Google Bot' => 'googlebot', 'Google Bot' => 'google', 'MSN' => 'msnbot', 'Alex' => 'ia_archiver', 'Lycos' => 'lycos', 'Ask Jeeves' => 'jeeves', 'Altavista' => 'scooter', 'AllTheWeb' => 'fast-webcrawler', 'Inktomi' => 'slurp@inktomi', 'Turnitin.com' => 'turnitinbot', 'Technorati' => 'technorati', 'Yahoo' => 'yahoo', 'Findexa' => 'findexa', 'NextLinks' => 'findlinks', 'Gais' => 'gaisbo', 'WiseNut' => 'zyborg', 'WhoisSource' => 'surveybot', 'Bloglines' => 'bloglines', 'BlogSearch' => 'blogsearch', 'PubSub' => 'pubsub', 'Syndic8' => 'syndic8', 'RadioUserland' => 'userland', 'Gigabot' => 'gigabot', 'Become.com' => 'become.com'); 
    811       include_once(ABSPATH.'/wp-admin/upgrade-functions.php'); 
     811      if(@is_file(ABSPATH.'/wp-admin/upgrade-functions.php')) { 
     812            include_once(ABSPATH.'/wp-admin/upgrade-functions.php'); 
     813      } elseif(@is_file(ABSPATH.'/wp-admin/includes/upgrade.php')) { 
     814            include_once(ABSPATH.'/wp-admin/includes/upgrade.php'); 
     815      } else { 
     816            die('We have problem finding your \'/wp-admin/upgrade-functions.php\' and \'/wp-admin/includes/upgrade.php\''); 
     817      } 
    812818      // Drop UserOnline Table 
    813819      $wpdb->query("DROP TABLE IF EXISTS $wpdb->useronline"); 
  • wp-useronline/trunk/useronline/wp-useronline.pot

    r17007 r17547  
    33"Project-Id-Version: WP-UserOnline 2.20\n" 
    44"POT-Creation-Date: \n" 
    5 "PO-Revision-Date: 2007-08-15 21:50+0800\n" 
     5"PO-Revision-Date: 2007-08-29 01:02+0800\n" 
    66"Last-Translator: Lester 'GaMerZ' Chan <gamerz84@hotmail.com>\n" 
    77"Language-Team: Lester Chan <gamerz84@hotmail.com>\n" 
     
    8787 
    8888#: useronline-options.php:153 
    89 #: useronline.php:837 
     89#: useronline.php:843 
    9090msgid "Online" 
    9191msgstr "" 
    9292 
    9393#: useronline-options.php:160 
    94 #: useronline.php:836 
     94#: useronline.php:842 
    9595msgid "1 User" 
    9696msgstr "" 
    9797 
    9898#: useronline-options.php:161 
    99 #: useronline.php:836 
     99#: useronline.php:842 
    100100msgid "%USERONLINE_COUNT% Users" 
    101101msgstr "" 
    102102 
    103103#: useronline-options.php:162 
    104 #: useronline.php:836 
     104#: useronline.php:842 
    105105msgid "1 Member" 
    106106msgstr "" 
    107107 
    108108#: useronline-options.php:163 
    109 #: useronline.php:836 
     109#: useronline.php:842 
    110110msgid "%USERONLINE_COUNT% Members" 
    111111msgstr "" 
    112112 
    113113#: useronline-options.php:164 
    114 #: useronline.php:836 
     114#: useronline.php:842 
    115115msgid "1 Guest" 
    116116msgstr "" 
    117117 
    118118#: useronline-options.php:165 
    119 #: useronline.php:836 
     119#: useronline.php:842 
    120120msgid "%USERONLINE_COUNT% Guests" 
    121121msgstr "" 
    122122 
    123123#: useronline-options.php:166 
    124 #: useronline.php:836 
     124#: useronline.php:842 
    125125msgid "1 Bot" 
    126126msgstr "" 
    127127 
    128128#: useronline-options.php:167 
    129 #: useronline.php:836 
     129#: useronline.php:842 
    130130msgid "%USERONLINE_COUNT% Bots" 
    131131msgstr "" 
     
    134134#: useronline-options.php:179 
    135135#: useronline.php:636 
    136 #: useronline.php:838 
    137 #: useronline.php:839 
     136#: useronline.php:844 
     137#: useronline.php:845 
    138138msgid "Users" 
    139139msgstr "" 
    140140 
    141141#: useronline-options.php:179 
    142 #: useronline.php:839 
     142#: useronline.php:845 
    143143msgid "Browsing This Page." 
    144144msgstr ""