Plugin Directory

Changeset 615504


Ignore:
Timestamp:
10/22/2012 08:35:48 AM (13 years ago)
Author:
belinde
Message:

Version 0.1.1

Location:
volleytnt
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • volleytnt/tags/0.1.1/readme.txt

    r579128 r615504  
    55Requires at least: 3.3
    66Tested up to: 3.4.1
    7 Stable tag: 0.1
     7Stable tag: 0.1.1
    88
    99Manage volley and beach volley tournaments: registration of athletes, management of playing fields, play-offs, the final knockout.
  • volleytnt/trunk/core/the_plugin.php

    r583439 r615504  
    575575                if ( $a['qd_set'] == $b['qd_set'] ) {
    576576                    if ( $a['qd_punti'] == $b['qd_punti'] ) {
    577                         return strcmp( $a['label'], $b['label'] );
     577                        if ( $a['giocate'] == $b['giocate'] ) {
     578                            return strcmp( $a['label'], $b['label'] ); 
     579                        } else return $a['giocate'] < $b['giocate'] ? 1 : -1;
    578580                    } else return $a['qd_punti'] < $b['qd_punti'] ? 1 : -1;
    579581                } else return $a['qd_set'] < $b['qd_set'] ? 1 : -1;
     
    678680               
    679681                $_ .= '<th>';
    680                 $_ .= sprintf( __('Girone %s', 'volleytnt'), $row->categoria . $row->girone );
    681                 if ( $row->campo ) $_ .= '<br/>' . sprintf( __('%s, %s-%s, campo %s', 'volleytnt'), $row->giorno, $row->inizio, $row->fine, $row->campo );
     682                $_ .= $row->campo ? sprintf( __('Campo %s<br/>%s, %s-%s', 'volleytnt'), $row->campo, $row->giorno, $row->inizio, $row->fine ) : '&nbsp;';
    682683                $_ .= '</th>';
    683684               
     
    736737        $classifiche = $this->get_classifiche( $torneo );
    737738        foreach ( $classifiche as $categoria => $gironi ) {
    738             $_ .= '<h3>' . $this->l_categorie[ $categoria ] . '</h3>';
    739739            $work = array();
    740740            foreach ( $gironi as $girone => $squadre ) {
     
    745745            foreach ( $work as $pos => $squadre ) {
    746746               
    747                 $_ .= '<h4>' . sprintf( __('%d<sup>e</sup> classificate', 'volleytnt'), $pos ) . '</h4>';
     747                $_ .= '<h3>' . sprintf( __('%s, %d<sup>e</sup> classificate', 'volleytnt'), $this->l_categorie[ $categoria ], $pos ) . '</h3>';
    748748                $_ .= '<table><thead><tr>';
    749749                $_ .= '<th class="posizione">' . __('Pos.', 'volleytnt') . '</th>';
    750750                $_ .= '<th class="squadra">' . __('Squadra', 'volleytnt') . '</th>';
    751                 $_ .= '<th class="partite">' . __('Partite', 'volleytnt') . '</th>';
    752751                $_ .= '<th class="pticlass">' . __('Q. p.ti class.', 'volleytnt') . '</th>';
    753752                $_ .= '<th class="setvinti">' . __('Q. set vinti', 'volleytnt') . '</th>';
    754753                $_ .= '<th class="diffset">' . __('Q. diff. set', 'volleytnt') . '</th>';
    755754                $_ .= '<th class="diffpti">' . __('Q. diff. p.ti', 'volleytnt') . '</th>';
     755                $_ .= '<th class="partite">' . __('Partite', 'volleytnt') . '</th>';
    756756                $_ .= '</tr></thead><tbody>';
    757757                $subpos = 1;
     
    761761                    $_ .= '<td class="posizione">' . $subpos . '&ordm;</td>';
    762762                    $_ .= '<td class="squadra">' . $s['label'] . '</td>';
    763                     $_ .= '<td class="partite">' . $s['giocate'] . '</td>';
    764763                    $_ .= '<td class="pticlass">' . $s['q_punti_class'] . '</td>';
    765764                    $_ .= '<td class="setvinti">' . $s['q_vinti'] . '</td>';
    766765                    $_ .= '<td class="diffset">' . $s['qd_set'] . '</td>';
    767766                    $_ .= '<td class="diffpti">' . $s['qd_punti'] . '</td>';
     767                    $_ .= '<td class="partite">' . $s['giocate'] . '</td>';
    768768                    $_ .= '</tr>';
    769769                    $subpos++;
  • volleytnt/trunk/readme.txt

    r583439 r615504  
    55Requires at least: 3.3
    66Tested up to: 3.4.1
    7 Stable tag: 0.1
     7Stable tag: 0.1.1
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    5454    * Team deletion now run properly
    5555
     56= 0.1.1 =
     57* Fixed a bug causing improper output before sending HTTP headers
     58
    5659= 0.1 =
    5760* First public release
Note: See TracChangeset for help on using the changeset viewer.