Version 2.0
This commit is contained in:
parent
88ace08adc
commit
4607c74a6e
20 changed files with 1752 additions and 1391 deletions
17
.gitattributes
vendored
Normal file
17
.gitattributes
vendored
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
# Auto detect text files and perform LF normalization
|
||||||
|
* text=auto
|
||||||
|
|
||||||
|
# Custom for Visual Studio
|
||||||
|
*.cs diff=csharp
|
||||||
|
|
||||||
|
# Standard to msysgit
|
||||||
|
*.doc diff=astextplain
|
||||||
|
*.DOC diff=astextplain
|
||||||
|
*.docx diff=astextplain
|
||||||
|
*.DOCX diff=astextplain
|
||||||
|
*.dot diff=astextplain
|
||||||
|
*.DOT diff=astextplain
|
||||||
|
*.pdf diff=astextplain
|
||||||
|
*.PDF diff=astextplain
|
||||||
|
*.rtf diff=astextplain
|
||||||
|
*.RTF diff=astextplain
|
221
.gitignore
vendored
Normal file
221
.gitignore
vendored
Normal file
|
@ -0,0 +1,221 @@
|
||||||
|
#################
|
||||||
|
## Eclipse
|
||||||
|
#################
|
||||||
|
|
||||||
|
*.pydevproject
|
||||||
|
.project
|
||||||
|
.metadata
|
||||||
|
bin/
|
||||||
|
tmp/
|
||||||
|
*.tmp
|
||||||
|
*.bak
|
||||||
|
*.swp
|
||||||
|
*~.nib
|
||||||
|
local.properties
|
||||||
|
.classpath
|
||||||
|
.settings/
|
||||||
|
.loadpath
|
||||||
|
|
||||||
|
# External tool builders
|
||||||
|
.externalToolBuilders/
|
||||||
|
|
||||||
|
# Locally stored "Eclipse launch configurations"
|
||||||
|
*.launch
|
||||||
|
|
||||||
|
# CDT-specific
|
||||||
|
.cproject
|
||||||
|
|
||||||
|
# PDT-specific
|
||||||
|
.buildpath
|
||||||
|
|
||||||
|
|
||||||
|
#################
|
||||||
|
## Visual Studio
|
||||||
|
#################
|
||||||
|
|
||||||
|
## Ignore Visual Studio temporary files, build results, and
|
||||||
|
## files generated by popular Visual Studio add-ons.
|
||||||
|
|
||||||
|
# User-specific files
|
||||||
|
*.suo
|
||||||
|
*.user
|
||||||
|
*.sln.docstates
|
||||||
|
|
||||||
|
# Build results
|
||||||
|
|
||||||
|
[Dd]ebug/
|
||||||
|
[Rr]elease/
|
||||||
|
x64/
|
||||||
|
build/
|
||||||
|
[Bb]in/
|
||||||
|
[Oo]bj/
|
||||||
|
|
||||||
|
# MSTest test Results
|
||||||
|
[Tt]est[Rr]esult*/
|
||||||
|
[Bb]uild[Ll]og.*
|
||||||
|
|
||||||
|
*_i.c
|
||||||
|
*_p.c
|
||||||
|
*.ilk
|
||||||
|
*.meta
|
||||||
|
*.obj
|
||||||
|
*.pch
|
||||||
|
*.pdb
|
||||||
|
*.pgc
|
||||||
|
*.pgd
|
||||||
|
*.rsp
|
||||||
|
*.sbr
|
||||||
|
*.tlb
|
||||||
|
*.tli
|
||||||
|
*.tlh
|
||||||
|
*.tmp
|
||||||
|
*.tmp_proj
|
||||||
|
*.log
|
||||||
|
*.vspscc
|
||||||
|
*.vssscc
|
||||||
|
.builds
|
||||||
|
*.pidb
|
||||||
|
*.log
|
||||||
|
*.scc
|
||||||
|
|
||||||
|
# Visual C++ cache files
|
||||||
|
ipch/
|
||||||
|
*.aps
|
||||||
|
*.ncb
|
||||||
|
*.opensdf
|
||||||
|
*.sdf
|
||||||
|
*.cachefile
|
||||||
|
|
||||||
|
# Visual Studio profiler
|
||||||
|
*.psess
|
||||||
|
*.vsp
|
||||||
|
*.vspx
|
||||||
|
|
||||||
|
# Guidance Automation Toolkit
|
||||||
|
*.gpState
|
||||||
|
|
||||||
|
# ReSharper is a .NET coding add-in
|
||||||
|
_ReSharper*/
|
||||||
|
*.[Rr]e[Ss]harper
|
||||||
|
|
||||||
|
# TeamCity is a build add-in
|
||||||
|
_TeamCity*
|
||||||
|
|
||||||
|
# DotCover is a Code Coverage Tool
|
||||||
|
*.dotCover
|
||||||
|
|
||||||
|
# NCrunch
|
||||||
|
*.ncrunch*
|
||||||
|
.*crunch*.local.xml
|
||||||
|
|
||||||
|
# Installshield output folder
|
||||||
|
[Ee]xpress/
|
||||||
|
|
||||||
|
# DocProject is a documentation generator add-in
|
||||||
|
DocProject/buildhelp/
|
||||||
|
DocProject/Help/*.HxT
|
||||||
|
DocProject/Help/*.HxC
|
||||||
|
DocProject/Help/*.hhc
|
||||||
|
DocProject/Help/*.hhk
|
||||||
|
DocProject/Help/*.hhp
|
||||||
|
DocProject/Help/Html2
|
||||||
|
DocProject/Help/html
|
||||||
|
|
||||||
|
# Click-Once directory
|
||||||
|
publish/
|
||||||
|
|
||||||
|
# Publish Web Output
|
||||||
|
*.Publish.xml
|
||||||
|
*.pubxml
|
||||||
|
*.publishproj
|
||||||
|
|
||||||
|
# NuGet Packages Directory
|
||||||
|
## TODO: If you have NuGet Package Restore enabled, uncomment the next line
|
||||||
|
#packages/
|
||||||
|
|
||||||
|
# Windows Azure Build Output
|
||||||
|
csx
|
||||||
|
*.build.csdef
|
||||||
|
|
||||||
|
# Windows Store app package directory
|
||||||
|
AppPackages/
|
||||||
|
|
||||||
|
# Others
|
||||||
|
sql/
|
||||||
|
*.Cache
|
||||||
|
ClientBin/
|
||||||
|
[Ss]tyle[Cc]op.*
|
||||||
|
~$*
|
||||||
|
*~
|
||||||
|
*.dbmdl
|
||||||
|
*.[Pp]ublish.xml
|
||||||
|
*.pfx
|
||||||
|
*.publishsettings
|
||||||
|
|
||||||
|
# RIA/Silverlight projects
|
||||||
|
Generated_Code/
|
||||||
|
|
||||||
|
# Backup & report files from converting an old project file to a newer
|
||||||
|
# Visual Studio version. Backup files are not needed, because we have git ;-)
|
||||||
|
_UpgradeReport_Files/
|
||||||
|
Backup*/
|
||||||
|
UpgradeLog*.XML
|
||||||
|
UpgradeLog*.htm
|
||||||
|
|
||||||
|
# SQL Server files
|
||||||
|
App_Data/*.mdf
|
||||||
|
App_Data/*.ldf
|
||||||
|
|
||||||
|
#############
|
||||||
|
## Windows detritus
|
||||||
|
#############
|
||||||
|
|
||||||
|
# Windows image file caches
|
||||||
|
Thumbs.db
|
||||||
|
ehthumbs.db
|
||||||
|
|
||||||
|
# Folder config file
|
||||||
|
Desktop.ini
|
||||||
|
|
||||||
|
# Recycle Bin used on file shares
|
||||||
|
$RECYCLE.BIN/
|
||||||
|
|
||||||
|
# Mac crap
|
||||||
|
.DS_Store
|
||||||
|
|
||||||
|
|
||||||
|
#############
|
||||||
|
## Python
|
||||||
|
#############
|
||||||
|
|
||||||
|
*.py[cod]
|
||||||
|
|
||||||
|
# Packages
|
||||||
|
*.egg
|
||||||
|
*.egg-info
|
||||||
|
dist/
|
||||||
|
build/
|
||||||
|
eggs/
|
||||||
|
parts/
|
||||||
|
var/
|
||||||
|
sdist/
|
||||||
|
develop-eggs/
|
||||||
|
.installed.cfg
|
||||||
|
|
||||||
|
# Installer logs
|
||||||
|
pip-log.txt
|
||||||
|
|
||||||
|
# Unit test / coverage reports
|
||||||
|
.coverage
|
||||||
|
.tox
|
||||||
|
|
||||||
|
#Translations
|
||||||
|
*.mo
|
||||||
|
|
||||||
|
#Mr Developer
|
||||||
|
.mr.developer.cfg
|
||||||
|
|
||||||
|
#############
|
||||||
|
## ninechan
|
||||||
|
#############
|
||||||
|
config.php
|
12
README.md
12
README.md
|
@ -10,11 +10,11 @@ When downloading ninechan make sure to download it from the Releases tab thing a
|
||||||
Requirements
|
Requirements
|
||||||
------------
|
------------
|
||||||
|
|
||||||
| *Server-Side* | *Client-Side* |
|
| *Server-Side* | *Client-Side* |
|
||||||
| ---------------------- | ---------------------------- |
|
| ---------------------------------- | ---------------------------- |
|
||||||
| PHP >= 5.3 | Enabled JavaScript |
|
| PHP >= 5.3 | Enabled JavaScript |
|
||||||
| MySQL >= 4 | CSS Compatibility |
|
| Any PDO compatible Database Engine | CSS Compatibility |
|
||||||
| Short PHP Tags | Cookies enabled |
|
| Short PHP Tags | Cookies enabled |
|
||||||
|
|
||||||
Features
|
Features
|
||||||
--------
|
--------
|
||||||
|
@ -30,4 +30,4 @@ Features
|
||||||
|
|
||||||
Help
|
Help
|
||||||
----
|
----
|
||||||
Although I don't really see when you need help with the board just send me an email (email address is on github profile) or ask about it on one of the board on http://forum.flash.moe/viewforum.php?f=5
|
Although I don't really see when you need help with the script just send me an email (email address is on github profile) or ask about it in the issues section
|
||||||
|
|
11
bbcodes.json
Normal file
11
bbcodes.json
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
{
|
||||||
|
"\/\\[b\\](.*?)\\[\\\/b\\]\/is": "<b>$1<\/b>",
|
||||||
|
"\/\\[i\\](.*?)\\[\\\/i\\]\/is": "<i>$1<\/i>",
|
||||||
|
"\/\\[u\\](.*?)\\[\\\/u\\]\/is": "<u>$1<\/u>",
|
||||||
|
"\/\\[url\\=(.*?)\\](.*?)\\[\\\/url\\]\/is": "<a href=\"$1\" rel=\"nofollow\" title=\"$2 - $1\">$2<\/a>",
|
||||||
|
"\/\\[url\\](.*?)\\[\\\/url\\]\/is": "<a href=\"$1\" rel=\"nofollow\" title=\"$1\">$1<\/a>",
|
||||||
|
"\/\\[spoiler\\](.*?)\\[\\\/spoiler\\]\/is": "<span class=\"spoiler\">$1<\/span>",
|
||||||
|
"\/>>(.*[0-9])\/i": "<a class=\"lquote\" href=\"#$1\">>>$1<\/a>",
|
||||||
|
"\/^>(.*?)$\/im": "<span class=\"quote\">>$1<\/span>",
|
||||||
|
"\/^.*(youtu.be|youtube.com\\\/embed\\\/|watch\\?v=|\\&v=)([^!<>@&#\\\/\\s]*)\/is": "<iframe style=\"width:425px;height:350px;\" src=\"https:\/\/www.youtube.com\/embed\/$2\" frameborder=\"0\" allowfullscreen><\/iframe>"
|
||||||
|
}
|
|
@ -121,7 +121,22 @@ Version 1.10.2e (06-12-2014):
|
||||||
Indonesian language file added (thanks to Flappyzor)
|
Indonesian language file added (thanks to Flappyzor)
|
||||||
|
|
||||||
Version 1.11alpha1 (06-12-2014):
|
Version 1.11alpha1 (06-12-2014):
|
||||||
------------------------------
|
--------------------------------
|
||||||
Made configuration variables more overviewable (WILL break things if you don't update your configuration file).
|
Made configuration variables more overviewable (WILL break things if you don't update your configuration file).
|
||||||
Put version number in a define at the top of the file to make changing it easier in case I decide to use it elsewhere.
|
Put version number in a define at the top of the file to make changing it easier in case I decide to use it elsewhere.
|
||||||
Why was the doctype statement all the way on the top above the PHP code?
|
Why was the doctype statement all the way on the top above the PHP code?
|
||||||
|
|
||||||
|
Version 1.11alpha2 (16-12-2014):
|
||||||
|
--------------------------------
|
||||||
|
Implement language version checking.
|
||||||
|
|
||||||
|
-- 1.11alpha3 and alpha4 have been included in 2.0 --
|
||||||
|
|
||||||
|
Version 2.0 (12-05-2015):
|
||||||
|
--------------------------------
|
||||||
|
Switch to PDO from MySQLi
|
||||||
|
Change config and language handling
|
||||||
|
Switch to ReCAPTCHA v2
|
||||||
|
Redid JavaScript backend
|
||||||
|
Implemented thread bumping
|
||||||
|
Added SQL structure file
|
||||||
|
|
112
config.example.php
Normal file
112
config.example.php
Normal file
|
@ -0,0 +1,112 @@
|
||||||
|
<?php
|
||||||
|
// Define configuration arrays
|
||||||
|
$sql=array();$ninechan=array();
|
||||||
|
|
||||||
|
/// Database Connection ///
|
||||||
|
// PDO DSN http://php.net/manual/en/pdo.drivers.php
|
||||||
|
$sql['dsn'] = "mysql:host=localhost;dbname=ninechan;";
|
||||||
|
|
||||||
|
// Database Username
|
||||||
|
$sql['user'] = "ninechan";
|
||||||
|
|
||||||
|
// Database Password
|
||||||
|
$sql['pass'] = "";
|
||||||
|
|
||||||
|
// Database Table
|
||||||
|
$sql['table'] = "";
|
||||||
|
|
||||||
|
|
||||||
|
/// Board Settings ///
|
||||||
|
// Cookie Prefix (for if you have multiple boards and you want to keep the cookies apart).
|
||||||
|
$ninechan['cookiePrefix'] = "nine_";
|
||||||
|
|
||||||
|
// Path on the server for the cookies
|
||||||
|
$ninechan['cookiePath'] = "/";
|
||||||
|
|
||||||
|
// The time cookies should live
|
||||||
|
$ninechan['cookieLifetime'] = 604800;
|
||||||
|
|
||||||
|
// Set if errors should be displayed
|
||||||
|
$ninechan['exposeErrors'] = true;
|
||||||
|
|
||||||
|
// Set the language. Must match filename from file in /lang/ folder (excluding .php).
|
||||||
|
$ninechan['lang'] = "en";
|
||||||
|
|
||||||
|
// Define if the board should be open(false) or closed(true)
|
||||||
|
$ninechan['closed'] = false;
|
||||||
|
|
||||||
|
// Set the message displayed when the board is closed
|
||||||
|
$ninechan['closedReason'] = "Maintenance";
|
||||||
|
|
||||||
|
// Board title
|
||||||
|
$ninechan['title'] = "ninechan board";
|
||||||
|
|
||||||
|
// Character set used by the board
|
||||||
|
$ninechan['charset'] = "utf-8";
|
||||||
|
|
||||||
|
// Specify the board description (set to null to disable)
|
||||||
|
$ninechan['desc'] = "Live development board";
|
||||||
|
|
||||||
|
// Set the paths to the CSS styles and their names (set to null to disable styles), please refrain from using special characters in titles
|
||||||
|
$ninechan['styles'] = array(
|
||||||
|
"ninechan.css" => "ninechan blue",
|
||||||
|
"ninechan2.css" => "ninechan red"
|
||||||
|
);
|
||||||
|
|
||||||
|
// Set if the version number should be displayed, false is recommended
|
||||||
|
$ninechan['showVersion'] = true;
|
||||||
|
|
||||||
|
// Amount of threads that should be displayed on a page of the index
|
||||||
|
$ninechan['threadsPerPage'] = 20;
|
||||||
|
|
||||||
|
// Set the minimum character length of a title
|
||||||
|
$ninechan['titleMinLength'] = 5;
|
||||||
|
|
||||||
|
// Set the maximum character length of a title
|
||||||
|
$ninechan['titleMaxLength'] = 40;
|
||||||
|
|
||||||
|
// Set the minimum character length of a comment
|
||||||
|
$ninechan['commentMinLength'] = 5;
|
||||||
|
|
||||||
|
// Set the maximum character length of a comment
|
||||||
|
$ninechan['commentMaxLength'] = 3000;
|
||||||
|
|
||||||
|
// Specify the Mod Password for moderating posts
|
||||||
|
$ninechan['modPass'] = "change this if you don't want your board to get hacked";
|
||||||
|
|
||||||
|
// Specify the "encrypted" tripcodes of the admins (e.g. QphRmfeTkY)
|
||||||
|
$ninechan['adminTrip'] = array(
|
||||||
|
"QphRmfeTkY"
|
||||||
|
);
|
||||||
|
|
||||||
|
// Specify the "encrypted" tripcodes of mods (e.g. QphRmfeTkY)
|
||||||
|
$ninechan['modTrip'] = array(
|
||||||
|
"QphRmfeTkY"
|
||||||
|
);
|
||||||
|
|
||||||
|
// Specify the name used for Anonymous posters
|
||||||
|
$ninechan['anonName'] = "Anonymous";
|
||||||
|
|
||||||
|
// Specify whether admins should be Anonymous (0. No, 1. Fully anon, 2. Only hide trip)
|
||||||
|
$ninechan['adminsAreAnon'] = 0;
|
||||||
|
|
||||||
|
// Specify whether mods should be Anonymous (0. No, 1. Fully anon, 2. Only hide trip)
|
||||||
|
$ninechan['modsAreAnon'] = 0;
|
||||||
|
|
||||||
|
// Specify whether anonymous posting is forced or not
|
||||||
|
$ninechan['forcedAnon'] = false;
|
||||||
|
|
||||||
|
// Specify in what way dates and times should be ordered following PHP's date() function (default: D Y-m-d H:i T)
|
||||||
|
$ninechan['dateFormat'] = 'D Y-m-d H:i T';
|
||||||
|
|
||||||
|
// JSON file containing BBcodes
|
||||||
|
$ninechan['bbCodes'] = 'bbcodes.json';
|
||||||
|
|
||||||
|
// Set whether reCAPTCHA should be enabled (reCAPTCHA PHP Library required).
|
||||||
|
$ninechan['reCaptcha'] = true;
|
||||||
|
|
||||||
|
// reCAPTCHA Public key
|
||||||
|
$ninechan['reCaptchaPublic'] = "6LdQwAYTAAAAAKSW9Q7U6qS6HFTwotccCMr1Ejri";
|
||||||
|
|
||||||
|
// reCAPTCHA Private key
|
||||||
|
$ninechan['reCaptchaPrivate'] = "6LdQwAYTAAAAAJ3NUhUmFyc814B7AM1LGbVwWKp2";
|
52
config.php
52
config.php
|
@ -1,52 +0,0 @@
|
||||||
<?php
|
|
||||||
// Define configuration arrays
|
|
||||||
$sql = array();
|
|
||||||
$ninechan = array();
|
|
||||||
|
|
||||||
// Database Connection Settings
|
|
||||||
$sql['dsn'] = "mysql:host=localhost; dbname=ninechan;"; // PDO DSN
|
|
||||||
$sql['user'] = "root"; // Database Username
|
|
||||||
$sql['pass'] = ""; // Database Password
|
|
||||||
$sql['table'] = "nine"; // Database Table
|
|
||||||
|
|
||||||
// Board Settings
|
|
||||||
$ninechan['cookiePrefix'] = "nine_"; // Cookie Prefix (for if you have multiple boards and you want to keep the cookies apart).
|
|
||||||
$ninechan['cookiePath'] = "/"; // Path on the server for the cookies
|
|
||||||
$ninechan['cookieLifetime'] = 604800; // The time cookies should live
|
|
||||||
$ninechan['exposeErrors'] = false; // Display errors
|
|
||||||
$ninechan['lang'] = "en"; // Set the language. Must match filename from file in /lang/ folder (excluding .php).
|
|
||||||
$ninechan['closed'] = false; // open(false) or close(true) the board
|
|
||||||
$ninechan['closedReason'] = "Maintenance"; // Set the message displayed when the board is closed
|
|
||||||
$ninechan['disablePosting'] = true; // Turn posting on or off
|
|
||||||
$ninechan['title'] = "ninechan"; // Board title
|
|
||||||
$ninechan['charset'] = "UTF-8"; // Character set used by the board
|
|
||||||
$ninechan['desc'] = "best shitty board software"; // Specify the board description (set to null to disable)
|
|
||||||
$ninechan['styles'] = array( // Paths to the CSS styles and their names (set to null to disable styles)
|
|
||||||
"ninechan.css" => "ninechan blue",
|
|
||||||
"ninechan2.css" => "ninechan red"
|
|
||||||
);
|
|
||||||
$ninechan['showVersion'] = false; // Display version number in the footer, false is recommended
|
|
||||||
$ninechan['sage'] = false; // Should threads "disappear" after a certain amount of new threads (true = yes/false = no)
|
|
||||||
$ninechan['sageLimit'] = 20; // If "sage" is set to true, how many threads should be displayed
|
|
||||||
$ninechan['titleMinLength'] = 5; // Minimum character length of a title
|
|
||||||
$ninechan['titleMaxLength'] = 40; // Maximum character length of a title
|
|
||||||
$ninechan['commentMinLength'] = 5; // Minimum character length of a comment
|
|
||||||
$ninechan['commentMaxLength'] = 3000; // Maximum character length of a comment
|
|
||||||
$ninechan['modPass'] = "changethis"; // Password to the moderation panel
|
|
||||||
$ninechan['adminTrip'] = array( // Hashed tripcodes of the admins (e.g. QphRmfeTkY)
|
|
||||||
"first trip",
|
|
||||||
"second trip"
|
|
||||||
);
|
|
||||||
$ninechan['modTrip'] = array( // Hashed tripcodes of moderators (e.g. QphRmfeTkY)
|
|
||||||
"first trip",
|
|
||||||
"second trip"
|
|
||||||
);
|
|
||||||
$ninechan['anonName'] = "Anonymous"; // Name used for Anonymous posters
|
|
||||||
$ninechan['adminsAreAnon'] = 0; // Should Admins be Anonymous (0. No, 1. Fully anon, 2. Only hide trip)
|
|
||||||
$ninechan['modsAreAnon'] = 0; // Should Mods be Anonymous (0. No, 1. Fully anon, 2. Only hide trip)
|
|
||||||
$ninechan['forcedAnon'] = false; // Force Anonymous posting?
|
|
||||||
$ninechan['dateFormat'] = 'D Y-m-d H:i T'; // Date and time formatting, should be ordered following the PHP date() function (default: D Y-m-d H:i T)
|
|
||||||
$ninechan['reCaptcha'] = false; // Enable or disable reCAPTCHA (reCAPTCHA PHP Library required)
|
|
||||||
$ninechan['reCaptchaLib'] = "recaptcha.php"; // Path to the reCAPTCHA PHP Library (only required if reCAPTCHA is enabled)
|
|
||||||
$ninechan['reCaptchaPublic'] = ""; // reCAPTCHA Public key
|
|
||||||
$ninechan['reCaptchaPrivate'] = ""; // reCAPTCHA Private key
|
|
122
lang/de.php
122
lang/de.php
|
@ -1,63 +1,73 @@
|
||||||
<?php
|
<?php
|
||||||
// Ninechan german translation file by berserkingyadis <berserkingyadis@gmail.com>
|
/*
|
||||||
|
* German translation
|
||||||
|
* By Bers <https://github.com/berserkingyadis>
|
||||||
|
* (With slight updates by Flashwave <https://github.com/flashwave>)
|
||||||
|
*/
|
||||||
|
|
||||||
// Meta //
|
// Version of ninechan this language file is created for
|
||||||
define('LDATA_VERSION', '1.11alpha2'); // Version of ninechan language file is made for
|
$langVersion = '2.0';
|
||||||
|
|
||||||
// Board //
|
$language = [
|
||||||
define('L_THREADS', 'Threads'); // Threads
|
|
||||||
define('L_THREAD', 'Thread'); // Thread
|
|
||||||
define('L_NEWTHREAD', 'Neuer Thread'); // New Thread
|
|
||||||
define('L_NEWREPLY', 'Neuer Reply'); // New Reply
|
|
||||||
define('L_LOCKED', 'Gesperrt'); // Locked
|
|
||||||
define('L_BY', 'von'); // by
|
|
||||||
|
|
||||||
// Posting //
|
// Board
|
||||||
define('L_RETO', 'Antworten auf'); // Reply to
|
'THREADS' => 'Threads',
|
||||||
define('L_TITLE', 'Titel'); // Title
|
'THREAD' => 'Thread',
|
||||||
define('L_NAME', 'Name'); // Name
|
'NEWTHREAD' => 'Neuer Thread',
|
||||||
define('L_EMAIL', 'Email'); // Name
|
'NEWREPLY' => 'Neuer Reply',
|
||||||
define('L_COMMENT', 'Kommentar'); // Comment
|
'LOCKED' => 'Gesperrt',
|
||||||
define('L_SUBMIT', 'Abschicken'); // Submit
|
'BY' => 'von',
|
||||||
define('L_VERIFICATION', 'Verifikation'); // Verification
|
'RETURN' => 'Zurück nach Index',
|
||||||
define('L_PASSWORD', 'Passwort'); // Password
|
|
||||||
define('L_PASSWORDCONTEXT', 'zum post löschen'); // used for post deletion
|
|
||||||
define('L_DELPOST', 'Post löschen'); // Delete post
|
|
||||||
|
|
||||||
// Messages //
|
// Posting
|
||||||
define('L_BOARD_CLOSED', 'Die '.$ninechan['title'].' boards sind momentan geschlossen.'); // Boards are closed
|
'RETO' => 'Antworten auf',
|
||||||
define('L_REASON', 'Grund'); // Reason
|
'TITLE' => 'Titel',
|
||||||
define('L_BANNED', 'Du wurdest von diesem board gebannt.'); // Text displayed upon being banned
|
'NAME' => 'Name',
|
||||||
define('L_POSTBANNED', '(USER WURDE FÜR DIESEN POST GEBANNT)'); // Text displayed under banned post
|
'EMAIL' => 'Email',
|
||||||
define('L_EMPTY', 'Hier gibt es noch keine Threads.'); // Text displayed when the board is empty
|
'COMMENT' => 'Kommentar',
|
||||||
define('L_NONEXISTENT', 'Nicht existerender Thread.'); // Text displayed when the board is empty
|
'SUBMIT' => 'Abschicken',
|
||||||
define('L_LOCKEDMSG', 'Reply nicht möglich, da der Thread gesperrt ist'); // Text displayed when the thread is locked and replying isn't possible
|
'VERIFICATION' => 'Verifikation',
|
||||||
define('L_LOCKEDMSG_2', 'Löschen nicht möglich, da der Thread gesperrt ist'); // Text displayed when the thread is locked and deleting isn't possible
|
'PASSWORD' => 'Passwort',
|
||||||
define('L_POSTED', 'Geposted!'); // Text displayed when the post is successful
|
'PASSWORDCONTEXT' => 'zum post löschen',
|
||||||
define('L_MODTOOLS', 'Die Moderator Tools sollten nun neben den Posts angezeigt werden.'); // Mod tools message
|
'DELPOST' => 'Post löschen',
|
||||||
define('L_TITLETOOSHORT', 'Dieser Titel ist zu kurz.'); // The given title is too short.
|
|
||||||
define('L_TITLETOOLONG', 'Dieser Titel ist zu lang.'); // The given title is too long.
|
|
||||||
define('L_COMMENTTOOSHORT', 'Dieser Kommentar ist zu kurz.'); // The given comment is too short.
|
|
||||||
define('L_COMMENTTOOLONG', 'Dieser Kommentar ist zu lang.'); // The given comment is too long.
|
|
||||||
|
|
||||||
// Warnings and errors //
|
// Messages
|
||||||
define('L_PHP_OUTDATED', 'Deine PHP-Installation ist out of date. Bitte installiere mindestens PHP 5.3.'); // Outdated PHP version
|
'BOARD_CLOSED' => 'Die boards sind momentan geschlossen.',
|
||||||
define('L_SQL_FUNCTION', 'Deine PHP-Installation unterstützt kein PDO.'); // SQL connect function does not exist
|
'REASON' => 'Grund',
|
||||||
define('L_SQL_CONNECT', 'SQL Connection - Fehler'); // Error while connecting to MySQL
|
'BANNED' => 'Du wurdest von diesem board gebannt.',
|
||||||
define('L_INVALIDCAPTCHA', 'Falsches Captcha.'); // Message displayed when captcha is wrong
|
'POSTBANNED' => '(USER WURDE FÜR DIESEN POST GEBANNT)',
|
||||||
define('L_DEL_SUCCEED', 'Löschen erfolgreich!'); // Message displayed when post is deleted
|
'EMPTY' => 'Hier gibt es noch keine Threads.',
|
||||||
define('L_DEL_FAILED', 'Löschen fehlgeschlagen.'); // Message displayed when post isn't deleted
|
'NONEXISTENT' => 'Nicht existerender Thread.',
|
||||||
define('L_USERBANNEDMSG', 'Du kannst in diesem Board nichts posten, da du gebannt bist.'); // Message displayed on top of the board when IP is banned
|
'LOCKEDMSG' => 'Reply nicht möglich, da der Thread gesperrt ist.',
|
||||||
define('L_USERBANNED', 'Deine IP ist gebannt.'); // Message displayed when trying to access a restricted page
|
'LOCKEDMSGDEL' => 'Löschen nicht möglich, da der Thread gesperrt ist.',
|
||||||
|
'POSTED' => 'Geposted!',
|
||||||
|
'MODTOOLS' => 'Die Moderator Tools sollten nun neben den Posts angezeigt werden.',
|
||||||
|
'TITLETOOSHORT' => 'Dieser Titel ist zu kurz.',
|
||||||
|
'TITLETOOLONG' => 'Dieser Titel ist zu lang.',
|
||||||
|
'COMMENTTOOSHORT' => 'Dieser Kommentar ist zu kurz.',
|
||||||
|
'COMMENTTOOLONG' => 'Dieser Kommentar ist zu lang.',
|
||||||
|
'NOTNUMERIC' => 'Post-Daten konnten nicht abgerufen werden.',
|
||||||
|
|
||||||
// Moderator tools //
|
// Warnings and errors
|
||||||
define('L_DELETE', 'Löschen'); // Delete button
|
'PHP_OUTDATED' => 'Deine PHP-Installation ist out of date. Bitte installiere mindestens PHP 5.3.',
|
||||||
define('L_PURGE', 'Thread löschen'); // Purge button
|
'SQL_FUNCTION' => 'Deine PHP-Installation unterstützt kein PDO.',
|
||||||
define('L_LOCK', 'Thread sperren'); // Lock button
|
'SQL_CONNECT' => 'SQL Connection - Fehler',
|
||||||
define('L_UNLOCK', 'Thread entsperren'); // Unlock button
|
'INVALIDCAPTCHA' => 'Falsches Captcha.',
|
||||||
define('L_BAN', 'Bannen'); // Ban button
|
'DEL_SUCCEED' => 'Löschen erfolgreich!',
|
||||||
define('L_UNBAN', 'Entbannen'); // Unban button
|
'DEL_FAILED' => 'Löschen fehlgeschlagen.',
|
||||||
define('L_MODLOGOUT', 'Moderator Logout'); // Moderator Logout
|
'USERBANNEDMSG' => 'Du kannst in diesem Board nichts posten, da du gebannt bist.',
|
||||||
define('L_MODLOGIN', 'Moderator Login'); // Moderator Login
|
'USERBANNED' => 'Deine IP ist gebannt.',
|
||||||
define('L_LOGOUT', 'Logout'); // Logout
|
|
||||||
define('L_LOGIN', 'Login'); // Login
|
// Moderator tools
|
||||||
|
'DELETE' => 'Löschen',
|
||||||
|
'PURGE' => 'Thread löschen',
|
||||||
|
'LOCK' => 'Thread sperren',
|
||||||
|
'UNLOCK' => 'Thread entsperren',
|
||||||
|
'BAN' => 'Bannen',
|
||||||
|
'UNBAN' => 'Entbannen',
|
||||||
|
'MODLOGOUT' => 'Moderator Logout',
|
||||||
|
'MODLOGIN' => 'Moderator Login',
|
||||||
|
'LOGOUT' => 'Logout',
|
||||||
|
'LOGIN' => 'Login'
|
||||||
|
|
||||||
|
];
|
||||||
|
|
123
lang/en.php
123
lang/en.php
|
@ -1,65 +1,72 @@
|
||||||
<?php
|
<?php
|
||||||
//// Ninechan Official English Language File ////
|
/*
|
||||||
|
* Default English translation
|
||||||
|
* By Flashwave <https://github.com/flashwave>
|
||||||
|
*/
|
||||||
|
|
||||||
// Meta //
|
// Version of ninechan this language file is created for
|
||||||
define('LDATA_VERSION', '1.11alpha4'); // Version of ninechan language file is made for
|
$langVersion = '2.0';
|
||||||
|
|
||||||
// Board //
|
$language = [
|
||||||
define('L_THREADS', 'Threads'); // Threads
|
|
||||||
define('L_THREAD', 'Thread'); // Thread
|
|
||||||
define('L_NEWTHREAD', 'New Thread'); // New Thread
|
|
||||||
define('L_NEWREPLY', 'New Reply'); // New Reply
|
|
||||||
define('L_LOCKED', 'Locked'); // Locked
|
|
||||||
define('L_BY', 'by'); // by
|
|
||||||
define('L_RETURN', 'Return to Index'); // Return to Index
|
|
||||||
|
|
||||||
// Posting //
|
// Board
|
||||||
define('L_RETO', 'Reply to'); // Reply to
|
'THREADS' => 'Threads',
|
||||||
define('L_TITLE', 'Title'); // Title
|
'THREAD' => 'Thread',
|
||||||
define('L_NAME', 'Name'); // Name
|
'NEWTHREAD' => 'New Thread',
|
||||||
define('L_EMAIL', 'E-mail'); // E-mail
|
'NEWREPLY' => 'New Reply',
|
||||||
define('L_COMMENT', 'Comment'); // Comment
|
'LOCKED' => 'Locked',
|
||||||
define('L_SUBMIT', 'Submit'); // Submit
|
'BY' => 'by',
|
||||||
define('L_VERIFICATION', 'Verification'); // Verification
|
'RETURN' => 'Return to Index',
|
||||||
define('L_PASSWORD', 'Password'); // Password
|
|
||||||
define('L_PASSWORDCONTEXT', 'used for post deletion'); // used for post deletion
|
|
||||||
define('L_DELPOST', 'Delete post'); // Delete post
|
|
||||||
|
|
||||||
// Messages //
|
// Posting
|
||||||
define('L_BOARD_CLOSED', 'The board is closed at the moment.'); // The board is closed at the moment.
|
'RETO' => 'Reply to',
|
||||||
define('L_REASON', 'Reason'); // Reason
|
'TITLE' => 'Title',
|
||||||
define('L_BANNED', 'You have been banned from this board.'); // You have been banned from this board.
|
'NAME' => 'Name',
|
||||||
define('L_POSTBANNED', '(USER WAS BANNED FOR THIS POST)'); // (USER WAS BANNED FOR THIS POST)
|
'EMAIL' => 'E-mail',
|
||||||
define('L_EMPTY', 'There are no threads.'); // There are no threads.
|
'COMMENT' => 'Comment',
|
||||||
define('L_NONEXISTENT', 'The requested thread does not exist.'); // The requested thread does not exist.
|
'SUBMIT' => 'Submit',
|
||||||
define('L_LOCKEDMSG', "The thread you're trying to reply to is locked."); // The thread you're trying to reply to is locked.
|
'VERIFICATION' => 'Verification',
|
||||||
define('L_LOCKEDMSG_2', "The thread your post was in is locked and deletion isn't possible."); // The thread your post was in is locked and deletion isn't possible.
|
'PASSWORD' => 'Password',
|
||||||
define('L_POSTED', 'Posted!'); // Posted!
|
'PASSWORDCONTEXT' => 'used for post deletion',
|
||||||
define('L_MODTOOLS', 'The moderator tools should now appear next to posts.'); // The moderator tools should now appear next to posts.
|
'DELPOST' => 'Delete post',
|
||||||
define('L_TITLETOOSHORT', 'The given title is too short.'); // The given title is too short.
|
|
||||||
define('L_TITLETOOLONG', 'The given title is too long.'); // The given title is too long.
|
|
||||||
define('L_COMMENTTOOSHORT', 'The given comment is too short.'); // The given comment is too short.
|
|
||||||
define('L_COMMENTTOOLONG', 'The given comment is too long.'); // The given comment is too long.
|
|
||||||
define('L_NOTNUMERIC', 'Could not retrieve post data because the ID you requested is not numeric, check your URL and try again.'); // Could not retrieve post data because the ID you requested is not numeric, check your URL and try again.
|
|
||||||
|
|
||||||
// Warnings and errors //
|
// Messages
|
||||||
define('L_PHP_OUTDATED', 'Please upgrade your PHP installation to at least 5.3 or higher.'); // Please upgrade your PHP installation to at least 5.3 or higher.
|
'BOARD_CLOSED' => 'The board is closed at the moment.',
|
||||||
define('L_SQL_FUNCTION', 'Your PHP installation does not support PDO.'); // Your PHP installation does not support PDO.
|
'REASON' => 'Reason',
|
||||||
define('L_SQL_CONNECT', 'SQL Connection Error'); // SQL Connection Error
|
'BANNED' => 'You have been banned from this board.',
|
||||||
define('L_INVALIDCAPTCHA', 'Verification failed'); // Verification failed
|
'POSTBANNED' => '(USER WAS BANNED FOR THIS POST)',
|
||||||
define('L_DEL_SUCCEED', 'Successfully deleted!'); // Successfully deleted!
|
'EMPTY' => 'No threads have been made yet.',
|
||||||
define('L_DEL_FAILED', 'Failed to delete.'); // Failed to delete.
|
'NONEXISTENT' => 'The requested thread does not exist.',
|
||||||
define('L_USERBANNEDMSG', 'You are banned from posting on this board.'); // You are banned from posting on this board.
|
'LOCKEDMSG' => 'The thread you are trying to reply to is locked.',
|
||||||
define('L_USERBANNED', "Couldn't complete this action because IP is banned."); // Couldn't complete this action because IP is banned.
|
'LOCKEDMSGDEL' => 'The thread your post was in is locked and deletion is not possible.',
|
||||||
|
'POSTED' => 'Posted!',
|
||||||
|
'MODTOOLS' => 'The moderator tools should now appear next to posts.',
|
||||||
|
'TITLETOOSHORT' => 'The given title is too short.',
|
||||||
|
'TITLETOOLONG' => 'The given title is too long.',
|
||||||
|
'COMMENTTOOSHORT' => 'The given comment is too short.',
|
||||||
|
'COMMENTTOOLONG' => 'The given comment is too long.',
|
||||||
|
'NOTNUMERIC' => 'Could not retrieve post data because the ID you requested is not numeric, check your URL and try again.',
|
||||||
|
|
||||||
// Moderator tools //
|
// Warnings and errors
|
||||||
define('L_DELETE', 'Delete'); // Delete
|
'PHP_OUTDATED' => 'Please upgrade your PHP installation to at least 5.3 or higher.',
|
||||||
define('L_PURGE', 'Purge Thread'); // Purge Thread
|
'SQL_FUNCTION' => 'Your PHP installation does not support PDO.',
|
||||||
define('L_LOCK', 'Lock Thread'); // Lock Thread
|
'SQL_CONNECT' => 'SQL Connection Error',
|
||||||
define('L_UNLOCK', 'Unlock Thread'); // Unlock Thread
|
'INVALIDCAPTCHA' => 'Verification failed',
|
||||||
define('L_BAN', 'Ban'); // Ban
|
'DEL_SUCCEED' => 'Successfully deleted!',
|
||||||
define('L_UNBAN', 'Un-ban'); // Un-ban
|
'DEL_FAILED' => 'Failed to delete.',
|
||||||
define('L_MODLOGOUT', 'Moderator Logout'); // Moderator Logout
|
'USERBANNEDMSG' => 'You are banned from posting on this board.',
|
||||||
define('L_MODLOGIN', 'Moderator Login'); // Moderator Login
|
'USERBANNED' => 'Could not complete this action because your IP is banned.',
|
||||||
define('L_LOGOUT', 'Logout'); // Logout
|
|
||||||
define('L_LOGIN', 'Login'); // Login
|
// Moderator tools
|
||||||
|
'DELETE' => 'Delete',
|
||||||
|
'PURGE' => 'Purge Thread',
|
||||||
|
'LOCK' => 'Lock Thread',
|
||||||
|
'UNLOCK' => 'Unlock Thread',
|
||||||
|
'BAN' => 'Ban IP',
|
||||||
|
'UNBAN' => 'Unban IP',
|
||||||
|
'MODLOGOUT' => 'Moderator Logout',
|
||||||
|
'MODLOGIN' => 'Moderator Login',
|
||||||
|
'LOGOUT' => 'Logout',
|
||||||
|
'LOGIN' => 'Login'
|
||||||
|
|
||||||
|
];
|
||||||
|
|
116
lang/es.php
116
lang/es.php
|
@ -1,58 +1,72 @@
|
||||||
<?php
|
<?php
|
||||||
//// Ninechan Official Spanish Language File ////
|
/*
|
||||||
|
* Spanish translation
|
||||||
|
* By Kevin Lopez Brante <https://github.com/kddlb>
|
||||||
|
*/
|
||||||
|
|
||||||
// Meta //
|
// Version of ninechan this language file is created for
|
||||||
define('LDATA_VERSION', '1.9'); // Version of ninechan language file is made for
|
$langVersion = '2.0';
|
||||||
|
|
||||||
// Board //
|
$language = [
|
||||||
define('L_THREADS', 'Hilos'); // Threads
|
|
||||||
define('L_THREAD', 'Hilo'); // Thread
|
|
||||||
define('L_NEWTHREAD', 'Nuevo hilo'); // New Thread
|
|
||||||
define('L_NEWREPLY', 'Nueva respuesta'); // New Reply
|
|
||||||
define('L_LOCKED', 'Bloqueado'); // Locked
|
|
||||||
define('L_BY', 'por'); // by
|
|
||||||
|
|
||||||
// Posting //
|
// Board
|
||||||
define('L_RETO', 'Responder a'); // Reply to
|
'THREADS' => 'Hilos',
|
||||||
define('L_TITLE', 'Título'); // Title
|
'THREAD' => 'Hilo',
|
||||||
define('L_NAME', 'Nombre'); // Name
|
'NEWTHREAD' => 'Nuevo hilo',
|
||||||
define('L_EMAIL', 'Email'); // Name
|
'NEWREPLY' => 'Nueva respuesta',
|
||||||
define('L_COMMENT', 'Comentario'); // Comment
|
'LOCKED' => 'Bloqueado',
|
||||||
define('L_SUBMIT', 'Enviar'); // Submit
|
'BY' => 'por',
|
||||||
define('L_VERIFICATION', 'Verificación'); // Verification
|
'RETURN' => 'Return to Index',
|
||||||
define('L_PASSWORD', 'Contraseña'); // Password
|
|
||||||
define('L_PASSWORDCONTEXT', 'utilizada para poder eliminar posts'); // used for post deletion
|
|
||||||
define('L_DELPOST', 'Eliminar post'); // Delete post
|
|
||||||
|
|
||||||
// Messages //
|
// Posting
|
||||||
define('L_BOARD_CLOSED', 'Los foros '.$ninechan['title'].' están cerrados en estos momentos.'); // Boards are closed
|
'RETO' => 'Responder a',
|
||||||
define('L_REASON', 'Razón'); // Reason
|
'TITLE' => 'Título',
|
||||||
define('L_BANNED', 'Has sido baneado de este foro.'); // Text displayed upon being banned
|
'NAME' => 'Nombre',
|
||||||
define('L_EMPTY', 'No hay hilos.'); // Text displayed when the board is empty
|
'EMAIL' => 'Email',
|
||||||
define('L_NONEXISTENT', 'No existe el hilo.'); // Text displayed when the board is empty
|
'COMMENT' => 'Comentario',
|
||||||
define('L_LOCKEDMSG', 'El hilo al que intentaste responder está bloqueado.'); // Text displayed when the thread is locked and replying isn't possible
|
'SUBMIT' => 'Enviar',
|
||||||
define('L_LOCKEDMSG_2', 'No se pueden eliminar posts en hilos bloqueados.'); // Text displayed when the thread is locked and deleting isn't possible
|
'VERIFICATION' => 'Verificación',
|
||||||
define('L_POSTED', '¡Posteado!'); // Text displayed when the post is successful
|
'PASSWORD' => 'Contraseña',
|
||||||
define('L_INVALIDTITLE', '¡Título inválido!'); // Text displayed when the name field is empty or invalid
|
'PASSWORDCONTEXT' => 'utilizada para poder eliminar posts',
|
||||||
define('L_NOCOMMENT', '¡Comentario inválido!'); // Text displayed when the comment field is empty or invalid
|
'DELPOST' => 'Eliminar post',
|
||||||
define('L_MODTOOLS', 'Las herramientas de moderación deberían empezar a aparecer al lado de los posts.'); // Mod tools message
|
|
||||||
|
|
||||||
// Warnings and errors //
|
// Messages
|
||||||
define('L_PHP_OUTDATED', 'Por favor, actualiza tu instalación de PHP a por lo menos 5.3 o superior.'); // Outdated PHP version
|
'BOARD_CLOSED' => 'Los foros están cerrados en estos momentos.',
|
||||||
define('L_SQL_FUNCTION', 'Tu instalación de PHP no soporta PDO.'); // SQL connect function does not exist
|
'REASON' => 'Razón',
|
||||||
define('L_SQL_CONNECT', 'Error de conexión SQL'); // Error while connecting to MySQL
|
'BANNED' => 'Has sido baneado de este foro.',
|
||||||
define('L_INVALIDCAPTCHA', 'La verificación falló'); // Message displayed when captcha is wrong
|
'POSTBANNED' => '(USER WAS BANNED FOR THIS POST)',
|
||||||
define('L_DEL_SUCCEED', '¡Eliminado satisfactoriamente!'); // Message displayed when post is deleted
|
'EMPTY' => 'No hay hilos.',
|
||||||
define('L_DEL_FAILED', 'No se pudo eliminar.'); // Message displayed when post isn't deleted
|
'NONEXISTENT' => 'No existe el hilo.',
|
||||||
|
'LOCKEDMSG' => 'El hilo al que intentaste responder está bloqueado.',
|
||||||
|
'LOCKEDMSGDEL' => 'No se pueden eliminar posts en hilos bloqueados.',
|
||||||
|
'POSTED' => '¡Posteado!',
|
||||||
|
'MODTOOLS' => 'Las herramientas de moderación deberían empezar a aparecer al lado de los posts.',
|
||||||
|
'TITLETOOSHORT' => 'The given title is too short.',
|
||||||
|
'TITLETOOLONG' => 'The given title is too long.',
|
||||||
|
'COMMENTTOOSHORT' => 'The given comment is too short.',
|
||||||
|
'COMMENTTOOLONG' => 'The given comment is too long.',
|
||||||
|
'NOTNUMERIC' => 'Could not retrieve post data because the ID you requested is not numeric, check your URL and try again.',
|
||||||
|
|
||||||
// Moderator tools //
|
// Warnings and errors
|
||||||
define('L_DELETE', 'Eliminar'); // Delete button
|
'PHP_OUTDATED' => 'Por favor, actualiza tu instalación de PHP a por lo menos 5.3 o superior.',
|
||||||
define('L_PURGE', 'Purgar hilo'); // Purge button
|
'SQL_FUNCTION' => 'Tu instalación de PHP no soporta PDO.',
|
||||||
define('L_LOCK', 'Bloquear hilo'); // Lock button
|
'SQL_CONNECT' => '¡Error de conexión SQL!',
|
||||||
define('L_UNLOCK', 'Desbloquear hilo'); // Unlock button
|
'INVALIDCAPTCHA' => 'La verificación falló.',
|
||||||
define('L_BAN', 'Banear'); // Ban button
|
'DEL_SUCCEED' => '¡Eliminado satisfactoriamente!',
|
||||||
define('L_UNBAN', 'Desbanear'); // Unban button
|
'DEL_FAILED' => 'No se pudo eliminar.',
|
||||||
define('L_MODLOGOUT', 'Salir'); // Moderator Logout
|
'USERBANNEDMSG' => 'You are banned from posting on this board.',
|
||||||
define('L_MODLOGIN', 'Entrar como moderador'); // Moderator Login
|
'USERBANNED' => 'Could not complete this action because your IP is banned.',
|
||||||
define('L_LOGOUT', 'Salir'); // Logout
|
|
||||||
define('L_LOGIN', 'Entrar'); // Login
|
// Moderator tools
|
||||||
|
'DELETE' => 'Eliminar',
|
||||||
|
'PURGE' => 'Purgar hilo',
|
||||||
|
'LOCK' => 'Bloquear hilo',
|
||||||
|
'UNLOCK' => 'Desbloquear hilo',
|
||||||
|
'BAN' => 'Banear IP',
|
||||||
|
'UNBAN' => 'Desbanear IP',
|
||||||
|
'MODLOGOUT' => 'Salir como moderador',
|
||||||
|
'MODLOGIN' => 'Entrar como moderador',
|
||||||
|
'LOGOUT' => 'Salir',
|
||||||
|
'LOGIN' => 'Entrar'
|
||||||
|
|
||||||
|
];
|
||||||
|
|
122
lang/in.php
122
lang/in.php
|
@ -1,66 +1,72 @@
|
||||||
<?php
|
<?php
|
||||||
/*
|
/*
|
||||||
Semi-Correct Indonesian translation file for ninechan
|
* Semi-Correct Indonesian translation
|
||||||
Flappyzor - flappy@goat.si
|
* By Flappyzor <https://github.com/flappyzor>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Meta //
|
// Version of ninechan this language file is created for
|
||||||
define('LDATA_VERSION', '1.11alpha2'); // Version of ninechan language file is made for
|
$langVersion = '2.0';
|
||||||
|
|
||||||
// Board //
|
$language = [
|
||||||
define('L_THREADS', 'Threads'); // Threads
|
|
||||||
define('L_THREAD', 'Thread'); // Thread
|
|
||||||
define('L_NEWTHREAD', 'Thread Baru'); // New Thread
|
|
||||||
define('L_NEWREPLY', 'Membalas Baru'); // New Reply
|
|
||||||
define('L_LOCKED', 'Terkunci'); // Locked
|
|
||||||
define('L_BY', 'oleh'); // by
|
|
||||||
|
|
||||||
// Posting //
|
// Board
|
||||||
define('L_RETO', 'Membalas Ke'); // Reply to
|
'THREADS' => 'Threads',
|
||||||
define('L_TITLE', 'Judul'); // Title
|
'THREAD' => 'Thread',
|
||||||
define('L_NAME', 'Nama'); // Name
|
'NEWTHREAD' => 'Thread Baru',
|
||||||
define('L_EMAIL', 'Email'); // Name
|
'NEWREPLY' => 'Membalas Baru',
|
||||||
define('L_COMMENT', 'Komentar'); // Comment
|
'LOCKED' => 'Terkunci',
|
||||||
define('L_SUBMIT', 'Menyerahkan'); // Submit
|
'BY' => 'oleh',
|
||||||
define('L_VERIFICATION', 'Verifikasi'); // Verification
|
'RETURN' => 'Return to Index',
|
||||||
define('L_PASSWORD', 'Password'); // Password
|
|
||||||
define('L_PASSWORDCONTEXT', 'digunakan untuk posting penghapusan'); // used for post deletion
|
|
||||||
define('L_DELPOST', 'Hapus pos'); // Delete post
|
|
||||||
|
|
||||||
// Messages //
|
// Posting
|
||||||
define('L_BOARD_CLOSED', 'Papan '.$ninechan['title'].' sedang ditutup.'); // Boards are closed
|
'RETO' => 'Membalas Ke',
|
||||||
define('L_REASON', 'Alasan'); // Reason
|
'TITLE' => 'Judul',
|
||||||
define('L_BANNED', 'Anda telah dilarang dari forum ini.'); // Text displayed upon being banned
|
'NAME' => 'Nama',
|
||||||
define('L_POSTBANNED', '(PENGGUNA ADALAH DILARANG UNTUK POST INI)'); // Text displayed under banned post
|
'EMAIL' => 'Email',
|
||||||
define('L_EMPTY', 'Tidak ada threads.'); // Text displayed when the board is empty
|
'COMMENT' => 'Komentar',
|
||||||
define('L_NONEXISTENT', 'Tidak ada thread.'); // Text displayed when the board is empty
|
'SUBMIT' => 'Menyerahkan',
|
||||||
define('L_LOCKEDMSG', 'Thread Anda mencoba untuk membalas terkunci.'); // Text displayed when the thread is locked and replying isn't possible
|
'VERIFICATION' => 'Verifikasi',
|
||||||
define('L_LOCKEDMSG_2', 'Thread posting Anda di terkunci dan penghapusan tidak mungkin.'); // Text displayed when the thread is locked and deleting isn't possible
|
'PASSWORD' => 'Password',
|
||||||
define('L_POSTED', 'Menyampaikan!'); // Text displayed when the post is successful
|
'PASSWORDCONTEXT' => 'digunakan untuk posting penghapusan',
|
||||||
define('L_MODTOOLS', 'Alat moderator seharusnya sekarang muncul di samping tulisan.'); // Mod tools message
|
'DELPOST' => 'Hapus pos',
|
||||||
define('L_TITLETOOSHORT', 'Judul yang diberikan terlalu singkat.'); // The given title is too short.
|
|
||||||
define('L_TITLETOOLONG', 'Judul yang diberikan terlalu panjang.'); // The given title is too long.
|
|
||||||
define('L_COMMENTTOOSHORT', 'Komentar yang diberikan terlalu singkat.'); // The given comment is too short.
|
|
||||||
define('L_COMMENTTOOLONG', 'Komentar yang diberikan terlalu panjang.'); // The given comment is too long.
|
|
||||||
|
|
||||||
// Warnings and errors //
|
// Messages
|
||||||
define('L_PHP_OUTDATED', 'Silakan meng-upgrade instalasi PHP Anda untuk setidaknya 5,3 atau lebih tinggi.'); // Outdated PHP version
|
'BOARD_CLOSED' => 'Papan sedang ditutup.',
|
||||||
define('L_SQL_FUNCTION', 'Instalasi PHP Anda tidak mendukung PDO.'); // SQL connect function does not exist
|
'REASON' => 'Alasan',
|
||||||
define('L_SQL_CONNECT', 'Kesalahan Connection SQL'); // Error while connecting to MySQL
|
'BANNED' => 'Anda telah dilarang dari forum ini.',
|
||||||
define('L_INVALIDCAPTCHA', 'Verifikasi gagal'); // Message displayed when captcha is wrong
|
'POSTBANNED' => '(PENGGUNA ADALAH DILARANG UNTUK POST INI)',
|
||||||
define('L_DEL_SUCCEED', 'Berhasil dihapus!'); // Message displayed when post is deleted
|
'EMPTY' => 'Tidak ada threads.',
|
||||||
define('L_DEL_FAILED', 'Gagal menghapus.'); // Message displayed when post isn't deleted
|
'NONEXISTENT' => 'Tidak ada thread.',
|
||||||
define('L_USERBANNEDMSG', 'Anda dilarang posting di forum ini.'); // Message displayed on top of the board when IP is banned
|
'LOCKEDMSG' => 'Thread Anda mencoba untuk membalas terkunci.',
|
||||||
define('L_USERBANNED', 'Tidak bisa menyelesaikan tindakan ini karena IP dilarang.'); // Message displayed when trying to access a restricted page
|
'LOCKEDMSGDEL' => 'Thread posting Anda di terkunci dan penghapusan tidak mungkin.',
|
||||||
|
'POSTED' => 'Menyampaikan!',
|
||||||
|
'MODTOOLS' => 'Alat moderator seharusnya sekarang muncul di samping tulisan.',
|
||||||
|
'TITLETOOSHORT' => 'Judul yang diberikan terlalu singkat.',
|
||||||
|
'TITLETOOLONG' => 'Judul yang diberikan terlalu panjang.',
|
||||||
|
'COMMENTTOOSHORT' => 'Komentar yang diberikan terlalu singkat.',
|
||||||
|
'COMMENTTOOLONG' => 'Komentar yang diberikan terlalu panjang.',
|
||||||
|
'NOTNUMERIC' => 'Could not retrieve post data because the ID you requested is not numeric, check your URL and try again.',
|
||||||
|
|
||||||
// Moderator tools //
|
// Warnings and errors
|
||||||
define('L_DELETE', 'Hapus'); // Delete button
|
'PHP_OUTDATED' => 'Silakan meng-upgrade instalasi PHP Anda untuk setidaknya 5,3 atau lebih tinggi.',
|
||||||
define('L_PURGE', 'Bersihkan Thread'); // Purge button
|
'SQL_FUNCTION' => 'Instalasi PHP Anda tidak mendukung PDO.',
|
||||||
define('L_LOCK', 'Lock Thread'); // Lock button
|
'SQL_CONNECT' => 'Kesalahan Connection SQL',
|
||||||
define('L_UNLOCK', 'Membuka Thread'); // Unlock button
|
'INVALIDCAPTCHA' => 'Verifikasi gagal!',
|
||||||
define('L_BAN', 'Departemen'); // Ban button
|
'DEL_SUCCEED' => 'Berhasil dihapus!',
|
||||||
define('L_UNBAN', 'Unban'); // Unban button
|
'DEL_FAILED' => 'Gagal menghapus!',
|
||||||
define('L_MODLOGOUT', 'Moderator Logout'); // Moderator Logout
|
'USERBANNEDMSG' => 'Anda dilarang posting di forum ini.',
|
||||||
define('L_MODLOGIN', 'Moderator Login'); // Moderator Login
|
'USERBANNED' => 'Tidak bisa menyelesaikan tindakan ini karena IP dilarang.',
|
||||||
define('L_LOGOUT', 'Logout'); // Logout
|
|
||||||
define('L_LOGIN', 'Login'); // Login
|
// Moderator tools
|
||||||
|
'DELETE' => 'Hapus',
|
||||||
|
'PURGE' => 'Bersihkan Thread',
|
||||||
|
'LOCK' => 'Lock Thread',
|
||||||
|
'UNLOCK' => 'Membuka Thread',
|
||||||
|
'BAN' => 'Departemen',
|
||||||
|
'UNBAN' => 'Unban',
|
||||||
|
'MODLOGOUT' => 'Moderator Logout',
|
||||||
|
'MODLOGIN' => 'Moderator Login',
|
||||||
|
'LOGOUT' => 'Logout',
|
||||||
|
'LOGIN' => 'Login'
|
||||||
|
|
||||||
|
];
|
||||||
|
|
121
lang/nl.php
121
lang/nl.php
|
@ -1,63 +1,72 @@
|
||||||
<?php
|
<?php
|
||||||
//// Ninechan Official Dutch Language File ////
|
/*
|
||||||
|
* Dutch translation
|
||||||
|
* By Flashwave <https://github.com/flashwave>
|
||||||
|
*/
|
||||||
|
|
||||||
// Meta //
|
// Version of ninechan this language file is created for
|
||||||
define('LDATA_VERSION', '1.11alpha2'); // Version of ninechan language file is made for
|
$langVersion = '2.0';
|
||||||
|
|
||||||
// Board //
|
$language = [
|
||||||
define('L_THREADS', 'Threads'); // Threads
|
|
||||||
define('L_THREAD', 'Thread'); // Thread
|
|
||||||
define('L_NEWTHREAD', 'Nieuwe Thread'); // New Thread
|
|
||||||
define('L_NEWREPLY', 'Nieuwe Reactie'); // New Reply
|
|
||||||
define('L_LOCKED', 'Gesloten'); // Locked
|
|
||||||
define('L_BY', 'door'); // by
|
|
||||||
|
|
||||||
// Posting //
|
// Board
|
||||||
define('L_RETO', 'Reactie naar'); // Reply to
|
'THREADS' => 'Threads',
|
||||||
define('L_TITLE', 'Titel'); // Title
|
'THREAD' => 'Thread',
|
||||||
define('L_NAME', 'Naam'); // Name
|
'NEWTHREAD' => 'Nieuwe Thread',
|
||||||
define('L_EMAIL', 'Email'); // Name
|
'NEWREPLY' => 'Beantwoord',
|
||||||
define('L_COMMENT', 'Bericht'); // Comment
|
'LOCKED' => 'Gesloten',
|
||||||
define('L_SUBMIT', 'Stuur'); // Submit
|
'BY' => 'door',
|
||||||
define('L_VERIFICATION', 'Verificatie'); // Verification
|
'RETURN' => 'Terug naar de Index',
|
||||||
define('L_PASSWORD', 'Wachtwoord'); // Password
|
|
||||||
define('L_PASSWORDCONTEXT', 'gebruikt voor post verwijdering'); // used for post deletion
|
|
||||||
define('L_DELPOST', 'Verwijder post'); // Delete post
|
|
||||||
|
|
||||||
// Messages //
|
// Posting
|
||||||
define('L_BOARD_CLOSED', 'Het '.$ninechan['title'].' forum is gesloten op het moment.'); // Boards are closed
|
'RETO' => 'Antwoord op',
|
||||||
define('L_REASON', 'Reden'); // Reason
|
'TITLE' => 'Titel',
|
||||||
define('L_BANNED', 'U bent verbannen van dit forum.'); // Text displayed upon being banned
|
'NAME' => 'Naam',
|
||||||
define('L_POSTBANNED', '(GEBRUIKER WAS VERBANNEN VOOR DIT BERICHT)'); // Text displayed under banned post
|
'EMAIL' => 'E-mail',
|
||||||
define('L_EMPTY', 'Er zijn geen threads.'); // Text displayed when the board is empty
|
'COMMENT' => 'Commentaar',
|
||||||
define('L_NONEXISTENT', 'Niet bestaande thread.'); // Text displayed when the board is empty
|
'SUBMIT' => 'Versturen',
|
||||||
define('L_LOCKEDMSG', 'De thread waarop u probeert te reageren is gesloten.'); // Text displayed when the board is empty
|
'VERIFICATION' => 'Verificatie',
|
||||||
define('L_LOCKEDMSG_2', 'De thread waarin jouw bericht was is gelockt en je kunt je bericht niet verwijderen.'); // Text displayed when the thread is locked and deleting isn't possible
|
'PASSWORD' => 'Wachtwoord',
|
||||||
define('L_POSTED', 'Verstuurd!'); // Text displayed when the post is successful
|
'PASSWORDCONTEXT' => 'voor het verwijderen van dit bericht',
|
||||||
define('L_MODTOOLS', 'De moderator hulpmiddelen moeten nu bij de berichten staan.'); // Mod tools message
|
'DELPOST' => 'Verwijder bericht',
|
||||||
define('L_TITLETOOSHORT', 'De gegeven titel is te kort.'); // The given title is too short.
|
|
||||||
define('L_TITLETOOLONG', 'De gegeven titel is te lang.'); // The given title is too long.
|
|
||||||
define('L_COMMENTTOOSHORT', 'Het gegeven bericht is te kort.'); // The given comment is too short.
|
|
||||||
define('L_COMMENTTOOLONG', 'Het gegeven bericht is te lang.'); // The given comment is too long.
|
|
||||||
|
|
||||||
// Warnings and errors //
|
// Messages
|
||||||
define('L_PHP_OUTDATED', 'Upgrade uw PHP versie naar ten minste 5.3.'); // Outdated PHP version
|
'BOARD_CLOSED' => 'Het forum is gesloten.',
|
||||||
define('L_SQL_FUNCTION', 'Uw PHP installatie mist de PDO plugin.'); // SQL connect function does not exist
|
'REASON' => 'Reden',
|
||||||
define('L_SQL_CONNECT', 'SQL Verbindings Fout'); // Error while connecting to MySQL
|
'BANNED' => 'Je bent verbannen van dit forum!',
|
||||||
define('L_INVALIDCAPTCHA', 'Verification mislukt'); // Message displayed when captcha is wrong
|
'POSTBANNED' => '(GEBRUIKER WAS VERBANNEN VOOR DIT BERICHT)',
|
||||||
define('L_DEL_SUCCEED', 'Successvol verwijdert!'); // Message displayed when post is deleted
|
'EMPTY' => 'Er zijn nog geen threads om the weergeven.',
|
||||||
define('L_DEL_FAILED', 'Verwijderen mislukt.'); // Message displayed when post isn't deleted
|
'NONEXISTENT' => 'De opgevraagde thread bestaat niet.',
|
||||||
define('L_USERBANNEDMSG', 'Je bent verbannen van posten op dit forum'); // Message displayed on top of the board when IP is banned
|
'LOCKEDMSG' => 'De thread waarop jij probeert te antwoorden is gesloten.',
|
||||||
define('L_USERBANNED', 'Kan de actie niet voltooien omdat je IP verbannen.'); // Message displayed when trying to access a restricted page
|
'LOCKEDMSGDEL' => 'Je kunt deze post niet verwijderen omdat de thread waarin deze zit gesloten is.',
|
||||||
|
'POSTED' => 'Gepost!',
|
||||||
|
'MODTOOLS' => 'De moderator tools verschijnen nu naast berichten.',
|
||||||
|
'TITLETOOSHORT' => 'De gegeven titel is te kort.',
|
||||||
|
'TITLETOOLONG' => 'De gegeven titel is te lang.',
|
||||||
|
'COMMENTTOOSHORT' => 'Het gegeven commentaar is te lang.',
|
||||||
|
'COMMENTTOOLONG' => 'Het gegeven commentaar is te kort.',
|
||||||
|
'NOTNUMERIC' => 'De gevraagde bericht gegevens konden niet opgeroept worden.',
|
||||||
|
|
||||||
// Moderator tools //
|
// Warnings and errors
|
||||||
define('L_DELETE', 'Verwijder'); // Delete button
|
'PHP_OUTDATED' => 'Upgrade je PHP versie naar op zijn minst 5.3.',
|
||||||
define('L_PURGE', 'Verwijder Thread'); // Purge button
|
'SQL_FUNCTION' => 'Jou PHP installatie heeft geen ondersteuning voor PDO.',
|
||||||
define('L_LOCK', 'Sluit Thread'); // Lock button
|
'SQL_CONNECT' => 'SQL Verbindings Fout',
|
||||||
define('L_UNLOCK', 'Heropen Thread'); // Unlock button
|
'INVALIDCAPTCHA' => 'Verificatie mislukt!',
|
||||||
define('L_BAN', 'Ban'); // Ban button
|
'DEL_SUCCEED' => 'Succesvol verwijderd!',
|
||||||
define('L_UNBAN', 'Ontban'); // Unban button
|
'DEL_FAILED' => 'Verwijderen mislukt.',
|
||||||
define('L_MODLOGOUT', 'Moderator Logout'); // Moderator Logout
|
'USERBANNEDMSG' => 'Je bent verbannen van dit forum.',
|
||||||
define('L_MODLOGIN', 'Moderator Login'); // Moderator Login
|
'USERBANNED' => 'Kon de actie niet voltooien omdat je IP verbannen is.',
|
||||||
define('L_LOGOUT', 'Uitloggen'); // Logout
|
|
||||||
define('L_LOGIN', 'Inloggen'); // Login
|
// Moderator tools
|
||||||
|
'DELETE' => 'Verwijder',
|
||||||
|
'PURGE' => 'Verwijder Thread',
|
||||||
|
'LOCK' => 'Sluit Thread',
|
||||||
|
'UNLOCK' => 'Open Thread',
|
||||||
|
'BAN' => 'Verban IP',
|
||||||
|
'UNBAN' => 'Ontban IP',
|
||||||
|
'MODLOGOUT' => 'Moderator Authenticatie',
|
||||||
|
'MODLOGIN' => 'Moderator Authenticatie',
|
||||||
|
'LOGOUT' => 'Uitloggen',
|
||||||
|
'LOGIN' => 'Inloggen'
|
||||||
|
|
||||||
|
];
|
||||||
|
|
124
lang/pl.php
124
lang/pl.php
|
@ -1,66 +1,72 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/*
|
||||||
Ninechan Polish Translation
|
* Polish translation
|
||||||
By Kamil Rakowski <kamilrakowski1@interia.pl>
|
* By Kamil Rakowski <https://github.com/kamil0>
|
||||||
**/
|
*/
|
||||||
|
|
||||||
// Meta //
|
// Version of ninechan this language file is created for
|
||||||
define('LDATA_VERSION', '1.11alpha2'); // Version of ninechan language file is made for
|
$langVersion = '2.0';
|
||||||
|
|
||||||
// Board //
|
$language = [
|
||||||
define('L_THREADS', 'Wątki'); // Threads
|
|
||||||
define('L_THREAD', 'Wątek'); // Thread
|
|
||||||
define('L_NEWTHREAD', 'Nowy Wątek'); // New Thread
|
|
||||||
define('L_NEWREPLY', 'Nowa Odpowiedz'); // New Reply
|
|
||||||
define('L_LOCKED', 'Zamknięty'); // Locked
|
|
||||||
define('L_BY', 'z'); // by
|
|
||||||
|
|
||||||
// Posting //
|
// Board
|
||||||
define('L_RETO', 'Odpowiedzi do'); // Reply to
|
'THREADS' => 'Wątki',
|
||||||
define('L_TITLE', 'Tytuł'); // Title
|
'THREAD' => 'Wątek',
|
||||||
define('L_NAME', 'Nazwa'); // Name
|
'NEWTHREAD' => 'Nowy Wątek',
|
||||||
define('L_EMAIL', 'Email'); // Name
|
'NEWREPLY' => 'Nowa Odpowiedz',
|
||||||
define('L_COMMENT', 'Komentarz'); // Comment
|
'LOCKED' => 'Zamknięty',
|
||||||
define('L_SUBMIT', 'Prześlij'); // Submit
|
'BY' => 'z',
|
||||||
define('L_VERIFICATION', 'Weryfikacja'); // Verification
|
'RETURN' => 'Return to Index',
|
||||||
define('L_PASSWORD', 'Hasło'); // Password
|
|
||||||
define('L_PASSWORDCONTEXT', 'Służy do usuwania postów'); // used for post deletion
|
|
||||||
define('L_DELPOST', 'Usun Post'); // Delete post
|
|
||||||
|
|
||||||
// Messages //
|
// Posting
|
||||||
define('L_BOARD_CLOSED', $ninechan['title'].' forumy są teraz zamknięte.'); // Boards are closed
|
'RETO' => 'Odpowiedzi do',
|
||||||
define('L_REASON', 'Powód'); // Reason
|
'TITLE' => 'Tytuł',
|
||||||
define('L_BANNED', 'Ty zostałeś zbanowany z tego forum.'); // Text displayed upon being banned
|
'NAME' => 'Nazwa',
|
||||||
define('L_POSTBANNED', '(UŻYTKOWNIK ZOSTAŁ ZBANOWANY ZA TEN POST)'); // Text displayed under banned post
|
'EMAIL' => 'Email',
|
||||||
define('L_EMPTY', 'Istnieją nie ma wątków.'); // Text displayed when the board is empty
|
'COMMENT' => 'Komentarz',
|
||||||
define('L_NONEXISTENT', 'Wątek nie istnieje.'); // Text displayed when the board is empty
|
'SUBMIT' => 'Prześlij',
|
||||||
define('L_LOCKEDMSG', 'Wątek który próbowano odpowiedzieć jest zamknięta.'); // Text displayed when the thread is locked and replying isn't possible
|
'VERIFICATION' => 'Weryfikacja',
|
||||||
define('L_LOCKEDMSG_2', 'Twój post w wątku jest zablokowany i nie jest już możliwe jest usunięcie.'); // Text displayed when the thread is locked and deleting isn't possible
|
'PASSWORD' => 'Hasło',
|
||||||
define('L_POSTED', 'Wysłany pomyślnie!'); // Text displayed when the post is successful
|
'PASSWORDCONTEXT' => 'służy do usuwania postów',
|
||||||
define('L_MODTOOLS', 'Narzędzia moderatorów powinien pojawić się obok postów.'); // Mod tools message
|
'DELPOST' => 'Usun Post',
|
||||||
define('L_TITLETOOSHORT', 'Dany tytuł jest za krótki.'); // The given title is too short.
|
|
||||||
define('L_TITLETOOLONG', 'Dany tytuł jest za długi.'); // The given title is too long.
|
|
||||||
define('L_COMMENTTOOSHORT', 'Dany komentarz jest za krótki.'); // The given comment is too short.
|
|
||||||
define('L_COMMENTTOOLONG', 'Dany komentarz jest za długi.'); // The given comment is too long.
|
|
||||||
|
|
||||||
// Warnings and errors //
|
// Messages
|
||||||
define('L_PHP_OUTDATED', 'Uaktualnij PHP do wersji 5.3 lub wyższej.'); // Outdated PHP version
|
'BOARD_CLOSED' => 'Forumy są teraz zamknięte.',
|
||||||
define('L_SQL_FUNCTION', 'PDO nie jest włączona w twoje instalacji PHP.'); // SQL connect function does not exist
|
'REASON' => 'Powód',
|
||||||
define('L_SQL_CONNECT', 'Błąd Połączenia SQL'); // Error while connecting to MySQL
|
'BANNED' => 'Ty zostałeś zbanowany z tego forum.',
|
||||||
define('L_INVALIDCAPTCHA', 'Weryfikacja nieudany!'); // Message displayed when captcha is wrong
|
'POSTBANNED' => '(UŻYTKOWNIK ZOSTAŁ ZBANOWANY ZA TEN POST)',
|
||||||
define('L_DEL_SUCCEED', 'Usunięcie udane!'); // Message displayed when post is deleted
|
'EMPTY' => 'Istnieją nie ma wątków.',
|
||||||
define('L_DEL_FAILED', 'Usunięcie nieudany!'); // Message displayed when post isn't deleted
|
'NONEXISTENT' => 'Wątek nie istnieje.',
|
||||||
define('L_USERBANNEDMSG', 'Są zbanowany od księgowania na tym forum.'); // Message displayed on top of the board when IP is banned
|
'LOCKEDMSG' => 'Wątek który próbowano odpowiedzieć jest zamknięta.',
|
||||||
define('L_USERBANNED', 'Nie można ukończyć funkcji, ponieważ adres IP jest zbanowany.'); // Message displayed when trying to access a restricted page
|
'LOCKEDMSGDEL' => 'Twój post w wątku jest zablokowany i nie jest już możliwe jest usunięcie.',
|
||||||
|
'POSTED' => 'Wysłany pomyślnie!',
|
||||||
|
'MODTOOLS' => 'Narzędzia moderatorów powinien pojawić się obok postów.',
|
||||||
|
'TITLETOOSHORT' => 'Dany tytuł jest za krótki.',
|
||||||
|
'TITLETOOLONG' => 'Dany tytuł jest za długi.',
|
||||||
|
'COMMENTTOOSHORT' => 'Dany komentarz jest za krótki.',
|
||||||
|
'COMMENTTOOLONG' => 'Dany komentarz jest za długi.',
|
||||||
|
'NOTNUMERIC' => 'Could not retrieve post data because the ID you requested is not numeric, check your URL and try again.',
|
||||||
|
|
||||||
// Moderator tools //
|
// Warnings and errors
|
||||||
define('L_DELETE', 'Usuń'); // Delete button
|
'PHP_OUTDATED' => 'Uaktualnij PHP do wersji 5.3 lub wyższej.',
|
||||||
define('L_PURGE', 'Oczyścić Wątek'); // Purge button
|
'SQL_FUNCTION' => 'PDO nie jest włączona w twoje instalacji PHP.',
|
||||||
define('L_LOCK', 'Zamknij Wątek'); // Lock button
|
'SQL_CONNECT' => 'Błąd Połączenia SQL',
|
||||||
define('L_UNLOCK', 'Otwórz Wątek'); // Unlock button
|
'INVALIDCAPTCHA' => 'Weryfikacja nieudany!',
|
||||||
define('L_BAN', 'Zbanuj'); // Ban button
|
'DEL_SUCCEED' => 'Usunięcie udane!',
|
||||||
define('L_UNBAN', 'Anuluj Zbanów'); // Unban button
|
'DEL_FAILED' => 'Usunięcie nieudany!',
|
||||||
define('L_MODLOGOUT', 'Moderatora Wyloguj'); // Moderator Logout
|
'USERBANNEDMSG' => 'Są zbanowany od księgowania na tym forum.',
|
||||||
define('L_MODLOGIN', 'Moderatora Zaloguj'); // Moderator Login
|
'USERBANNED' => 'Nie można ukończyć funkcji, ponieważ adres IP jest zbanowany.',
|
||||||
define('L_LOGOUT', 'Wyloguj'); // Logout
|
|
||||||
define('L_LOGIN', 'Zaloguj'); // Login
|
// Moderator tools
|
||||||
|
'DELETE' => 'Usuń',
|
||||||
|
'PURGE' => 'Oczyścić Wątek',
|
||||||
|
'LOCK' => 'Zamknij Wątek',
|
||||||
|
'UNLOCK' => 'Otwórz Wątek',
|
||||||
|
'BAN' => 'Zbanuj',
|
||||||
|
'UNBAN' => 'Anuluj Zbanów',
|
||||||
|
'MODLOGOUT' => 'Moderatora Wyloguj',
|
||||||
|
'MODLOGIN' => 'Moderatora Zaloguj',
|
||||||
|
'LOGOUT' => 'Wyloguj',
|
||||||
|
'LOGIN' => 'Zaloguj'
|
||||||
|
|
||||||
|
];
|
||||||
|
|
|
@ -91,4 +91,4 @@ table.postForm > tbody > tr > td:first-child {
|
||||||
}
|
}
|
||||||
.modcap {
|
.modcap {
|
||||||
color: #660099 !important;
|
color: #660099 !important;
|
||||||
}
|
}
|
|
@ -91,4 +91,4 @@ table.postForm > tbody > tr > td:first-child {
|
||||||
}
|
}
|
||||||
.modcap {
|
.modcap {
|
||||||
color: #660099 !important;
|
color: #660099 !important;
|
||||||
}
|
}
|
277
recaptcha.php
277
recaptcha.php
|
@ -1,277 +0,0 @@
|
||||||
<?php
|
|
||||||
/*
|
|
||||||
* This is a PHP library that handles calling reCAPTCHA.
|
|
||||||
* - Documentation and latest version
|
|
||||||
* http://recaptcha.net/plugins/php/
|
|
||||||
* - Get a reCAPTCHA API Key
|
|
||||||
* https://www.google.com/recaptcha/admin/create
|
|
||||||
* - Discussion group
|
|
||||||
* http://groups.google.com/group/recaptcha
|
|
||||||
*
|
|
||||||
* Copyright (c) 2007 reCAPTCHA -- http://recaptcha.net
|
|
||||||
* AUTHORS:
|
|
||||||
* Mike Crawford
|
|
||||||
* Ben Maurer
|
|
||||||
*
|
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
||||||
* of this software and associated documentation files (the "Software"), to deal
|
|
||||||
* in the Software without restriction, including without limitation the rights
|
|
||||||
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
||||||
* copies of the Software, and to permit persons to whom the Software is
|
|
||||||
* furnished to do so, subject to the following conditions:
|
|
||||||
*
|
|
||||||
* The above copyright notice and this permission notice shall be included in
|
|
||||||
* all copies or substantial portions of the Software.
|
|
||||||
*
|
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
||||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
||||||
* THE SOFTWARE.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The reCAPTCHA server URL's
|
|
||||||
*/
|
|
||||||
define("RECAPTCHA_API_SERVER", "http://www.google.com/recaptcha/api");
|
|
||||||
define("RECAPTCHA_API_SECURE_SERVER", "https://www.google.com/recaptcha/api");
|
|
||||||
define("RECAPTCHA_VERIFY_SERVER", "www.google.com");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Encodes the given data into a query string format
|
|
||||||
* @param $data - array of string elements to be encoded
|
|
||||||
* @return string - encoded request
|
|
||||||
*/
|
|
||||||
function _recaptcha_qsencode ($data) {
|
|
||||||
$req = "";
|
|
||||||
foreach ( $data as $key => $value )
|
|
||||||
$req .= $key . '=' . urlencode( stripslashes($value) ) . '&';
|
|
||||||
|
|
||||||
// Cut the last '&'
|
|
||||||
$req=substr($req,0,strlen($req)-1);
|
|
||||||
return $req;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Submits an HTTP POST to a reCAPTCHA server
|
|
||||||
* @param string $host
|
|
||||||
* @param string $path
|
|
||||||
* @param array $data
|
|
||||||
* @param int port
|
|
||||||
* @return array response
|
|
||||||
*/
|
|
||||||
function _recaptcha_http_post($host, $path, $data, $port = 80) {
|
|
||||||
|
|
||||||
$req = _recaptcha_qsencode ($data);
|
|
||||||
|
|
||||||
$http_request = "POST $path HTTP/1.0\r\n";
|
|
||||||
$http_request .= "Host: $host\r\n";
|
|
||||||
$http_request .= "Content-Type: application/x-www-form-urlencoded;\r\n";
|
|
||||||
$http_request .= "Content-Length: " . strlen($req) . "\r\n";
|
|
||||||
$http_request .= "User-Agent: reCAPTCHA/PHP\r\n";
|
|
||||||
$http_request .= "\r\n";
|
|
||||||
$http_request .= $req;
|
|
||||||
|
|
||||||
$response = '';
|
|
||||||
if( false == ( $fs = @fsockopen($host, $port, $errno, $errstr, 10) ) ) {
|
|
||||||
die ('Could not open socket');
|
|
||||||
}
|
|
||||||
|
|
||||||
fwrite($fs, $http_request);
|
|
||||||
|
|
||||||
while ( !feof($fs) )
|
|
||||||
$response .= fgets($fs, 1160); // One TCP-IP packet
|
|
||||||
fclose($fs);
|
|
||||||
$response = explode("\r\n\r\n", $response, 2);
|
|
||||||
|
|
||||||
return $response;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Gets the challenge HTML (javascript and non-javascript version).
|
|
||||||
* This is called from the browser, and the resulting reCAPTCHA HTML widget
|
|
||||||
* is embedded within the HTML form it was called from.
|
|
||||||
* @param string $pubkey A public key for reCAPTCHA
|
|
||||||
* @param string $error The error given by reCAPTCHA (optional, default is null)
|
|
||||||
* @param boolean $use_ssl Should the request be made over ssl? (optional, default is false)
|
|
||||||
|
|
||||||
* @return string - The HTML to be embedded in the user's form.
|
|
||||||
*/
|
|
||||||
function recaptcha_get_html ($pubkey, $error = null, $use_ssl = false)
|
|
||||||
{
|
|
||||||
if ($pubkey == null || $pubkey == '') {
|
|
||||||
die ("To use reCAPTCHA you must get an API key from <a href='https://www.google.com/recaptcha/admin/create'>https://www.google.com/recaptcha/admin/create</a>");
|
|
||||||
}
|
|
||||||
|
|
||||||
if ($use_ssl) {
|
|
||||||
$server = RECAPTCHA_API_SECURE_SERVER;
|
|
||||||
} else {
|
|
||||||
$server = RECAPTCHA_API_SERVER;
|
|
||||||
}
|
|
||||||
|
|
||||||
$errorpart = "";
|
|
||||||
if ($error) {
|
|
||||||
$errorpart = "&error=" . $error;
|
|
||||||
}
|
|
||||||
return '<script type="text/javascript" src="'. $server . '/challenge?k=' . $pubkey . $errorpart . '"></script>
|
|
||||||
|
|
||||||
<noscript>
|
|
||||||
<iframe src="'. $server . '/noscript?k=' . $pubkey . $errorpart . '" height="300" width="500" frameborder="0"></iframe><br/>
|
|
||||||
<textarea name="recaptcha_challenge_field" rows="3" cols="40"></textarea>
|
|
||||||
<input type="hidden" name="recaptcha_response_field" value="manual_challenge"/>
|
|
||||||
</noscript>';
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* A ReCaptchaResponse is returned from recaptcha_check_answer()
|
|
||||||
*/
|
|
||||||
class ReCaptchaResponse {
|
|
||||||
var $is_valid;
|
|
||||||
var $error;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Calls an HTTP POST function to verify if the user's guess was correct
|
|
||||||
* @param string $privkey
|
|
||||||
* @param string $remoteip
|
|
||||||
* @param string $challenge
|
|
||||||
* @param string $response
|
|
||||||
* @param array $extra_params an array of extra variables to post to the server
|
|
||||||
* @return ReCaptchaResponse
|
|
||||||
*/
|
|
||||||
function recaptcha_check_answer ($privkey, $remoteip, $challenge, $response, $extra_params = array())
|
|
||||||
{
|
|
||||||
if ($privkey == null || $privkey == '') {
|
|
||||||
die ("To use reCAPTCHA you must get an API key from <a href='https://www.google.com/recaptcha/admin/create'>https://www.google.com/recaptcha/admin/create</a>");
|
|
||||||
}
|
|
||||||
|
|
||||||
if ($remoteip == null || $remoteip == '') {
|
|
||||||
die ("For security reasons, you must pass the remote ip to reCAPTCHA");
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//discard spam submissions
|
|
||||||
if ($challenge == null || strlen($challenge) == 0 || $response == null || strlen($response) == 0) {
|
|
||||||
$recaptcha_response = new ReCaptchaResponse();
|
|
||||||
$recaptcha_response->is_valid = false;
|
|
||||||
$recaptcha_response->error = 'incorrect-captcha-sol';
|
|
||||||
return $recaptcha_response;
|
|
||||||
}
|
|
||||||
|
|
||||||
$response = _recaptcha_http_post (RECAPTCHA_VERIFY_SERVER, "/recaptcha/api/verify",
|
|
||||||
array (
|
|
||||||
'privatekey' => $privkey,
|
|
||||||
'remoteip' => $remoteip,
|
|
||||||
'challenge' => $challenge,
|
|
||||||
'response' => $response
|
|
||||||
) + $extra_params
|
|
||||||
);
|
|
||||||
|
|
||||||
$answers = explode ("\n", $response [1]);
|
|
||||||
$recaptcha_response = new ReCaptchaResponse();
|
|
||||||
|
|
||||||
if (trim ($answers [0]) == 'true') {
|
|
||||||
$recaptcha_response->is_valid = true;
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
$recaptcha_response->is_valid = false;
|
|
||||||
$recaptcha_response->error = $answers [1];
|
|
||||||
}
|
|
||||||
return $recaptcha_response;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* gets a URL where the user can sign up for reCAPTCHA. If your application
|
|
||||||
* has a configuration page where you enter a key, you should provide a link
|
|
||||||
* using this function.
|
|
||||||
* @param string $domain The domain where the page is hosted
|
|
||||||
* @param string $appname The name of your application
|
|
||||||
*/
|
|
||||||
function recaptcha_get_signup_url ($domain = null, $appname = null) {
|
|
||||||
return "https://www.google.com/recaptcha/admin/create?" . _recaptcha_qsencode (array ('domains' => $domain, 'app' => $appname));
|
|
||||||
}
|
|
||||||
|
|
||||||
function _recaptcha_aes_pad($val) {
|
|
||||||
$block_size = 16;
|
|
||||||
$numpad = $block_size - (strlen ($val) % $block_size);
|
|
||||||
return str_pad($val, strlen ($val) + $numpad, chr($numpad));
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Mailhide related code */
|
|
||||||
|
|
||||||
function _recaptcha_aes_encrypt($val,$ky) {
|
|
||||||
if (! function_exists ("mcrypt_encrypt")) {
|
|
||||||
die ("To use reCAPTCHA Mailhide, you need to have the mcrypt php module installed.");
|
|
||||||
}
|
|
||||||
$mode=MCRYPT_MODE_CBC;
|
|
||||||
$enc=MCRYPT_RIJNDAEL_128;
|
|
||||||
$val=_recaptcha_aes_pad($val);
|
|
||||||
return mcrypt_encrypt($enc, $ky, $val, $mode, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0");
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
function _recaptcha_mailhide_urlbase64 ($x) {
|
|
||||||
return strtr(base64_encode ($x), '+/', '-_');
|
|
||||||
}
|
|
||||||
|
|
||||||
/* gets the reCAPTCHA Mailhide url for a given email, public key and private key */
|
|
||||||
function recaptcha_mailhide_url($pubkey, $privkey, $email) {
|
|
||||||
if ($pubkey == '' || $pubkey == null || $privkey == "" || $privkey == null) {
|
|
||||||
die ("To use reCAPTCHA Mailhide, you have to sign up for a public and private key, " .
|
|
||||||
"you can do so at <a href='http://www.google.com/recaptcha/mailhide/apikey'>http://www.google.com/recaptcha/mailhide/apikey</a>");
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
$ky = pack('H*', $privkey);
|
|
||||||
$cryptmail = _recaptcha_aes_encrypt ($email, $ky);
|
|
||||||
|
|
||||||
return "http://www.google.com/recaptcha/mailhide/d?k=" . $pubkey . "&c=" . _recaptcha_mailhide_urlbase64 ($cryptmail);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* gets the parts of the email to expose to the user.
|
|
||||||
* eg, given johndoe@example,com return ["john", "example.com"].
|
|
||||||
* the email is then displayed as john...@example.com
|
|
||||||
*/
|
|
||||||
function _recaptcha_mailhide_email_parts ($email) {
|
|
||||||
$arr = preg_split("/@/", $email );
|
|
||||||
|
|
||||||
if (strlen ($arr[0]) <= 4) {
|
|
||||||
$arr[0] = substr ($arr[0], 0, 1);
|
|
||||||
} else if (strlen ($arr[0]) <= 6) {
|
|
||||||
$arr[0] = substr ($arr[0], 0, 3);
|
|
||||||
} else {
|
|
||||||
$arr[0] = substr ($arr[0], 0, 4);
|
|
||||||
}
|
|
||||||
return $arr;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Gets html to display an email address given a public an private key.
|
|
||||||
* to get a key, go to:
|
|
||||||
*
|
|
||||||
* http://www.google.com/recaptcha/mailhide/apikey
|
|
||||||
*/
|
|
||||||
function recaptcha_mailhide_html($pubkey, $privkey, $email) {
|
|
||||||
$emailparts = _recaptcha_mailhide_email_parts ($email);
|
|
||||||
$url = recaptcha_mailhide_url ($pubkey, $privkey, $email);
|
|
||||||
|
|
||||||
return htmlentities($emailparts[0]) . "<a href='" . htmlentities ($url) .
|
|
||||||
"' onclick=\"window.open('" . htmlentities ($url) . "', '', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=500,height=300'); return false;\" title=\"Reveal this e-mail address\">...</a>@" . htmlentities ($emailparts [1]);
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
?>
|
|
26
structure.sql
Normal file
26
structure.sql
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
-- Adminer 4.2.0 MySQL dump
|
||||||
|
|
||||||
|
SET NAMES utf8mb4;
|
||||||
|
SET time_zone = '+00:00';
|
||||||
|
|
||||||
|
DROP TABLE IF EXISTS `ninechan`;
|
||||||
|
CREATE TABLE `ninechan` (
|
||||||
|
`id` int(16) unsigned NOT NULL AUTO_INCREMENT,
|
||||||
|
`title` varchar(255) COLLATE utf8_bin NOT NULL,
|
||||||
|
`name` varchar(255) COLLATE utf8_bin DEFAULT NULL,
|
||||||
|
`trip` varchar(255) COLLATE utf8_bin DEFAULT NULL,
|
||||||
|
`email` varchar(255) COLLATE utf8_bin DEFAULT NULL,
|
||||||
|
`date` varchar(255) COLLATE utf8_bin NOT NULL,
|
||||||
|
`content` text COLLATE utf8_bin NOT NULL,
|
||||||
|
`password` varchar(255) COLLATE utf8_bin NOT NULL,
|
||||||
|
`ip` varchar(255) COLLATE utf8_bin NOT NULL,
|
||||||
|
`op` tinyint(1) unsigned NOT NULL DEFAULT '1',
|
||||||
|
`tid` int(16) unsigned NOT NULL DEFAULT '0',
|
||||||
|
`locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
|
||||||
|
`ban` tinyint(1) unsigned NOT NULL DEFAULT '0',
|
||||||
|
`lastreply` int(11) unsigned NOT NULL DEFAULT '0',
|
||||||
|
PRIMARY KEY (`id`)
|
||||||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
|
||||||
|
|
||||||
|
|
||||||
|
-- 2015-05-12 19:19:23
|
6
todo.txt
6
todo.txt
|
@ -1,6 +0,0 @@
|
||||||
Todo list
|
|
||||||
====================
|
|
||||||
- Redo the projectile vomit from line 293 till 319
|
|
||||||
- Ram some prepared statements in there
|
|
||||||
- Improve JavaScript(?)
|
|
||||||
- Make bbcode management more convenient
|
|
51
updatedb.php
51
updatedb.php
|
@ -1,51 +0,0 @@
|
||||||
<?php
|
|
||||||
/*
|
|
||||||
* Ninechan Board Script SQL Updater for Version 1.11
|
|
||||||
* by Flashwave <http://flash.moe>
|
|
||||||
* Distributed under the MIT-License
|
|
||||||
*/
|
|
||||||
|
|
||||||
// Require configuration
|
|
||||||
require_once 'config.php';
|
|
||||||
|
|
||||||
// Force enable error reporting
|
|
||||||
error_reporting(-1);
|
|
||||||
|
|
||||||
// Check dependencies
|
|
||||||
if(version_compare(phpversion(), '5.3.0', '<')) // PHP 5.3 or higher
|
|
||||||
die('<h2>' . L_PHP_OUTDATED . '</h2>');
|
|
||||||
|
|
||||||
if(!extension_loaded('PDO')) // Check if PHP Data Objects is available
|
|
||||||
die('<h2>' . L_SQL_FUNCTION . '</h2>');
|
|
||||||
|
|
||||||
|
|
||||||
// Connect to SQL using PDO
|
|
||||||
try {
|
|
||||||
$sqldb = new PDO($sql['dsn'], $sql['user'], $sql['pass']);
|
|
||||||
} catch(PDOException $e) { // Catch connection error
|
|
||||||
print '<h2>' . L_SQL_CONNECT . '</h2>';
|
|
||||||
die($e->getMessage());
|
|
||||||
}
|
|
||||||
|
|
||||||
print '<html><head><title>ninechan db updater</title><link rel="stylesheet" type="text/css" href="./ninechan.css" /></head><body>';
|
|
||||||
print '<h1>ninechan updater</h1> <i>For updating your database to ninechan 1.9/1.10 to 1.11</i><hr />';
|
|
||||||
|
|
||||||
if(isset($_POST['ready'])) {
|
|
||||||
print '<form method="post" action="'. $_SERVER['PHP_SELF'] .'">';
|
|
||||||
print 'Database update successful!';
|
|
||||||
print 'Now delete updatedb.php for security reasons, <u>unlike ninechan 1.9 this version will continue working while this file is present</u>.<br />';
|
|
||||||
print '<input type="submit" name="kill" value="Delete updatedb.php" />';
|
|
||||||
print '</form>';
|
|
||||||
|
|
||||||
$sqldb->query("ALTER TABLE `".$sql['table']."` CHANGE `name` `name` text;");
|
|
||||||
$sqldb->query("ALTER TABLE `".$sql['table']."` CHANGE `trip` `trip` text;");
|
|
||||||
$sqldb->query("ALTER TABLE `".$sql['table']."` CHANGE `email` `email` text;");
|
|
||||||
} elseif(isset($_POST['kill'])) {
|
|
||||||
print 'Deleted updatedb.php, you will now be redirected to the board.';
|
|
||||||
unlink("updatedb.php");
|
|
||||||
print '<meta http-equiv="refresh" content="1; URL=./">';
|
|
||||||
} else {
|
|
||||||
print '<form method="post" action="'. $_SERVER['PHP_SELF'] .'"><input type="submit" name="ready" value="Click this button once you\'re ready" /></form>';
|
|
||||||
}
|
|
||||||
|
|
||||||
print '<h6><a href="http://ninechan.flash.moe/" target="_blank">ninechan</a> updater 1.11 © <a href="http://flash.moe/" target="_blank">Flashwave</a></h6></body></html>';
|
|
Loading…
Add table
Add a link
Reference in a new issue