blob: 9ca20bcc1e4e3a46ef149d3e7984c0c684847f67 (
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
26
27
28
29
|
<?php
/**
* @var PrivacyController $controller
* @var array $sections
* @var string $user_id
*/
?>
<ul class="boxed-grid">
<? foreach ($sections as $key => $row): ?>
<li>
<a href="<?= $controller->link_for("privacy/index/{$user_id}/{$key}") ?>" <? if (Request::isDialog()) echo 'data-dialog="size=big"'; ?>>
<h3>
<?= $row['icon']->asImg(false) ?>
<?= htmlReady($row['title']) ?>
</h3>
<p>
<?= htmlReady($row['description']) ?>
</p>
</a>
</li>
<? endforeach; ?>
<!--
this is pretty ugly but we need to spawn some empty elements so that the
last row of the flex grid won't be messed up if the boxes don't line up
-->
<li></li><li></li><li></li>
<li></li><li></li><li></li>
</ul>
|