aboutsummaryrefslogtreecommitdiffstats
path: root/include/text.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2016-09-08 11:22:58 +0200
committerMario Vavti <mario@mariovavti.com>2016-09-08 11:22:58 +0200
commit1e8fec93855755aa2a9103b6dab4d0751875b0d5 (patch)
treedac893fb281d68bdbc344f9c9517aa9a648a2414 /include/text.php
parent35f1055739f133cdeda290aa3a45992f97bb32fa (diff)
downloadvolse-hubzilla-1e8fec93855755aa2a9103b6dab4d0751875b0d5.tar.gz
volse-hubzilla-1e8fec93855755aa2a9103b6dab4d0751875b0d5.tar.bz2
volse-hubzilla-1e8fec93855755aa2a9103b6dab4d0751875b0d5.zip
add more foundation data- attributes
Diffstat (limited to 'include/text.php')
-rw-r--r--include/text.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/text.php b/include/text.php
index e828594b9..8b2e8b9e0 100644
--- a/include/text.php
+++ b/include/text.php
@@ -147,6 +147,9 @@ function purify_html($s, $allow_position = false) {
$def->info_global_attr['data-drilldown'] = new HTMLPurifier_AttrDef_Text;
//accordion menu
$def->info_global_attr['data-accordion-menu'] = new HTMLPurifier_AttrDef_Text;
+ //responsive navigation
+ $def->info_global_attr['data-responsive-menu'] = new HTMLPurifier_AttrDef_Text;
+ $def->info_global_attr['data-responsive-toggle'] = new HTMLPurifier_AttrDef_Text;
//magellan
$def->info_global_attr['data-magellan'] = new HTMLPurifier_AttrDef_Text;
$def->info_global_attr['data-magellan-target'] = new HTMLPurifier_AttrDef_Text;
@@ -194,13 +197,13 @@ function purify_html($s, $allow_position = false) {
$def->info_global_attr['data-sticky'] = new HTMLPurifier_AttrDef_Text;
$def->info_global_attr['data-sticky-container'] = new HTMLPurifier_AttrDef_Text;
-
// f6 common
$def->info_global_attr['data-options'] = new HTMLPurifier_AttrDef_Text;
$def->info_global_attr['data-toggle'] = new HTMLPurifier_AttrDef_Text;
$def->info_global_attr['data-close'] = new HTMLPurifier_AttrDef_Text;
$def->info_global_attr['data-open'] = new HTMLPurifier_AttrDef_Text;
+ $def->info_global_attr['data-position'] = new HTMLPurifier_AttrDef_Text;
//data- attributes used by the bootstrap library