westdc-zf1/application/admin/views/scripts/footer.phtml

7 lines
241 B
PHTML
Raw Normal View History

2014-08-27 12:03:43 +00:00
<?php
2014-08-28 03:26:58 +00:00
$path = explode('?',$_SERVER['REQUEST_URI']);
$url = explode('/',$path[0]);
2014-08-27 13:36:00 +00:00
if (isset($url[2]) && isset($url[3]))
$text = '-'.$url[2].'-'.$url[3];
2014-07-23 09:29:00 +00:00
?>
<script>$('#Nav<?= $text; ?>').addClass("active");</script>