<?php
/*
Copyright (C) 2003-2012 UseBB Team
http://www.usebb.net
$Id$
This file is part of UseBB.
UseBB is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
UseBB is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with UseBB; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
//
// Die when called directly in browser
//
if ( !defined('INCLUDED') )
exit();
//
// Initialize a new template holder array
//
$templates = array();
//
// Define configuration variables of this template set
//
$templates['config'] = array(
'content_type' => 'application/xhtml+xml',
'item_delimiter' => ' · ',
'breadcrumbs_item_delimiter' => ' » ',
'postlinks_item_delimiter' => ' | ',
'open_nonewposts_icon' => 'open_nonewposts.gif',
'open_newposts_icon' => 'open_newposts.gif',
'closed_nonewposts_icon' => 'closed_nonewposts.gif',
'closed_newposts_icon' => 'closed_newposts.gif',
'newpost_link_format' => '<a href="%s"><img src="%s" alt="%s" /></a> ',
'newpost_link_icon' => 'new.gif',
'sig_format' => '<div class="signature">_______________<div>%s</div></div>',
'quote_format' => '<blockquote class="quote"><div class="title">%s</div><div class="content">%s</div></blockquote>',
'code_format' => '<pre class="code">%s</pre>',
'post_editinfo_format' => '<div class="editinfo">« %s »</div>',
'poster_ip_addr_format' => '<div class="poster-ip-addr">%s</div>',
'textarea_rows' => 15,
'textarea_cols' => 60,
'quick_reply_textarea_rows' => 5,
'quick_reply_textarea_cols' => 60,
'post_form_bbcode_seperator' => '</li><li>',
'post_form_smiley_seperator' => '</li><li>',
'debug_info_small' => '<div id="debug-info-small">%s</div>',
'debug_info_large' => '<div id="debug-info-large">%s</div>',
'forumlist_topic_rtrim_length' => 20,
'smilies' => array(
':)' => 'smile.gif',
';)' => 'wink.gif',
':D' => 'biggrin.gif',
'8)' => 'cool.gif',
':P' => 'razz.gif',
':o' => 'surprised.gif',
':?' => 'confused.gif',
':(' => 'sad.gif',
':x' => 'mad.gif',
':|' => 'neutral.gif',
':\'(' => 'cry.gif',
':lol:' => 'lol.gif',
':mrgreen:' => 'mrgreen.gif',
':oops:' => 'redface.gif',
':shock:' => 'eek.gif',
':roll:' => 'rolleyes.gif',
':evil:' => 'evil.gif',
':twisted:' => 'twisted.gif',
)
);
//
// Globally needed templates
//
$templates['normal_header'] = '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{language_code}" lang="{language_code}" dir="{text_direction}">
<head>
<meta http-equiv="Content-Type" content="{content_type}; charset={character_encoding}" />
<title>{board_name}: {breadcrumbs_last}</title>
<meta name="description" content="{board_descr}" />
<meta name="keywords" content="{board_keywords}" />
<link rel="stylesheet" type="text/css" href="{css_url}" />{acp_css_head_link}
<link rel="shortcut icon" href="{img_dir}usebb.ico" />
{rss_head_link}
<script type="text/javascript" src="sources/javascript.js"></script>
{js_ga_code}
</head>
<body{js_onload}>
<div id="pagebox-bg">
<p id="logo"><a href="{link_home}"><img src="{img_dir}usebb.png" alt="UseBB" title="{l_Home}" /></a></p>
<h1 id="boardname"><span id="line">{board_name}</span></h1>
<h2 id="boarddescr">{board_descr}</h2>
<ul id="topmenu">
<li><a href="{link_home}">{l_Home}</a></li
><li><a href="{link_reg_panel}">{reg_panel}</a></li
><li><a href="{link_faq}">{l_FAQ}</a></li
><li><a href="{link_search}">{l_Search}</a></li
><li><a href="{link_active}">{l_ActiveTopics}</a></li
><li><a href="{link_log_inout}">{log_inout}</a></li>
</ul>
<p class="breadcrumbs">
• {breadcrumbs_all}
</p>
';
$templates['normal_footer'] = '
<p class="breadcrumbs below">
• {breadcrumbs_all}
</p>
<p id="linkbar">
{link_bar}
</p>
{debug_info_small}
{debug_info_large}
<p id="bottom">
{usebb_copyright}
</p>
</div>
</body>
</html>
';
$templates['msgbox'] = '
<div class="msgbox{more_css_classes}">
<h3>{box_title}</h3>
<p>{content}</p>
</div>
';
$templates['confirm_form'] = '
{form_begin}
<table class="confirmform{more_css_classes}">
<tr>
<th>{title}</th>
</tr>
<tr>
<td class="msg">{content}</td>
</tr>
<tr>
<td class="formcontrols">{submit_button} {cancel_button}</td>
</tr>
</table>
{form_end}
';
?>