mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-12-12 07:41:12 +01:00
b85e1f2f0b
For country flags, a "?" will now show if the flag is unknown (for example, if the user is using Tor or just has an IP that is not in the GeoIP database) For board owner-defined flags, "None" option disappears and posting is impossible without choosing a valid flag. This commit is for /fringe/.
64 lines
3.0 KiB
HTML
64 lines
3.0 KiB
HTML
<link rel="stylesheet" media="screen" href="{{ config.url_stylesheet }}">
|
|
{% if config.url_favicon %}<link rel="shortcut icon" href="{{ config.root }}{{ config.url_favicon }}">{% endif %}
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=yes">
|
|
{% if config.meta_keywords %}<meta name="keywords" content="{{ config.meta_keywords }}">{% endif %}
|
|
{% if config.meta_description %}<meta name="description" content="{{ config.meta_description }}">{% endif %}
|
|
{% if not board.indexed %}<meta name="robots" content="noindex" />{% endif %}
|
|
{% if config.default_stylesheet.1 != '' and not mod %}<link rel="stylesheet" type="text/css" id="stylesheet" href="{{ config.uri_stylesheets }}{{ config.default_stylesheet.1 }}">{% endif %}
|
|
{% if config.font_awesome %}<link rel="stylesheet" media="screen" href="{{ config.root }}{{ config.font_awesome_css }}">{% endif %}
|
|
{% if config.country_flags_condensed %}<link rel="stylesheet" href="{{ config.root }}{{ config.country_flags_condensed_css }}">{% endif %}
|
|
<script type="text/javascript">
|
|
var configRoot="{{ config.root }}";
|
|
var inMod = {% if mod %}true{% else %}false{% endif %};
|
|
var modRoot="{{ config.root }}"+(inMod ? "mod.php?/" : "");
|
|
var max_images={{ config.max_images }};
|
|
var board_name="{{ board.uri }}";
|
|
{% raw %}
|
|
var styles = {
|
|
{% endraw %}
|
|
{% for name, uri in config.stylesheets %}{% raw %}'{% endraw %}{{ name|addslashes }}{% raw %}' : '{% endraw %}/stylesheets/{{ uri|addslashes }}{% raw %}',
|
|
{% endraw %}{% endfor %}{% raw %}
|
|
};
|
|
{% endraw %}
|
|
</script>
|
|
{% if config.locale != "en" %}
|
|
<script type="text/javascript" src="{{ config.root }}inc/locale/{{ config.locale|split('.')[0] }}/LC_MESSAGES/javascript.js"></script>
|
|
{% endif %}
|
|
{% if not nojavascript %}
|
|
<script type="text/javascript" src="{{ config.url_javascript }}"></script>
|
|
{% if not config.additional_javascript_compile %}
|
|
{% for javascript in config.additional_javascript %}<script type="text/javascript" src="{{ config.additional_javascript_url }}{{ javascript }}"></script>{% endfor %}
|
|
{% endif %}
|
|
{% endif %}
|
|
{% if config.recaptcha %}<style type="text/css">{% raw %}
|
|
#recaptcha_area {
|
|
float: none !important;
|
|
padding: 0 !important;
|
|
}
|
|
#recaptcha_logo, #recaptcha_privacy {
|
|
display: none;
|
|
}
|
|
#recaptcha_table {
|
|
border: none !important;
|
|
}
|
|
#recaptcha_table tr:first-child {
|
|
height: auto;
|
|
}
|
|
.recaptchatable img {
|
|
float: none !important;
|
|
}
|
|
#recaptcha_response_field {
|
|
font-size: 10pt !important;
|
|
border: 1px solid #a9a9a9 !important;
|
|
padding: 1px !important;
|
|
}
|
|
td.recaptcha_image_cell {
|
|
background: transparent !important;
|
|
}
|
|
.recaptchatable, #recaptcha_area tr, #recaptcha_area td, #recaptcha_area th {
|
|
padding: 0 !important;
|
|
}
|
|
{% endraw %}</style>{% endif %}
|
|
{% if config.katex %}<script type="text/javascript" src="/js/mathjax/MathJax.js?config=8chanTeX"></script>{% endif %}
|