CGI-Application-Framework
view release on metacpan or search on metacpan
caf_project/Example/applications/example_1/templates/main_display.tmpl view on Meta::CPAN
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
<title>CGI::Application::Framework Example Application #1 -- Hello World</title>
<link rel="stylesheet" href="[% url_examples_css %]" type="text/css" />
</head>
<body>
<div id="banner">
<h1>CGI::Application::Framework</h1>
<h2>Example Pages</h2>
</div>
<div id="nav">
<span class="link"><a href="[% url_app_cgi %]/Example/example_1">One</a></span>
<span class="link"><a href="[% url_app_cgi %]/Example/example_2a">Two</a></span>
<span class="link"><a href="[% url_app_cgi %]/Example/example_3">Three</a></span>
<span class="link"><a href="[% url_app_cgi %]/Example/example_4">Four</a></span>
<span class="link"><a href="[% url_app_cgi %]/Example/example_5">Five</a></span>
</div>
<h1>CGI::Application::Framework Example Application #1 -- Hello World</h1>
<h2>Template::Toolkit version</h2>
<pre>
[% INCLUDE 'README.txt' %]
</pre>
<h2>Authentication and Session Management</h2>
<a href='[% SELF_HREF_LINK %]'>Reload Page</a>
<p>
The 'href' link value is: [% SELF_HREF_LINK %]
</p>
<p>
If you wait for ( timeout = ) [% timeout %]
seconds before clicking on the above link then you will be presented with
a relogin authentication page before continuing. Once you successfully
reauthenticate you will return to this page with all of the appropriate
state information maintained. (For instance, see the "times you have
loaded this page" info, below.)
</p>
<p>
Hello! This is the main output. There are a number of areas of this page
which were generated by HTML::Template TMPL_VAR and TMPL_LOOP tags, which
had their values populated by the .pm program that corresponds to the .pl
file shown in the URL for this page.
</p>
<b>Number of times you have loaded this page:</b>
[% load_count %]
</p>
<h2>Variable Replacement and Looping</h2>
<p>
( run in 0.690 second using v1.01-cache-2.11-cpan-d7f47b0818f )