Plugin Directory

Changeset 526512


Ignore:
Timestamp:
04/03/2012 01:46:17 AM (14 years ago)
Author:
mg12
Message:
 
Location:
wp-recentcomments/trunk
Files:
16 edited
1 copied

Legend:

Unmodified
Added
Removed
  • wp-recentcomments/trunk/CHANGELOG.txt

    r316325 r526512  
    11    VERSION DATE       TYPE   CHANGES
     2    2.1.1   2012/04/03 NEW    Security vulnerability fixed and add 'Show post content' feature back. (Thanks MonDad, http://wordpress.org/support/topic/plugin-wp-recentcomments-v21-unnecessarily-removes-feature-when-security-vulnerability-could-be-fixed?replies=2#post-2728043)
     3                       MODIFY Update Traditional Chinese translation.
     4                       MODIFY Update Simplified Chinese translation.
     5    2.1     2012/03/29 DELETE Removed 'Show post content' feture because security vulnerabilities do occur (http://secunia.com/advisories/47870/).
     6                       MODIFY Update Hungarian translation.
     7    2.0.7   2011/07/29 FIX    Fixed an XSS vulnerability that uses a bug in AJAX pagings.
    28    2.0.6   2010/11/29 FIX    Format the post titles of JSON.
    39    2.0.5   2010/11/28 NEW    Added Traditional Chinese support. (Thanks Pseric)
  • wp-recentcomments/trunk/README.txt

    r524790 r526512  
    55Requires at least: 2.5
    66Tested up to: 3.3.1
    7 Stable tag: 2.1
     7Stable tag: 2.1.1
    88
    99Display recent comments in your blog sidebar.
     
    100100
    101101    VERSION DATE       TYPE   CHANGES
    102     2.1     2012/03/28 DELETE Remove 'Show Content' feature, because input passed via the "id" parameter to index.php (when "action" is set to "rc-content") is not properly sanitised (http://secunia.com/advisories/47870/).
    103                        MODIFY Update Simplified Hungarian translation.
     102    2.1.1   2012/04/03 NEW    Security vulnerability fixed and add 'Show post content' feature back. (Thanks MonDad, http://wordpress.org/support/topic/plugin-wp-recentcomments-v21-unnecessarily-removes-feature-when-security-vulnerability-could-be-fixed?replies=2#post-2728043)
     103                       MODIFY Update Traditional Chinese translation.
     104                       MODIFY Update Simplified Chinese translation.
     105    2.1     2012/03/29 DELETE Removed 'Show post content' feture because security vulnerabilities do occur (http://secunia.com/advisories/47870/).
     106                       MODIFY Update Hungarian translation.
    104107    2.0.7   2011/07/29 FIX    Fixed an XSS vulnerability that uses a bug in AJAX pagings.
    105108    2.0.6   2010/11/29 FIX    Format the post titles of JSON.
  • wp-recentcomments/trunk/core.php

    r524790 r526512  
    1010        die();
    1111
     12    } else if($_GET['action'] == 'rc-content') {
     13        $id = (int)$_GET["id"];
     14        echo rc_get_content($id);
     15        die();
    1216    }
    1317}
     
    7276
    7377    return $comments;
     78}
     79
     80/**
     81 * Retrieve specific content of comment by comment ID.
     82 */
     83function rc_get_content($id) {
     84    // If comments id is null, return nothing.
     85    if(!$id) {
     86        return '';
     87    }
     88
     89    $options = get_option('wp_recentcomments_options');
     90
     91    // Select comment on database.
     92    global $wpdb, $comment;
     93    $comment = $wpdb->get_row($wpdb->prepare("SELECT comment_content, comment_post_ID FROM $wpdb->comments, $wpdb->posts WHERE comment_post_ID = ID AND post_status = 'publish' AND comment_ID = " . $id));
     94
     95    // Remove blockquote nodes.
     96    $content = rc_remove_blockquotes_but_outermost($comment->comment_content);
     97
     98    // Convert characters to smilies.
     99    if((strlen($content) > 0) && $options['smilies']) {
     100        $content = convert_smilies($content);
     101    }
     102
     103    // Replace relative links to absolute base links in HTML.
     104    $content = preg_replace(array('/href="#/', '/href=\'#/'), array('href="'. get_permalink($comment->comment_post_ID) . '#', 'href=\''. get_permalink($comment->comment_post_ID) . '#'), $content);
     105
     106    return wpautop($content);
    74107}
    75108
     
    289322}
    290323
     324/**
     325 * Remove blockquote nodes, but the outermost one.
     326 */
     327function rc_remove_blockquotes_but_outermost($str) {
     328    $start_pattern = '<blockquote';
     329    $end_pattern = '</blockquote>';
     330
     331    // The number of blockquote nodes.
     332    $quote_count = substr_count(strtolower($str), $start_pattern);
     333
     334    // If there are 0 or 1 blockquote node, do nothing.
     335    if($quote_count <= 1) {
     336        return $str;
     337    }
     338
     339    // If there are more than 1 backquote nodes, create an array to store paragraphs.
     340    $paragraphs = array();
     341
     342    // Pick the first ending tag.
     343    $end = strpos(strtolower($str), $end_pattern);
     344
     345    // Loop all blockquotes.
     346    while ($end) {
     347        // Get substring before first ending tag.
     348        $str_before_end = substr($str, 0, $end);
     349
     350        // The number of blockquote nodes in substring.
     351        $quote_count = substr_count(strtolower($str_before_end), $start_pattern);
     352
     353        // If there is 1 starting tag, this is outermost and push the substring to paragraph array.
     354        if($quote_count == 1) {
     355            $paragraph = substr($str, 0, $end + strlen($end_pattern));
     356            array_push($paragraphs, $paragraph);
     357            $sep = '';
     358            $str = substr_replace($str, $sep, 0, $end + strlen($end_pattern));
     359
     360        // If there are more than 1 starting tags.
     361        } else {
     362            // Pick the last starting tag.
     363            $start = strrpos(strtolower($str_before_end), $start_pattern);
     364
     365            // Replace blockquote node to separate.
     366            $sep = ' ';
     367            $str = substr_replace($str, $sep, $start, $end + strlen($end_pattern) - $start);
     368        }
     369
     370        // Pick next ending tag.
     371        $end = strpos(strtolower($str), $end_pattern);
     372    }
     373
     374    // Merger paragraphs.
     375    if($paragraphs) {
     376        $str_before = '';
     377        foreach($paragraphs as $paragraph) {
     378            $str_before .= $paragraph;
     379        }
     380        return $str_before . $str;
     381    }
     382
     383    return $str;
     384}
     385
    291386?>
  • wp-recentcomments/trunk/css/wp-recentcomments.css

    r524790 r526512  
    77.rc-item .rc-label{text-transform:capitalize;font-weight:bold;font-size:10px}
    88
     9.rc-item .rc-collapse,.rc-item .rc-expand{background:url(../img/icons.png) no-repeat;height:16px;width:16px;display:block;text-indent:-999em;float:right;cursor:pointer}
     10.rc-item .rc-expand{background-position:100% 0}
    911.rc-item .rc-ellipsis{font-size:10px}
    1012
  • wp-recentcomments/trunk/js/wp-recentcomments-jquery.dev.js

    r524790 r526512  
    11/*
    22Author: mg12
    3 Update: 2012/03/28
     3Update: 2010/11/28
    44Website: http://www.neoease.com/
    55*/
     
    1616        excerptClass    :'rc-excerpt',
    1717        ellipsisClass   :'rc-ellipsis',
     18        contentClass    :'rc-content',
    1819        labelClass      :'rc-label',
     20        toggleClass     :'rc-toggle',
     21        collapseClass   :'rc-collapse',
     22        expandClass     :'rc-expand',
    1923        naviClass       :'rc-navi',
    2024        newestClass     :'rc-newest',
     
    9397        _self.context.list.fadeOut(function() {
    9498            jQuery(this).html(listCode).fadeIn(function() {
     99
     100                if(_self.param.showContent) {
     101                    _self.context.list.find('li').each(function() {
     102                        _self._bindCommentAction({item:jQuery(this)});
     103                    });
     104                }
    95105
    96106                if(_self.param.external) {
     
    152162        code += '</li>';
    153163        return code;
     164    },
     165
     166    _bindCommentAction: function(args) {
     167        var item = args.item;
     168        var _self = this;
     169
     170        var itemExcerpt = item.find('div.' + _self.config.excerptClass + ':eq(0)');
     171        var itemEllipsis = itemExcerpt.find('span.' + _self.config.ellipsisClass + ':eq(0)');
     172
     173        if(itemEllipsis.length == 1) {
     174            itemExcerpt.parent().hover(function(ev) {
     175                _self._enterCommnet(ev, {_self:_self, item:item});
     176            },
     177            function(ev) {
     178                _self._leaveCommnet(ev, {_self:_self, item:item});
     179            });
     180        }
     181       
    154182    },
    155183
     
    273301    },
    274302
     303    _enterCommnet: function(ev, args) {
     304        var _self = args._self;
     305        var item = args.item;
     306
     307        var itemExcerpt = item.find('div.' + _self.config.excerptClass + ':eq(0)');
     308        var itemToggle = item.find('a.' + _self.config.toggleClass + ':eq(0)');
     309
     310        if(itemToggle.length == 1) {
     311            itemToggle.fadeIn();
     312        } else {
     313            var itemToggle = jQuery('<a>');
     314            itemToggle.attr('rel', 'nofollow');
     315            itemToggle.attr('class', _self.config.toggleClass + ' ' + _self.config.collapseClass);
     316            itemToggle.click(function(ev) {
     317                _self._toggleComment(ev, {_self:_self, item:item, source:itemToggle});
     318            });
     319            itemToggle.insertBefore(itemExcerpt);
     320        }
     321    },
     322
     323    _leaveCommnet: function(ev, args) {
     324        var _self = args._self;
     325        var item = args.item;
     326
     327        var itemToggle = item.find('a.' + _self.config.toggleClass + ':eq(0)');
     328        if(itemToggle.length == 1) {
     329            itemToggle.fadeOut();
     330        }
     331    },
     332
     333    _toggleComment: function(ev, args) {
     334        var _self = args._self;
     335        var item = args.item;
     336        var source = args.source;
     337
     338        var itemContent = item.find('div.' + _self.config.contentClass + ':eq(0)');
     339        var itemExcerpt = item.find('div.' + _self.config.excerptClass + ':eq(0)');
     340
     341        if(itemContent.length == 1 && source.is('.' + _self.config.collapseClass)) {
     342            itemExcerpt.hide();
     343            itemContent.show();
     344            source.attr('class', _self.config.toggleClass + ' ' + _self.config.expandClass);
     345
     346        } else if(itemContent.length == 1) {
     347            itemContent.hide();
     348            itemExcerpt.show();
     349            source.attr('class', _self.config.toggleClass + ' ' + _self.config.collapseClass);
     350
     351        } else {
     352            itemContent = jQuery('<div>');
     353            itemContent.attr('class', _self.config.contentClass);
     354            itemContent.hide();
     355            itemContent.insertAfter(itemExcerpt);
     356
     357            var url = _self.param.serverUrl;
     358            url += '?action=rc-content';
     359            url += '&id=' + item.attr('id').replace(_self.config.itemIdPrefix, '');
     360
     361            jQuery.ajax({
     362                type            :'GET',
     363                url             :url,
     364                cache           :false,
     365                dataType        :'html',
     366                contentType     :'charset=UTF-8',
     367
     368                success: function(data){
     369                    if(data.length <= 0) {
     370                        data = itemExcerpt.html();
     371                    }
     372                    itemContent.html(data);
     373                    itemExcerpt.hide();
     374                    itemContent.show();
     375                    source.attr('class', _self.config.toggleClass + ' ' + _self.config.expandClass);
     376                }
     377            });
     378        }
     379    },
     380
    275381    _loading: function() {
    276382        var navi = this.context.list.find('li.' + this.config.naviClass + ':eq(0)');
  • wp-recentcomments/trunk/js/wp-recentcomments-jquery.js

    r524790 r526512  
    1 eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('1j=9(){3.d=2G;3.c={1A:\'b-L-1F\',1I:\'b-2D-1F\',1O:\'b-L-\',2A:\'b-L\',1o:\'b-2z\',1t:\'b-1v\',1w:\'b-C\',1C:\'b-2y\',1h:\'b-h\',1g:\'b-2w\',1f:\'b-2r\',1e:\'b-2n\',1Q:\'b-2m\'};3.f={z:11,G:11,e:11}};1j.2k={1x:9(c){3.c=c||3.c;5 z=m(\'#\'+3.c.1A);5 G=m(\'#\'+3.c.1I);7(z.w<=0||G.w<=0){n T}3.f.z=z.Y(M);3.f.G=G.Y(M);3.f.e=z.2i();3.1a(3.d.2g)},q:9(q){5 6=3;5 N=6.d.13;N+=\'?2f=b-1s\';N+=\'&q=\'+q;m.1s({V:\'2d\',N:N,2c:T,2b:\'j\',2a:\'29=28-8\',27:9(){6.17(\'26\');6.1H()},24:9(1J){5 y=23(\'(\'+1J+\')\');6.1a(y);6.17(\'22\')}})},1a:9(y){5 6=3;7(!y.R){6.f.e.j(\'<S>\'+6.d.21+\'</S>\');n T}5 1b=6.1k(y.R);5 X=6.1m(y.h);7(X.w>0){1b+=X}6.f.e.20(9(){m(3).j(1b).1Z(9(){7(6.d.K){6.1q()}7(X.w>0){6.1E({4:m(3),p:y.h.q})}})});n M},1k:9(R){5 e=m(\'<1Y>\');1X(5 i=0;i<R.w;i++){5 4=R[i];5 O=11;7(4.V==\'1W\'||4.V==\'1V\'){O=3.1z(4)}W{O=3.1B(4)}7(O){e.12(O)}}n e.j()},1m:9(h){7(!h){n\'\'}5 p=18(h.q,10);7(p<=1&&!h.1G){n\'\'}5 6=3;5 A=\'<S k="\'+6.c.1h+\' b-1U">\';7(p>=2){7(p>2){A+=\'<a "r=u" k="\'+6.c.1g+\'">\'+6.d.1T+\'</a>\'}A+=\'<a "r=u" k="\'+6.c.1f+\'">\'+6.d.2j+\'</a>\'}7(h.1G){A+=\'<a "r=u" k="\'+6.c.1e+\'">\'+6.d.1S+\'</a>\'}A+=\'</S>\';n A},1E:9(Q){5 4=Q.4;5 p=Q.p;5 6=3;5 1i=4.t(\'a.\'+6.c.1g+\':x(0)\');7(1i){1i.Z(9(v){6.q(1)})}5 14=4.t(\'a.\'+6.c.1f+\':x(0)\');7(14){14.Z(9(v){6.q(18(p,10)-1)})}5 1c=4.t(\'a.\'+6.c.1e+\':x(0)\');7(1c){1c.Z(9(v){6.q(18(p,10)+1)})}},1B:9(4){5 o=3.f.z.Y(M);5 U=o.t(\'1n.\'+3.c.1o+\':x(0)\');5 1d=o.t(\'1n.\'+3.c.1t+\':x(0)\');o.l(\'P\',3.c.1O+4.P);7(4.H.w<=0){4.H=3.d.25}7(4.16){5 E=\'\';7(4.D&&4.D.w>0){5 B=\'u\';7(3.d.K&&4.D.1y(3.d.13)!=0){B+=\' K\'}E=\'<a k="b-19" r="\'+B+\'" J="\'+4.D+\'">\'+4.H+\'</a>\'}W{E=\'<I k="b-19">\'+4.H+\'</I>\'}5 1u=\'<a k="b-2e" r="u" J="\'+4.1r+\'#L-\'+4.P+\'">\'+4.15+\'</a>\';U.j(3.d.2h.1N(/%1R%/g,E).1N(/%2l%/g,1u))}W{5 E=\'<a k="b-19" r="u" J="\'+4.1r+\'#L-\'+4.P+\'" 16="\'+4.15+\'">\'+4.H+\'</a>\';U.j(E)}1d.j(4.1v);7(4.C){5 C=m(\'<I>\');C.l(\'k\',3.c.1w);C.j(\'...\');1d.12(C)}7(4.1l){5 s=m(\'<2o>\');s.l(\'k\',\'b-s b-\'+3.d.2p);s.l(\'2q\',3.d.1M);s.l(\'2s\',3.d.1M);s.l(\'2t\',\'\');s.l(\'2u\',4.1l);s.2v(U)}n o},1z:9(4){5 o=3.f.G.Y(M);5 1K=o.t(\'I.\'+3.c.1C+\':x(0)\');o.2x(\'P\');5 B=\'u\';7(3.d.K&&4.D.1y(3.d.13)!=0){B+=\' K\'}5 F=m(\'<a>\');F.l(\'r\',B);F.l(\'J\',4.D);F.l(\'16\',4.15);F.j(4.H);o.12(F);1K.j(4.V+\': \');n o},1q:9(){5 e=3.f.e;e.t(\'a[r*="K"]\').Z(9(){1p.1P(3.J);n T})},2B:9(v,Q){1p.1P(Q.2C.J);7(v.1L){v.1L()}W{v.2E=T}},1H:9(){5 h=3.f.e.t(\'S.\'+3.c.1h+\':x(0)\');7(h){h.j(\'<I k="\'+3.c.1Q+\'">\'+3.d.2F+\'...<I>\')}},17:9(1D){3.f.e.2H(\'2I\',1D)}};m(2J).2K(9(){(2L 1j()).1x()});',62,172,'|||this|item|var|_self|if||function||rc|config|param|list|context||navi||html|class|attr|jQuery|return|itemNode|pageNumber|page|rel|avatar|find|nofollow|ev|length|eq|json|commentTemp|code|relTag|ellipsis|reviewerUrl|reviewerLink|pingLink|pingTemp|reviewerName|span|href|external|comment|true|url|node|id|args|items|li|false|itemInfo|type|else|naviCode|clone|click||null|append|serverUrl|newerLink|postTitle|title|_changeCursor|parseInt|reviewer|_buildList|listCode|olderLink|itemExcerpt|olderClass|newerClass|newestClass|naviClass|newestLink|RecentComment|_createCommentCode|avatarImage|_createNaviCode|div|infoClass|window|_initLinks|postUrl|ajax|excerptClass|postLink|excerpt|ellipsisClass|init|indexOf|_buildPing|commentTempId|_buildComment|labelClass|status|_bindNaviAction|temp|more|_loading|pingTempId|data|itemLabel|preventDefault|avatarSize|replace|itemIdPrefix|open|loadingClass|REVIEWER|olderText|newestText|clearfix|trackback|pingback|for|ul|fadeIn|fadeOut|noCommentsText|auto|eval|success|anonymous|wait|beforeSend|UTF|charset|contentType|dataType|cache|GET|post|action|initJson|infoTemp|parent|newerText|prototype|POST|loading|older|img|avatarPosition|width|newer|height|alt|src|insertBefore|newest|removeAttr|label|info|commentClass|_bindPopup|link|ping|returnValue|loadingText|rcGlobal|css|cursor|document|ready|new'.split('|'),0,{}))
     1eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('1d=9(){6.d=2i;6.7={1A:\'c-Y-1B\',1C:\'c-2j-1B\',1e:\'c-Y-\',2k:\'c-Y\',1D:\'c-2l\',Z:\'c-1E\',1f:\'c-L\',1g:\'c-1F\',1G:\'c-2m\',D:\'c-2n\',16:\'c-2o\',1h:\'c-2p\',1i:\'c-t\',1j:\'c-2q\',1k:\'c-2r\',1l:\'c-2s\',1H:\'c-2t\'};6.r={E:17,M:17,p:17}};1d.2u={1I:9(7){6.7=7||6.7;5 E=l(\'#\'+6.7.1A);5 M=l(\'#\'+6.7.1C);b(E.q<=0||M.q<=0){v N}6.r.E=E.18(11);6.r.M=M.18(11);6.r.p=E.1J();6.1m(6.d.2v)},y:9(y){5 3=6;5 w=3.d.19;w+=\'?1K=c-1n\';w+=\'&y=\'+y;l.1n({12:\'1L\',w:w,1M:N,1N:\'m\',1O:\'1P=1Q-8\',2w:9(){3.1o(\'2x\');3.1R()},1S:9(O){5 F=2y(\'(\'+O+\')\');3.1m(F);3.1o(\'2z\')}})},1m:9(F){5 3=6;b(!F.13){3.r.p.m(\'<P>\'+3.d.2A+\'</P>\');v N}5 1p=3.1T(F.13);5 1a=3.1U(F.t);b(1a.q>0){1p+=1a}3.r.p.1V(9(){l(6).m(1p).1W(9(){b(3.d.2B){3.r.p.h(\'P\').2C(9(){3.1X({4:l(6)})})}b(3.d.Q){3.1Y()}b(1a.q>0){3.1Z({4:l(6),z:F.t.y})}})});v 11},1T:9(13){5 p=l(\'<2D>\');2E(5 i=0;i<13.q;i++){5 4=13[i];5 14=17;b(4.12==\'2F\'||4.12==\'2G\'){14=6.20(4)}G{14=6.21(4)}b(14){p.1q(14)}}v p.m()},1U:9(t){b(!t){v\'\'}5 z=1r(t.y,10);b(z<=1&&!t.22){v\'\'}5 3=6;5 R=\'<P j="\'+3.7.1i+\' c-2H">\';b(z>=2){b(z>2){R+=\'<a "A=B" j="\'+3.7.1j+\'">\'+3.d.2I+\'</a>\'}R+=\'<a "A=B" j="\'+3.7.1k+\'">\'+3.d.2J+\'</a>\'}b(t.22){R+=\'<a "A=B" j="\'+3.7.1l+\'">\'+3.d.2K+\'</a>\'}R+=\'</P>\';v R},1X:9(e){5 4=e.4;5 3=6;5 n=4.h(\'H.\'+3.7.Z+\':o(0)\');5 23=n.h(\'I.\'+3.7.1f+\':o(0)\');b(23.q==1){n.1J().2L(9(k){3.24(k,{3:3,4:4})},9(k){3.25(k,{3:3,4:4})})}},1Z:9(e){5 4=e.4;5 z=e.z;5 3=6;5 1s=4.h(\'a.\'+3.7.1j+\':o(0)\');b(1s){1s.15(9(k){3.y(1)})}5 1t=4.h(\'a.\'+3.7.1k+\':o(0)\');b(1t){1t.15(9(k){3.y(1r(z,10)-1)})}5 1u=4.h(\'a.\'+3.7.1l+\':o(0)\');b(1u){1u.15(9(k){3.y(1r(z,10)+1)})}},21:9(4){5 x=6.r.E.18(11);5 1b=x.h(\'H.\'+6.7.1D+\':o(0)\');5 n=x.h(\'H.\'+6.7.Z+\':o(0)\');x.f(\'J\',6.7.1e+4.J);b(4.S.q<=0){4.S=6.d.2M}b(4.1v){5 T=\'\';b(4.U&&4.U.q>0){5 V=\'B\';b(6.d.Q&&4.U.26(6.d.19)!=0){V+=\' Q\'}T=\'<a j="c-1w" A="\'+V+\'" W="\'+4.U+\'">\'+4.S+\'</a>\'}G{T=\'<I j="c-1w">\'+4.S+\'</I>\'}5 27=\'<a j="c-2N" A="B" W="\'+4.28+\'#Y-\'+4.J+\'">\'+4.1x+\'</a>\';1b.m(6.d.2O.1y(/%2P%/g,T).1y(/%2Q%/g,27))}G{5 T=\'<a j="c-1w" A="B" W="\'+4.28+\'#Y-\'+4.J+\'" 1v="\'+4.1x+\'">\'+4.S+\'</a>\';1b.m(T)}n.m(4.1E);b(4.L){5 L=l(\'<I>\');L.f(\'j\',6.7.1f);L.m(\'...\');n.1q(L)}b(4.29){5 C=l(\'<2R>\');C.f(\'j\',\'c-C c-\'+6.d.2S);C.f(\'2T\',6.d.2a);C.f(\'2U\',6.d.2a);C.f(\'2V\',\'\');C.f(\'2W\',4.29);C.2b(1b)}v x},20:9(4){5 x=6.r.M.18(11);5 2c=x.h(\'I.\'+6.7.1G+\':o(0)\');x.2X(\'J\');5 V=\'B\';b(6.d.Q&&4.U.26(6.d.19)!=0){V+=\' Q\'}5 X=l(\'<a>\');X.f(\'A\',V);X.f(\'W\',4.U);X.f(\'1v\',4.1x);X.m(4.S);x.1q(X);2c.m(4.12+\': \');v x},1Y:9(){5 p=6.r.p;p.h(\'a[A*="Q"]\').15(9(){2d.2e(6.W);v N})},2Y:9(k,e){2d.2e(e.2Z.W);b(k.2f){k.2f()}G{k.30=N}},24:9(k,e){5 3=e.3;5 4=e.4;5 n=4.h(\'H.\'+3.7.Z+\':o(0)\');5 s=4.h(\'a.\'+3.7.D+\':o(0)\');b(s.q==1){s.1W()}G{5 s=l(\'<a>\');s.f(\'A\',\'B\');s.f(\'j\',3.7.D+\' \'+3.7.16);s.15(9(k){3.2g(k,{3:3,4:4,K:s})});s.2b(n)}},25:9(k,e){5 3=e.3;5 4=e.4;5 s=4.h(\'a.\'+3.7.D+\':o(0)\');b(s.q==1){s.1V()}},2g:9(k,e){5 3=e.3;5 4=e.4;5 K=e.K;5 u=4.h(\'H.\'+3.7.1g+\':o(0)\');5 n=4.h(\'H.\'+3.7.Z+\':o(0)\');b(u.q==1&&K.31(\'.\'+3.7.16)){n.1c();u.1z();K.f(\'j\',3.7.D+\' \'+3.7.1h)}G b(u.q==1){u.1c();n.1z();K.f(\'j\',3.7.D+\' \'+3.7.16)}G{u=l(\'<H>\');u.f(\'j\',3.7.1g);u.1c();u.32(n);5 w=3.d.19;w+=\'?1K=c-1F\';w+=\'&J=\'+4.f(\'J\').1y(3.7.1e,\'\');l.1n({12:\'1L\',w:w,1M:N,1N:\'m\',1O:\'1P=1Q-8\',1S:9(O){b(O.q<=0){O=n.m()}u.m(O);n.1c();u.1z();K.f(\'j\',3.7.D+\' \'+3.7.1h)}})}},1R:9(){5 t=6.r.p.h(\'P.\'+6.7.1i+\':o(0)\');b(t){t.m(\'<I j="\'+6.7.1H+\'">\'+6.d.33+\'...<I>\')}},1o:9(2h){6.r.p.34(\'35\',2h)}};l(36).37(9(){(38 1d()).1I()});',62,195,'|||_self|item|var|this|config||function||if|rc|param|args|attr||find||class|ev|jQuery|html|itemExcerpt|eq|list|length|context|itemToggle|navi|itemContent|return|url|itemNode|page|pageNumber|rel|nofollow|avatar|toggleClass|commentTemp|json|else|div|span|id|source|ellipsis|pingTemp|false|data|li|external|code|reviewerName|reviewerLink|reviewerUrl|relTag|href|pingLink|comment|excerptClass||true|type|items|node|click|collapseClass|null|clone|serverUrl|naviCode|itemInfo|hide|RecentComment|itemIdPrefix|ellipsisClass|contentClass|expandClass|naviClass|newestClass|newerClass|olderClass|_buildList|ajax|_changeCursor|listCode|append|parseInt|newestLink|newerLink|olderLink|title|reviewer|postTitle|replace|show|commentTempId|temp|pingTempId|infoClass|excerpt|content|labelClass|loadingClass|init|parent|action|GET|cache|dataType|contentType|charset|UTF|_loading|success|_createCommentCode|_createNaviCode|fadeOut|fadeIn|_bindCommentAction|_initLinks|_bindNaviAction|_buildPing|_buildComment|more|itemEllipsis|_enterCommnet|_leaveCommnet|indexOf|postLink|postUrl|avatarImage|avatarSize|insertBefore|itemLabel|window|open|preventDefault|_toggleComment|status|rcGlobal|ping|commentClass|info|label|toggle|collapse|expand|newest|newer|older|loading|prototype|initJson|beforeSend|wait|eval|auto|noCommentsText|showContent|each|ul|for|pingback|trackback|clearfix|newestText|newerText|olderText|hover|anonymous|post|infoTemp|REVIEWER|POST|img|avatarPosition|width|height|alt|src|removeAttr|_bindPopup|link|returnValue|is|insertAfter|loadingText|css|cursor|document|ready|new'.split('|'),0,{}))
  • wp-recentcomments/trunk/js/wp-recentcomments.dev.js

    r524790 r526512  
    11/*
    22Author: mg12
    3 Update: 2012/03/28
     3Update: 2010/11/28
    44Website: http://www.neoease.com/
    55*/
     
    1616        excerptClass    :'rc-excerpt',
    1717        ellipsisClass   :'rc-ellipsis',
     18        contentClass    :'rc-content',
    1819        labelClass      :'rc-label',
     20        toggleClass     :'rc-toggle',
     21        collapseClass   :'rc-collapse',
     22        expandClass     :'rc-expand',
    1923        naviClass       :'rc-navi',
    2024        newestClass     :'rc-newest',
     
    8690
    8791        _self.context.list.innerHTML = listCode;
     92
     93        if(_self.param.showContent) {
     94            var commentItems = _self.context.list.getElementsByTagName('li');
     95            for(var i=0; i<commentItems.length; i++) {
     96                var commentItem = commentItems[i];
     97                _self._bindCommentAction({item:commentItem});
     98            }
     99        }
    88100
    89101        if(this.param.external) {
     
    276288    },
    277289
     290    _enterCommnet: function(ev, args) {
     291        var _self = args._self;
     292        var item = args.item;
     293
     294        var itemExcerpt = _self._getElementsByClassName(_self.config.excerptClass, 'div', item)[0];
     295        var itemToggles = _self._getElementsByClassName(_self.config.toggleClass, 'a', item);
     296
     297        if(itemToggles.length == 1) {
     298            _self._show(itemToggles[0]);
     299        } else {
     300            var itemToggle = document.createElement('a');
     301            itemToggle.rel = 'nofollow';
     302            itemToggle.className = _self.config.toggleClass + ' ' + _self.config.collapseClass;
     303            _self._addListener(itemToggle, 'click', _self._toggleComment, {_self:_self, item:item, source:itemToggle});
     304            itemExcerpt.parentNode.insertBefore(itemToggle, itemExcerpt);
     305        }
     306    },
     307
     308    _leaveCommnet: function(ev, args) {
     309        var _self = args._self;
     310        var item = args.item;
     311
     312        var itemToggles = _self._getElementsByClassName(_self.config.toggleClass, 'a', item);
     313        if(itemToggles.length == 1) {
     314            _self._hide(itemToggles[0]);
     315        }
     316    },
     317
     318    _toggleComment: function(ev, args) {
     319        var _self = args._self;
     320        var item = args.item;
     321        var source = args.source;
     322
     323        var itemContents = _self._getElementsByClassName(_self.config.contentClass, 'div', item);
     324        var itemExcerpt = _self._getElementsByClassName(_self.config.excerptClass, 'div', item)[0];
     325
     326        if(itemContents.length == 1 && source.className.indexOf(_self.config.collapseClass) > 0) {
     327            _self._hide(itemExcerpt);
     328            _self._show(itemContents[0]);
     329            source.className = _self.config.toggleClass + ' ' + _self.config.expandClass;
     330
     331        } else if(itemContents.length == 1) {
     332            _self._hide(itemContents[0]);
     333            _self._show(itemExcerpt);
     334            source.className = _self.config.toggleClass + ' ' + _self.config.collapseClass;
     335
     336        } else {
     337            var node = document.createElement('div');
     338            node.className = _self.config.contentClass;
     339            _self._hide(node);
     340            itemExcerpt.parentNode.appendChild(node);
     341
     342            var url = _self.param.serverUrl;
     343            url += '?action=rc-content';
     344            url += '&id=' + item.id.replace(_self.config.itemIdPrefix, '');
     345            url += '&_=' + Date.parse(new Date());
     346
     347            _self._ajax('GET', url, {
     348                success: function(data) {
     349                    if(data.length <= 0) {
     350                        data = itemExcerpt.innerHTML;
     351                    }
     352                    node.innerHTML = data;
     353                    _self._hide(itemExcerpt);
     354                    _self._show(node);
     355                    source.className = _self.config.toggleClass + ' ' + _self.config.expandClass;
     356                }
     357            });
     358        }
     359    },
     360
    278361    _loading: function() {
    279362        var navis = this._getElementsByClassName(this.config.naviClass, 'li', this.context.list);
  • wp-recentcomments/trunk/js/wp-recentcomments.js

    r524790 r526512  
    1 eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('12=b(){6.f=3u;6.c={2q:\'d-1a-2c\',23:\'d-2F-2c\',1X:\'d-1a-\',3l:\'d-1a\',1S:\'d-32\',1y:\'d-2h\',1w:\'d-Z\',2e:\'d-2P\',1s:\'d-C\',1p:\'d-3C\',1n:\'d-3f\',1m:\'d-33\',2l:\'d-30\'};6.n={P:15,S:15,k:15}};12.2R={17:b(c){6.c=c||6.c;3 P=p.1N(6.c.2q);3 S=p.1N(6.c.23);9(!P||!S){h 13}6.n.P=P.1h(z);6.n.S=S.1h(z);6.n.k=P.1F;6.1v(6.f.2K)},y:b(y){3 5=6;3 J=5.f.1k;J+=\'?3r=d-31\';J+=\'&y=\'+y;J+=\'&2Z=\'+24.3s(t 24());5.26(\'3k\',J,{1A:b(){5.1t(\'2N\');5.2t()},1l:b(29){3 O=2J(\'(\'+29+\')\');5.1v(O);5.1t(\'2L\')}})},1v:b(O){3 5=6;9(!O.18){5.n.k.v=\'<16>\'+5.f.3G+\'</16>\';h 13}3 1K=5.2f(O.18);3 1c=5.2u(O.C);9(1c.o>0){1K+=1c}5.n.k.v=1K;9(6.f.Y){5.1V()}9(1c.o>0){5.22({7:5.n.k,x:O.C.y})}h z},2f:b(18){3 k=p.1f(\'2M\');1r(3 i=0;i<18.o;i++){3 7=18[i];3 l=15;9(7.m==\'3d\'||7.m==\'3j\'){l=6.1T(7)}A{l=6.21(7)}9(l){k.1O(l)}}h k.v},2u:b(C){9(!C){h\'\'}3 x=1P(C.y,10);9(x<=1&&!C.2b){h\'\'}3 5=6;3 U=\'<16 w="\'+5.c.1s+\' d-2V">\';9(x>=2){9(x>2){U+=\'<a "B=F" w="\'+5.c.1p+\'">\'+5.f.35+\'</a>\'}U+=\'<a "B=F" w="\'+5.c.1n+\'">\'+5.f.37+\'</a>\'}9(C.2b){U+=\'<a "B=F" w="\'+5.c.1m+\'">\'+5.f.39+\'</a>\'}U+=\'</16>\';h U},3b:b(N){3 7=N.7;3 5=6;3 W=5.r(5.c.1y,\'1o\',7)[0];3 1U=5.r(5.c.1w,\'L\',7);9(1U.o==1){5.G(W.1F,\'2D\',5.2G,{5:5,7:7});5.G(W.1F,\'2H\',5.2I,{5:5,7:7})}},22:b(N){3 7=N.7;3 x=N.x;3 5=6;3 1q=5.r(5.c.1p,\'a\',7);9(1q.o==1){5.G(1q[0],\'1d\',b(u){5.y(1)})}3 1R=5.r(5.c.1n,\'a\',7);9(1R.o==1){5.G(1R[0],\'1d\',b(u){5.y(1P(x,10)-1)})}3 1u=5.r(5.c.1m,\'a\',7);9(1u.o==1){5.G(1u[0],\'1d\',b(u){5.y(1P(x,10)+1)})}},21:b(7){3 q=6.n.P.1h(z);3 1e=6.r(6.c.1S,\'1o\',q)[0];3 W=6.r(6.c.1y,\'1o\',q)[0];q.11=6.c.1X+7.11;9(7.X.o<=0){7.X=6.f.2W}9(7.1x){3 V=\'\';9(7.T&&7.T.o>0){3 R=\'F\';9(6.f.Y&&7.T.2n(6.f.1k)!=0){R+=\' Y\'}V=\'<a w="d-1z" B="\'+R+\'" Q="\'+7.T+\'">\'+7.X+\'</a>\'}A{V=\'<L w="d-1z">\'+7.X+\'</L>\'}3 2w=\'<a w="d-3a" B="F" Q="\'+7.2A+\'#1a-\'+7.11+\'">\'+7.1B+\'</a>\';1e.v=6.f.3e.1C(/%3h%/g,V).1C(/%3P%/g,2w)}A{3 V=\'<a w="d-1z" B="F" Q="\'+7.2A+\'#1a-\'+7.11+\'" 1x="\'+7.1B+\'">\'+7.X+\'</a>\';1e.v=V}W.v=7.2h;9(7.Z){3 Z=p.1f(\'L\');Z.M=6.c.1w;Z.v=\'...\';W.1O(Z)}9(7.1W){3 D=p.1f(\'3v\');D.M=\'d-D d-\'+6.f.3w;D.3x=6.f.1Y;D.3D=6.f.1Y;D.3F=\'\';D.1Z=7.1W;q.3L(D,1e)}h q},1T:b(7){3 q=6.n.S.1h(z);3 20=6.r(6.c.2e,\'L\',q)[0];q.2E(\'11\');3 R=\'F\';9(6.f.Y&&7.T.2n(6.f.1k)!=0){R+=\' Y\'}3 14=p.1f(\'a\');14.B=R;14.Q=7.T;14.1x=7.1B;14.v=7.X;q.1O(14);20.v=7.m+\': \';h q},1V:b(){3 k=6.n.k;9(!k.1D){h}3 1E=k.1D(\'a\');1r(3 i=0;i<1E.o;i++){3 I=1E[i];9(I.Q&&/Y/i.19(I.B)){6.G(I,\'1d\',6.25,{I:I})}}},25:b(u,N){1G.27(N.I.Q);9(u.28){u.28()}A{u.2O=13}},2t:b(){3 1H=6.r(6.c.1s,\'16\',6.n.k);9(1H.o==1){1H[0].v=\'<L w="\'+6.c.2l+\'">\'+6.f.2Q+\'...<L>\'}},1t:b(2a){6.n.k.1I.2T=2a},2U:b(E){E.1I.2d=\'2X\'},2Y:b(E){E.1I.2d=\'\'},r:b(M,1J,1g){3 1L=(1J==\'*\'&&1g.2g)?1g.2g:1g.1D(1J);3 1M=t 34();M=M.1C(/\\-/g,\'\\\\-\');3 2i=t 36(\'(^|\\\\s)\'+M+\'(\\\\s|$)\');3 E;1r(3 i=0;i<1L.o;i++){E=1L[i];9(2i.19(E.M)){1M.38(E)}}h 1M},2j:b(){2k{j=t 3c()}2m(e){2k{j=t 2o(\'3g.2p\')}2m(e){j=t 2o(\'3i.2p\')}}h j},26:b(m,J,H){3 5=6;3 j=5.2j();j.2r=b(u){5.2s(j,H)};j.27(m,J,z);j.3m(\'3n-m\',\'3o=3p-8\');j.3q(15)},2s:b(j,H){9(H.1A&&j.1b==1){H.1A()}9(H.1l&&(j.1b==4||j.1b==\'1Q\')){H.1l(j.3t)}},G:b(l,m,K,2v){3 f=2v||{};9(l.1j){l.1j(m,b(u){K(u,f)},13);h z}A 9(l.2x){l[\'e\'+m+K]=K;l[m+K]=b(){l[\'e\'+m+K](1G.3y,f)};l.2x(\'3z\'+m,l[m+K]);h z}h 13}};9(p.1j){p.1j("3A",b(){(t 12()).17()},13)}A 9(/3B/i.19(2y.2z)){p.3E(\'<1i 11="2B" 3H 1Z="3I:3J(0)"></1i>\');3 1i=p.1N(\'2B\');1i.2r=b(){9(6.1b==\'1Q\'){(t 12()).17()}}}A 9(/3K/i.19(2y.2z)){3 2C=3M(b(){9(/3N|1Q/.19(p.1b)){3O(2C);(t 12()).17()}},10)}A{1G.2S=b(e){(t 12()).17()}}',62,238,'|||var||_self|this|item||if||function|config|rc||param||return||xmlHttp|list|node|type|context|length|document|itemNode|_getElementsByClassName||new|ev|innerHTML|class|pageNumber|page|true|else|rel|navi|avatar|element|nofollow|_addListener|actions|link|url|listener|span|className|args|json|commentTemp|href|relTag|pingTemp|reviewerUrl|code|reviewerLink|itemExcerpt|reviewerName|external|ellipsis||id|RecentComment|false|pingLink|null|li|init|items|test|comment|readyState|naviCode|click|itemInfo|createElement|parent|cloneNode|script|addEventListener|serverUrl|success|olderClass|newerClass|div|newestClass|newestLinks|for|naviClass|_changeCursor|olderLinks|_buildList|ellipsisClass|title|excerptClass|reviewer|beforeSend|postTitle|replace|getElementsByTagName|links|parentNode|window|navis|style|tag|listCode|allTags|matchingElements|getElementById|appendChild|parseInt|complete|newerLinks|infoClass|_buildPing|itemEllipsises|_initLinks|avatarImage|itemIdPrefix|avatarSize|src|itemLabel|_buildComment|_bindNaviAction|pingTempId|Date|_bindPopup|_ajax|open|preventDefault|data|status|more|temp|display|labelClass|_createCommentCode|all|excerpt|regex|_getXmlHttpObject|try|loadingClass|catch|indexOf|ActiveXObject|XMLHTTP|commentTempId|onreadystatechange|_callback|_loading|_createNaviCode|obj|postLink|attachEvent|navigator|userAgent|postUrl|__ie_onload_for_wp_recentcomment|_timer|mouseover|removeAttribute|ping|_enterCommnet|mouseout|_leaveCommnet|eval|initJson|auto|ul|wait|returnValue|label|loadingText|prototype|onload|cursor|_hide|clearfix|anonymous|none|_show|_|loading|ajax|info|older|Array|newestText|RegExp|newerText|push|olderText|post|_bindCommentAction|XMLHttpRequest|pingback|infoTemp|newer|Msxml2|REVIEWER|Microsoft|trackback|GET|commentClass|setRequestHeader|Content|charset|UTF|send|action|parse|responseText|rcGlobal|img|avatarPosition|width|event|on|DOMContentLoaded|MSIE|newest|height|write|alt|noCommentsText|defer|javascript|void|WebKit|insertBefore|setInterval|loaded|clearInterval|POST'.split('|'),0,{}))
     1eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('V=c(){7.f=2Z;7.b={28:\'d-1e-29\',2a:\'d-30-29\',1D:\'d-1e-\',31:\'d-1e\',2b:\'d-32\',1f:\'d-2c\',1E:\'d-W\',1F:\'d-2d\',2e:\'d-33\',M:\'d-34\',1p:\'d-35\',1G:\'d-36\',1H:\'d-F\',1I:\'d-37\',1J:\'d-38\',1K:\'d-39\',2f:\'d-3a\'};7.q={N:1g,X:1g,l:1g}};V.3b={1h:c(b){7.b=b||7.b;5 N=r.1L(7.b.28);5 X=r.1L(7.b.2a);9(!N||!X){m Y}7.q.N=N.1q(G);7.q.X=X.1q(G);7.q.l=N.1i;7.1M(7.f.3c)},B:c(B){5 3=7;5 w=3.f.1r;w+=\'?2g=d-3d\';w+=\'&B=\'+B;w+=\'&2h=\'+1s.2i(y 1s());3.1N(\'2j\',w,{1O:c(){3.1P(\'3e\');3.2k()},1t:c(Z){5 O=3f(\'(\'+Z+\')\');3.1M(O);3.1P(\'3g\')}})},1M:c(O){5 3=7;9(!O.1j){3.q.l.x=\'<11>\'+3.f.3h+\'</11>\';m Y}5 1Q=3.2l(O.1j);5 1u=3.2m(O.F);9(1u.j>0){1Q+=1u}3.q.l.x=1Q;9(3.f.3i){5 1R=3.q.l.1v(\'11\');1w(5 i=0;i<1R.j;i++){5 2n=1R[i];3.2o({6:2n})}}9(7.f.12){3.2p()}9(1u.j>0){3.2q({6:3.q.l,C:O.F.B})}m G},2l:c(1j){5 l=r.13(\'3j\');1w(5 i=0;i<1j.j;i++){5 6=1j[i];5 h=1g;9(6.t==\'3k\'||6.t==\'3l\'){h=7.2r(6)}z{h=7.2s(6)}9(h){l.1x(h)}}m l.x},2m:c(F){9(!F){m\'\'}5 C=1S(F.B,10);9(C<=1&&!F.2t){m\'\'}5 3=7;5 14=\'<11 D="\'+3.b.1H+\' d-3m">\';9(C>=2){9(C>2){14+=\'<a "E=H" D="\'+3.b.1I+\'">\'+3.f.3n+\'</a>\'}14+=\'<a "E=H" D="\'+3.b.1J+\'">\'+3.f.3o+\'</a>\'}9(F.2t){14+=\'<a "E=H" D="\'+3.b.1K+\'">\'+3.f.3p+\'</a>\'}14+=\'</11>\';m 14},2o:c(k){5 6=k.6;5 3=7;5 n=3.o(3.b.1f,\'P\',6)[0];5 2u=3.o(3.b.1E,\'Q\',6);9(2u.j==1){3.I(n.1i,\'3q\',3.2v,{3:3,6:6});3.I(n.1i,\'3r\',3.2w,{3:3,6:6})}},2q:c(k){5 6=k.6;5 C=k.C;5 3=7;5 1T=3.o(3.b.1I,\'a\',6);9(1T.j==1){3.I(1T[0],\'1k\',c(u){3.B(1)})}5 1U=3.o(3.b.1J,\'a\',6);9(1U.j==1){3.I(1U[0],\'1k\',c(u){3.B(1S(C,10)-1)})}5 1V=3.o(3.b.1K,\'a\',6);9(1V.j==1){3.I(1V[0],\'1k\',c(u){3.B(1S(C,10)+1)})}},2s:c(6){5 A=7.q.N.1q(G);5 1y=7.o(7.b.2b,\'P\',A)[0];5 n=7.o(7.b.1f,\'P\',A)[0];A.J=7.b.1D+6.J;9(6.15.j<=0){6.15=7.f.3s}9(6.1W){5 16=\'\';9(6.17&&6.17.j>0){5 18=\'H\';9(7.f.12&&6.17.1X(7.f.1r)!=0){18+=\' 12\'}16=\'<a D="d-1Y" E="\'+18+\'" 19="\'+6.17+\'">\'+6.15+\'</a>\'}z{16=\'<Q D="d-1Y">\'+6.15+\'</Q>\'}5 2x=\'<a D="d-3t" E="H" 19="\'+6.2y+\'#1e-\'+6.J+\'">\'+6.1Z+\'</a>\';1y.x=7.f.3u.1z(/%3v%/g,16).1z(/%3w%/g,2x)}z{5 16=\'<a D="d-1Y" E="H" 19="\'+6.2y+\'#1e-\'+6.J+\'" 1W="\'+6.1Z+\'">\'+6.15+\'</a>\';1y.x=16}n.x=6.2c;9(6.W){5 W=r.13(\'Q\');W.v=7.b.1E;W.x=\'...\';n.1x(W)}9(6.2z){5 K=r.13(\'3x\');K.v=\'d-K d-\'+7.f.3y;K.3z=7.f.2A;K.3A=7.f.2A;K.3B=\'\';K.2B=6.2z;A.2C(K,1y)}m A},2r:c(6){5 A=7.q.X.1q(G);5 2D=7.o(7.b.2e,\'Q\',A)[0];A.3C(\'J\');5 18=\'H\';9(7.f.12&&6.17.1X(7.f.1r)!=0){18+=\' 12\'}5 1a=r.13(\'a\');1a.E=18;1a.19=6.17;1a.1W=6.1Z;1a.x=6.15;A.1x(1a);2D.x=6.t+\': \';m A},2p:c(){5 l=7.q.l;9(!l.1v){m}5 20=l.1v(\'a\');1w(5 i=0;i<20.j;i++){5 R=20[i];9(R.19&&/12/i.1l(R.E)){7.I(R,\'1k\',7.2E,{R:R})}}},2E:c(u,k){21.2F(k.R.19);9(u.2G){u.2G()}z{u.3D=Y}},2v:c(u,k){5 3=k.3;5 6=k.6;5 n=3.o(3.b.1f,\'P\',6)[0];5 1b=3.o(3.b.M,\'a\',6);9(1b.j==1){3.1m(1b[0])}z{5 1c=r.13(\'a\');1c.E=\'H\';1c.v=3.b.M+\' \'+3.b.1p;3.I(1c,\'1k\',3.2H,{3:3,6:6,S:1c});n.1i.2C(1c,n)}},2w:c(u,k){5 3=k.3;5 6=k.6;5 1b=3.o(3.b.M,\'a\',6);9(1b.j==1){3.1d(1b[0])}},2H:c(u,k){5 3=k.3;5 6=k.6;5 S=k.S;5 1n=3.o(3.b.1F,\'P\',6);5 n=3.o(3.b.1f,\'P\',6)[0];9(1n.j==1&&S.v.1X(3.b.1p)>0){3.1d(n);3.1m(1n[0]);S.v=3.b.M+\' \'+3.b.1G}z 9(1n.j==1){3.1d(1n[0]);3.1m(n);S.v=3.b.M+\' \'+3.b.1p}z{5 h=r.13(\'P\');h.v=3.b.1F;3.1d(h);n.1i.1x(h);5 w=3.f.1r;w+=\'?2g=d-2d\';w+=\'&J=\'+6.J.1z(3.b.1D,\'\');w+=\'&2h=\'+1s.2i(y 1s());3.1N(\'2j\',w,{1t:c(Z){9(Z.j<=0){Z=n.x}h.x=Z;3.1d(n);3.1m(h);S.v=3.b.M+\' \'+3.b.1G}})}},2k:c(){5 22=7.o(7.b.1H,\'11\',7.q.l);9(22.j==1){22[0].x=\'<Q D="\'+7.b.2f+\'">\'+7.f.3E+\'...<Q>\'}},1P:c(2I){7.q.l.23.3F=2I},1d:c(L){L.23.2J=\'3G\'},1m:c(L){L.23.2J=\'\'},o:c(v,24,1A){5 25=(24==\'*\'&&1A.2K)?1A.2K:1A.1v(24);5 26=y 3H();v=v.1z(/\\-/g,\'\\\\-\');5 2L=y 3I(\'(^|\\\\s)\'+v+\'(\\\\s|$)\');5 L;1w(5 i=0;i<25.j;i++){L=25[i];9(2L.1l(L.v)){26.3J(L)}}m 26},2M:c(){2N{p=y 3K()}2O(e){2N{p=y 2P(\'3L.2Q\')}2O(e){p=y 2P(\'3M.2Q\')}}m p},1N:c(t,w,T){5 3=7;5 p=3.2M();p.2R=c(u){3.2S(p,T)};p.2F(t,w,G);p.3N(\'3O-t\',\'3P=3Q-8\');p.3R(1g)},2S:c(p,T){9(T.1O&&p.1o==1){T.1O()}9(T.1t&&(p.1o==4||p.1o==\'27\')){T.1t(p.3S)}},I:c(h,t,U,2T){5 f=2T||{};9(h.1B){h.1B(t,c(u){U(u,f)},Y);m G}z 9(h.2U){h[\'e\'+t+U]=U;h[t+U]=c(){h[\'e\'+t+U](21.3T,f)};h.2U(\'3U\'+t,h[t+U]);m G}m Y}};9(r.1B){r.1B("3V",c(){(y V()).1h()},Y)}z 9(/3W/i.1l(2V.2W)){r.3X(\'<1C J="2X" 3Y 2B="3Z:40(0)"></1C>\');5 1C=r.1L(\'2X\');1C.2R=c(){9(7.1o==\'27\'){(y V()).1h()}}}z 9(/41/i.1l(2V.2W)){5 2Y=42(c(){9(/43|27/.1l(r.1o)){44(2Y);(y V()).1h()}},10)}z{21.45=c(e){(y V()).1h()}}',62,254,'|||_self||var|item|this||if||config|function|rc||param||node||length|args|list|return|itemExcerpt|_getElementsByClassName|xmlHttp|context|document||type|ev|className|url|innerHTML|new|else|itemNode|page|pageNumber|class|rel|navi|true|nofollow|_addListener|id|avatar|element|toggleClass|commentTemp|json|div|span|link|source|actions|listener|RecentComment|ellipsis|pingTemp|false|data||li|external|createElement|code|reviewerName|reviewerLink|reviewerUrl|relTag|href|pingLink|itemToggles|itemToggle|_hide|comment|excerptClass|null|init|parentNode|items|click|test|_show|itemContents|readyState|collapseClass|cloneNode|serverUrl|Date|success|naviCode|getElementsByTagName|for|appendChild|itemInfo|replace|parent|addEventListener|script|itemIdPrefix|ellipsisClass|contentClass|expandClass|naviClass|newestClass|newerClass|olderClass|getElementById|_buildList|_ajax|beforeSend|_changeCursor|listCode|commentItems|parseInt|newestLinks|newerLinks|olderLinks|title|indexOf|reviewer|postTitle|links|window|navis|style|tag|allTags|matchingElements|complete|commentTempId|temp|pingTempId|infoClass|excerpt|content|labelClass|loadingClass|action|_|parse|GET|_loading|_createCommentCode|_createNaviCode|commentItem|_bindCommentAction|_initLinks|_bindNaviAction|_buildPing|_buildComment|more|itemEllipsises|_enterCommnet|_leaveCommnet|postLink|postUrl|avatarImage|avatarSize|src|insertBefore|itemLabel|_bindPopup|open|preventDefault|_toggleComment|status|display|all|regex|_getXmlHttpObject|try|catch|ActiveXObject|XMLHTTP|onreadystatechange|_callback|obj|attachEvent|navigator|userAgent|__ie_onload_for_wp_recentcomment|_timer|rcGlobal|ping|commentClass|info|label|toggle|collapse|expand|newest|newer|older|loading|prototype|initJson|ajax|wait|eval|auto|noCommentsText|showContent|ul|pingback|trackback|clearfix|newestText|newerText|olderText|mouseover|mouseout|anonymous|post|infoTemp|REVIEWER|POST|img|avatarPosition|width|height|alt|removeAttribute|returnValue|loadingText|cursor|none|Array|RegExp|push|XMLHttpRequest|Msxml2|Microsoft|setRequestHeader|Content|charset|UTF|send|responseText|event|on|DOMContentLoaded|MSIE|write|defer|javascript|void|WebKit|setInterval|loaded|clearInterval|onload'.split('|'),0,{}))
  • wp-recentcomments/trunk/languages/wp-recentcomments-hu_HU.po

    r524790 r526512  
    33"Project-Id-Version: WP-RecentComments\n"
    44"Report-Msgid-Bugs-To: \n"
    5 "POT-Creation-Date: 2012-03-28 23:49+0800\n"
    6 "PO-Revision-Date: 2012-03-28 23:49+0800\n"
     5"POT-Creation-Date: 2012-04-03 09:33+0800\n"
     6"PO-Revision-Date: 2012-04-03 09:33+0800\n"
    77"Last-Translator: neoease.com <wuzhao.mail@gmail.com>\n"
    88"Language-Team:  <http://blogocska.org/>\n"
     
    1919#: wp-recentcomments.php:36
    2020#: wp-recentcomments.php:37
    21 #: wp-recentcomments.php:433
     21#: wp-recentcomments.php:468
    2222msgid "Loading"
    2323msgstr "Betöltés"
     
    3737#: wp-recentcomments.php:127
    3838#: wp-recentcomments.php:128
    39 #: wp-recentcomments.php:256
     39#: wp-recentcomments.php:264
    4040msgid "WP-RecentComments"
    4141msgstr "WP-RecentComments"
    4242
    43 #: wp-recentcomments.php:265
     43#: wp-recentcomments.php:273
    4444msgid "WP-RecentComments Options"
    4545msgstr "Bővítmény beállítások"
    4646
    47 #: wp-recentcomments.php:270
     47#: wp-recentcomments.php:278
    4848msgid "Donation"
    4949msgstr ""
    5050
    51 #: wp-recentcomments.php:272
     51#: wp-recentcomments.php:280
    5252msgid "If you like this plugin, please donate to support development and maintenance!"
    5353msgstr ""
    5454
    55 #: wp-recentcomments.php:286
     55#: wp-recentcomments.php:294
    5656msgid "About Author"
    5757msgstr ""
    5858
    59 #: wp-recentcomments.php:289
     59#: wp-recentcomments.php:297
    6060msgid "Author Blog"
    6161msgstr ""
    6262
    63 #: wp-recentcomments.php:290
     63#: wp-recentcomments.php:298
    6464msgid "More Plugins"
    6565msgstr ""
    6666
    67 #: wp-recentcomments.php:304
     67#: wp-recentcomments.php:312
    6868msgid "CSS"
    6969msgstr "CSS"
    7070
    71 #: wp-recentcomments.php:308
     71#: wp-recentcomments.php:316
    7272msgid "Use wp-recentcomments.css."
    7373msgstr "wp-recentcomments.css használata."
    7474
    75 #: wp-recentcomments.php:314
     75#: wp-recentcomments.php:322
    7676msgid "JavaScript Library"
    7777msgstr "JavaScript dolgok"
    7878
    79 #: wp-recentcomments.php:318
     79#: wp-recentcomments.php:326
    8080msgid "Use normal JavaScript library that is supported by this plugin."
    8181msgstr "A plugin által szállított JavaScript függvények használata."
    8282
    83 #: wp-recentcomments.php:323
     83#: wp-recentcomments.php:331
    8484msgid "Use jQuery library that is supported by WordPress."
    8585msgstr "A WordPress általl szállított jQuery használata."
    8686
    87 #: wp-recentcomments.php:328
     87#: wp-recentcomments.php:336
    8888msgid "Custom jQuery."
    8989msgstr "Saját jQuery használata"
    9090
    91 #: wp-recentcomments.php:331
     91#: wp-recentcomments.php:339
    9292msgid "Please input the URL of jQuery:"
    9393msgstr "Kérlek add meg a saját jQuery URL-jét:"
    9494
    95 #: wp-recentcomments.php:338
     95#: wp-recentcomments.php:346
    9696msgid "Comment List"
    9797msgstr "Hozzászólás lista"
    9898
    99 #: wp-recentcomments.php:341
     99#: wp-recentcomments.php:349
    100100msgid "comments per page."
    101101msgstr "hozzászólás per oldal."
    102102
    103 #: wp-recentcomments.php:346
     103#: wp-recentcomments.php:354
    104104msgid "Show the comments from administrators."
    105105msgstr "Adminisztrátor hozzászólásainak megjelenítése."
    106106
    107 #: wp-recentcomments.php:352
     107#: wp-recentcomments.php:360
    108108msgid "Show pingback and trackback comments."
    109109msgstr "Pingbackek és trackbackek megjelenítése."
    110110
    111 #: wp-recentcomments.php:358
     111#: wp-recentcomments.php:366
    112112msgid "Show navigation bar."
    113113msgstr "Mutassa a navigációs sávot-"
    114114
    115 #: wp-recentcomments.php:364
     115#: wp-recentcomments.php:372
    116116msgid "Comment Items"
    117117msgstr "Hozzászólás elemek"
    118118
    119 #: wp-recentcomments.php:367
     119#: wp-recentcomments.php:375
    120120msgid "characters per comment."
    121121msgstr "karakter per hozzászólás."
    122122
    123 #: wp-recentcomments.php:372
     123#: wp-recentcomments.php:380
    124124msgid "Show post titles."
    125125msgstr "Bejegyzés címének megjelenítése"
    126126
    127 #: wp-recentcomments.php:378
     127#: wp-recentcomments.php:386
     128msgid "Show the expand button when mouse over excerpts."
     129msgstr "Kibontás gomb meglenítése ha az egér a kivonat fölé megy."
     130
     131#: wp-recentcomments.php:392
    128132msgid "Open external pages in a new tab/window."
    129133msgstr "Külső oldalak új lapon megnyitása."
    130134
    131 #: wp-recentcomments.php:384
     135#: wp-recentcomments.php:398
    132136msgid "Show avatars on"
    133137msgstr "Avatar mutatása:s"
    134138
    135 #: wp-recentcomments.php:387
     139#: wp-recentcomments.php:401
    136140msgid "left"
    137141msgstr "bal"
    138142
    139 #: wp-recentcomments.php:388
     143#: wp-recentcomments.php:402
    140144msgid "right"
    141145msgstr "jobb"
    142146
    143 #: wp-recentcomments.php:390
     147#: wp-recentcomments.php:404
    144148msgid ", size is"
    145149msgstr ", mérete:"
    146150
    147 #: wp-recentcomments.php:392
     151#: wp-recentcomments.php:406
    148152msgid "pixels"
    149153msgstr "pixel"
    150154
    151 #: wp-recentcomments.php:397
     155#: wp-recentcomments.php:411
    152156msgid "Show smilies as graphic icons."
    153157msgstr "Emotikonok képként mutatása."
    154158
    155 #: wp-recentcomments.php:406
     159#: wp-recentcomments.php:420
    156160msgid "Save Changes"
    157161msgstr "Változások mentése"
    158162
    159 #: wp-recentcomments.php:432
     163#: wp-recentcomments.php:467
    160164msgid "%REVIEWER% on %POST%"
    161165msgstr "%REVIEWER% itt: %POST%"
    162166
    163 #: wp-recentcomments.php:434
     167#: wp-recentcomments.php:469
    164168msgid "No comments"
    165169msgstr "Nincs hozzászólás"
    166170
    167 #: wp-recentcomments.php:435
     171#: wp-recentcomments.php:470
    168172msgid "&laquo; Newest"
    169173msgstr "&laquo; Legújabbak"
    170174
    171 #: wp-recentcomments.php:436
     175#: wp-recentcomments.php:471
    172176msgid "&laquo; Newer"
    173177msgstr "&laquo; Újabbak"
    174178
    175 #: wp-recentcomments.php:437
     179#: wp-recentcomments.php:472
    176180msgid "Older &raquo;"
    177181msgstr "Régebbi &raquo;"
    178182
    179 #: wp-recentcomments.php:441
     183#: wp-recentcomments.php:477
    180184msgid "Anonymous"
    181185msgstr "Anonymus"
    182186
    183 #~ msgid "Show the expand button when mouse over excerpts."
    184 #~ msgstr "Kibontás gomb meglenítése ha az egér a kivonat fölé megy."
  • wp-recentcomments/trunk/languages/wp-recentcomments-zh_CN.po

    r524790 r526512  
    33"Project-Id-Version: WP-RecentComments 2.0\n"
    44"Report-Msgid-Bugs-To: \n"
    5 "POT-Creation-Date: 2012-03-28 23:48+0800\n"
     5"POT-Creation-Date: 2012-04-03 09:34+0800\n"
    66"PO-Revision-Date: \n"
    77"Last-Translator: neoease.com <wuzhao.mail@gmail.com>\n"
     
    1919#: wp-recentcomments.php:36
    2020#: wp-recentcomments.php:37
    21 #: wp-recentcomments.php:433
     21#: wp-recentcomments.php:468
    2222msgid "Loading"
    2323msgstr "正在加载"
     
    2929#: wp-recentcomments.php:109
    3030msgid "Title: "
    31 msgstr "标题: "
     31msgstr "标题"
    3232
    3333#: wp-recentcomments.php:126
     
    3737#: wp-recentcomments.php:127
    3838#: wp-recentcomments.php:128
    39 #: wp-recentcomments.php:256
     39#: wp-recentcomments.php:264
    4040msgid "WP-RecentComments"
    4141msgstr "最新评论"
    4242
    43 #: wp-recentcomments.php:265
     43#: wp-recentcomments.php:273
    4444msgid "WP-RecentComments Options"
    4545msgstr "WP-RecentComments 插件设置"
    4646
    47 #: wp-recentcomments.php:270
     47#: wp-recentcomments.php:278
    4848msgid "Donation"
    4949msgstr "资助鼓励"
    5050
    51 #: wp-recentcomments.php:272
     51#: wp-recentcomments.php:280
    5252msgid "If you like this plugin, please donate to support development and maintenance!"
    53 msgstr "如果你认为我做的这些对你来说是有价值的, 并鼓励我进行更多开源和免费的开发. 那你可以资助我, 就算是一杯咖啡...<br /><br /><strong><a href=\"https://me.alipay.com/mg12\">通过支付宝资助</a></strong><style>#donate form{display:none;}</style>"
     53msgstr "如果你认为我做的这些对你来说是有价值的,并鼓励我进行更多开源和免费的开发。那你可以资助我,就算是一杯咖啡…<br /><br /><strong><a href=\"https://me.alipay.com/mg12\">通过支付宝资助</a></strong><style>#donate form{display:none;}</style>"
    5454
    55 #: wp-recentcomments.php:286
     55#: wp-recentcomments.php:294
    5656msgid "About Author"
    5757msgstr "关于作者"
    5858
    59 #: wp-recentcomments.php:289
     59#: wp-recentcomments.php:297
    6060msgid "Author Blog"
    6161msgstr "作者的博客"
    6262
    63 #: wp-recentcomments.php:290
     63#: wp-recentcomments.php:298
    6464msgid "More Plugins"
    6565msgstr "更多插件"
    6666
    67 #: wp-recentcomments.php:304
     67#: wp-recentcomments.php:312
    6868msgid "CSS"
    6969msgstr ""
    7070
    71 #: wp-recentcomments.php:308
     71#: wp-recentcomments.php:316
    7272msgid "Use wp-recentcomments.css."
    73 msgstr "使用 wp-recentcomments.css."
     73msgstr "使用 wp-recentcomments.css"
    7474
    75 #: wp-recentcomments.php:314
     75#: wp-recentcomments.php:322
    7676msgid "JavaScript Library"
    7777msgstr "JavaScript 库"
    7878
    79 #: wp-recentcomments.php:318
     79#: wp-recentcomments.php:326
    8080msgid "Use normal JavaScript library that is supported by this plugin."
    81 msgstr "使用插件自带的 JavaScript 库."
    82 
    83 #: wp-recentcomments.php:323
    84 msgid "Use jQuery library that is supported by WordPress."
    85 msgstr "使用 WordPress 提供的 jQuery 库."
    86 
    87 #: wp-recentcomments.php:328
    88 msgid "Custom jQuery."
    89 msgstr "自定义 jQuery 库."
     81msgstr "使用插件自带的 JavaScript 库。"
    9082
    9183#: wp-recentcomments.php:331
     84msgid "Use jQuery library that is supported by WordPress."
     85msgstr "使用 WordPress 提供的 jQuery 库。"
     86
     87#: wp-recentcomments.php:336
     88msgid "Custom jQuery."
     89msgstr "自定义 jQuery 库。"
     90
     91#: wp-recentcomments.php:339
    9292msgid "Please input the URL of jQuery:"
    93 msgstr "请输入 jQuery 的文件地址:"
     93msgstr "请输入 jQuery 的文件地址"
    9494
    95 #: wp-recentcomments.php:338
     95#: wp-recentcomments.php:346
    9696msgid "Comment List"
    9797msgstr "评论列表"
    9898
    99 #: wp-recentcomments.php:341
     99#: wp-recentcomments.php:349
    100100msgid "comments per page."
    101 msgstr "条评论每页."
     101msgstr "条评论每页"
    102102
    103 #: wp-recentcomments.php:346
     103#: wp-recentcomments.php:354
    104104msgid "Show the comments from administrators."
    105 msgstr "显示管理员的评论."
     105msgstr "显示管理员的评论"
    106106
    107 #: wp-recentcomments.php:352
     107#: wp-recentcomments.php:360
    108108msgid "Show pingback and trackback comments."
    109 msgstr "显示 pingback 和 trackback 评论."
     109msgstr "显示 pingback 和 trackback 评论"
    110110
    111 #: wp-recentcomments.php:358
     111#: wp-recentcomments.php:366
    112112msgid "Show navigation bar."
    113 msgstr "显示导航栏."
     113msgstr "显示导航栏"
    114114
    115 #: wp-recentcomments.php:364
     115#: wp-recentcomments.php:372
    116116msgid "Comment Items"
    117117msgstr "评论条目"
    118118
    119 #: wp-recentcomments.php:367
     119#: wp-recentcomments.php:375
    120120msgid "characters per comment."
    121 msgstr "个字符每条评论."
     121msgstr "个字符每条评论"
    122122
    123 #: wp-recentcomments.php:372
     123#: wp-recentcomments.php:380
    124124msgid "Show post titles."
    125 msgstr "显示日志标题."
     125msgstr "显示日志标题"
    126126
    127 #: wp-recentcomments.php:378
     127#: wp-recentcomments.php:386
     128msgid "Show the expand button when mouse over excerpts."
     129msgstr "当鼠标滑过评论摘要时显示展开按钮。"
     130
     131#: wp-recentcomments.php:392
    128132msgid "Open external pages in a new tab/window."
    129 msgstr "在新标签或者新页面上打开外部链接."
     133msgstr "在新标签或者新页面上打开外部链接"
    130134
    131 #: wp-recentcomments.php:384
     135#: wp-recentcomments.php:398
    132136msgid "Show avatars on"
    133137msgstr "显示评论者头像在"
    134138
    135 #: wp-recentcomments.php:387
     139#: wp-recentcomments.php:401
    136140msgid "left"
    137141msgstr "左边"
    138142
    139 #: wp-recentcomments.php:388
     143#: wp-recentcomments.php:402
    140144msgid "right"
    141145msgstr "右边"
    142146
    143 #: wp-recentcomments.php:390
     147#: wp-recentcomments.php:404
    144148msgid ", size is"
    145 msgstr ", 大小为: "
    146 
    147 #: wp-recentcomments.php:392
    148 msgid "pixels"
    149 msgstr "象素."
    150 
    151 #: wp-recentcomments.php:397
    152 msgid "Show smilies as graphic icons."
    153 msgstr "显示笑脸图标."
     149msgstr ",大小为:"
    154150
    155151#: wp-recentcomments.php:406
     152msgid "pixels"
     153msgstr "像素。"
     154
     155#: wp-recentcomments.php:411
     156msgid "Show smilies as graphic icons."
     157msgstr "显示笑脸图标。"
     158
     159#: wp-recentcomments.php:420
    156160msgid "Save Changes"
    157161msgstr "保存更改"
    158162
    159 #: wp-recentcomments.php:432
     163#: wp-recentcomments.php:467
    160164msgid "%REVIEWER% on %POST%"
    161165msgstr "%REVIEWER% 在 %POST%"
    162166
    163 #: wp-recentcomments.php:434
     167#: wp-recentcomments.php:469
    164168msgid "No comments"
    165169msgstr "没有任何评论"
    166170
    167 #: wp-recentcomments.php:435
     171#: wp-recentcomments.php:470
    168172msgid "&laquo; Newest"
    169173msgstr "&laquo; 最新的"
    170174
    171 #: wp-recentcomments.php:436
     175#: wp-recentcomments.php:471
    172176msgid "&laquo; Newer"
    173177msgstr "&laquo; 上一页"
    174178
    175 #: wp-recentcomments.php:437
     179#: wp-recentcomments.php:472
    176180msgid "Older &raquo;"
    177181msgstr "下一页 &raquo;"
    178182
    179 #: wp-recentcomments.php:441
     183#: wp-recentcomments.php:477
    180184msgid "Anonymous"
    181185msgstr "匿名"
    182186
    183 #~ msgid "Show the expand button when mouse over excerpts."
    184 #~ msgstr "当鼠标滑过评论摘要时显示展开按钮."
  • wp-recentcomments/trunk/languages/wp-recentcomments-zh_TW.po

    r524790 r526512  
    33"Project-Id-Version: WP-RecentComments (zh_TW)\n"
    44"Report-Msgid-Bugs-To: \n"
    5 "POT-Creation-Date: 2012-03-28 23:44+0800\n"
     5"POT-Creation-Date: 2012-04-03 09:33+0800\n"
    66"PO-Revision-Date: \n"
    77"Last-Translator: neoease.com <wuzhao.mail@gmail.com>\n"
     
    1919#: wp-recentcomments.php:36
    2020#: wp-recentcomments.php:37
    21 #: wp-recentcomments.php:433
     21#: wp-recentcomments.php:468
    2222msgid "Loading"
    2323msgstr "正在載入"
     
    3737#: wp-recentcomments.php:127
    3838#: wp-recentcomments.php:128
    39 #: wp-recentcomments.php:256
     39#: wp-recentcomments.php:264
    4040msgid "WP-RecentComments"
    4141msgstr "最新迴響"
    4242
    43 #: wp-recentcomments.php:265
     43#: wp-recentcomments.php:273
    4444msgid "WP-RecentComments Options"
    4545msgstr "WP-RecentComments 選項"
    4646
    47 #: wp-recentcomments.php:270
     47#: wp-recentcomments.php:278
    4848msgid "Donation"
    4949msgstr "資助鼓勵"
    5050
    51 #: wp-recentcomments.php:272
     51#: wp-recentcomments.php:280
    5252msgid "If you like this plugin, please donate to support development and maintenance!"
    53 msgstr "如果你認為我做的這些對你來說是有價值的, 並鼓勵我進行更多開源和免費開發. 那你可以資助我, 就算是一杯咖啡..."
     53msgstr "如果你認為我做的這些對你來說是有價值的,並鼓勵我進行更多開源和免費開發。那你可以資助我, 就算是一杯咖啡…"
    5454
    55 #: wp-recentcomments.php:286
     55#: wp-recentcomments.php:294
    5656msgid "About Author"
    5757msgstr "關於作者"
    5858
    59 #: wp-recentcomments.php:289
     59#: wp-recentcomments.php:297
    6060msgid "Author Blog"
    6161msgstr "作者的部落格"
    6262
    63 #: wp-recentcomments.php:290
     63#: wp-recentcomments.php:298
    6464msgid "More Plugins"
    6565msgstr "更多外掛 "
    6666
    67 #: wp-recentcomments.php:304
     67#: wp-recentcomments.php:312
    6868msgid "CSS"
    6969msgstr ""
    7070
    71 #: wp-recentcomments.php:308
     71#: wp-recentcomments.php:316
    7272msgid "Use wp-recentcomments.css."
    7373msgstr "使用 wp-recentcomments.css。"
    7474
    75 #: wp-recentcomments.php:314
     75#: wp-recentcomments.php:322
    7676msgid "JavaScript Library"
    7777msgstr "JavaScript Library"
    7878
    79 #: wp-recentcomments.php:318
     79#: wp-recentcomments.php:326
    8080msgid "Use normal JavaScript library that is supported by this plugin."
    8181msgstr "使用外掛內建的 JavaScript Library。"
    8282
    83 #: wp-recentcomments.php:323
     83#: wp-recentcomments.php:331
    8484msgid "Use jQuery library that is supported by WordPress."
    8585msgstr "使用 WordPress 提供的 jQuery。"
    8686
    87 #: wp-recentcomments.php:328
     87#: wp-recentcomments.php:336
    8888msgid "Custom jQuery."
    8989msgstr "自訂 jQuery。"
    9090
    91 #: wp-recentcomments.php:331
     91#: wp-recentcomments.php:339
    9292msgid "Please input the URL of jQuery:"
    9393msgstr "請輸入 jQuery 檔案位址:"
    9494
    95 #: wp-recentcomments.php:338
     95#: wp-recentcomments.php:346
    9696msgid "Comment List"
    9797msgstr "迴響列表"
    9898
    99 #: wp-recentcomments.php:341
     99#: wp-recentcomments.php:349
    100100msgid "comments per page."
    101101msgstr "則迴響每頁。"
    102102
    103 #: wp-recentcomments.php:346
     103#: wp-recentcomments.php:354
    104104msgid "Show the comments from administrators."
    105105msgstr "顯示管理員的迴響。"
    106106
    107 #: wp-recentcomments.php:352
     107#: wp-recentcomments.php:360
    108108msgid "Show pingback and trackback comments."
    109109msgstr "顯示 pingback 和 trackback 迴響。"
    110110
    111 #: wp-recentcomments.php:358
     111#: wp-recentcomments.php:366
    112112msgid "Show navigation bar."
    113113msgstr "顯示導航欄。"
    114114
    115 #: wp-recentcomments.php:364
     115#: wp-recentcomments.php:372
    116116msgid "Comment Items"
    117117msgstr "迴響條目"
    118118
    119 #: wp-recentcomments.php:367
     119#: wp-recentcomments.php:375
    120120msgid "characters per comment."
    121121msgstr "個字符每天迴響。"
    122122
    123 #: wp-recentcomments.php:372
     123#: wp-recentcomments.php:380
    124124msgid "Show post titles."
    125125msgstr "顯示文章標題。"
    126126
    127 #: wp-recentcomments.php:378
     127#: wp-recentcomments.php:386
     128msgid "Show the expand button when mouse over excerpts."
     129msgstr "當滑鼠經過迴響時顯示彈開按鈕。"
     130
     131#: wp-recentcomments.php:392
    128132msgid "Open external pages in a new tab/window."
    129133msgstr "在新窗體或者新頁面上打開外部連結。"
    130134
    131 #: wp-recentcomments.php:384
     135#: wp-recentcomments.php:398
    132136msgid "Show avatars on"
    133137msgstr "顯示留言者頭像在"
    134138
    135 #: wp-recentcomments.php:387
     139#: wp-recentcomments.php:401
    136140msgid "left"
    137141msgstr "左邊"
    138142
    139 #: wp-recentcomments.php:388
     143#: wp-recentcomments.php:402
    140144msgid "right"
    141145msgstr "右邊"
    142146
    143 #: wp-recentcomments.php:390
     147#: wp-recentcomments.php:404
    144148msgid ", size is"
    145149msgstr ",尺寸是:"
    146150
    147 #: wp-recentcomments.php:392
     151#: wp-recentcomments.php:406
    148152msgid "pixels"
    149153msgstr "像素。"
    150154
    151 #: wp-recentcomments.php:397
     155#: wp-recentcomments.php:411
    152156msgid "Show smilies as graphic icons."
    153157msgstr "顯示表情圖形。"
    154158
    155 #: wp-recentcomments.php:406
     159#: wp-recentcomments.php:420
    156160msgid "Save Changes"
    157161msgstr "儲存變更"
    158162
    159 #: wp-recentcomments.php:432
     163#: wp-recentcomments.php:467
    160164msgid "%REVIEWER% on %POST%"
    161165msgstr "%REVIEWER% 在 %POST%"
    162166
    163 #: wp-recentcomments.php:434
     167#: wp-recentcomments.php:469
    164168msgid "No comments"
    165169msgstr "沒有任何迴響"
    166170
    167 #: wp-recentcomments.php:435
     171#: wp-recentcomments.php:470
    168172msgid "&laquo; Newest"
    169173msgstr "&laquo; 最新的"
    170174
    171 #: wp-recentcomments.php:436
     175#: wp-recentcomments.php:471
    172176msgid "&laquo; Newer"
    173177msgstr "&laquo; 上一頁"
    174178
    175 #: wp-recentcomments.php:437
     179#: wp-recentcomments.php:472
    176180msgid "Older &raquo;"
    177181msgstr "下一頁 &raquo;"
    178182
    179 #: wp-recentcomments.php:441
     183#: wp-recentcomments.php:477
    180184msgid "Anonymous"
    181185msgstr "匿名"
    182186
    183 #~ msgid "Show the expand button when mouse over excerpts."
    184 #~ msgstr "當滑鼠經過迴響時顯示彈開按鈕。"
  • wp-recentcomments/trunk/languages/wp-recentcomments.po

    r524790 r526512  
    33"Project-Id-Version: WP-RecentComments 1.7\n"
    44"Report-Msgid-Bugs-To: \n"
    5 "POT-Creation-Date: 2012-03-28 23:48+0800\n"
     5"POT-Creation-Date: 2012-04-03 09:32+0800\n"
    66"PO-Revision-Date: \n"
    77"Last-Translator: neoease.com <wuzhao.mail@gmail.com>\n"
     
    1919#: wp-recentcomments.php:36
    2020#: wp-recentcomments.php:37
    21 #: wp-recentcomments.php:433
     21#: wp-recentcomments.php:468
    2222msgid "Loading"
    2323msgstr ""
     
    3737#: wp-recentcomments.php:127
    3838#: wp-recentcomments.php:128
    39 #: wp-recentcomments.php:256
     39#: wp-recentcomments.php:264
    4040msgid "WP-RecentComments"
    4141msgstr ""
    4242
    43 #: wp-recentcomments.php:265
     43#: wp-recentcomments.php:273
    4444msgid "WP-RecentComments Options"
    4545msgstr ""
    4646
    47 #: wp-recentcomments.php:270
     47#: wp-recentcomments.php:278
    4848msgid "Donation"
    4949msgstr ""
    5050
    51 #: wp-recentcomments.php:272
     51#: wp-recentcomments.php:280
    5252msgid "If you like this plugin, please donate to support development and maintenance!"
    5353msgstr ""
    5454
    55 #: wp-recentcomments.php:286
     55#: wp-recentcomments.php:294
    5656msgid "About Author"
    5757msgstr ""
    5858
    59 #: wp-recentcomments.php:289
     59#: wp-recentcomments.php:297
    6060msgid "Author Blog"
    6161msgstr ""
    6262
    63 #: wp-recentcomments.php:290
     63#: wp-recentcomments.php:298
    6464msgid "More Plugins"
    6565msgstr ""
    6666
    67 #: wp-recentcomments.php:304
     67#: wp-recentcomments.php:312
    6868msgid "CSS"
    6969msgstr ""
    7070
    71 #: wp-recentcomments.php:308
     71#: wp-recentcomments.php:316
    7272msgid "Use wp-recentcomments.css."
    7373msgstr ""
    7474
    75 #: wp-recentcomments.php:314
     75#: wp-recentcomments.php:322
    7676msgid "JavaScript Library"
    7777msgstr ""
    7878
    79 #: wp-recentcomments.php:318
     79#: wp-recentcomments.php:326
    8080msgid "Use normal JavaScript library that is supported by this plugin."
    8181msgstr ""
    8282
    83 #: wp-recentcomments.php:323
     83#: wp-recentcomments.php:331
    8484msgid "Use jQuery library that is supported by WordPress."
    8585msgstr ""
    8686
    87 #: wp-recentcomments.php:328
     87#: wp-recentcomments.php:336
    8888msgid "Custom jQuery."
    8989msgstr ""
    9090
    91 #: wp-recentcomments.php:331
     91#: wp-recentcomments.php:339
    9292msgid "Please input the URL of jQuery:"
    9393msgstr ""
    9494
    95 #: wp-recentcomments.php:338
     95#: wp-recentcomments.php:346
    9696msgid "Comment List"
    9797msgstr ""
    9898
    99 #: wp-recentcomments.php:341
     99#: wp-recentcomments.php:349
    100100msgid "comments per page."
    101101msgstr ""
    102102
    103 #: wp-recentcomments.php:346
     103#: wp-recentcomments.php:354
    104104msgid "Show the comments from administrators."
    105105msgstr ""
    106106
    107 #: wp-recentcomments.php:352
     107#: wp-recentcomments.php:360
    108108msgid "Show pingback and trackback comments."
    109109msgstr ""
    110110
    111 #: wp-recentcomments.php:358
     111#: wp-recentcomments.php:366
    112112msgid "Show navigation bar."
    113113msgstr ""
    114114
    115 #: wp-recentcomments.php:364
     115#: wp-recentcomments.php:372
    116116msgid "Comment Items"
    117117msgstr ""
    118118
    119 #: wp-recentcomments.php:367
     119#: wp-recentcomments.php:375
    120120msgid "characters per comment."
    121121msgstr ""
    122122
    123 #: wp-recentcomments.php:372
     123#: wp-recentcomments.php:380
    124124msgid "Show post titles."
    125125msgstr ""
    126126
    127 #: wp-recentcomments.php:378
     127#: wp-recentcomments.php:386
     128msgid "Show the expand button when mouse over excerpts."
     129msgstr ""
     130
     131#: wp-recentcomments.php:392
    128132msgid "Open external pages in a new tab/window."
    129133msgstr ""
    130134
    131 #: wp-recentcomments.php:384
     135#: wp-recentcomments.php:398
    132136msgid "Show avatars on"
    133137msgstr ""
    134138
    135 #: wp-recentcomments.php:387
     139#: wp-recentcomments.php:401
    136140msgid "left"
    137141msgstr ""
    138142
    139 #: wp-recentcomments.php:388
     143#: wp-recentcomments.php:402
    140144msgid "right"
    141145msgstr ""
    142146
    143 #: wp-recentcomments.php:390
     147#: wp-recentcomments.php:404
    144148msgid ", size is"
    145149msgstr ""
    146150
    147 #: wp-recentcomments.php:392
     151#: wp-recentcomments.php:406
    148152msgid "pixels"
    149153msgstr ""
    150154
    151 #: wp-recentcomments.php:397
     155#: wp-recentcomments.php:411
    152156msgid "Show smilies as graphic icons."
    153157msgstr ""
    154158
    155 #: wp-recentcomments.php:406
     159#: wp-recentcomments.php:420
    156160msgid "Save Changes"
    157161msgstr ""
    158162
    159 #: wp-recentcomments.php:432
     163#: wp-recentcomments.php:467
    160164msgid "%REVIEWER% on %POST%"
    161165msgstr ""
    162166
    163 #: wp-recentcomments.php:434
     167#: wp-recentcomments.php:469
    164168msgid "No comments"
    165169msgstr ""
    166170
    167 #: wp-recentcomments.php:435
     171#: wp-recentcomments.php:470
    168172msgid "&laquo; Newest"
    169173msgstr ""
    170174
    171 #: wp-recentcomments.php:436
     175#: wp-recentcomments.php:471
    172176msgid "&laquo; Newer"
    173177msgstr ""
    174178
    175 #: wp-recentcomments.php:437
     179#: wp-recentcomments.php:472
    176180msgid "Older &raquo;"
    177181msgstr ""
    178182
    179 #: wp-recentcomments.php:441
     183#: wp-recentcomments.php:477
    180184msgid "Anonymous"
    181185msgstr ""
  • wp-recentcomments/trunk/wp-recentcomments.php

    r524790 r526512  
    44Plugin URI: http://www.neoease.com/plugins/
    55Plugin Description: Show the recent comments in your WordPress sidebar.
    6 Version: 2.1
     6Version: 2.1.1
    77Author: mg12
    88Author URI: http://www.neoease.com/
     
    153153            $options['admin']           = true;
    154154            $options['smilies']         = true;
     155            $options['content']         = true;
    155156            $options['external']            = true;
    156157
     
    239240            } else {
    240241                $options['smilies'] = (bool)true;
     242            }
     243
     244            // content
     245            if(!$_POST['content']) {
     246                $options['content'] = (bool)false;
     247            } else {
     248                $options['content'] = (bool)true;
    241249            }
    242250
     
    371379                            <input name="post" type="checkbox" <?php if($options['post']) echo 'checked="checked"'; ?> />
    372380                             <?php _e('Show post titles.', 'wp-recentcomments'); ?>
     381                        </label>
     382
     383                         <br />
     384                        <label>
     385                            <input name="content" type="checkbox" <?php if($options['content']) echo 'checked="checked"'; ?> />
     386                             <?php _e('Show the expand button when mouse over excerpts.', 'wp-recentcomments'); ?>
    373387                        </label>
    374388
     
    436450    newerText       :'<?php _e('&laquo; Newer', 'wp-recentcomments'); ?>',
    437451    olderText       :'<?php _e('Older &raquo;', 'wp-recentcomments'); ?>',
     452    showContent     :'<?php echo $options['content']; ?>',
    438453    external        :'<?php echo $options['external']; ?>',
    439454    avatarSize      :'<?php echo $options['avatar_size']; ?>',
     
    450465function load_static() {
    451466    $options = get_option('wp_recentcomments_options');
    452     $plugins_version = '2.0.6';
     467    $plugins_version = '2.1.1';
    453468    $plugins_url = plugins_url('wp-recentcomments');
    454469    $plugins_css_url = $plugins_url . '/css';
Note: See TracChangeset for help on using the changeset viewer.