Sometimes (very rarely in fact) there is a need to create a link that will point to Admin Console.
For example link to view/edit a user by given id.
This is quite hard to perform because of:
- nobody maybe logged-in into Admin Console before using a link
- specified template will be opened instead of a frameset
I'm proposing to create tag called m_TransitLink, that would build a link to a new login-required template called transit.tpl and actual link would be stored in "next_template" parameter.
If user isn't logged-in, then it will be redirected (from transit.tpl) to login.tpl automatically and then will be returned to transit.tpl. Once user is logged-in redirect will occur to final template.