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

5 lines
158 B
PHTML
Raw Normal View History

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