Third pass at adding key files

This commit is contained in:
dsainty
2024-06-17 22:27:49 +10:00
parent b6fc94ff0f
commit 392aa512b3
633 changed files with 72489 additions and 0 deletions

View File

@ -0,0 +1,12 @@
To: <%user_email%>
Subject: <%site_title%> validation
From: <%site_title%> <<%admin_email%>>
Hi, <%user_username%>. Welcome to the <%site_title%> forum!
This e-mail is being sent to inform you that your <%site_title%> account has
been validated by the forum's administrator. The forum can be found at:
<%cgi_root_url%>/gforum.cgi?do=login&user_username=<%GT::CGI::escape($user_username)%>
<%site_title%> Adminstrator

View File

@ -0,0 +1,15 @@
To: slowman@slowtwitch.com,rappstar@slowtwitch.com,eric@slowtwitch.com,ryan@slowtwitch.com
Subject: user signup validation
From: <%site_title%> <<%admin_email%>>
User "<%user_username%>" has been signed up and awaiting for administrators for validation.
Email: <%user_email%>
<%user_username%>, as a mischief-control tactic, name a RACE (be specific!) associated with the sport this site covers that interests you:
<%user_answer_1%>
Validate users here: http://forum.slowtwitch.com/cgi-bin/admin/admin.cgi?do=page;page=users_admin_validate.html
<%site_title%> Administrator

View File

