Changeset 3354287
- Timestamp:
- 09/01/2025 11:29:43 PM (6 months ago)
- Location:
- foodle-for-democracy-poll
- Files:
-
- 70 added
- 4 edited
-
tags/2.5.23.5 (added)
-
tags/2.5.23.5/foodle-archive-do-not-show-shortcode.php (added)
-
tags/2.5.23.5/foodle-comments-shortcode.php (added)
-
tags/2.5.23.5/foodle-create-ics-shortcode.php (added)
-
tags/2.5.23.5/foodle-database-check-shortcode.php (added)
-
tags/2.5.23.5/foodle-display-on-for-roles-shortcode.php (added)
-
tags/2.5.23.5/foodle-extra-fields.php (added)
-
tags/2.5.23.5/foodle-foodle-shortcode.php (added)
-
tags/2.5.23.5/foodle-for-democracy-poll.php (added)
-
tags/2.5.23.5/foodle-link-democracy-shortcode.php (added)
-
tags/2.5.23.5/foodle-poll-bar-graph-shortcode.php (added)
-
tags/2.5.23.5/foodle-send-reminder.php (added)
-
tags/2.5.23.5/foodle-tips.php (added)
-
tags/2.5.23.5/img (added)
-
tags/2.5.23.5/img/PayPal-Logo-2019-kl.jpg (added)
-
tags/2.5.23.5/img/calendar-pic.png (added)
-
tags/2.5.23.5/img/comments__no.png (added)
-
tags/2.5.23.5/img/comments__no_wemail.png (added)
-
tags/2.5.23.5/img/comments__yes.png (added)
-
tags/2.5.23.5/img/comments__yes_wemail.png (added)
-
tags/2.5.23.5/img/copy.png (added)
-
tags/2.5.23.5/img/delete.png (added)
-
tags/2.5.23.5/img/delete_all.png (added)
-
tags/2.5.23.5/img/democracy-edit-new-02.png (added)
-
tags/2.5.23.5/img/draggable.png (added)
-
tags/2.5.23.5/img/edit.png (added)
-
tags/2.5.23.5/img/email-notification.png (added)
-
tags/2.5.23.5/img/foodle.png (added)
-
tags/2.5.23.5/img/foodle_parameters_not_fully_saved.png (added)
-
tags/2.5.23.5/img/insert after.png (added)
-
tags/2.5.23.5/img/insert before.png (added)
-
tags/2.5.23.5/img/link.png (added)
-
tags/2.5.23.5/img/loader.gif (added)
-
tags/2.5.23.5/img/loader.svg (added)
-
tags/2.5.23.5/img/lock-open-red-22x30.png (added)
-
tags/2.5.23.5/img/move.png (added)
-
tags/2.5.23.5/img/move_sm.png (added)
-
tags/2.5.23.5/img/nobody_to_vote.png (added)
-
tags/2.5.23.5/img/not_voted_yet.png (added)
-
tags/2.5.23.5/img/refresh.png (added)
-
tags/2.5.23.5/img/same_wlan_no.png (added)
-
tags/2.5.23.5/img/same_wlan_ok.png (added)
-
tags/2.5.23.5/img/tick_1.png (added)
-
tags/2.5.23.5/img/under_construction.png (added)
-
tags/2.5.23.5/img/votes_complete.png (added)
-
tags/2.5.23.5/img/votes_error.png (added)
-
tags/2.5.23.5/index.php (added)
-
tags/2.5.23.5/js (added)
-
tags/2.5.23.5/js/foodle_auto_sortlist_ajax_file.js (added)
-
tags/2.5.23.5/js/foodle_bar_graph_animate.js (added)
-
tags/2.5.23.5/js/foodle_comments_ajax_file.js (added)
-
tags/2.5.23.5/js/foodle_comments_tooltips.js (added)
-
tags/2.5.23.5/js/foodle_email_ajax_file.js (added)
-
tags/2.5.23.5/js/foodle_jquery.ui.touch-punch.js (added)
-
tags/2.5.23.5/js/foodle_non_voters_ajax_file.js (added)
-
tags/2.5.23.5/js/foodle_non_voters_tooltips.js (added)
-
tags/2.5.23.5/js/foodle_radio.js (added)
-
tags/2.5.23.5/js/foodle_smoothscroll.js (added)
-
tags/2.5.23.5/js/foodle_tooltips.js (added)
-
tags/2.5.23.5/js/foodle_update_sort_ajax_file.js (added)
-
tags/2.5.23.5/languages (added)
-
tags/2.5.23.5/languages/foodle-for-democracy-poll-de_DE.l10n.php (added)
-
tags/2.5.23.5/languages/foodle-for-democracy-poll-de_DE.mo (added)
-
tags/2.5.23.5/languages/foodle-for-democracy-poll-de_DE.po (added)
-
tags/2.5.23.5/languages/foodle-for-democracy-poll.pot (added)
-
tags/2.5.23.5/readme.txt (added)
-
tags/2.5.23.5/styles (added)
-
tags/2.5.23.5/styles/foodle-for-democracy-poll-back-end.css (added)
-
tags/2.5.23.5/styles/foodle-for-democracy-poll-front-end.css (added)
-
tags/2.5.23.5/styles/foodle-tooltips.css (added)
-
trunk/foodle-foodle-shortcode.php (modified) (2 diffs)
-
trunk/foodle-for-democracy-poll.php (modified) (2 diffs)
-
trunk/js/foodle_radio.js (modified) (3 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
foodle-for-democracy-poll/trunk/foodle-foodle-shortcode.php
r3183923 r3354287 3 3 * Author: Michael Finkenberger 4 4 * @since V1.0.0.0 (file separation @since V1.5.1.0) 5 * Last change in plugin version: V2.5.2 1.1 (The comments column has now an equal column width and answerlist format has been improved related to comments and in 2.5.21.1., contribution was introduced for the protected spaces in sort lists)6 * Date: 0 7.11.20245 * Last change in plugin version: V2.5.23.5 (The comments column has now an equal column width and answerlist format has been improved related to comments, in 2.5.21.1.: contribution was introduced for the protected spaces in sort lists and in 2.5.23.5: line 110) 6 * Date: 02.09.2025 7 7 * Tested with the latest plugin version 8 8 */ … … 107 107 } else if ( ! $ajax ) { 108 108 $dem_id = $dem_id; // Poll ID submitted through shortcode like id="x" stays what it is, just to be complete for better understanding 109 $foodle_private_token = mt_rand(1000000000, 1999999999).$dem_id; // a new one 109 $foodle_private_token = mt_rand(1000000000, 1999999999). $dem_id; // a new one 110 //$foodle_private_token = substr(preg_replace("/[^0-9]/", "", hash('md5',$dem_id)),0,10). $dem_id; // a new one 110 111 } 111 112 -
foodle-for-democracy-poll/trunk/foodle-for-democracy-poll.php
r3336208 r3354287 17 17 * Licence: GPLv2 or later 18 18 * 19 * Version: 2.5.23. 420 * Date: 29.07.202519 * Version: 2.5.23.5 20 * Date: 02.09.2025 21 21 */ 22 22 … … 25 25 if(!defined('ABSPATH')) die(); // no direct access 26 26 27 const FOODLE_VERSION = '2.5.23. 4';27 const FOODLE_VERSION = '2.5.23.5'; 28 28 global $foodle_title; // just the administrator's choice 29 29 global $foodle_admin_menu_color; // color value -
foodle-for-democracy-poll/trunk/js/foodle_radio.js
r3016871 r3354287 2 2 * Author: Michael Finkenberger 3 3 * @since V1.1.0.0 4 * Last change in plugin version: V 1.1.0.05 * Date: 14.04.20214 * Last change in plugin version: V2.5.23.5 5 * Date: 02.09.2025 6 6 * Tested with the latest plugin version 7 7 */ … … 35 35 36 36 function foodle_change_demCollectAnsw () { 37 $.fn.demCollectAnsw = function(){ 38 var $ = jQuery; 37 jQuery.fn.demCollectAnsw = function(){ 39 38 var $form = this.closest( "form" ) 40 39 var $answers = $form.find( "[type=checkbox],[type=radio],[type=text]" ) 41 var userText = $form.find( "[type=text]" ).val() // changed from original '$form.find( userAnswer ).val()'40 var userText = $form.find( "[type=text]" ).val() // changed from original '$form.find( userAnswer ).val()' 42 41 var answ = [] 43 42 var $checkbox = $answers.filter( "[type=checkbox]:checked" ) … … 46 45 if( $checkbox.length > 0 ){ 47 46 $checkbox.each( function(){ 48 answ.push( $( this ).val() )47 answ.push( jQuery( this ).val() ) 49 48 } ) 50 // and mixed // added to original for mixed polls51 var str = $answers.filter( "[type=radio]:checked" ) // added to original for mixed polls52 if( str.length ) // added to original for mixed polls53 answ.push( str.val() ) // added to original for mixed polls49 // and mixed // added to original for mixed polls 50 var $str = $answers.filter( "[type=radio]:checked" ) // added to original for mixed polls 51 if( $str.length ) // added to original for mixed polls 52 answ.push( $str.val() ) // added to original for mixed polls 54 53 } 55 54 // single 56 55 else { 57 var str = $answers.filter( "[type=radio]:checked" )58 if( str.length )59 answ.push( str.val() )56 var $str = $answers.filter( "[type=radio]:checked" ) // added $ to original for mixed polls 57 if( $str.length ) // added $ to original for mixed polls 58 answ.push( $str.val() ) // added $ to original for mixed polls 60 59 } 61 60 -
foodle-for-democracy-poll/trunk/readme.txt
r3336208 r3354287 6 6 Tested up to: 6.8 7 7 Requires PHP: 7.4 8 Stable tag: 2.5.23. 48 Stable tag: 2.5.23.5 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 163 163 == Changelog == 164 164 165 = 2.5.23.5 = 166 * (Tweak) Some stability improvements in order to ensure a sustainable collaboration with the latest version of Democracy Poll. 167 165 168 = 2.5.23.4 = 166 169 * (Tweak) In the Foodle settings, the default content for Democracy Poll's textarea can now contain basic HTML code, limited like in WordPress posts.
Note: See TracChangeset
for help on using the changeset viewer.