Changeset 965040
- Timestamp:
- 08/13/2014 10:06:08 AM (12 years ago)
- Location:
- ttlive/trunk
- Files:
-
- 2 edited
-
index.php (modified) (7 diffs)
-
readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
ttlive/trunk/index.php
r690159 r965040 458 458 $plan .= "<td>".$newstaffel."</td>\n"; 459 459 $isHeimteam = false; 460 if ((strstr($attribute->Heimmannschaft, "Herren")) or (strstr($attribute->Heimmannschaft, "Jungen")) or (strstr($attribute->Heimmannschaft, "Schüler")) or (strstr($attribute->Heimmannschaft, "Damen")) or (strstr($attribute->Heimmannschaft, "Senioren"))) 460 if ((strstr($attribute->Heimmannschaft, "Herren")) 461 or (strstr($attribute->Heimmannschaft, "Jungen")) 462 or (strstr($attribute->Heimmannschaft, "Schüler")) 463 or (strstr($attribute->Heimmannschaft, "Damen")) 464 or (strstr($attribute->Heimmannschaft, "Senioren")) 465 or (strstr($attribute->Heimmannschaft, "Mini")) 466 ) 461 467 { 462 468 $isHeimteam = true; … … 468 474 } 469 475 $plan .= "<td> -</td>"; 470 if ((strstr($attribute->Gastmannschaft, "Herren")) or (strstr($attribute->Gastmannschaft, "Jungen")) or (strstr($attribute->Gastmannschaft, "Sch�ler")) or (strstr($attribute->Gastmannschaft, "Damen")) or (strstr($attribute->Gastmannschaft, "Senioren"))) 476 if ((strstr($attribute->Gastmannschaft, "Herren")) 477 or (strstr($attribute->Gastmannschaft, "Jungen")) 478 or (strstr($attribute->Gastmannschaft, "Schüler")) 479 or (strstr($attribute->Gastmannschaft, "Damen")) 480 or (strstr($attribute->Gastmannschaft, "Senioren")) 481 or (strstr($attribute->Gastmannschaft, "Mini")) 482 ) 471 483 { 472 484 $plan .= "<td><b>".$attribute->Gastmannschaft."</b></td>\n"; … … 603 615 $plan .= "<em>$attribute->Staffelname</em></dt>\n"; 604 616 $isHeimteam = false; 605 if ((strstr($attribute->Heimmannschaft, "Herren")) or (strstr($attribute->Heimmannschaft, "Jungen")) or (strstr($attribute->Heimmannschaft, "Schüler")) or (strstr($attribute->Heimmannschaft, "Damen")) or (strstr($attribute->Heimmannschaft, "Senioren"))) 617 if ((strstr($attribute->Heimmannschaft, "Herren")) 618 or (strstr($attribute->Heimmannschaft, "Jungen")) 619 or (strstr($attribute->Heimmannschaft, "Schüler")) 620 or (strstr($attribute->Heimmannschaft, "Damen")) 621 or (strstr($attribute->Heimmannschaft, "Senioren")) 622 or (strstr($attribute->Heimmannschaft, "Mini")) 623 ) 606 624 { 607 625 $isHeimteam = true; … … 613 631 } 614 632 $plan .= " - "; 615 if ((strstr($attribute->Gastmannschaft, "Herren")) or (strstr($attribute->Gastmannschaft, "Jungen")) or (strstr($attribute->Gastmannschaft, "Sch�ler")) or (strstr($attribute->Gastmannschaft, "Damen")) or (strstr($attribute->Gastmannschaft, "Senioren"))) 633 if ((strstr($attribute->Gastmannschaft, "Herren")) 634 or (strstr($attribute->Gastmannschaft, "Jungen")) 635 or (strstr($attribute->Gastmannschaft, "Schüler")) 636 or (strstr($attribute->Gastmannschaft, "Damen")) 637 or (strstr($attribute->Gastmannschaft, "Senioren")) 638 or (strstr($attribute->Gastmannschaft, "Mini")) 639 ) 616 640 { 617 641 $plan .= "<em>$attribute->Gastmannschaft</em><br />\n"; … … 709 733 $plan .= "<th style='text-align:center;'>ST</th>\n"; 710 734 711 if ($hasPK 2) { $plan .= "<th style='text-align:center;'>PK1</th>"; }735 if ($hasPK1) { $plan .= "<th style='text-align:center;'>PK1</th>"; } 712 736 if ($hasPK2) { $plan .= "<th style='text-align:center;'>PK2</th>"; } 713 737 if ($hasPK3) { $plan .= "<th style='text-align:center;'>PK3</th>"; } 714 738 if ($hasPK4) { $plan .= "<th style='text-align:center;'>PK4</th>"; } 715 739 716 $plan .= "<th> Gesamt</th>\n";717 $plan .= "<th>L PZ</th>\n";740 $plan .= "<th>Bilanz</th>\n"; 741 $plan .= "<th>LivePZ</th>\n"; 718 742 $plan .= "</tr></thead>\n"; 719 743 … … 734 758 $plan .= "<td>".trim($attribute->Attribute) ."</td>\n"; 735 759 $plan .= "<td style='text-align:center;'>".$attribute->Teilnahme ."</td>\n"; 736 $plan .= "<td style='text-align:center;'>".$attribute->PK1 ."</td>\n";737 $plan .= "<td style='text-align:center;'>".$attribute->PK2 ."</td>\n";760 if ($hasPK1) { $plan .= "<td style='text-align:center;'>".$attribute->PK1 ."</td>\n"; }; 761 if ($hasPK2) { $plan .= "<td style='text-align:center;'>".$attribute->PK2 ."</td>\n"; }; 738 762 if ($hasPK3) { $plan .= "<td style='text-align:center;'>".$attribute->PK3 ."</td>\n"; }; 739 763 if ($hasPK4) { $plan .= "<td style='text-align:center;'>".$attribute->PK4 ."</td>\n"; }; … … 743 767 } 744 768 $plan .= "<td style='text-align:center;'>".$bilanz."</td>\n"; 745 $plan .= "<td>".$attribute->L eistung."</td>\n";769 $plan .= "<td>".$attribute->LivePZ ."</td>\n"; 746 770 $plan .= "</tr>\n"; 747 771 } -
ttlive/trunk/readme.txt
r690356 r965040 5 5 Requires at least: 3.0.1 6 6 Tested up to: 3.5.1 7 Stable tag: 0.8. 47 Stable tag: 0.8.5 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 80 80 == Changelog == 81 81 82 = 0.9 = 83 * changed from LPZ to LivePZ 84 * bugfix: if there is no PK1 or PK2 in Team-Table, it will be hidden 85 86 = 0.8.5 = 87 * bugfix: added "Mini" as possible own team to display color in 14Tage 88 82 89 = 0.8.4 = 83 90 * bugfix: if search&replace is not replacing anything in the league-name, then the full league-name is been displayed … … 90 97 91 98 = 0.8 = 92 * added new parameter showxdays --> 14Tage: x Tage die dargestelltwerden sollen (default = 14)99 * added new parameter showxdays --> 14Tage: Anzahl der Tage die dargestell werden sollen (default = 14) 93 100 * added new parameter max --> 14Tage: Anzahl der Tage die maximal dargestellt werden sollen (default = 0) 94 101 * added TTLive_Widget --> you can use the widget to show the 14Tage-View in a sidebar
Note: See TracChangeset
for help on using the changeset viewer.