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

2 lines
158 B
PHTML
Raw Normal View History

2014-07-23 08:38:32 +00:00
<?php $url = substr_replace($_SERVER ['SCRIPT_URL'], '', 0, 6);$nav = str_replace("/","-",$url);?>
<script>$('#Nav<?= $nav; ?>').addClass("active");</script>