From eaab7e28de406fb1bd113b863569e5b4e11adf53 Mon Sep 17 00:00:00 2001 From: 8chan Admin Date: Thu, 26 Dec 2013 19:47:26 +0000 Subject: [PATCH] Show sages --- inc/config.php | 3 +++ templates/post_reply.html | 5 +++++ 2 files changed, 8 insertions(+) diff --git a/inc/config.php b/inc/config.php index 6eebf36d..2c770ddf 100644 --- a/inc/config.php +++ b/inc/config.php @@ -887,6 +887,9 @@ // Allows js/quick-reply.js to work. This could make your imageboard more vulnerable to flood attacks. $config['quick_reply'] = false; + // Show "SAGE!" next to sage posts + $config['show_sages'] = false; + /* * ==================== * Video embedding diff --git a/templates/post_reply.html b/templates/post_reply.html index c5d24247..52b785a4 100644 --- a/templates/post_reply.html +++ b/templates/post_reply.html @@ -22,6 +22,11 @@ {# end email #} {% endif %} + + {% if config.show_sages and post.email == "sage" %} + SAGE! + {% endif %} + {% if capcode %} {{ capcode.cap }} {% endif %}