/usr/share/php/kohana3.2/modules/userguide/views/userguide/page-toc.php is in libkohana3.2-mod-userguide-php 3.2.2-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 | <?php if (is_array($array)): ?>
<div class="page-toc">
<?php foreach ($array as $item): ?>
<?php if ($item['level'] > 1): ?>
<?php echo str_repeat(' ', ($item['level'] - 1) * 4) ?>
<?php endif ?>
<?php echo HTML::anchor('#'.$item['id'],$item['name'], NULL, NULL, TRUE); ?><br />
<?php endforeach; ?>
</div>
<?php endif ?>
|