Foorum

 view release on metacpan or  search on metacpan

templates/wrapper.html  view on Meta::CPAN

<!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">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />

[% USE date %]

[% c.load_once("jquery.js") %]

[% c.load_once("utils.js") %]
[% c.load_once("common.css") %]
[% IF forum.forum_id %]
    [% TRY %]
    [% css_file = c.config.home _ '/root/static/css/style/forum' _ forum.forum_id _ '.css' %]
    [% USE File( css_file ) %]
    [% c.load_once("style/forum" _ forum.forum_id _ ".css") %]
    [% CATCH File %]
    [% c.load_once("default.css") %]
    [% END %]
[% ELSE %]
[% c.load_once("default.css") %]
[% END %]
<title> 
    [% IF title %]
    [% title _ ' : ' _ c.config.name %]
    [% ELSE %]
    [% c.config.name %]
    [% END %]
</title>
[% c.user_online(title) # set user online %]
<link rel="shortcut icon" href="[% c.config.dir.static %]/favicon.ico" type="image/x-icon" />
[% IF RSS_URL %]
<link rel="alternate" type="application/rss+xml" title="[% title %]" href="[% RSS_URL %]" />
[% END %]
</head>
<body>

[% UNLESS simple_wrapper %]

<div id="gbar">
<table border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td class="gbarp" nowrap="nowrap">
<b><a href='/forum'>[% c.config.name %]</a></b>
</td>
[% IF forum %]
<td class="gbarp" nowrap="nowrap">-></td>
<td class="gbarp" nowrap="nowrap">
<b><a href='[% forum.forum_url %]'>[% forum.name %]</a></b>
</td>
[% END %]
[% IF topic %]
<td class="gbarp" nowrap="nowrap">-></td>
<td class="gbarp" nowrap="nowrap">
<b>[% topic.title %]</b>
</td>
[% END %]
</tr>
</tbody>



( run in 0.545 second using v1.01-cache-2.11-cpan-39bf76dae61 )