forked from GithubBackups/vichan
Merge branch 'master' of https://github.com/ctrlcctrlv/8chan
This commit is contained in:
commit
3ac3899787
@ -680,7 +680,7 @@ function listBoards($just_uri = false, $indexed_only = false) {
|
|||||||
|
|
||||||
if (!$just_uri) {
|
if (!$just_uri) {
|
||||||
$query = query("SELECT ``boards``.`uri` uri, ``boards``.`title` title, ``boards``.`subtitle` subtitle, ``board_create``.`time` time, ``boards``.`indexed` indexed FROM ``boards``" . ( $indexed_only ? " WHERE `indexed` = 1 " : "" ) . "LEFT JOIN ``board_create`` ON ``boards``.`uri` = ``board_create``.`uri` ORDER BY ``boards``.`uri`") or error(db_error());
|
$query = query("SELECT ``boards``.`uri` uri, ``boards``.`title` title, ``boards``.`subtitle` subtitle, ``board_create``.`time` time, ``boards``.`indexed` indexed FROM ``boards``" . ( $indexed_only ? " WHERE `indexed` = 1 " : "" ) . "LEFT JOIN ``board_create`` ON ``boards``.`uri` = ``board_create``.`uri` ORDER BY ``boards``.`uri`") or error(db_error());
|
||||||
$boards = $query->fetchAll();
|
$boards = $query->fetchAll(PDO::FETCH_ASSOC);
|
||||||
} else {
|
} else {
|
||||||
$boards = array();
|
$boards = array();
|
||||||
$query = query("SELECT `uri` FROM ``boards``" . ( $indexed_only ? " WHERE `indexed` = 1" : "" ) . " ORDER BY ``boards``.`uri`") or error(db_error());
|
$query = query("SELECT `uri` FROM ``boards``" . ( $indexed_only ? " WHERE `indexed` = 1" : "" ) . " ORDER BY ``boards``.`uri`") or error(db_error());
|
||||||
|
@ -87,6 +87,7 @@
|
|||||||
$config['mod']['modlog'] = SUPERMOD;
|
$config['mod']['modlog'] = SUPERMOD;
|
||||||
$config['mod']['editpost'] = MOD;
|
$config['mod']['editpost'] = MOD;
|
||||||
$config['mod']['recent_reports'] = 65535;
|
$config['mod']['recent_reports'] = 65535;
|
||||||
|
$config['mod']['ip_less_recentposts'] = 75;
|
||||||
$config['ban_show_post'] = true;
|
$config['ban_show_post'] = true;
|
||||||
|
|
||||||
// Board shit
|
// Board shit
|
||||||
@ -145,6 +146,7 @@
|
|||||||
$config['markup'][] = array("/^[ |\t]*==(.+?)==[ |\t]*$/m", "<span class=\"heading\">\$1</span>");
|
$config['markup'][] = array("/^[ |\t]*==(.+?)==[ |\t]*$/m", "<span class=\"heading\">\$1</span>");
|
||||||
$config['markup'][] = array("/\[spoiler\](.+?)\[\/spoiler\]/", "<span class=\"spoiler\">\$1</span>");
|
$config['markup'][] = array("/\[spoiler\](.+?)\[\/spoiler\]/", "<span class=\"spoiler\">\$1</span>");
|
||||||
$config['markup'][] = array("/~~(.+?)~~/", "<s>\$1</s>");
|
$config['markup'][] = array("/~~(.+?)~~/", "<s>\$1</s>");
|
||||||
|
$config['markup'][] = array("/__(.+?)__/", "<u>\$1</u>");
|
||||||
|
|
||||||
$config['boards'] = array(array('<i class="fa fa-home" title="Home"></i>' => '/', '<i class="fa fa-tags" title="Boards"></i>' => '/boards.html', '<i class="fa fa-question" title="FAQ"></i>' => '/faq.html', '<i class="fa fa-random" title="Random"></i>' => '/random.php', '<i class="fa fa-plus" title="New board"></i>' => '/create.php', '<i class="fa fa-ban" title="Public ban list"></i>' => '/bans.html', '<i class="fa fa-search" title="Search"></i>' => '/search.php', '<i class="fa fa-cog" title="Manage board"></i>' => '/mod.php', '<i class="fa fa-quote-right" title="Chat"></i>' => 'https://qchat.rizon.net/?channels=#8chan'), array('b', 'meta', 'int'), array('<i class="fa fa-twitter" title="Twitter"></i>'=>'https://twitter.com/infinitechan'));
|
$config['boards'] = array(array('<i class="fa fa-home" title="Home"></i>' => '/', '<i class="fa fa-tags" title="Boards"></i>' => '/boards.html', '<i class="fa fa-question" title="FAQ"></i>' => '/faq.html', '<i class="fa fa-random" title="Random"></i>' => '/random.php', '<i class="fa fa-plus" title="New board"></i>' => '/create.php', '<i class="fa fa-ban" title="Public ban list"></i>' => '/bans.html', '<i class="fa fa-search" title="Search"></i>' => '/search.php', '<i class="fa fa-cog" title="Manage board"></i>' => '/mod.php', '<i class="fa fa-quote-right" title="Chat"></i>' => 'https://qchat.rizon.net/?channels=#8chan'), array('b', 'meta', 'int'), array('<i class="fa fa-twitter" title="Twitter"></i>'=>'https://twitter.com/infinitechan'));
|
||||||
//$config['boards'] = array(array('<i class="fa fa-home" title="Home"></i>' => '/', '<i class="fa fa-tags" title="Boards"></i>' => '/boards.html', '<i class="fa fa-question" title="FAQ"></i>' => '/faq.html', '<i class="fa fa-random" title="Random"></i>' => '/random.php', '<i class="fa fa-plus" title="New board"></i>' => '/create.php', '<i class="fa fa-search" title="Search"></i>' => '/search.php', '<i class="fa fa-cog" title="Manage board"></i>' => '/mod.php', '<i class="fa fa-quote-right" title="Chat"></i>' => 'https://qchat.rizon.net/?channels=#8chan'), array('b', 'meta', 'int'), array('v', 'a', 'tg', 'fit', 'pol', 'tech', 'mu', 'co', 'sp', 'boards'), array('<i class="fa fa-twitter" title="Twitter"></i>'=>'https://twitter.com/infinitechan'));
|
//$config['boards'] = array(array('<i class="fa fa-home" title="Home"></i>' => '/', '<i class="fa fa-tags" title="Boards"></i>' => '/boards.html', '<i class="fa fa-question" title="FAQ"></i>' => '/faq.html', '<i class="fa fa-random" title="Random"></i>' => '/random.php', '<i class="fa fa-plus" title="New board"></i>' => '/create.php', '<i class="fa fa-search" title="Search"></i>' => '/search.php', '<i class="fa fa-cog" title="Manage board"></i>' => '/mod.php', '<i class="fa fa-quote-right" title="Chat"></i>' => 'https://qchat.rizon.net/?channels=#8chan'), array('b', 'meta', 'int'), array('v', 'a', 'tg', 'fit', 'pol', 'tech', 'mu', 'co', 'sp', 'boards'), array('<i class="fa fa-twitter" title="Twitter"></i>'=>'https://twitter.com/infinitechan'));
|
||||||
@ -314,15 +316,15 @@ OEKAKI;
|
|||||||
if (!(strlen($subtitle) < 200))
|
if (!(strlen($subtitle) < 200))
|
||||||
error('Invalid subtitle');
|
error('Invalid subtitle');
|
||||||
|
|
||||||
$query = prepare('UPDATE ``boards`` SET `title` = :title, `subtitle` = :subtitle, `indexed` = :indexed, `public_bans` = :public_bans WHERE `uri` = :uri');
|
$query = prepare('UPDATE ``boards`` SET `title` = :title, `subtitle` = :subtitle, `indexed` = :indexed, `public_bans` = :public_bans, `8archive` = :8archive WHERE `uri` = :uri');
|
||||||
$query->bindValue(':title', $title);
|
$query->bindValue(':title', $title);
|
||||||
$query->bindValue(':subtitle', $subtitle);
|
$query->bindValue(':subtitle', $subtitle);
|
||||||
$query->bindValue(':uri', $b);
|
$query->bindValue(':uri', $b);
|
||||||
$query->bindValue(':indexed', !isset($_POST['meta_noindex']));
|
$query->bindValue(':indexed', !isset($_POST['meta_noindex']));
|
||||||
$query->bindValue(':public_bans', isset($_POST['public_bans']));
|
$query->bindValue(':public_bans', isset($_POST['public_bans']));
|
||||||
|
$query->bindValue(':8archive', isset($_POST['8archive']));
|
||||||
$query->execute() or error(db_error($query));
|
$query->execute() or error(db_error($query));
|
||||||
|
|
||||||
|
|
||||||
$config_file = <<<EOT
|
$config_file = <<<EOT
|
||||||
<?php
|
<?php
|
||||||
\$config['country_flags'] = $country_flags;
|
\$config['country_flags'] = $country_flags;
|
||||||
@ -347,17 +349,28 @@ $locale
|
|||||||
$add_to_config
|
$add_to_config
|
||||||
EOT;
|
EOT;
|
||||||
|
|
||||||
|
$query = query('SELECT `uri`, `title`, `subtitle` FROM ``boards`` WHERE `8archive` = TRUE');
|
||||||
|
file_write('8archive.json', json_encode($query->fetchAll(PDO::FETCH_ASSOC)));
|
||||||
file_write($b.'/config.php', $config_file);
|
file_write($b.'/config.php', $config_file);
|
||||||
file_write('stylesheets/board/'.$b.'.css', $_POST['css']);
|
file_write('stylesheets/board/'.$b.'.css', $_POST['css']);
|
||||||
file_write($b.'/rules.html', Element('page.html', array('title'=>'Rules', 'subtitle'=>'', 'config'=>$config, 'body'=>'<div class="ban">'.purify($_POST['rules']).'</div>')));
|
file_write($b.'/rules.html', Element('page.html', array('title'=>'Rules', 'subtitle'=>'', 'config'=>$config, 'body'=>'<div class="ban">'.purify($_POST['rules']).'</div>')));
|
||||||
file_write($b.'/rules.txt', $_POST['rules']);
|
file_write($b.'/rules.txt', $_POST['rules']);
|
||||||
|
|
||||||
|
$_config = $config;
|
||||||
|
|
||||||
openBoard($b);
|
openBoard($b);
|
||||||
buildIndex();
|
|
||||||
buildJavascript();
|
// be smarter about rebuilds...only some changes really require us to rebuild all threads
|
||||||
$query = query(sprintf("SELECT `id` FROM ``posts_%s`` WHERE `thread` IS NULL", $b)) or error(db_error());
|
if ($_config['blotter'] != $config['blotter'] || $_config['field_disable_name'] != $config['field_disable_name'] || $_config['show_sages'] != $config['show_sages']) {
|
||||||
while ($post = $query->fetch(PDO::FETCH_ASSOC)) {
|
buildIndex();
|
||||||
buildThread($post['id']);
|
$query = query(sprintf("SELECT `id` FROM ``posts_%s`` WHERE `thread` IS NULL", $b)) or error(db_error());
|
||||||
|
while ($post = $query->fetch(PDO::FETCH_ASSOC)) {
|
||||||
|
buildThread($post['id']);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
buildJavascript();
|
||||||
|
|
||||||
modLog('Edited board settings', $b);
|
modLog('Edited board settings', $b);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
* $config['additional_javascript'][] = 'js/jquery.min.js';
|
* $config['additional_javascript'][] = 'js/jquery.min.js';
|
||||||
* $config['additional_javascript'][] = 'js/katex-enable.js';
|
* $config['additional_javascript'][] = 'js/katex-enable.js';
|
||||||
*/
|
*/
|
||||||
|
/*
|
||||||
function render_katex(el) {
|
function render_katex(el) {
|
||||||
try {
|
try {
|
||||||
katex.render($(el).text(), el)
|
katex.render($(el).text(), el)
|
||||||
@ -32,3 +32,4 @@ if (active_page == 'thread' || active_page == 'index') {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
@ -1,13 +1,13 @@
|
|||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>∞chan</title>
|
<title>∞chan</title>
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
/* Responsive helpers */
|
/* Responsive helpers */
|
||||||
|
|
||||||
.col {
|
.col {
|
||||||
float: left;
|
float: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
.col-12 { width: 100%; }
|
.col-12 { width: 100%; }
|
||||||
@ -24,42 +24,42 @@
|
|||||||
.col-1 { width: 8.33333333%; }
|
.col-1 { width: 8.33333333%; }
|
||||||
|
|
||||||
.left-push {
|
.left-push {
|
||||||
float: left;
|
float: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
.right-push {
|
.right-push {
|
||||||
float: right;
|
float: right;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Main */
|
/* Main */
|
||||||
|
|
||||||
* {
|
* {
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
background: #EEF2FF;
|
background: #EEF2FF;
|
||||||
font-family: 'Verdana', 'Arial', 'Helvetica', sans-serif;
|
font-family: 'Verdana', 'Arial', 'Helvetica', sans-serif;
|
||||||
line-height: 1.4;
|
line-height: 1.4;
|
||||||
}
|
}
|
||||||
|
|
||||||
#main {
|
#main {
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
max-width: 1110px;
|
max-width: 1110px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
h4 {
|
h4 {
|
||||||
color: #AF0A0F;
|
color: #AF0A0F;
|
||||||
font-size: 11pt;
|
font-size: 11pt;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
margin: 0px;
|
margin: 0px;
|
||||||
padding: 0px;
|
padding: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
ul, ol, dl {
|
ul, ol, dl {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
a { color: #42413C; }
|
a { color: #42413C; }
|
||||||
@ -67,242 +67,249 @@
|
|||||||
a:visited { color: #6E6C64; }
|
a:visited { color: #6E6C64; }
|
||||||
|
|
||||||
.clear {
|
.clear {
|
||||||
clear: both;
|
clear: both;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mobileDisplay {
|
.mobileDisplay {
|
||||||
display: none;
|
display: none;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Header */
|
/* Header */
|
||||||
|
|
||||||
header {
|
header {
|
||||||
background-color: #D6DAF0;
|
background-color: #D6DAF0;
|
||||||
border: 1px solid #000;
|
border: 1px solid #000;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
line-height: 150%;
|
line-height: 150%;
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.header_text {
|
.header_text {
|
||||||
margin-top: 55px;
|
margin-top: 55px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Body */
|
/* Body */
|
||||||
|
|
||||||
#content {
|
#content {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.content_menu {
|
.content_menu {
|
||||||
background-color: #D6DAF0;
|
background-color: #D6DAF0;
|
||||||
border: 1px solid #000;
|
border: 1px solid #000;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
list-style-position: inside;
|
list-style-position: inside;
|
||||||
padding: 15px 30px;
|
padding: 15px 30px;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
.content_menu_head li {
|
.content_menu_head li {
|
||||||
list-style: none;
|
list-style: none;
|
||||||
border-top: 1px solid #666;
|
border-top: 1px solid #666;
|
||||||
margin-bottom: 15px;
|
margin-bottom: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.content_menu_head a {
|
.content_menu_head a {
|
||||||
padding: 5px 5px 5px 15px;
|
padding: 5px 5px 5px 15px;
|
||||||
display: block;
|
display: block;
|
||||||
width: 160px;
|
width: 160px;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.content_body {
|
.content_body {
|
||||||
padding: 20px;
|
padding: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
iframe {
|
iframe {
|
||||||
margin-top: 25px;
|
margin-top: 25px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 400px;
|
height: 400px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.button {
|
.button {
|
||||||
padding: 13px 18px;
|
padding: 13px 18px;
|
||||||
border: 2px solid #000;
|
border: 2px solid #000;
|
||||||
font-size: 2.75em;
|
font-size: 2.75em;
|
||||||
color: #AF0A0F;
|
color: #AF0A0F;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
background: #D6DAF0;
|
background: #D6DAF0;
|
||||||
margin-right: 5px;
|
margin-right: 5px;
|
||||||
margin-top: 15px;
|
margin-top: 15px;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Footer */
|
/* Footer */
|
||||||
|
|
||||||
.footer {
|
.footer {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
padding: 10px 0;
|
padding: 10px 0;
|
||||||
font-size: 10px;
|
font-size: 10px;
|
||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Responsive */
|
/* Responsive */
|
||||||
|
|
||||||
@media (max-width: 920px) {
|
@media (max-width: 920px) {
|
||||||
#content {
|
#content {
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.menuCol {
|
.menuCol {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
float: none;
|
float: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.bodyCol {
|
.bodyCol {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
float: none;
|
float: none;
|
||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.header_logo {
|
.header_logo {
|
||||||
float: none;
|
float: none;
|
||||||
margin: auto;
|
margin: auto;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.header_text {
|
.header_text {
|
||||||
float: none;
|
float: none;
|
||||||
margin: auto;
|
margin: auto;
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.content_menu_head {
|
.content_menu_head {
|
||||||
width: 45%;
|
width: 45%;
|
||||||
float: left;
|
float: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
.content_menu_list {
|
.content_menu_list {
|
||||||
width: 45%;
|
width: 45%;
|
||||||
float: right;
|
float: right;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mobileDisplay {
|
.mobileDisplay {
|
||||||
display:inline-block;
|
display:inline-block;
|
||||||
text-align:center;
|
text-align:center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mobileHide {
|
.mobileHide {
|
||||||
display:none;
|
display:none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 570px) {
|
@media (max-width: 570px) {
|
||||||
.content_menu_head {
|
.content_menu_head {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
float: none;
|
float: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.content_menu_list {
|
.content_menu_list {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
float: none;
|
float: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.button {
|
.button {
|
||||||
font-size: 1.2em;
|
font-size: 1.2em;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<div id="main">
|
<div id="main">
|
||||||
|
|
||||||
<header>
|
<header>
|
||||||
|
|
||||||
<div class="col col-3 header_logo">
|
<div class="col col-3 header_logo">
|
||||||
<img src="https://8chan.co/static/logo_33.svg" alt="logo" width="220" height="145" id="logo">
|
<img src="https://8chan.co/static/logo_33.svg" alt="logo" width="220" height="145" id="logo">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col col-9 header_text">
|
<div class="col col-9 header_text">
|
||||||
<em>{% trans %}Welcome to ∞chan, the infinitely expanding imageboard.{% endtrans %}</em>
|
<em>{% trans %}Welcome to ∞chan, the infinitely expanding imageboard.{% endtrans %}</em>
|
||||||
<br>
|
<br>
|
||||||
<strong>{% trans %}Featured boards:{% endtrans %}</strong>
|
<strong>{% trans %}Featured boards:{% endtrans %}</strong>
|
||||||
<span class="favorite-boards"></span>
|
<span class="favorite-boards"></span>
|
||||||
<br>
|
<br>
|
||||||
<strong>{% trans %}Board of the week:{% endtrans %} /<a href="/cow">cow</a>/, /<a href="/fringe">fringe</a>/, /<a href="/desu">desu</a>/</strong>
|
<strong>
|
||||||
</div>
|
{% trans %}Boards of the week:{% endtrans %} [
|
||||||
</header>
|
{% for board in config.boards_of_the_week %}
|
||||||
|
<a href="/{{ board }}">{% if not loop.first %} {% endif %}{{ board }}</a>{% if not loop.last %} /{% endif %}
|
||||||
|
{% endfor %}
|
||||||
|
]
|
||||||
|
</strong>
|
||||||
|
</div>
|
||||||
|
</header>
|
||||||
|
|
||||||
<div class="mobileDisplay">
|
<div class="mobileDisplay">
|
||||||
<a href="create.php" class="button">{% trans %}Create your board{% endtrans %}</a>
|
<a href="create.php" class="button">{% trans %}Create your board{% endtrans %}</a>
|
||||||
<a href="boards.html" class="button">{% trans %}Browse existing boards{% endtrans %}</a>
|
<a href="boards.html" class="button">{% trans %}Browse existing boards{% endtrans %}</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="content">
|
<div id="content">
|
||||||
|
|
||||||
<div class="col col-3 menuCol">
|
<div class="col col-3 menuCol">
|
||||||
|
|
||||||
<div class="content_menu">
|
<div class="content_menu">
|
||||||
<ul class="content_menu_head">
|
<ul class="content_menu_head">
|
||||||
<li><em><a href="https://qchat.rizon.net/?channels=#8chan" target="_blank">IRC:#8chan @ irc.rizon.net</a></em></li>
|
<li><em><a href="https://qchat.rizon.net/?channels=#8chan" target="_blank">IRC:#8chan @ irc.rizon.net</a></em></li>
|
||||||
<li><a href="/faq.html">{% trans %}Frequently Asked Questions{% endtrans %}</a></li>
|
<li><a href="/faq.html">{% trans %}Frequently Asked Questions{% endtrans %}</a></li>
|
||||||
<li><a href="/random.php">{% trans %}View random board{% endtrans %}</a></li>
|
<li><a href="/random.php">{% trans %}View random board{% endtrans %}</a></li>
|
||||||
<li><a href="/mod.php" >{% trans %}Manage your board{% endtrans %}</a></li>
|
<li><a href="/mod.php" >{% trans %}Manage your board{% endtrans %}</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<div class="content_menu_list">
|
<div class="content_menu_list">
|
||||||
<h4>{% trans %}Why host your imageboard on 8ch?{% endtrans %}</h4>
|
<h4>{% trans %}Why host your imageboard on 8ch?{% endtrans %}</h4>
|
||||||
<ul>
|
<ul>
|
||||||
<li>{% trans %}100% free{% endtrans %}</li>
|
<li>{% trans %}100% free{% endtrans %}</li>
|
||||||
<li>{% trans %}Customizable board styles and banners{% endtrans %}</li>
|
<li>{% trans %}Customizable board styles and banners{% endtrans %}</li>
|
||||||
<li>{% trans %}User-definable word filters{% endtrans %}</li>
|
<li>{% trans %}User-definable word filters{% endtrans %}</li>
|
||||||
<li>{% trans %}Optional forced anonymity{% endtrans %}</li>
|
<li>{% trans %}Optional forced anonymity{% endtrans %}</li>
|
||||||
<li>{% trans %}Optional country flags{% endtrans %}</li>
|
<li>{% trans %}Optional country flags{% endtrans %}</li>
|
||||||
<li>{% trans %}YouTube embedding{% endtrans %}</li>
|
<li>{% trans %}YouTube embedding{% endtrans %}</li>
|
||||||
<li>{% trans %}Run by competent, experienced global staff{% endtrans %}</li>
|
<li>{% trans %}Run by competent, experienced global staff{% endtrans %}</li>
|
||||||
<li>{% trans %}No technical knowledge needed{% endtrans %}</li>
|
<li>{% trans %}No technical knowledge needed{% endtrans %}</li>
|
||||||
<li>{% trans %}HTTPS by default{% endtrans %}</li>
|
<li>{% trans %}HTTPS by default{% endtrans %}</li>
|
||||||
<li>{% trans %}Simple global rules — the rest is up to you{% endtrans %}</li>
|
<li>{% trans %}Simple global rules — the rest is up to you{% endtrans %}</li>
|
||||||
<li><s>{% trans %}Featured on Al Jazeera America{% endtrans %}</s> ;_;</li>
|
<li><a href="https://www.youtube.com/watch?v=MlnY17pgYwg">{% trans %}Featured on MSNBC!{% endtrans %}</a></li>
|
||||||
<li><em>{% trans %}Not owned by moot{% endtrans %}</em></li>
|
<li><s>{% trans %}Featured on Al Jazeera America{% endtrans %}</s> ;_;</li>
|
||||||
</ul>
|
<li><em>{% trans %}Not owned by moot{% endtrans %}</em></li>
|
||||||
</div>
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="clear"></div>
|
<div class="clear"></div>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<a class="twitter-timeline" data-dnt="true" href="https://twitter.com/infinitechan" data-widget-id="512750449955328002">Tweets by @infinitechan</a>
|
<a class="twitter-timeline" data-dnt="true" href="https://twitter.com/infinitechan" data-widget-id="512750449955328002">Tweets by @infinitechan</a>
|
||||||
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
|
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col col-9 bodyCol">
|
<div class="col col-9 bodyCol">
|
||||||
<div class="content_body">
|
<div class="content_body">
|
||||||
<p>{% trans %}On ∞chan, you can create your own imageboard for free with no experience or programming knowledge needed. As long as the admin logs in once per week and it gets one new post every 72 hours, the board will be hosted forever.{% endtrans %}</p>
|
<p>{% trans %}On ∞chan, you can create your own imageboard for free with no experience or programming knowledge needed. As long as the admin logs in once per week and it gets one new post every 72 hours, the board will be hosted forever.{% endtrans %}</p>
|
||||||
<p style="color:red">{% trans %}Warning: Some boards on this site might contain content of an adult or offensive nature. Please cease use of this site if it is illegal for you to view such content. The boards on this site are made entirely by the users and do not represent the opinions of the administration of 8chan.co. In the interest of free speech, only content that directly violates the DMCA or other US laws is deleted.{% endtrans %}</p>
|
<p style="color:red">{% trans %}Warning: Some boards on this site might contain content of an adult or offensive nature. Please cease use of this site if it is illegal for you to view such content. The boards on this site are made entirely by the users and do not represent the opinions of the administration of 8chan.co. In the interest of free speech, only content that directly violates the DMCA or other US laws is deleted.{% endtrans %}</p>
|
||||||
<div class="mobileHide">
|
<div class="mobileHide">
|
||||||
<a href="create.php" class="button">{% trans %}Create your board{% endtrans %}</a>
|
<a href="create.php" class="button">{% trans %}Create your board{% endtrans %}</a>
|
||||||
<a href="boards.html" class="button">{% trans %}Browse existing boards{% endtrans %}</a>
|
<a href="boards.html" class="button">{% trans %}Browse existing boards{% endtrans %}</a>
|
||||||
</div>
|
</div>
|
||||||
<br>
|
<br>
|
||||||
<!-- START RIZON PASTE / NEWS SCRIPT CODE HERE -->
|
<!-- START RIZON PASTE / NEWS SCRIPT CODE HERE -->
|
||||||
<iframe src="https://qchat2.rizon.net/?channels=8chan&uio=OT0xMTE05"></iframe>
|
<iframe src="https://qchat2.rizon.net/?channels=8chan&uio=OT0xMTE05"></iframe>
|
||||||
<!--END PASTE CODE -->
|
<!--END PASTE CODE -->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col col-12 footer">
|
<div class="col col-12 footer">
|
||||||
<footer>
|
<footer>
|
||||||
@ -313,7 +320,7 @@
|
|||||||
{% for footer in config.footer %}<p class="unimportant" style="text-align:center;">{{ footer }}</p>{% endfor %}
|
{% for footer in config.footer %}<p class="unimportant" style="text-align:center;">{{ footer }}</p>{% endfor %}
|
||||||
</footer>
|
</footer>
|
||||||
</div>
|
</div>
|
||||||
</div><!--div#main-->
|
</div><!--div#main-->
|
||||||
<script type="text/javascript" src="/js/jquery.min.js"></script>
|
<script type="text/javascript" src="/js/jquery.min.js"></script>
|
||||||
<script type="text/javascript" src="/js/update_boards.js"></script>
|
<script type="text/javascript" src="/js/update_boards.js"></script>
|
||||||
</body>
|
</body>
|
||||||
|
@ -33,6 +33,7 @@
|
|||||||
<tr><th>{% trans %}Display SAGE! after saged posts{% endtrans %}</th><td><input type="checkbox" name="show_sages" {% if config.show_sages %}checked{% endif %}></td></tr>
|
<tr><th>{% trans %}Display SAGE! after saged posts{% endtrans %}</th><td><input type="checkbox" name="show_sages" {% if config.show_sages %}checked{% endif %}></td></tr>
|
||||||
<tr><th>{% trans %}Automatically convert ... to …{% endtrans %}</th><td><input type="checkbox" name="auto_unicode" {% if config.auto_unicode %}checked{% endif %}></td></tr>
|
<tr><th>{% trans %}Automatically convert ... to …{% endtrans %}</th><td><input type="checkbox" name="auto_unicode" {% if config.auto_unicode %}checked{% endif %}></td></tr>
|
||||||
<tr><th>{% trans %}No index{% endtrans %}<br><span class="unimportant">{% trans %}Hide from boards index<br/>and do not index in search engines{% endtrans %}</span></th><td><input type="checkbox" name="meta_noindex" {% if not board.indexed %}checked{% endif %}></td></tr>
|
<tr><th>{% trans %}No index{% endtrans %}<br><span class="unimportant">{% trans %}Hide from boards index<br/>and do not index in search engines{% endtrans %}</span></th><td><input type="checkbox" name="meta_noindex" {% if not board.indexed %}checked{% endif %}></td></tr>
|
||||||
|
<tr><th>{% trans %}Archive my board on 8archive.moe{% endtrans %}<br><span class="unimportant">{% trans %}This archives your board on 8archive.moe if you opt in{% endtrans %}</span></th><td><input type="checkbox" name="8archive" {% if board['8archive'] %}checked{% endif %}></td></tr>
|
||||||
<tr><th>{% trans %}Public bans{% endtrans %}<br><span class="unimportant">{% trans %}Displays your bans for the public{% endtrans %}</span></th><td><input type="checkbox" name="public_bans" {% if board.public_bans %}checked{% endif %}></td></tr>
|
<tr><th>{% trans %}Public bans{% endtrans %}<br><span class="unimportant">{% trans %}Displays your bans for the public{% endtrans %}</span></th><td><input type="checkbox" name="public_bans" {% if board.public_bans %}checked{% endif %}></td></tr>
|
||||||
<tr><th>{% trans %}[code] tags{% endtrans %}</th><td><input type="checkbox" name="code_tags" {% if 'js/code_tags/run_prettify.js' in config.additional_javascript %}checked{% endif %}></td></tr>
|
<tr><th>{% trans %}[code] tags{% endtrans %}</th><td><input type="checkbox" name="code_tags" {% if 'js/code_tags/run_prettify.js' in config.additional_javascript %}checked{% endif %}></td></tr>
|
||||||
<tr><th>{% trans %}Oekaki{% endtrans %}</th><td><input type="checkbox" name="oekaki" {% if 'js/wpaint.js' in config.additional_javascript %}checked{% endif %}></td></tr>
|
<tr><th>{% trans %}Oekaki{% endtrans %}</th><td><input type="checkbox" name="oekaki" {% if 'js/wpaint.js' in config.additional_javascript %}checked{% endif %}></td></tr>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user