[cgiapp] Adding a div of fixed content to evey page. Possible?

Mark Fuller azfuller at gmail.com
Fri Oct 30 15:13:37 EDT 2009


On Fri, Oct 30, 2009 at 11:47 AM, Gurunandan R. Bhat
<guru at informationmatters.in> wrote:
> I want to insert a login
> form on every page or a logged-in status depending on whether
> $app->authen->username is defined or not (I am using
> CAP-Authentication).

Why wouldn't this just be an "include" file, included into all your
HTML::Templates, and the include containing some TMPL_IF logic to
control whether the login form (or logged-in status) should be
displayed?

Mark


More information about the cgiapp mailing list