Dotclear

Changeset 2104


Ignore:
Timestamp:
03/07/10 16:16:15 (14 years ago)
Author:
JcDenis
Message:

rateIt 1.1:

  • Fixed bug for votes without javascript
Location:
plugins/rateIt
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • plugins/rateIt/_admin.php

    r2037 r2104  
    5151          if ($core->blog->settings->rateit_active  
    5252           && $core->auth->check('delete,contentadmin',$core->blog->id)) { 
    53                $args[0][__('delete rating')] = 'rateit_empty'; 
     53               $args[0][__('Rate it')][__('delete rating')] = 'rateit_empty'; 
    5454          } 
    5555     } 
  • plugins/rateIt/_define.php

    r2040 r2104  
    1717     /* Description*/         "Rating system for your blogs", 
    1818     /* Author */             "JC Denis", 
    19      /* Version */            '1.0', 
     19     /* Version */            '1.1', 
    2020     /* Permissions */        'admin' 
    2121); 
    22      /* date */          #20100131 
     22     /* date */          #20100307 
    2323?> 
  • plugins/rateIt/_public.php

    r2040 r2104  
    107107          } 
    108108 
    109           if ($type='post') { 
     109          if ($type=='post') { 
    110110               $post = $core->blog->getPosts(array('post_id'=>$id,'no_content'=>1)); 
    111111               if ($post->post_id) { 
     
    115115          } 
    116116 
    117           if ($type='comment') { 
     117          if ($type=='comment') { 
    118118               $comment = $core->blog->getComments($id); 
    119119               if ($comment->comment_id) { 
     
    123123          } 
    124124 
    125           if ($type='category') { 
     125          if ($type=='category') { 
    126126               $cat = $core->blog->getCategory($id); 
    127127               if ($cat->cat_id) { 
     
    131131          } 
    132132 
    133           if ($type='tag') { 
     133          if ($type=='tag') { 
    134134               $objMeta = new dcMeta($core); 
    135135               $metas = $objMeta->getMeta('tag',null,$id); 
     
    140140          } 
    141141 
    142           if ($type='gal') { 
     142          if ($type=='gal') { 
    143143               $gal = $core->blog->getPost(array('post_id'=>$id,'no_content'=>true)); 
    144144               if ($gal->cat_id) { 
     
    148148          } 
    149149 
    150           if ($type='galitem') { 
     150          if ($type=='galitem') { 
    151151               $gal = $core->blog->getPost(array('post_id'=>$id,'no_content'=>true)); 
    152152               if ($gal->cat_id) { 
  • plugins/rateIt/release.txt

    r2040 r2104  
    22 - Not added ability to explode post type rating in subcategories 
    33 - Not added other styles of rate (I love /I d'ont love) 
     4 
     51.1 20100307 
     6 * Fixed bug for votes without javascript 
    47 
    581.0 20100131 
Note: See TracChangeset for help on using the changeset viewer.

Sites map