Condense flags into one file. Heads-up for people having custom flags, disable $config['country_flags_condensed'] !!!

This commit is contained in:
czaks
2014-02-24 00:06:01 +01:00
parent d274180f81
commit 14c499f9d1
6 changed files with 280 additions and 7 deletions

View File

@@ -523,11 +523,13 @@
// When true, users are instead presented a selectbox for email. Contains, blank, noko and sage.
$config['field_email_selectbox'] = false;
// Attach country flags to posts. Requires the PHP "geoip" extension to be installed:
// http://www.php.net/manual/en/intro.geoip.php. In the future, maybe I will find and include a proper
// pure-PHP geolocation library.
// Attach country flags to posts.
$config['country_flags'] = false;
// Load all country flags from one file
$config['country_flags_condensed'] = true;
$config['country_flags_condensed_css'] = 'static/flags/flags.css';
/*
* ====================
* Ban settings
@@ -1071,6 +1073,9 @@
// Home directory. Used by themes.
$config['dir']['home'] = '';
// Location of a blank 1x1 gif file. Only used when country_flags_condensed is enabled
$config['uri_blank'] = $config['root'] . 'static/blank.gif';
// Static images. These can be URLs OR base64 (data URI scheme). These are only used if
// $config['font_awesome'] is false (default).
// $config['image_sticky'] = 'static/sticky.gif';