<?php
/*
Copyright (C) 2009 DantoBB Team
http://www.dantobb.com
*/
//
// 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' => ' · ',
'locationbar_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' => 10,
'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,
'rss_feed_icon' => 'rss.png',
'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>
<title>{board_name}: {page_title}</title>
<meta http-equiv="Content-Type" content="{content_type}; charset={character_encoding}" />
<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}dantobb.ico" />
{rss_head_link}
<script type="text/javascript" src="sources/javascript.js"></script>
</head>
<body{js_onload}>
<div id="pagebox-bg">
<div id="shadow-left">
<div id="shadow-right">
<p id="logo"><a href="{link_home}"><img src="{img_dir}dantobb.png" alt="DantoBB" title="{l_Home}" /></a></p>
<h1 id="boardname"><span id="line">{board_name}</span></h1>
<h2 id="boarddescr">{board_descr}</h2>
<div id="topmenu"><ul>
<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></div>
<div id="topmenu-shadow"></div>
<p class="locationbar">
• {location_bar}
</p>
';
$templates['normal_footer'] = '
<p class="locationbar">
• {location_bar}
</p>
<p id="linkbar">
{link_bar}
</p>
{debug_info_small}
{debug_info_large}
<p id="bottom">
{dantobb_copyright}
</p>
<div id="bottom-shadow"></div>
</div>
</div>
</div>
</body>
</html>
';
$templates['msgbox'] = '
<div class="msgbox">
<h3>{box_title}</h3>
<p>{content}</p>
</div>
';
$templates['confirm_form'] = '
{form_begin}
<table class="confirmform">
<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}
';
?>