Changeset 124663
- Timestamp:
- 06/11/2009 09:22:38 AM (17 years ago)
- Location:
- emo-vote
- Files:
-
- 8 edited
- 1 copied
-
tags/1.2.1 (copied) (copied from emo-vote/trunk)
-
tags/1.2.1/emo-vote-admin.js (modified) (2 diffs)
-
tags/1.2.1/emo-vote-user.js (modified) (4 diffs)
-
tags/1.2.1/emo-vote.php (modified) (1 diff)
-
tags/1.2.1/readme.txt (modified) (1 diff)
-
trunk/emo-vote-admin.js (modified) (2 diffs)
-
trunk/emo-vote-user.js (modified) (4 diffs)
-
trunk/emo-vote.php (modified) (1 diff)
-
trunk/readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
emo-vote/tags/1.2.1/emo-vote-admin.js
r120395 r124663 11 11 12 12 for(var i = 0; i < arr.length; i++) { 13 str += arr[i].substr(11)+':'+jQuery('input[ @name='+arr[i]+']').val();13 str += arr[i].substr(11)+':'+jQuery('input[name='+arr[i]+']').val(); 14 14 if(i < arr.length - 1) { str += '#'; } 15 15 } 16 jQuery('input[ @id=emo_options_titles]').val(str);16 jQuery('input[id=emo_options_titles]').val(str); 17 17 } 18 18 jQuery('#emo_add').click(function() { 19 19 if(jQuery('li.emo_titles_field').length < 5) { 20 20 for(i = 0; i < 5; i++) { 21 if(!jQuery('li[ @id=emo_titles-'+i+']').length) {21 if(!jQuery('li[id=emo_titles-'+i+']').length) { 22 22 var k = i; 23 23 break; … … 34 34 jQuery('.emo-delete').livequery('click',function() { 35 35 var id = jQuery(this).attr('id'); 36 jQuery('li[ @id='+id+']').remove();36 jQuery('li[id='+id+']').remove(); 37 37 return false; 38 38 }); 39 jQuery('input[ @id=emo_options_submit]').click(function() {39 jQuery('input[id=emo_options_submit]').click(function() { 40 40 update(); 41 41 return true; -
emo-vote/tags/1.2.1/emo-vote-user.js
r120395 r124663 105 105 106 106 if(option) 107 jQuery('.emo-vote input[ @name=emo_vote-'+option+']').click();107 jQuery('.emo-vote input[name=emo_vote-'+option+']').click(); 108 108 }); 109 109 return; … … 118 118 119 119 jQuery(document).ready(function() { 120 jQuery('.emo-vote input[ @type=checkbox]').checkbox({120 jQuery('.emo-vote input[type=checkbox]').checkbox({ 121 121 cls: 'jquery-checkbox', 122 122 empty: jQuery('input.emo_url').val()+'images/empty.png' … … 127 127 var option = jQuery(this).attr('class').substr(9),post = jQuery(this).parent().attr('id').substr(9); 128 128 129 jQuery('#emo-vote_'+post+' input[ @type=checkbox]').attr('disabled',true);129 jQuery('#emo-vote_'+post+' input[type=checkbox]').attr('disabled',true); 130 130 jQuery(this).attr('checked',true); 131 131 … … 139 139 140 140 for(; i < 5; i++) { 141 if(jQuery('#emo-vote_'+post+' input[ @name=emo_vote-'+i+']').length > 0) {141 if(jQuery('#emo-vote_'+post+' input[name=emo_vote-'+i+']').length > 0) { 142 142 jQuery('#emo-vote_'+post+' span.emo_vote-'+i).html('('+j.response.numbers['vote_'+i]+')'); 143 143 } -
emo-vote/tags/1.2.1/emo-vote.php
r120399 r124663 5 5 Donate link: http://emo.vote.nu/donate/ 6 6 Description: Encourage your users by letting them express their feelings by "emoting" rather than voting. 7 Version: 1.2 7 Version: 1.2.1 8 8 Author: Anton Lindqvist 9 9 Author URI: http://qvister.se -
emo-vote/tags/1.2.1/readme.txt
r120395 r124663 3 3 Donate link: http://emo.vote.nu/donate/ 4 4 Tags: emo, vote, plugin 5 Requires at least: 2. 76 Tested up to: 2. 7.17 Stable tag: 1.2 5 Requires at least: 2.8 6 Tested up to: 2.8 7 Stable tag: 1.2.1 8 8 9 9 Encourage your users by letting them express their feelings by "emoting" rather than voting. -
emo-vote/trunk/emo-vote-admin.js
r120395 r124663 11 11 12 12 for(var i = 0; i < arr.length; i++) { 13 str += arr[i].substr(11)+':'+jQuery('input[ @name='+arr[i]+']').val();13 str += arr[i].substr(11)+':'+jQuery('input[name='+arr[i]+']').val(); 14 14 if(i < arr.length - 1) { str += '#'; } 15 15 } 16 jQuery('input[ @id=emo_options_titles]').val(str);16 jQuery('input[id=emo_options_titles]').val(str); 17 17 } 18 18 jQuery('#emo_add').click(function() { 19 19 if(jQuery('li.emo_titles_field').length < 5) { 20 20 for(i = 0; i < 5; i++) { 21 if(!jQuery('li[ @id=emo_titles-'+i+']').length) {21 if(!jQuery('li[id=emo_titles-'+i+']').length) { 22 22 var k = i; 23 23 break; … … 34 34 jQuery('.emo-delete').livequery('click',function() { 35 35 var id = jQuery(this).attr('id'); 36 jQuery('li[ @id='+id+']').remove();36 jQuery('li[id='+id+']').remove(); 37 37 return false; 38 38 }); 39 jQuery('input[ @id=emo_options_submit]').click(function() {39 jQuery('input[id=emo_options_submit]').click(function() { 40 40 update(); 41 41 return true; -
emo-vote/trunk/emo-vote-user.js
r120395 r124663 105 105 106 106 if(option) 107 jQuery('.emo-vote input[ @name=emo_vote-'+option+']').click();107 jQuery('.emo-vote input[name=emo_vote-'+option+']').click(); 108 108 }); 109 109 return; … … 118 118 119 119 jQuery(document).ready(function() { 120 jQuery('.emo-vote input[ @type=checkbox]').checkbox({120 jQuery('.emo-vote input[type=checkbox]').checkbox({ 121 121 cls: 'jquery-checkbox', 122 122 empty: jQuery('input.emo_url').val()+'images/empty.png' … … 127 127 var option = jQuery(this).attr('class').substr(9),post = jQuery(this).parent().attr('id').substr(9); 128 128 129 jQuery('#emo-vote_'+post+' input[ @type=checkbox]').attr('disabled',true);129 jQuery('#emo-vote_'+post+' input[type=checkbox]').attr('disabled',true); 130 130 jQuery(this).attr('checked',true); 131 131 … … 139 139 140 140 for(; i < 5; i++) { 141 if(jQuery('#emo-vote_'+post+' input[ @name=emo_vote-'+i+']').length > 0) {141 if(jQuery('#emo-vote_'+post+' input[name=emo_vote-'+i+']').length > 0) { 142 142 jQuery('#emo-vote_'+post+' span.emo_vote-'+i).html('('+j.response.numbers['vote_'+i]+')'); 143 143 } -
emo-vote/trunk/emo-vote.php
r120399 r124663 5 5 Donate link: http://emo.vote.nu/donate/ 6 6 Description: Encourage your users by letting them express their feelings by "emoting" rather than voting. 7 Version: 1.2 7 Version: 1.2.1 8 8 Author: Anton Lindqvist 9 9 Author URI: http://qvister.se -
emo-vote/trunk/readme.txt
r120395 r124663 3 3 Donate link: http://emo.vote.nu/donate/ 4 4 Tags: emo, vote, plugin 5 Requires at least: 2. 76 Tested up to: 2. 7.17 Stable tag: 1.2 5 Requires at least: 2.8 6 Tested up to: 2.8 7 Stable tag: 1.2.1 8 8 9 9 Encourage your users by letting them express their feelings by "emoting" rather than voting.
Note: See TracChangeset
for help on using the changeset viewer.