summaryrefslogtreecommitdiff
path: root/inc/config.php
diff options
context:
space:
mode:
authorkaf <admin@cable6.net>2014-04-19 12:56:59 +0000
committerczaks <marcin@6irc.net>2014-04-19 18:48:17 +0200
commitf83c87b623e71e1b88b1095ab4c4a0fd8fcf0d3a (patch)
tree9ebe50073ff177dee162f2969b799add7bc34b18 /inc/config.php
parent17967436e38bcc52d20326754146eccfd49897f5 (diff)
Added: /pol/-like flags based on https://github.com/dubcheck/Tinyboard/commit/a953229de7a370fe036d9458d024e20ea6e8de80
Conflicts: inc/config.php templates/post_form.html
Diffstat (limited to 'inc/config.php')
-rw-r--r--inc/config.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/inc/config.php b/inc/config.php
index fbf7d71b..922594e4 100644
--- a/inc/config.php
+++ b/inc/config.php
@@ -531,6 +531,21 @@
$config['country_flags_condensed'] = true;
$config['country_flags_condensed_css'] = 'static/flags/flags.css';
+ // Let the user choose a /pol/-like user_flag that will be shown in the post. For the user flags, please be aware
+ // that you will have to disable BOTH country_flags and contry_flags_condensed optimization (at least on a board
+ // where they are enabled).
+ $config['user_flag'] = false;
+
+ // List of user_flag the user can choose. Flag must be placed in the directory set by $config['uri_flags']
+ $config['user_flags'] = [];
+ /* example: 
+ $config['user_flags'] = array (
+ 'nz' => 'Nazi',
+ 'cm' => 'Communist',
+ 'eu' => 'Europe'
+ );
+ */
+
/*
* ====================
* Ban settings