This micro-module does one thing and one thing only - it provides the lc function which is a drop in replacement for the l function. The l function formats a link, the lc function does the exact same thing except that it is context aware - meaning that no link will be printed if target location does not exist or if the user does not have permission to access it. It basically makes links act like menu items. This is super-handy for creating links to admin sections of the site that automatically do not show-up for those without permission. If you're feeling particularly naughty you might even want to replace l with lc so all your links are context aware.

Usage is identical to l, so click here to see how to use it.

Downloads

Version Downloads Date Links
6.x-1.0 tar.gz (6.67 KB) | zip (7.03 KB) 2010-Jun-14 Notes

Project Information


Maintainers for lc

  • phayes - 1 commit
    last: 1 year ago, first: 1 year ago

Issues for lc

To avoid duplicates, please search before submitting a new issue.
All issues
Bug reports
Oldest open issue: 11 Mar 11
nobody click here