Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

[r1080]: branches / 2.5.4 / cgi-bin / yabb2 / Templates / default / HelpCentre.template Maximize Restore History

Download this file

HelpCentre.template    93 lines (83 with data), 3.4 kB

###############################################################################
# default.HelpCentre.template                                                 #
###############################################################################
# YaBB: Yet another Bulletin Board                                            #
# Open-Source Community Software for Webmasters                               #
# Version:        YaBB 2.5.4                                                  #
# Packaged:       January 1, 2013                                             #
# Distributed by: http://www.yabbforum.com                                    #
# =========================================================================== #
# Copyright (c) 2000-2012 YaBB (www.yabbforum.com) - All Rights Reserved.     #
# Software by:  The YaBB Development Team                                     #
#               with assistance from the YaBB community.                      #
###############################################################################
# $Revision: 1080 $

$HelpTemplateLoaded = '1';
$top_img = 'back_to_top.png';
$moderator_class  = 'catbg';
$admin_class      = 'catbg';
$global_mod_class = 'catbg';
$UserClass        = 'catbg';

### Creates the Navigation Bar at the top ###
$HelpNavBar = qq~
	<table class="bordercolor pad_2px cs_thin h_25px" style="margin-bottom:10px">
		<col span="4" style="width:25%" />
		<tr>
			<td class="{user class} center">{user menu}</td>
			<td class="{moderator class} center">{moderator menu}</td>
			<td class="{global mod class} center">{global mod menu}</td>
			<td class="{admin class} center">{admin menu}</td>
		</tr>
	</table>
~;

### The Main Layout for the whole page. ###
$MainLayout = qq~
	<div style="float: left; width: 24%; margin-bottom:10px">
		<table class="bordercolor pad_4px cs_thin">
			<tr>
				<td class="catbg small">$helptxt{'2'}</td>
			</tr><tr>
				<td class="windowbg2">{yabb contents}</td>
			</tr>
		</table>
	</div>
	<div style="float: right; width: 74%; margin-bottom: 10px;">
{yabb body}
	</div>
<div class="clear"></div>~;

### Prints this for the header of the contents #
$ContentHeader = qq~
<a href="#{yabb section_anchor}"><b>{yabb section_name}</b></a>
~;

### Prints this for every item in the contents #
$ContentItem = qq~
	<li class="small" style="padding-left: 10px; padding-right: 5px; margin: 0px;">
		<a href="#{yabb anchor}">{yabb content}</a>
	</li>~;

### Prints this for the Header of the main section (title etc) #
$BodyHeader = qq~
	<table class="bordercolor pad_4px cs_thin" style="table-layout: fixed">
		<tr>
			<td class="titlebg">
				<a id="{yabb section_anchor}"></a><b>{yabb section_name}</b>
			</td>
		</tr>~;

### Prints this for the Sub headers of the main section #
$BodySubHeader = qq~<tr>
			<td class="catbg">
				<a id="{yabb section_anchor}"></a><b>{yabb section_sub}</b>
			</td>
		</tr>~;

### Prints this for every item in the body text #
$BodyItem = qq~<tr>
			<td class="windowbg2">
				{yabb item}
				<span style="float:right;"><span onclick="toTop(0)" class="cursor"><img src="$imagesdir/$top_img" alt="$helptxt{'643'}" title="$helptxt{'643'}" /></span>&nbsp;</span>
			</td>
		</tr>~;

### Prints this after each file in a help directory has finished printing. #
$BodyFooter = qq~
	</table>
	<br />
~;

1;