Skip to content

Commit da806f8

Browse files
committed
Tagged TBB 1.6.1
0 parents  commit da806f8

610 files changed

Lines changed: 47844 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitattributes

Lines changed: 144 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,144 @@
1+
* text=auto !eol
2+
images/ranks/bstar.gif -text
3+
images/ranks/gstar.gif -text
4+
images/ranks/rstar.gif -text
5+
images/ranks/ystar.gif -text
6+
images/smilies/1.gif -text
7+
images/smilies/10.gif -text
8+
images/smilies/11.gif -text
9+
images/smilies/2.gif -text
10+
images/smilies/3.gif -text
11+
images/smilies/4.gif -text
12+
images/smilies/5.gif -text
13+
images/smilies/6.gif -text
14+
images/smilies/7.gif -text
15+
images/smilies/8.gif -text
16+
images/smilies/9.gif -text
17+
images/tsmilies/1.gif -text
18+
images/tsmilies/10.gif -text
19+
images/tsmilies/11.gif -text
20+
images/tsmilies/12.gif -text
21+
images/tsmilies/13.gif -text
22+
images/tsmilies/14.gif -text
23+
images/tsmilies/2.gif -text
24+
images/tsmilies/3.gif -text
25+
images/tsmilies/4.gif -text
26+
images/tsmilies/5.gif -text
27+
images/tsmilies/6.gif -text
28+
images/tsmilies/7.gif -text
29+
images/tsmilies/8.gif -text
30+
images/tsmilies/9.gif -text
31+
templates/std/images/closetopic.gif -text
32+
templates/std/images/cnntopic.gif -text
33+
templates/std/images/cntopic.gif -text
34+
templates/std/images/delete.png -text
35+
templates/std/images/deltopic.gif -text
36+
templates/std/images/edit.gif -text
37+
templates/std/images/favicon.ico -text
38+
templates/std/images/ghost.png -text
39+
templates/std/images/hp.gif -text
40+
templates/std/images/mailto.gif -text
41+
templates/std/images/movetopic.gif -text
42+
templates/std/images/new_post.gif -text
43+
templates/std/images/newpm.png -text
44+
templates/std/images/newpoll.gif -text
45+
templates/std/images/newreply.gif -text
46+
templates/std/images/newtopic.gif -text
47+
templates/std/images/no_new_post.gif -text
48+
templates/std/images/onnstopic.gif -text
49+
templates/std/images/onntopic.gif -text
50+
templates/std/images/onstopic.gif -text
51+
templates/std/images/ontopic.gif -text
52+
templates/std/images/opentopic.gif -text
53+
templates/std/images/outbox.png -text
54+
templates/std/images/pintopic.png -text
55+
templates/std/images/pm.gif -text
56+
templates/std/images/pollbar.gif -text
57+
templates/std/images/quote.gif -text
58+
templates/std/images/rss.gif -text
59+
templates/std/images/spinner.gif -text
60+
templates/std/images/steam.png -text
61+
templates/std/images/trenner.gif -text
62+
templates/std/images/unpintopic.png -text
63+
templates/std/images/vcard.png -text
64+
templates/tbb2/images/buttons/delete.png -text
65+
templates/tbb2/images/buttons/edit.png -text
66+
templates/tbb2/images/buttons/email.png -text
67+
templates/tbb2/images/buttons/faq.png -text
68+
templates/tbb2/images/buttons/homepage.png -text
69+
templates/tbb2/images/buttons/login.png -text
70+
templates/tbb2/images/buttons/logout.png -text
71+
templates/tbb2/images/buttons/member_list.png -text
72+
templates/tbb2/images/buttons/munky_panel.png -text
73+
templates/tbb2/images/buttons/my_profile.png -text
74+
templates/tbb2/images/buttons/new_pm.png -text
75+
templates/tbb2/images/buttons/new_poll.png -text
76+
templates/tbb2/images/buttons/new_reply.png -text
77+
templates/tbb2/images/buttons/new_topic.png -text
78+
templates/tbb2/images/buttons/newsletter.png -text
79+
templates/tbb2/images/buttons/pm.png -text
80+
templates/tbb2/images/buttons/pm_delete.png -text
81+
templates/tbb2/images/buttons/pm_new_reply.png -text
82+
templates/tbb2/images/buttons/pm_outbox.png -text
83+
templates/tbb2/images/buttons/pms.png -text
84+
templates/tbb2/images/buttons/quote.png -text
85+
templates/tbb2/images/buttons/register.png -text
86+
templates/tbb2/images/buttons/search.png -text
87+
templates/tbb2/images/buttons/todays_posts.png -text
88+
templates/tbb2/images/buttons/wio.png -text
89+
templates/tbb2/images/cellcat.gif -text
90+
templates/tbb2/images/celltitle.gif -text
91+
templates/tbb2/images/favicon.ico -text
92+
templates/tbb2/images/feed.png -text
93+
templates/tbb2/images/ghost.png -text
94+
templates/tbb2/images/header_background.jpg -text
95+
templates/tbb2/images/icons/award_star_add.png -text
96+
templates/tbb2/images/icons/award_star_delete.png -text
97+
templates/tbb2/images/icons/award_star_edit.png -text
98+
templates/tbb2/images/icons/bullet_error.png -text
99+
templates/tbb2/images/icons/censor_add.png -text
100+
templates/tbb2/images/icons/censor_delete.png -text
101+
templates/tbb2/images/icons/censor_edit.png -text
102+
templates/tbb2/images/icons/chart_bar_edit.png -text
103+
templates/tbb2/images/icons/cnntopic.gif -text
104+
templates/tbb2/images/icons/cntopic.gif -text
105+
templates/tbb2/images/icons/computer_add.png -text
106+
templates/tbb2/images/icons/computer_delete.png -text
107+
templates/tbb2/images/icons/controller.png -text
108+
templates/tbb2/images/icons/cross.png -text
109+
templates/tbb2/images/icons/email.png -text
110+
templates/tbb2/images/icons/error_add.png -text
111+
templates/tbb2/images/icons/error_delete.png -text
112+
templates/tbb2/images/icons/exclamation.png -text
113+
templates/tbb2/images/icons/group_add.png -text
114+
templates/tbb2/images/icons/group_delete.png -text
115+
templates/tbb2/images/icons/group_edit.png -text
116+
templates/tbb2/images/icons/info.png -text
117+
templates/tbb2/images/icons/lock.png -text
118+
templates/tbb2/images/icons/lock_open.png -text
119+
templates/tbb2/images/icons/movetopic.gif -text
120+
templates/tbb2/images/icons/onnstopic.gif -text
121+
templates/tbb2/images/icons/onntopic.gif -text
122+
templates/tbb2/images/icons/onstopic.gif -text
123+
templates/tbb2/images/icons/ontopic.gif -text
124+
templates/tbb2/images/icons/pm.png -text
125+
templates/tbb2/images/icons/pm_delete.png -text
126+
templates/tbb2/images/icons/pm_open.png -text
127+
templates/tbb2/images/icons/pm_reply.png -text
128+
templates/tbb2/images/icons/report.png -text
129+
templates/tbb2/images/icons/report_delete.png -text
130+
templates/tbb2/images/icons/report_disk.png -text
131+
templates/tbb2/images/icons/tick.png -text
132+
templates/tbb2/images/icons/user_add.png -text
133+
templates/tbb2/images/icons/user_edit.png -text
134+
templates/tbb2/images/icons/vcard.png -text
135+
templates/tbb2/images/logo.jpg -text
136+
templates/tbb2/images/minus.gif -text
137+
templates/tbb2/images/new_post.gif -text
138+
templates/tbb2/images/no_new_post.gif -text
139+
templates/tbb2/images/pollbar.gif -text
140+
templates/tbb2/images/spinner.gif -text
141+
templates/tbb2/images/steam.png -text
142+
templates/tbb2/images/v3.gif -text
143+
templates/tbb2/images/v4.gif -text
144+
templates/tbb2/styles/standard.css -text

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
vars/*.lock

core/Constants.php

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
<?php
2+
/**
3+
* Defines various constants.
4+
*
5+
* @author Christoph Jahn <chris@tritanium-scripts.com>
6+
* @copyright Copyright (c) 2010-2012 Tritanium Scripts
7+
* @license http://creativecommons.org/licenses/by-nc-sa/3.0/ Creative Commons 3.0 by-nc-sa
8+
* @package TBB1.6
9+
*/
10+
define('SCRIPTSTART', microtime(true));
11+
define('INDEXFILE', 'index.php');
12+
define('ERR_REPORTING', E_ERROR | E_WARNING | E_PARSE); //Report only warnings or higher
13+
/*
14+
* Two version numbers of this script are used
15+
* to prevent selective bug using in case of
16+
* security vulnerabilities of a specific version.
17+
*/
18+
define('VERSION_PUBLIC', '1.6');
19+
define('VERSION_PRIVATE', VERSION_PUBLIC . '.1.0');
20+
//Define global data path
21+
include('DataPath.php');
22+
//Logging constants
23+
define('LOG_FILESYSTEM', 1); //Problems with filesystem
24+
define('LOG_ACP_ACCESS', 2); //Failed ACP access
25+
define('LOG_FAILED_LOGIN', 3); //Failed login
26+
define('LOG_NEW_POSTING', 4); //New topic or post
27+
define('LOG_EDIT_POSTING', 5); //Edited, deleted, moved post or topic
28+
define('LOG_USER_CONNECT', 6); //User connected to board
29+
define('LOG_LOGIN_LOGOUT', 7); //Logins and logouts
30+
define('LOG_ACP_ACTION', 8); //Admin actions
31+
define('LOG_USER_TRAFFIC', 9); //PMs and mails
32+
define('LOG_EDIT_PROFILE', 10); //Profile changed
33+
define('LOG_REGISTRATION', 11); //New registration
34+
define('LOG_NEW_PASSWORD', 12); //New password request
35+
//BBCode types
36+
define('BBCODE_LIST', 0); //List
37+
define('BBCODE_BOLD', 1); //Bold
38+
define('BBCODE_ITALIC', 2); //Italic
39+
define('BBCODE_UNDERLINE', 3); //Underline
40+
define('BBCODE_STRIKE', 4); //Strike
41+
define('BBCODE_SUPERSCRIPT', 5);//Superscript
42+
define('BBCODE_SUBSCRIPT', 6); //Subscript
43+
define('BBCODE_HIDE', 7); //Spoiler
44+
define('BBCODE_LOCK', 8); //Hidden
45+
define('BBCODE_CENTER', 9); //Center
46+
define('BBCODE_EMAIL', 10); //E-mail
47+
define('BBCODE_IMAGE', 11); //Image
48+
define('BBCODE_LINK', 12); //URL
49+
define('BBCODE_COLOR', 13); //Color
50+
define('BBCODE_SIZE', 14); //Size
51+
define('BBCODE_GLOW', 15); //Glow
52+
define('BBCODE_SHADOW', 16); //Shadow
53+
define('BBCODE_FLASH', 17); //Flash
54+
define('BBCODE_QUOTE', 18); //Quote
55+
define('BBCODE_CODE', 19); //Code / PHP
56+
//Smiley types
57+
define('SMILEY_SMILEY', 0); //Normal smiles
58+
define('SMILEY_TOPIC', 1); //Post icons
59+
define('SMILEY_ADMIN', 2); //Admin and (s)mod smilies
60+
?>

core/DataPath.php

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<?php
2+
/**
3+
* Defines an additional path as prefix for "foren", "members", "vars", "logs" and "polls" folders.
4+
*
5+
* @author Christoph Jahn <chris@tritanium-scripts.com>
6+
* @copyright Copyright (c) 2010 Tritanium Scripts
7+
* @license http://creativecommons.org/licenses/by-nc-sa/3.0/ Creative Commons 3.0 by-nc-sa
8+
* @package TBB1.5
9+
*/
10+
define('DATAPATH', './');
11+
?>

0 commit comments

Comments
 (0)