Changeset 2104
- Timestamp:
- 03/07/10 16:16:15 (14 years ago)
- Location:
- plugins/rateIt
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/rateIt/_admin.php
r2037 r2104 51 51 if ($core->blog->settings->rateit_active 52 52 && $core->auth->check('delete,contentadmin',$core->blog->id)) { 53 $args[0][__(' delete rating')] = 'rateit_empty';53 $args[0][__('Rate it')][__('delete rating')] = 'rateit_empty'; 54 54 } 55 55 } -
plugins/rateIt/_define.php
r2040 r2104 17 17 /* Description*/ "Rating system for your blogs", 18 18 /* Author */ "JC Denis", 19 /* Version */ '1. 0',19 /* Version */ '1.1', 20 20 /* Permissions */ 'admin' 21 21 ); 22 /* date */ #20100 13122 /* date */ #20100307 23 23 ?> -
plugins/rateIt/_public.php
r2040 r2104 107 107 } 108 108 109 if ($type= 'post') {109 if ($type=='post') { 110 110 $post = $core->blog->getPosts(array('post_id'=>$id,'no_content'=>1)); 111 111 if ($post->post_id) { … … 115 115 } 116 116 117 if ($type= 'comment') {117 if ($type=='comment') { 118 118 $comment = $core->blog->getComments($id); 119 119 if ($comment->comment_id) { … … 123 123 } 124 124 125 if ($type= 'category') {125 if ($type=='category') { 126 126 $cat = $core->blog->getCategory($id); 127 127 if ($cat->cat_id) { … … 131 131 } 132 132 133 if ($type= 'tag') {133 if ($type=='tag') { 134 134 $objMeta = new dcMeta($core); 135 135 $metas = $objMeta->getMeta('tag',null,$id); … … 140 140 } 141 141 142 if ($type= 'gal') {142 if ($type=='gal') { 143 143 $gal = $core->blog->getPost(array('post_id'=>$id,'no_content'=>true)); 144 144 if ($gal->cat_id) { … … 148 148 } 149 149 150 if ($type= 'galitem') {150 if ($type=='galitem') { 151 151 $gal = $core->blog->getPost(array('post_id'=>$id,'no_content'=>true)); 152 152 if ($gal->cat_id) { -
plugins/rateIt/release.txt
r2040 r2104 2 2 - Not added ability to explode post type rating in subcategories 3 3 - Not added other styles of rate (I love /I d'ont love) 4 5 1.1 20100307 6 * Fixed bug for votes without javascript 4 7 5 8 1.0 20100131
Note: See TracChangeset
for help on using the changeset viewer.