###############################################################################
# AdminCentre.template #
###############################################################################
# YaBBForum: Yet another Bulletin Board #
# Open-Source Community Software for Webmasters #
# Version: YaBBForum 3.0 #
# Packaged: July 26, 2026 #
# Distributed by: https://yabbforum.nz #
# =========================================================================== #
# Copyright (c) 2000-2026 YaBBForum (yabbforum.nz) - All Rights Reserved. #
# Software by: The YaBBForum Development Team #
# with assistance from the YaBBForum community. #
###############################################################################
$admincentretemver = 'YaBBForum 3.0';
$adminlogo = 'adminlogo.png';
$aarea = 'aarea.jpg';
#$yabb_dnloads = 'https://yabbforum.nz/?page_id=32';
$header = qq~
{yabb title}
{yabb style}
~;
$leftmenutop = qq~
{yabb maintenance}~;
$leftmenubottom = qq~
~;
$topnav = qq~
{yabb topmenu_one}
|
{yabb topmenu_two}
|
{yabb topmenu_tree}
|
{yabb topmenu_four}
~;
$mainbody = qq~
{yabb main}
{yabb_admin debug}
~;
# 1. Fetch the notice (reads cache or hits GitHub)
my $github_notice = check_github_updates();
# 2. Add fallback text so you visually see it working if up to date
if (!$github_notice) {
$github_notice = '
Your YaBBForum installation is up to date!
';
}
$front_page = qq~
$admintxt{'1'}
$admintxt{'2'}
Forum Start Date
Total Forum Members:
Current Default Template
$forumstart
${\( do { open(my $fh, '<', "$memberdir/memberlist.txt"); my @lines = <$fh>; close($fh); scalar @lines } )}
$default_template
$admintxt{'4'}
Your Current YaBBForum Version is {yabb YaBBversion}