From 80c312b7e3d9c96c05fca89bebb9d86477759696 Mon Sep 17 00:00:00 2001 From: 8n-tech <8n-tech@users.noreply.github.com> Date: Thu, 16 Apr 2015 20:55:04 +1000 Subject: [PATCH] Issue #460 - No linkbanks to the index or frontpage I've added the infinity logo to page.html. Any standard page (boards / mod pages / plain pages) will have the logo. Signed-off-by: 8n-tech <8n-tech@users.noreply.github.com> --- boards.php | 3 +-- inc/instance-config.php | 16 ++++++++++------ static/nsfw.png | Bin 1229 -> 0 bytes static/sfw.png | Bin 1232 -> 0 bytes stylesheets/style.css | 17 +++++++++++++++++ templates/page.html | 10 +++++++++- 6 files changed, 37 insertions(+), 9 deletions(-) delete mode 100644 static/nsfw.png delete mode 100644 static/sfw.png diff --git a/boards.php b/boards.php index 39876d68..c85346e8 100644 --- a/boards.php +++ b/boards.php @@ -93,8 +93,7 @@ $searchHTML = Element("8chan/boards-search.html", array( $pageHTML = Element("page.html", array( "config" => $config, - "body" => $searchHTML, - "title" => "Boards on ∞chan" + "body" => $searchHTML ) ); diff --git a/inc/instance-config.php b/inc/instance-config.php index 1701fc64..56783e33 100644 --- a/inc/instance-config.php +++ b/inc/instance-config.php @@ -152,25 +152,25 @@ $config['stylesheets']['Dark'] = 'dark.css'; $config['stylesheets']['Photon'] = 'photon.css'; $config['stylesheets']['Redchanit'] = 'redchanit.css'; - + $config['stylesheets_board'] = true; $config['markup'][] = array("/^[ |\t]*==(.+?)==[ |\t]*$/m", "\$1"); $config['markup'][] = array("/\[spoiler\](.+?)\[\/spoiler\]/", "\$1"); $config['markup'][] = array("/~~(.+?)~~/", "\$1"); $config['markup'][] = array("/__(.+?)__/", "\$1"); $config['markup'][] = array("/###([^\s']+)###/", "###\$1###"); - + $config['boards'] = array(array('' => '/', '' => '/boards.html', '' => '/faq.html', '' => '/random.php', '' => '/create.php', '' => '/bans.html', '' => '/search.php', '' => '/mod.php', '' => 'https://qchat.rizon.net/?channels=#8chan'), array('b', 'news+', 'boards'), array('operate', 'meta'), array(''=>'https://twitter.com/infinitechan')); //$config['boards'] = array(array('' => '/', '' => '/boards.html', '' => '/faq.html', '' => '/random.php', '' => '/create.php', '' => '/search.php', '' => '/mod.php', '' => 'https://qchat.rizon.net/?channels=#8chan'), array('b', 'meta', 'int'), array('v', 'a', 'tg', 'fit', 'pol', 'tech', 'mu', 'co', 'sp', 'boards'), array(''=>'https://twitter.com/infinitechan')); - + $config['footer'][] = 'All posts on 8chan are the responsibility of the individual poster and not the administration of 8chan, pursuant to 47 U.S.C. § 230.'; $config['footer'][] = 'We have not been served any secret court orders and are not under any gag orders.'; $config['footer'][] = 'To make a DMCA request or report illegal content, please email admin@8chan.co.'; - + $config['search']['enable'] = true; - + $config['syslog'] = true; - + $config['hour_max_threads'] = 10; $config['filters'][] = array( 'condition' => array( @@ -200,6 +200,10 @@ $config['report_captcha'] = true; $config['page_404'] = 'page_404'; +// Flavor and design. +$config['site_name'] = "∞chan"; +$config['site_logo'] = "/static/logo_33.svg"; + // 8chan specific mod pages require '8chan-mod-config.php'; diff --git a/static/nsfw.png b/static/nsfw.png deleted file mode 100644 index 475868b30edf938de0994384f0e3b72ebea07f78..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1229 zcmV;;1Ty=HP)4Tx05}naRo`#hR1`jmZ&IWdKOk5~hl<6oRa0BJ8yc;~21%2p?MfD<>DVeH z9(p*dx19w`~g7O0}n_%Aq@s%d)fBDv`JHkDym6Hd+5XuAtvnwRpGmK zVkc9?T=n|PIo~X-eVh__(Z?q}P9Z-Dj?gOW6|D%o20XmjW-qs4UjrD(li^iv8@eK9k+ZFm zVRFymFOPAzG5-%Pn|1W;U4vNroTa&AxDScmEA~{ri9gr1^c?U@uwSpaNnw8l_>cP1 zd;)kMQS_;jeRSUEM_*s96y65j1$)tOrwdK{YIQMt92l|D^(E_=$Rjw{b!QT@q!)ni zR`|5oW9X5n$Wv+HVc@|^eX5yXnsHX8PF3UX~a6)MwxDE0HaPjyrlI!;jX{6Kvuh*8ej?;85ekN$?5uuCiS zBTvvVG+XTxAO{m@bvM#Jr)z6J><&E22D|vq?Y?Vkbo_DijopiF$2PET#mZ8eu=y$(ArYkv7@Ex`GL?QCc!_*KFrd&;n1r7 zqW-CFs9&fT)ZaU5gc&=gBz-DaCw(vdOp0__x+47~U6sC(E(JNe@4cTT*n6*E zVH4eoU1-&7pEV~_PRe`a7v+@vy!^5}8?Y3)UmlaER0001FNkl6a>K@I>x1Y`gIXREWCbS5&1%Q{d( z6%VtpNDp(*EHNUi!>m<&RwD;iQVtC?#jI8Q2#(?;{fVGEaXW#JQSCZ3{=sEHcL2|R rK&29A1n2rq!9ce1^a}KW+TGw65pEz5;MfpB00000NkvXXu0mjf2PH|^ diff --git a/static/sfw.png b/static/sfw.png deleted file mode 100644 index e031f3c3f7772113a2c19b3b2b14981d23086bf0..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1232 zcmV;>1TXuEP)4Tx05}naRo`#hR1`jmZ&IWdKOk5~hl<6oRa0BJ8yc;~21%2p?MfD<>DVeH z9(p*dx19w`~g7O0}n_%Aq@s%d)fBDv`JHkDym6Hd+5XuAtvnwRpGmK zVkc9?T=n|PIo~X-eVh__(Z?q}P9Z-Dj?gOW6|D%o20XmjW-qs4UjrD(li^iv8@eK9k+ZFm zVRFymFOPAzG5-%Pn|1W;U4vNroTa&AxDScmEA~{ri9gr1^c?U@uwSpaNnw8l_>cP1 zd;)kMQS_;jeRSUEM_*s96y65j1$)tOrwdK{YIQMt92l|D^(E_=$Rjw{b!QT@q!)ni zR`|5oW9X5n$Wv+HVc@|^eX5yXnsHX8PF3UX~a6)MwxDE0HaPjyrlI!;jX{6Kvuh*8ej?;85ekN$?5uuCiS zBTvvVG+XTxAO{m@bvM#Jr)z6J><&E22D|vq?Y?Vkbo_DijopiF$2PET#mZ8eu=y$(ArYkv7@Ex`GL?QCc!_*KFrd&;n1r7 zqW-CFs9&fT)ZaU5gc&=gBz-DaCw(vdOp0__x+47~U6sC(E(JNe@4cTT*n6*E zVH4eoU1-&7pEV~_PRe`a7v+@vy!^5}8?Y3)UmlaER0001INkl6C*TMmFQ2otmWUs+dYNk^F3H1Z+k z(XJudQDduNW=L0{#hN(FST2pyzPFaQV(kL~yWm&wUjg3X$y( {% if pm %}
You have an unread PM{% if pm.waiting > 0 %}, plus {{ pm.waiting }} more waiting{% endif %}.

{% endif %}
-

{{ title }}

+ {% if config.site_logo %} + + {% endif %} + + {% if title %}

{{ title }}

{% endif %}
{% if subtitle %} {{ subtitle }}