Ejemplo n.º 1
0
            } else {
                echo '<td class="l" style="width:24px;">';
                foreach ($day['shorts'] as $short) {
                    $Context->setActivityData($short);
                    echo $Table->codeForShortLink($Context);
                }
                echo '</td><td class="l as-small-as-possible">' . $this->dateString($day['date']) . '</td>';
            }
            $Context->setActivityData($Training);
            if ($this->ShowEditLink) {
                echo $Table->codeForEditIcon($Context);
            }
            if ($this->ShowPublicLink) {
                echo $Table->codeForPublicIcon($Context);
            }
            echo $Table->codeForColumns($Context);
            echo '</tr>';
        }
    } else {
        echo '
			<tr class="r' . $trClass . '">
				<td class="l" style="width:24px;">';
        foreach ($day['shorts'] as $short) {
            $Context->setActivityData($short);
            echo $Table->codeForShortLink($Context);
        }
        $cols = $Table->numColumns();
        echo '</td>
				<td class="l as-small-as-possible">' . $this->dateString($day['date']) . '</td>
				<td colspan="' . ($Table->numColumns() + $this->ShowEditLink + $this->ShowPublicLink) . '"></td>
			</tr>';