summaryrefslogtreecommitdiff
path: root/admin/admin_liberty_inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'admin/admin_liberty_inc.php')
-rw-r--r--admin/admin_liberty_inc.php9
1 files changed, 8 insertions, 1 deletions
diff --git a/admin/admin_liberty_inc.php b/admin/admin_liberty_inc.php
index e1508cb..1eed7a5 100644
--- a/admin/admin_liberty_inc.php
+++ b/admin/admin_liberty_inc.php
@@ -76,8 +76,15 @@ $formLibertyHtmlPurifierFeatures = array(
'liberty_html_pure_xhtml' => array(
'label' => 'Force XHTML',
'note' => 'Determine if purification forces only XHTML tags or if it allows standard HTML.',
+ 'default' => 'y'
+ ),
+ // TODO: We should parse the plugins directory to generate these
+ // so that new plugins just have to be dropped in the dir and turned on.
+ 'liberty_html_pure_allow_youtube' => array(
+ 'label' => 'Allow YouTube',
+ 'note' => 'Allow YouTube videos to be passed through.',
'default' => 'n'
- )
+ ),
);
$gBitSmarty->assign( 'formLibertyHtmlPurifierFeatures', $formLibertyHtmlPurifierFeatures );