コード例 #1
0
ファイル: statistics.php プロジェクト: brambravo/webtrees
				<td class="facts_value">', $stats->topAgeBetweenSiblingsFullName(), '</td>
			</tr>
			<tr>
				<td class="facts_label">', WT_I18N::translate('Age between husband and wife'), '</td>
				<td class="facts_label">', WT_I18N::translate('Age between wife and husband'), '</td>
			</tr>
			<tr>
				<td class="facts_value">', $stats->ageBetweenSpousesMFList(), '</td>
				<td class="facts_value">', $stats->ageBetweenSpousesFMList(), '</td>
			</tr>
		</table>
		</fieldset>';
        } else {
            if ($tab == 2) {
                echo '<fieldset>
		<legend>', WT_I18N::translate('Records'), ': ', $stats->totalRecords(), '</legend>
		<table class="facts_table">
			<tr>
				<td class="facts_label">', WT_I18N::translate('Media objects'), '</td>
				<td class="facts_label">', WT_I18N::translate('Sources'), '</td>
				<td class="facts_label">', WT_I18N::translate('Notes'), '</td>
				<td class="facts_label">', WT_I18N::translate('Repositories'), '</td>
			</tr>
			<tr>
				<td class="facts_value" align="center">', $stats->totalMedia(), '</td>
				<td class="facts_value" align="center">', $stats->totalSources(), '</td>
				<td class="facts_value" align="center">', $stats->totalNotes(), '</td>
				<td class="facts_value" align="center">', $stats->totalRepositories(), '</td>
			</tr>
			</table>
		</fieldset>