@ -0,0 +1,216 @@
# This file is auto generated and contains a perl hash of
# your template globals for 'twitch' template set.
# Generated on: Sat Sep 16 12:38:20 2023
{
'ad_300x250' => '<!-- BEGIN ADVERTSERVE CODE -->
<!--
Zone #108: 2023 - 300x250
Size #8: Medium Rectangle [300x250]
Automatic Refresh: 30 seconds
Secure (HTTPS): enabled
-->
<div data-tagid="avp_zid_108">
<script type="text/javascript">
var _avp = _avp || [];
_avp.push({ tagid: \'avp_zid_108\', alias: \'/\', type: \'banner\', zid: 108, pid: 0, iframe: true, width: 300, height: 250, refresh: 30, refresh_limit: 60, inview: true, secure: true });
</script>
</div>',
'ad_300x600' => '<!-- BEGIN ADVERTSERVE CODE -->
<!--
Zone #112: 2023 - 300x600
Size #27: Filmstrip (Half Page Ad) [300x600]
Automatic Refresh: 30 seconds
Secure (HTTPS): enabled
-->
<div data-tagid="avp_zid_112">
<script type="text/javascript">
var _avp = _avp || [];
_avp.push({ tagid: \'avp_zid_112\', alias: \'/\', type: \'banner\', zid: 112, pid: 0, iframe: true, width: 300, height: 600, refresh: 30, refresh_limit: 60, inview: true, secure: true });
</script>
</div>
<!-- END ADVERTSERVE CODE -->',
'ad_728x90' => '<!-- BEGIN ADVERTSERVE CODE -->
<!--
Zone #110: 2023 - 728x90
Size #19: Jumbo Banner [728x90]
Automatic Refresh: 30 seconds
Secure (HTTPS): enabled
-->
<div data-tagid="avp_zid_110">
<script type="text/javascript">
var _avp = _avp || [];
_avp.push({ tagid: \'avp_zid_110\', alias: \'/\', type: \'banner\', zid: 110, pid: 0, iframe: true, width: 728, height: 90, refresh: 30, refresh_limit: 60, inview: true, secure: true });
</script>
</div>',
'ad_lr_300x250' => '<!-- BEGIN ADVERTSERVE CODE -->
<!--
Zone #108: 2023 - 300x250
Size #8: Medium Rectangle [300x250]
Automatic Refresh: 30 seconds
Secure (HTTPS): enabled
-->
<div data-tagid="avp_zid_108">
<script type="text/javascript">
var _avp = _avp || [];
_avp.push({ tagid: \'avp_zid_108\', alias: \'/\', type: \'banner\', zid: 108, pid: 0, iframe: true, width: 300, height: 250, refresh: 30, refresh_limit: 60, inview: true, secure: true });
</script>
</div>',
'ad_lr_300x600' => '<!-- BEGIN ADVERTSERVE CODE -->
<!--
Zone #112: 2023 - 300x600
Size #27: Filmstrip (Half Page Ad) [300x600]
Automatic Refresh: 30 seconds
Secure (HTTPS): enabled
-->
<div data-tagid="avp_zid_112">
<script type="text/javascript">
var _avp = _avp || [];
_avp.push({ tagid: \'avp_zid_112\', alias: \'/\', type: \'banner\', zid: 112, pid: 0, iframe: true, width: 300, height: 600, refresh: 30, refresh_limit: 60, inview: true, secure: true });
</script>
</div>
<!-- END ADVERTSERVE CODE -->',
'ad_lr_728x90' => '<!-- BEGIN ADVERTSERVE CODE -->
<!--
Zone #110: 2023 - 728x90
Size #19: Jumbo Banner [728x90]
Automatic Refresh: 30 seconds
Secure (HTTPS): enabled
-->
<div data-tagid="avp_zid_110">
<script type="text/javascript">
var _avp = _avp || [];
_avp.push({ tagid: \'avp_zid_110\', alias: \'/\', type: \'banner\', zid: 110, pid: 0, iframe: true, width: 728, height: 90, refresh: 30, refresh_limit: 60, inview: true, secure: true });
</script>
</div>',
'ad_lr_wallpaper' => '<!-- BEGIN ADVERTSERVE CODE -->
<!--
Zone #106: 2023 - Wallpaper
Secure (HTTPS): enabled
-->
<script type="text/javascript">
var _avp = _avp || [];
_avp.push({ alias: \'/\', type: \'wallpaper\', zid: 106, pid: 0, secure: \'true\' });
</script>
<!-- END ADVERTSERVE CODE -->',
'ad_wallpaper' => '<!-- BEGIN ADVERTSERVE CODE -->
<!--
Zone #106: 2023 - Wallpaper
Secure (HTTPS): enabled
-->
<script type="text/javascript">
var _avp = _avp || [];
_avp.push({ alias: \'/\', type: \'wallpaper\', zid: 106, pid: 0, secure: \'true\' });
</script>
<!-- END ADVERTSERVE CODE -->',
'advertserve_ajax' => '<!-- BEGIN ADVERTSERVE CODE -->
<script type="text/javascript">
var _avp = _avp || [];
(function() {
var s = document.createElement(\'script\');
s.type = \'text/javascript\'; s.async = true; s.src = \'https://reach.slowtwitch.com/js/libcode3.js\';
var x = document.getElementsByTagName(\'script\')[0];
x.parentNode.insertBefore(s, x);
})();
</script>
<!-- END ADVERTSERVE CODE -->',
'cat_full_name' => 'Slowtwitch Forums',
'comscore' => '',
'current_year' => 'sub {
use POSIX qw(strftime);
my $now_string = strftime "%Y", localtime;
return $now_string;
}',
'encoding' => 'sub {
my $str = shift || return;
require Encode;
return Encode::encode("utf-8", $str);
}',
'ezoic' => '<script async src="//www.ezojs.com/ezoic/sa.min.js"></script>
<script>
window.ezstandalone = window.ezstandalone || {};
ezstandalone.cmd = ezstandalone.cmd || [];
ezstandalone.cmd.push(function() {
ezstandalone.define(103,104,105,106);
setTimeout(ezstandalone.enable(), 2000);
setTimeout(ezstandalone.display(), 2000);
});
</script>',
'ezoic_desktop_bottom' => '<!-- BEGIN ADVERTSERVE CODE -->
<div data-tagid="avp_cid_4071">
<script type="text/javascript">
var _avp = _avp || [];
if (!document.cookie || document.cookie.indexOf(\'AVPDCAP=\') == -1) {
_avp.push({ tagid: \'avp_cid_4071\', alias: \'/\', type: \'dynamic\', cid: 4071, pid: 0, secure: true });
}
</script>
</div>
<!-- END ADVERTSERVE CODE -->',
'ezoic_desktop_sidebar' => '<!-- Ezoic - sidebar_bottom - sidebar_bottom -->
<div id="ezoic-pub-ad-placeholder-103"></div>
<!-- End Ezoic - sidebar_bottom - sidebar_bottom -->',
'ezoic_mobile_thread' => '<!-- BEGIN ADVERTSERVE CODE -->
<div data-tagid="avp_cid_4073">
<script type="text/javascript">
var _avp = _avp || [];
if (!document.cookie || document.cookie.indexOf(\'AVPDCAP=\') == -1) {
_avp.push({ tagid: \'avp_cid_4073\', alias: \'/\', type: \'dynamic\', cid: 4073, pid: 0, secure: true });
}
</script>
</div>
<!-- END ADVERTSERVE CODE -->',
'ezoic_mobile_top' => '<!-- BEGIN ADVERTSERVE CODE -->
<div data-tagid="avp_cid_4072">
<script type="text/javascript">
var _avp = _avp || [];
if (!document.cookie || document.cookie.indexOf(\'AVPDCAP=\') == -1) {
_avp.push({ tagid: \'avp_cid_4072\', alias: \'/\', type: \'dynamic\', cid: 4072, pid: 0, secure: true });
}
</script>
</div>
<!-- END ADVERTSERVE CODE -->',
'google_tag_manager' => '<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-4JP2WEE0TF"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag(\'js\', new Date());
gtag(\'config\', \'G-4JP2WEE0TF\');
</script>
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=G-4JP2WEE0TF"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->',
'new_messages' => 'sub {
return $DB->table(\'Message\')->select(\'COUNT(*)\', { to_user_id_fk => $USER->{user_id}, msg_status => 0 })->fetchrow;
}',
'quantcast' => '',
'registered_users' => 'sub { $DB->table(\'User\')->count }',
'site_title' => 'Slowtwitch.com',
'smilies' => 'sub {
# This is a list of all the smilies that are listed on the message/post compose
# page. Note that all these smilies should already be defined as markup tags.
my @smilies = qw{:) ;) :( :P cool blush angelic crazy mad shocked laugh :/ :| sly pirate ninja w00t huh whistle};
my @ret;
for (@smilies) {
next unless $CFG->{markup_tags}->{$_};
my $val = $CFG->{markup_tags}->{$_}->[0];
$val =~ s/<%image_url%>/$CFG->{image_url}/gi;
$val =~ s/<%cgi_root_url%>/$CFG->{cgi_root_url}/gi;
$val =~ s/<%gforum_cgi%>/$CFG->{gforum_cgi}/gi;
my ($src) = $val =~ /\bsrc="([^"]+)"/;
my ($alt) = $val =~ /\balt="([^"]+)"/;
push @ret, { tag => $_, url => $src, alt => $alt || ""};
}
return { smilies_loop => \@ret };
}'
};
# vim:syn=perl:ts=4:noet

View File

@ -0,0 +1,102 @@
# This file is auto-generated and contains a perl hash of your
# language variables for the 'default' template set.
# Generated: Fri May 22 14:35:00 2015
{
'DATE_DAY_1' => 'Sunday',
'DATE_DAY_2' => 'Monday',
'DATE_DAY_3' => 'Tuesday',
'DATE_DAY_4' => 'Wednesday',
'DATE_DAY_5' => 'Thursday',
'DATE_DAY_6' => 'Friday',
'DATE_DAY_7' => 'Saturday',
'DATE_DAY_SHORT_1' => 'Sun',
'DATE_DAY_SHORT_2' => 'Mon',
'DATE_DAY_SHORT_3' => 'Tue',
'DATE_DAY_SHORT_4' => 'Wed',
'DATE_DAY_SHORT_5' => 'Thu',
'DATE_DAY_SHORT_6' => 'Fri',
'DATE_DAY_SHORT_7' => 'Sat',
'DATE_FORMAT' => '%mmm% %d%, %yy% %H%:%MM%',
'DATE_MONTH_1' => 'January',
'DATE_MONTH_10' => 'October',
'DATE_MONTH_11' => 'November',
'DATE_MONTH_12' => 'December',
'DATE_MONTH_2' => 'February',
'DATE_MONTH_3' => 'March',
'DATE_MONTH_4' => 'April',
'DATE_MONTH_5' => 'May',
'DATE_MONTH_6' => 'June',
'DATE_MONTH_7' => 'July',
'DATE_MONTH_8' => 'August',
'DATE_MONTH_9' => 'September',
'DATE_MONTH_SHORT_1' => 'Jan',
'DATE_MONTH_SHORT_10' => 'Oct',
'DATE_MONTH_SHORT_11' => 'Nov',
'DATE_MONTH_SHORT_12' => 'Dec',
'DATE_MONTH_SHORT_2' => 'Feb',
'DATE_MONTH_SHORT_3' => 'Mar',
'DATE_MONTH_SHORT_4' => 'Apr',
'DATE_MONTH_SHORT_5' => 'May',
'DATE_MONTH_SHORT_6' => 'Jun',
'DATE_MONTH_SHORT_7' => 'Jul',
'DATE_MONTH_SHORT_8' => 'Aug',
'DATE_MONTH_SHORT_9' => 'Sep',
'DATE_UNIT_DAY' => '%s day',
'DATE_UNIT_DAYS' => '%s days',
'DATE_UNIT_DAYS_RECURRING' => '%s days',
'DATE_UNIT_DAY_RECURRING' => 'day',
'DATE_UNIT_MONTH' => '%s month',
'DATE_UNIT_MONTHS' => '%s months',
'DATE_UNIT_MONTHS_RECURRING' => '%s months',
'DATE_UNIT_MONTH_RECURRING' => 'month',
'DATE_UNIT_WEEK' => '%s week',
'DATE_UNIT_WEEKS' => '%s weeks',
'DATE_UNIT_WEEKS_RECURRING' => '%s weeks',
'DATE_UNIT_WEEK_RECURRING' => 'week',
'DATE_UNIT_YEAR' => '%s year',
'DATE_UNIT_YEARS' => '%s years',
'DATE_UNIT_YEARS_RECURRING' => '%s years',
'DATE_UNIT_YEAR_RECURRING' => 'year',
'POLL_ALREADY_DISABLED' => 'This poll is already disabled.',
'POLL_ALREADY_ENABLED' => 'This poll is already enabled.',
'POLL_ALREADY_VOTED' => 'You have already voted!',
'POLL_DISABLED' => 'This poll is closed.',
'POLL_DOES_NOT_EXIST' => 'The poll you are looking for does not exist!',
'POLL_MAY_NOT_EDIT' => 'You may not edit the poll (you can still edit your post).',
'POLL_NOT_ENOUGH_OPTIONS' => 'You can only post polls with two or more options.',
'POLL_THANK_YOU' => 'Thank you for voting',
'POLL_VOTE_EMPTY' => 'Empty vote... why on earth did you do that?',
'SIGNUP_CONFIRM_IMAGE' => 'The security image do not match',
'SIGNUP_EMAIL_BANNED' => 'The e-mail address \'%s\' has been restricted',
'SIGNUP_EMAIL_EXISTS' => 'The e-mail address \'%s\' has already been used with another username: %s',
'SIGNUP_EMAIL_VALIDATION_FAILED' => 'Unable to send validation email: %s',
'SIGNUP_INVALID_PAYMENT' => 'You selected an invalid payment',
'SIGNUP_NO_EMAIL' => 'You did not enter a valid e-mail address',
'SIGNUP_NO_PASSWORD' => 'You did not enter a password',
'SIGNUP_NO_PAYMENT' => 'You did not select a payment',
'SIGNUP_NO_USERNAME' => 'You did not enter a username',
'SIGNUP_PASSWORDS_DONT_MATCH' => 'The passwords you entered do not match',
'TIMEZONE_ERROR' => 'An error occurred while trying to contact the server',
'TIMEZONE_LOADING' => 'Getting local time...',
'USER_BANNED' => 'You have been banned',
'USER_DELETED' => '<i>Deleted</i>',
'USER_DOES_NOT_EXIST' => 'The username you attempted to access does not exist',
'USER_ICON_BAD_TYPE' => 'You attempted to upload of type \'%s\', but only the following image types are allowed: %s',
'USER_ICON_CURRENT' => 'Current custom image',
'USER_ICON_EMPTY' => 'The image you attempted to upload contained no data. Please attempt to upload your image again',
'USER_ICON_SYSTEM_ERROR' => 'A system error occured while attempting to upload your image: %s',
'USER_ICON_TOO_LARGE' => 'The image you attempted to upload exceeds the maximum image size (%s)',
'USER_INVALID_USERNAME' => '%s is not a valid username',
'USER_MISCHIEF_CONTROL' => 'You have to answer the mischief-control tactic question.',
'USER_NEVER_LOGGED_IN' => 'User has never logged in',
'USER_NOTALLOWED_PM' => 'You\'re not allowed to send private messages.',
'USER_NOTALLOWED_POST' => 'You\'re not allowed to post in this forum.',
'USER_NO_PRIVMSG' => '%s has chosen not to receive private messages',
'USER_SIGNATURE_EMOTICON' => 'You are not allowed to use emoticons in your signature',
'USER_SIGNATURE_TOO_LONG' => 'Your signature is too long. Your signature must be under %s characters long',
'USER_SIGNATURE_TOO_MANY_LINES' => 'Your signature spans too many lines. Your signature must be under %s lines',
'USER_TRAINING_DB' => 'Can\'t update training db: %s'
};
# vim:syn=perl:ts=4:noet

View File

@ -0,0 +1,14 @@
To: <%user_email%>
Subject: <%cat_full_name%> - Reply to your post
From: <%cat_full_name%> <<%admin_email%>>
<%cat_full_name%>
<%post_username%> has replied to your post in the <%cat_full_name%>: <%forum_name%> forum.
Subject: <%post_subject%>
You can view the post here: <%cgi_root_url%>/gforum.cgi?post=<%post_id%>#p<%post_id%>
You can unsubscribe the reply notification here: <%cgi_root_url%>/gforum.cgi?do=user_profile_basic