Changeset 3277496
- Timestamp:
- 04/20/2025 08:37:20 AM (11 months ago)
- Location:
- joomsport-prediction
- Files:
-
- 86 added
- 1 deleted
- 6 edited
-
tags/3.0.4 (added)
-
tags/3.0.4/assets (added)
-
tags/3.0.4/assets/css (added)
-
tags/3.0.4/assets/css/common.css (added)
-
tags/3.0.4/assets/css/fonts (added)
-
tags/3.0.4/assets/css/fonts/untitled-font-1.eot (added)
-
tags/3.0.4/assets/css/fonts/untitled-font-1.svg (added)
-
tags/3.0.4/assets/css/fonts/untitled-font-1.ttf (added)
-
tags/3.0.4/assets/css/fonts/untitled-font-1.woff (added)
-
tags/3.0.4/assets/css/icons-reference.html (added)
-
tags/3.0.4/assets/css/iconstyles.css (added)
-
tags/3.0.4/assets/images (added)
-
tags/3.0.4/assets/js (added)
-
tags/3.0.4/assets/js/common.js (added)
-
tags/3.0.4/assets/js/validate.js (added)
-
tags/3.0.4/includes (added)
-
tags/3.0.4/includes/joomsport-prediction-actions.php (added)
-
tags/3.0.4/includes/joomsport-prediction-admin-install.php (added)
-
tags/3.0.4/includes/joomsport-prediction-ajax-actions.php (added)
-
tags/3.0.4/includes/joomsport-prediction-delete.php (added)
-
tags/3.0.4/includes/joomsport-prediction-functions.php (added)
-
tags/3.0.4/includes/joomsport-prediction-permalink.php (added)
-
tags/3.0.4/includes/joomsport-prediction-post-types.php (added)
-
tags/3.0.4/includes/joomsport-prediction-shortcodes.php (added)
-
tags/3.0.4/includes/joomsport-prediction-templates.php (added)
-
tags/3.0.4/includes/joomsport-prediction-widgets.php (added)
-
tags/3.0.4/includes/meta-boxes (added)
-
tags/3.0.4/includes/meta-boxes/joomsport-prediction-meta-league.php (added)
-
tags/3.0.4/includes/meta-boxes/joomsport-prediction-meta-round.php (added)
-
tags/3.0.4/includes/pages (added)
-
tags/3.0.4/includes/pages/joomsport-prediction-page-myleagues.php (added)
-
tags/3.0.4/includes/pages/joomsport-prediction-page-openleagues.php (added)
-
tags/3.0.4/includes/pages/joomsport-prediction-page-settings.php (added)
-
tags/3.0.4/includes/posts (added)
-
tags/3.0.4/includes/posts/joomsport-prediction-post-league.php (added)
-
tags/3.0.4/includes/posts/joomsport-prediction-post-round.php (added)
-
tags/3.0.4/joomsport-prediction.php (added)
-
tags/3.0.4/languages (added)
-
tags/3.0.4/readme.txt (added)
-
tags/3.0.4/sportleague (added)
-
tags/3.0.4/sportleague/assets (added)
-
tags/3.0.4/sportleague/assets/css (added)
-
tags/3.0.4/sportleague/assets/css/prediction.css (added)
-
tags/3.0.4/sportleague/assets/css/prediction_brackets.css (added)
-
tags/3.0.4/sportleague/assets/images (added)
-
tags/3.0.4/sportleague/assets/images/jsport-ico-24.png (added)
-
tags/3.0.4/sportleague/assets/images/jsport-ico-32.png (added)
-
tags/3.0.4/sportleague/assets/images/ystar.png (added)
-
tags/3.0.4/sportleague/assets/js (added)
-
tags/3.0.4/sportleague/assets/js/jsprediction.js (added)
-
tags/3.0.4/sportleague/base (added)
-
tags/3.0.4/sportleague/base/wordpress (added)
-
tags/3.0.4/sportleague/base/wordpress/classes (added)
-
tags/3.0.4/sportleague/base/wordpress/classes/class-jsport-prediction-controller.php (added)
-
tags/3.0.4/sportleague/base/wordpress/classes/predictions (added)
-
tags/3.0.4/sportleague/base/wordpress/classes/predictions/JSPTOutcome.php (added)
-
tags/3.0.4/sportleague/base/wordpress/classes/predictions/JSPTScore.php (added)
-
tags/3.0.4/sportleague/base/wordpress/classes/predictions/JSPTScoreBonus.php (added)
-
tags/3.0.4/sportleague/base/wordpress/classes/predictions/JSPTScoreExact.php (added)
-
tags/3.0.4/sportleague/base/wordpress/classes/predictions/JSPTScoreSideAndDiff.php (added)
-
tags/3.0.4/sportleague/base/wordpress/classes/predictions/JSPTScoreWinner.php (added)
-
tags/3.0.4/sportleague/base/wordpress/models (added)
-
tags/3.0.4/sportleague/classes (added)
-
tags/3.0.4/sportleague/classes/class-jsprediction-league-row.php (added)
-
tags/3.0.4/sportleague/classes/class-jsprediction-myleague_actions.php (added)
-
tags/3.0.4/sportleague/classes/class-jsprediction-myleagues.php (added)
-
tags/3.0.4/sportleague/classes/objects (added)
-
tags/3.0.4/sportleague/classes/objects/class-jsport-prediction-prleaders.php (added)
-
tags/3.0.4/sportleague/classes/objects/class-jsport-prediction-userleague.php (added)
-
tags/3.0.4/sportleague/classes/objects/class-jsport-prediction-userround.php (added)
-
tags/3.0.4/sportleague/defines.php (added)
-
tags/3.0.4/sportleague/helpers (added)
-
tags/3.0.4/sportleague/helpers/js-helper-mail.php (added)
-
tags/3.0.4/sportleague/helpers/js-helper.php (added)
-
tags/3.0.4/sportleague/sportleague.php (added)
-
tags/3.0.4/sportleague/views (added)
-
tags/3.0.4/sportleague/views/default (added)
-
tags/3.0.4/sportleague/views/default/prleaders.php (added)
-
tags/3.0.4/sportleague/views/default/userleague.php (added)
-
tags/3.0.4/sportleague/views/default/userround.php (added)
-
tags/3.0.4/sportleague/views/default/userround_knockout.php (added)
-
tags/3.0.4/sportleague/views/default/userround_outcome.php (added)
-
tags/3.0.4/sportleague/views/default/userround_winner.php (added)
-
tags/3.0.4/sportleague/views/default/widgets (added)
-
tags/3.0.4/sportleague/views/default/widgets/privateleague.php (added)
-
tags/3.0.4/sportleague/views/default/widgets/user-stat.php (added)
-
trunk/includes/joomsport-prediction-actions.php (modified) (3 diffs)
-
trunk/includes/meta-boxes/joomsport-prediction-meta-round.php (modified) (1 diff)
-
trunk/joomsport-prediction.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/sportleague/assets/css/prediction.css (modified) (1 diff)
-
trunk/sportleague/base/wordpress/classes/class-jsport-prediction-knockout.php (deleted)
-
trunk/sportleague/views/default/userround.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
joomsport-prediction/trunk/includes/joomsport-prediction-actions.php
r3131650 r3277496 536 536 $newdt = $ceilN * pow(2,($intB+1)); 537 537 } 538 539 540 541 if(isset($knockoutView[$intB][$intA])){ 538 539 540 541 if(class_exists("JoomsportTermsMeta")) { 542 $knT = unserialize($knockoutView); 543 }else{ 544 $knT = $knockoutView; 545 } 546 if($knT){ 547 542 548 $kvalues = array( 543 "home" => $kn ockoutView[$intB][$intA]["home"],544 "away" => $kn ockoutView[$intB][$intA]["away"],545 "score1" => $kn ockoutView[$intB][$intA]["score1"],546 "score2" => $kn ockoutView[$intB][$intA]["score2"],547 "match_id" => $kn ockoutView[$intB][$intA]["match_id"]549 "home" => $knT[$intB][$intA]["home"], 550 "away" => $knT[$intB][$intA]["away"], 551 "score1" => $knT[$intB][$intA]["score1"], 552 "score2" => $knT[$intB][$intA]["score2"], 553 "match_id" => $knT[$intB][$intA]["match_id"] 548 554 ); 549 555 } … … 555 561 556 562 if(isset($arrV[0]) && $arrV[0]){ 557 if(isset($kn ockoutView[$intB+1][$newdt][$od?"away":"home"])){563 if(isset($knT[$intB+1][$newdt][$od?"away":"home"])){ 558 564 $arrVNext = isset($prediction['knockpartic_'.$newdt.'_'.($intB+1)])?$prediction['knockpartic_'.$newdt.'_'.($intB+1)]:array(); 559 565 … … 562 568 $filled++; 563 569 //var_dump($knockoutView[$newdt][$intB+1]); 564 if($kn ockoutView[$intB+1][$newdt][$od?"away":"home"] == $arrVNext[$od]){570 if($knT[$intB+1][$newdt][$od?"away":"home"] == $arrVNext[$od]){ 565 571 $success++; 566 572 if(isset($knock_settings[$kformat/(pow(2,($intB+1)))])){ -
joomsport-prediction/trunk/includes/meta-boxes/joomsport-prediction-meta-round.php
r3131650 r3277496 391 391 } 392 392 echo __('Filters:','joomsport-prediction')." "; 393 echo JoomSportHelperSelectBox::Simple('season_id', $seasonsStd,0,' id="jspred_fltr_season_id" onchange="JS PRED_filteredMatches(0,'.$leagueid.');"',__('Select season','joomsport-prediction'));394 echo JoomSportHelperSelectBox::Simple('matchday_id', array(),0,' id="jspred_fltr_matchday_id" onchange="JS PRED_filteredMatches(1,'.$leagueid.');"',__('Select matchday','joomsport-prediction'));393 echo JoomSportHelperSelectBox::Simple('season_id', $seasonsStd,0,' id="jspred_fltr_season_id" onchange="JSFANT_filteredMatches(0,'.$leagueid.');"',__('Select season','joomsport-prediction')); 394 echo JoomSportHelperSelectBox::Simple('matchday_id', array(),0,' id="jspred_fltr_matchday_id" onchange="JSFANT_filteredMatches(1,'.$leagueid.');"',__('Select matchday','joomsport-prediction')); 395 395 396 396 echo ' <input type="button" id="jsprediction_matches_selectall" class="button" value="'.__('Select All','joomsport-prediction').'">'; -
joomsport-prediction/trunk/joomsport-prediction.php
r3177772 r3277496 4 4 Plugin URI: http://joomsport.com 5 5 Description: Create sport predictions for your JoomSport matches 6 Version: 3.0. 36 Version: 3.0.4 7 7 Author: BearDev 8 8 Author URI: http://BearDev.com -
joomsport-prediction/trunk/readme.txt
r3271110 r3277496 5 5 Tested up to: 6.8 6 6 Requires PHP: 7.4 7 Stable tag: 3.0. 37 Stable tag: 3.0.4 8 8 License: GPLv3 9 9 License URI: https://www.gnu.org/licenses/gpl-3.0.en.html … … 88 88 == Changelog == 89 89 90 = 3.0.4 = 91 Bug fix. Show predict Joker option for mobiles view. 92 90 93 = 3.0.3 = 91 94 Mobile view improvement for scores predict page. -
joomsport-prediction/trunk/sportleague/assets/css/prediction.css
r3177772 r3277496 771 771 min-height: 50px; 772 772 } 773 .jsMatchPredJoker { 774 display: flex; 775 align-items: center; 776 justify-content: center; 777 gap: 2px; 778 min-width: 75px; 779 } 780 .jsMatchPredLink { 781 min-width: 70px; 782 text-align: right; 783 } 773 784 #joomsport-container .jsMatchPredTeam img { 774 785 min-width: auto; -
joomsport-prediction/trunk/sportleague/views/default/userround.php
r3177772 r3277496 57 57 ?> 58 58 </div> 59 60 <?php 61 if($joker_match && $rows->getMatchJoker($match->id) != ''){ 62 echo '<div class="jsMatchPredJoker">'; 63 echo __('Joker','joomsport-prediction') .': '.$rows->getMatchJoker($match->id); 64 echo '</div>'; 65 } 66 ?> 67 59 68 <div class="jsMatchPredLink"> 60 69 <?php echo classJsportLink::match(__('View Match','joomsport-prediction'), $match->id, false, '', 0); ?>
Note: See TracChangeset
for help on using the changeset viewer.