concrete5/concrete5 — pull request #488 by jordanlev (2012-04-05 23:50:34+00:00)
Title: refactored autonav templates

This code has been extensively tested on many many sites over the past year -- see http://www.concrete5.org/marketplace/addons/autonav-exclude-subpages/ and https://github.com/jordanlev/c5_clean_block_templates/blob/master/autonav/view.php . There should be zero differences between the markup generated by these templates versus what's in the core now (except for a bug that is fixed to hide sub-pages of excluded pages).

Backwards compatibility with old templates is maintained (nothing is changed in the controller -- I just moved a bunch of logic that was in the view template into the controller where it belongs -- but any old templates will still work just fine because the "generateNav()" controller method is still there and un-touched).