Bladeren bron

Warnings fixed.

ryp 1 maand geleden
bovenliggende
commit
0a37f85112
2 gewijzigde bestanden met toevoegingen van 2 en 7 verwijderingen
  1. 2 2
      web/app/controllers/contests.php
  2. 0 5
      web/app/controllers/rps.php

+ 2 - 2
web/app/controllers/contests.php

@@ -71,7 +71,7 @@ EOD;
 	$table_header .= '<th style="width:220px;">'.UOJLocale::get('appraisal').'</th>';
 	$table_header .= '</tr>';
 	echoLongTable(array('*'), 'contests', "status != 'finished'", 'order by start_time asc, id asc', $table_header,
-		echoContest,
+		'echoContest',
 		array('page_len' => 100)
 	);
 
@@ -97,7 +97,7 @@ EOD;
 <h4><?= UOJLocale::get('contests::ended contests') ?></h4>
 <?php
 	echoLongTable(array('*'), 'contests', "status = 'finished'", 'order by start_time desc, id desc', $table_header,
-		echoContest,
+		'echoContest',
 		array('page_len' => 100,
 			'print_after_table' => function() {
 				global $myUser;

+ 0 - 5
web/app/controllers/rps.php

@@ -29,11 +29,6 @@
 	$table_classes = array('table', 'table-bordered', 'table-hover', 'table-striped');
 ?>
 <?php echoUOJPageHeader('远端题目') ?>
-<div class="row my-4">
-	<div class="col-sm-9">
-		<?= HTML::tablist($tabs_info, $cur_tab, 'nav-pills') ?>
-	</div>
-</div>
 <div class="top-buffer-sm"></div>
 <?php
 	echo '<div class="', join($div_classes, ' '), '">';