Revision: 40959
Updated Code
at February 10, 2011 11:01 by r2cgroup
Updated Code
//This snippet is custom made for use in a TextMate Bundle. //To appropriately use it, create a TextMate Bundle out of it. //After that you can assign it it's own shortcuts / key equivalents. <li><a href="${1}.php" title="${2}"<?php if (\$r2c_page == "${1}") { ?> class="active"<?php } ?>>${2}</a></li>
Revision: 40958
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at February 10, 2011 10:40 by r2cgroup
Initial Code
<li><a href="${1}.php" title="${2}"<?php if (\$r2c_page == "${1}") { ?> class="active"<?php } ?>>${2}</a></li>
Initial URL
Initial Description
Initial Title
R2C TextMate Bundle - Active PHP for LI
Initial Tags
php, link
Initial Language
HTML