FYI, I’m getting this error when I choose Simple Pages from the left admin menu:
Undefined variable: active in C:\xampp\htdocs\omeka\plugins\SimplePages\views\admin\index\browse.php on line 12
It looks like $active
is only getting declared if the view
arg is set on the query string, but it is used unconditionally in the <li>
tag.
if (isset($_GET['view'])) {
$active = $_GET['view'];
}
...
<li class="<?php if ($active != 'hierarchy') {echo 'current';} ?>">