like the RTE because by default it uses the default user style from settings. This renders a full page, when we really need a message. I've added an argument to session->privilege->insufficient to use the empty style and to use a different message with no embedded macros to process for logging in. I tested this on the RTE folder adder and it works fine. I duplicated this work in the Image add/edit save routine as well. Since privilege->insuffient didn't take arguments before, this preserves the existing API, which is broken. |
||
|---|---|---|
| .. | ||
| ActiveSessions.pm | ||
| Admin.pm | ||
| AdSpace.pm | ||
| Auth.pm | ||
| Cache.pm | ||
| Commerce.pm | ||
| Cron.pm | ||
| DatabaseLink.pm | ||
| FormHelpers.pm | ||
| Graphics.pm | ||
| Group.pm | ||
| Help.pm | ||
| Inbox.pm | ||
| LDAPLink.pm | ||
| LoginHistory.pm | ||
| ProductManager.pm | ||
| Profile.pm | ||
| ProfileSettings.pm | ||
| Replacements.pm | ||
| Scratch.pm | ||
| Settings.pm | ||
| Shared.pm | ||
| Spectre.pm | ||
| SpellCheck.pm | ||
| Statistics.pm | ||
| Style.pm | ||
| Subscription.pm | ||
| TransactionLog.pm | ||
| User.pm | ||
| VersionTag.pm | ||
| WebGUI.pm | ||
| Workflow.pm | ||