<?php
/**
* This is b2evolution's formatting config file.
*
* This file sets how b2evolution will parse and format texts (posts, comments, etc.)
* Last significant changes to this file: version 1.6
*
* @todo Move as much as possible to $Settings / $UserSettings
* @package conf
*/
if( !defined('EVO_CONFIG_LOADED') ) die( 'Please, do not access this page directly.' );
/**
* Automatically balance unmatched tags in posts and comments.
*
* Choose the formatting options for your posts:
* 0 to disable
* 1 to ensable
*
* @todo fp>This should be moved to the backoffice. Checkbox in group settings?
*
* @global integer 0|1
*/
$use_balanceTags = 1;
/*
* Disabling XHTML checking for posts is now a Group permission in b2evo's user management
*/
/**
* Set this to true if you want to enforce XHTML strict
*
* @todo fp> Should probably be an additional radio option in group permissions.
*/
$use_strict = false;
/**
* Do we want to use XHTML validation for comments?
*
* TODO: use this for anonymous comments only.
*/
$use_xhtmlvalidation_for_comments = true;
/**
* set this to true to allow id && style as core attributes for comments
* WARNING : This would allow spammers to post hidden content in comments
* enable it at your own risk !
*/
$comments_allow_css_tweaks = false;
/**
* DEPRECATED!!!
*
* here is a list of the tags that are allowed in the comments.
* If XHTML validation is disabled all tags not in this list will be filtered out anyway before we do any checking
* @deprecated
*/
$comment_allowed_tags = '<p><ul><ol><li><dl><dt><dd><address><blockquote><ins><del><span><bdo><br><em><strong><dfn><code><samp><kdb><var><cite><abbr><acronym><q><sub><sup><tt><i><b><big><small>';
/**
* Translation of HTML entities and special characters.
*
* You should not have to change this.
*
* @global array
*/
$b2_htmltrans = array(
// '–' => ' ', '—' => ' ', '‘' => ' ', '’' => ' ',
// '“' => ' ', '”' => ' ', '•' => ' ', '€' => ' ',
'<' => '<', '>' => '>',
'&sp;' => ' ', '!' => '!', '"' => '"', '#' => '#',
'$' => '$', '%' => '%', '&' => '&', ''' => ''',
'(' => '(', ')' => ')',
'*' => '*', '+' => '+', ',' => ',', '‐' => '-',
'−' => '-', '.' => '.', '/' => '/', ':' => ':',
';' => ';', '<' => '<',
'=' => '=', '>' => '>', '?' => '?', '@' => '@',
'[' => '[', '\' => '\', ']' => ']', 'ˆ' => '^',
'_' => '_', '―' => '_',
'`' => '`', '{' => '{', '|' => '|', '}' => '}',
'˜' => '~', '‚' => '‚', '„' => '„',
'&ldots;' => '…', 'Š' => 'Š', '‹' => '‹', 'Œ' => 'Œ',
'‘' => '‘', '’' => '‘', '’' => '’',
'“' => '“', '”' => '“', '”' => '”', '•' => '•',
'–' => '–', '&endash;' => '–', '—' => '—', '&emdash;' => '—',
'˜' => '˜', '™' => '™',
'š' => 'š', '›' => '›', 'œ' => 'œ', 'Ÿ' => 'Ÿ',
' ' => ' ', '¡' => '¡', '¢' => '¢', '£' => '£',
'¤' => '¤', '¥' => '¥',
'¦' => '¦', '&brkbar;' => '¦', '§' => '§', '¨' => '¨',
'¨' => '¨', '©' => '©', 'ª' => 'ª', '«' => '«',
'¬' => '¬', '­' => '­',
'®' => '®', '¯' => '¯', '&hibar;' => '¯', '°' => '°',
'±' => '±', '²' => '²', '³' => '³', '´' => '´',
'µ' => 'µ', '¶' => '¶',
'·' => '·', '¸' => '¸', '¹' => '¹', 'º' => 'º',
'»' => '»', '¼' => '¼', '½' => '½', '½' => '½',
'¾' => '¾', '¿' => '¿',
'À' => 'À', 'Á' => 'Á', 'Â' => 'Â', 'Ã' => 'Ã',
'Ä' => 'Ä', 'Å' => 'Å', 'Æ' => 'Æ', 'Ç' => 'Ç',
'È' => 'È', 'É' => 'É',
'Ê' => 'Ê', 'Ë' => 'Ë', 'Ì' => 'Ì', 'Í' => 'Í',
'Î' => 'Î', 'Ï' => 'Ï', 'Ð' => 'Ð', 'Ñ' => 'Ñ',
'Ò' => 'Ò', 'Ó' => 'Ó',
'Ô' => 'Ô', 'Õ' => 'Õ', 'Ö' => 'Ö', '×' => '×',
'Ø' => 'Ø', 'Ù' => 'Ù', 'Ú' => 'Ú', 'Û' => 'Û',
'Ü' => 'Ü', 'Ý' => 'Ý',
'Þ' => 'Þ', 'ß' => 'ß', 'à' => 'à', 'á' => 'á',
'â' => 'â', 'ã' => 'ã', 'ä' => 'ä', 'å' => 'å',
'æ' => 'æ', 'ç' => 'ç',
'è' => 'è', 'é' => 'é', 'ê' => 'ê', 'ë' => 'ë',
'ì' => 'ì', 'í' => 'í', 'î' => 'î', 'ï' => 'ï',
'ð' => 'ð', 'ñ' => 'ñ',
'ò' => 'ò', 'ó' => 'ó', 'ô' => 'ô', 'õ' => 'õ',
'ö' => 'ö', '÷' => '÷', 'ø' => 'ø', 'ù' => 'ù',
'ú' => 'ú', 'û' => 'û',
'ü' => 'ü', 'ý' => 'ý', 'þ' => 'þ', 'ÿ' => 'ÿ',
'Œ' => 'Œ', 'œ' => 'œ', 'Š' => 'Š', 'š' => 'š',
'Ÿ' => 'Ÿ', 'ƒ' => 'ƒ',
'ˆ' => 'ˆ', '˜' => '˜', 'Α' => 'Α', 'Β' => 'Β',
'Γ' => 'Γ', 'Δ' => 'Δ', 'Ε' => 'Ε', 'Ζ' => 'Ζ',
'Η' => 'Η', 'Θ' => 'Θ',
'Ι' => 'Ι', 'Κ' => 'Κ', 'Λ' => 'Λ',
'Μ' => 'Μ', 'Ν' => 'Ν', 'Ξ' => 'Ξ',
'Ο' => 'Ο', 'Π' => 'Π', 'Ρ' => 'Ρ', 'Σ' => 'Σ',
'Τ' => 'Τ', 'Υ' => 'Υ', 'Φ' => 'Φ',
'Χ' => 'Χ', 'Ψ' => 'Ψ', 'Ω' => 'Ω',
'α' => 'α', 'β' => 'β', 'γ' => 'γ', 'δ' => 'δ',
'ε' => 'ε', 'ζ' => 'ζ', 'η' => 'η',
'θ' => 'θ', 'ι' => 'ι', 'κ' => 'κ', 'λ' => 'λ',
'μ' => 'μ', 'ν' => 'ν', 'ξ' => 'ξ',
'ο' => 'ο', 'π' => 'π', 'ρ' => 'ρ', 'ς' => 'ς',
'σ' => 'σ', 'τ' => 'τ', 'υ' => 'υ', 'φ' => 'φ',
'χ' => 'χ', 'ψ' => 'ψ',
'ω' => 'ω', 'ϑ' => 'ϑ', 'ϒ' => 'ϒ', 'ϖ' => 'ϖ',
' ' => ' ', ' ' => ' ', ' ' => ' ', '‌' => '‌',
'‍' => '‍', '‎' => '‎',
'‏' => '‏', '–' => '–', '—' => '—', '‘' => '‘',
'’' => '’', '‚' => '‚', '“' => '“', '”' => '”',
'„' => '„', '†' => '†',
'‡' => '‡', '•' => '•', '…' => '…', '‰' => '‰',
'′' => '′', '″' => '″', '‹' => '‹', '›' => '›',
'‾' => '‾', '⁄' => '⁄',
'€' => '€', 'ℑ' => 'ℑ', '℘' => '℘', 'ℜ' => 'ℜ',
'™' => '™', 'ℵ' => 'ℵ', '←' => '←', '↑' => '↑',
'→' => '→', '↓' => '↓',
'↔' => '↔', '↵' => '↵', '⇐' => '⇐', '⇑' => '⇑',
'⇒' => '⇒', '⇓' => '⇓', '⇔' => '⇔', '∀' => '∀',
'∂' => '∂', '∃' => '∃',
'∅' => '∅', '∇' => '∇', '∈' => '∈', '∉' => '∉',
'∋' => '∋', '∏' => '∏', '∑' => '∑', '−' => '−',
'∗' => '∗', '√' => '√',
'∝' => '∝', '∞' => '∞', '∠' => '∠', '∧' => '∧',
'∨' => '∨', '∩' => '∩', '∪' => '∪', '∫' => '∫',
'∴' => '∴', '∼' => '∼',
'≅' => '≅', '≈' => '≈', '≠' => '≠', '≡' => '≡',
'≤' => '≤', '≥' => '≥', '⊂' => '⊂', '⊃' => '⊃',
'⊄' => '⊄', '⊆' => '⊆',
'⊇' => '⊇', '⊕' => '⊕', '⊗' => '⊗', '⊥' => '⊥',
'⋅' => '⋅', '⌈' => '⌈', '⌉' => '⌉', '⌊' => '⌊',
'⌋' => '⌋', '⟨' => '〈',
'⟩' => '〉', '◊' => '◊', '♠' => '♠', '♣' => '♣',
'♥' => '♥', '♦' => '♦'
);
?>