blob: d7f88fe0ddb23cf36076174d1db5027a74537d45 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
<?
# Lifter010: TODO
?>
<h4><?= $heading ?></h4>
<ol>
<? foreach($lines as $line) : ?>
<?
switch($type){
case "seminar":
$link = URLHelper::getLink('dispatch.php/course/details/', ['sem_id' => $line["seminar_id"],
'send_from_search' => 'true',
'send_from_search_page' => $view ?? null]);
break;
case "user":
$link = URLHelper::getLink('dispatch.php/profile', ['username' => $line["username"]]);
break;
default:
$link = $view;
}
?>
<li>
<a href="<?= $link ?>"><?= htmlReady($line['display']) ?></a> (<?=$line['count']?>)
</li>
<? endforeach ?>
</ol>
|