/usr/share/php/kohana2/modules/kodoc/views/kodoc/menu.php is in libkohana2-modules-php 2.3.4-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 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 | <?php defined('SYSPATH') OR die('No direct access allowed.'); ?>
<div id="menu">
<ul>
<?php
foreach (Kodoc::get_files() as $group => $files):
?>
<li class="first<?php echo ($active == $group) ? ' active': '' ?>"><?php echo ucfirst($group) ?><ul>
<?php
foreach ($files as $name => $drivers):
?>
<li><?php echo html::anchor('kodoc/'.$group.'/'.$name, $name) ?>
<?php
if (is_array($drivers)):
?>
<ul class="expanded">
<?php
foreach ($drivers as $driver):
$file = ($name === $driver) ? $driver : $name.'_'.$driver;
?>
<li><?php echo html::anchor('kodoc/'.$group.'/drivers/'.$file, $driver) ?></li>
<?php
endforeach;
?>
</ul>
<?php
endif;
?>
</li>
<?php
endforeach;
?>
</ul></li>
<?php
endforeach;
?>
<div style="clear:both;"></div>
</div>
|