summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--attentionbar.php11
-rw-r--r--attentionbar.txt1
-rw-r--r--inc/config.php5
-rw-r--r--js/attention-bar.js8
4 files changed, 0 insertions, 25 deletions
diff --git a/attentionbar.php b/attentionbar.php
deleted file mode 100644
index 25f349cb..00000000
--- a/attentionbar.php
+++ /dev/null
@@ -1,11 +0,0 @@
-<?php
- require_once 'inc/functions.php';
- checkBan();
- $text = isset($_POST['text']) ? $_POST['text'] : '';
- if(strlen($text)>0 && !preg_match('/a href/', $text)) {
- file_put_contents("attentionbar.txt",htmlspecialchars($text));
- if(strlen($_SERVER['HTTP_REFERER'])>0) { header('Location: ' . $_SERVER['HTTP_REFERER']); }
- else { header('Location: /'); }
- } else print(file_get_contents("attentionbar.txt"));
- return;
-?>
diff --git a/attentionbar.txt b/attentionbar.txt
deleted file mode 100644
index 50aa355b..00000000
--- a/attentionbar.txt
+++ /dev/null
@@ -1 +0,0 @@
-- * ( Pasek Atencji ) * -
diff --git a/inc/config.php b/inc/config.php
index 6ec08a09..05c4d0f5 100644
--- a/inc/config.php
+++ b/inc/config.php
@@ -774,11 +774,6 @@
// Number of reports you can create at once.
$config['report_limit'] = 3;
- // Attention Whoring Bar
- // REMEMBER TO CHMOD attentionbar.txt PROPERLY
- // Oh, and add jQuery in additional_javascript.
- $config['attention_bar'] = false;
-
// Allow unfiltered HTML in board subtitle. This is useful for placing icons and links.
$config['allow_subtitle_html'] = false;
diff --git a/js/attention-bar.js b/js/attention-bar.js
deleted file mode 100644
index 40073081..00000000
--- a/js/attention-bar.js
+++ /dev/null
@@ -1,8 +0,0 @@
-$(document).ready(function(){
- $("#attention_bar").click(function(eO){ $("#attention_bar").css("display","none");
- $("#attention_bar_form").css("display","block"); });
- $.get(configRoot + "attentionbar.txt", function(data) {
- $("#attention_bar").html(data);
- $("#attention_bar_input").val($("#attention_bar").text());
- });
-});