Änderungen https Andy Müller rückgängig gemacht
This commit is contained in:
@ -1,10 +1,10 @@
|
||||
|
||||
MODx Plugin
|
||||
|
||||
MODx <https://www.modxcms.com/> is an open source PHP application framework.
|
||||
MODx <http://www.modxcms.com/> is an open source PHP application framework.
|
||||
I first came across them in my referrer logs when tillda asked if anyone
|
||||
could implement an HTML Purifier plugin. This forum thread
|
||||
<https://modxcms.com/forums/index.php/topic,6604.0.html> eventually resulted
|
||||
<http://modxcms.com/forums/index.php/topic,6604.0.html> eventually resulted
|
||||
in the fruition of this plugin that davidm says, "is on top of my favorite
|
||||
list." HTML Purifier goes great with WYSIWYG editors!
|
||||
|
||||
@ -93,14 +93,14 @@ $purifier = new HTMLPurifier($config);
|
||||
5. Known Bugs
|
||||
|
||||
'rn' characters sometimes mysteriously appear after purification. We are
|
||||
currently investigating this issue. See: <https://htmlpurifier.org/phorum/read.php?3,1866>
|
||||
currently investigating this issue. See: <http://htmlpurifier.org/phorum/read.php?3,1866>
|
||||
|
||||
|
||||
|
||||
6. See Also
|
||||
|
||||
A modified version of Jot 1.1.3 is available, which integrates with HTML
|
||||
Purifier. You can check it out here: <https://modxcms.com/forums/index.php/topic,25621.msg161970.html>
|
||||
Purifier. You can check it out here: <http://modxcms.com/forums/index.php/topic,25621.msg161970.html>
|
||||
|
||||
|
||||
X. Changelog
|
||||
|
@ -63,7 +63,7 @@ phorum/
|
||||
|
||||
5. ENABLE
|
||||
---------
|
||||
Navigate to your Phorum admin panel at https://example.com/phorum/admin.php,
|
||||
Navigate to your Phorum admin panel at http://example.com/phorum/admin.php,
|
||||
click on Global Settings > Modules, scroll to "HTML Purifier Phorum Mod" and
|
||||
turn it On.
|
||||
|
||||
|
@ -40,6 +40,6 @@ set $PHORUM['mod_htmlpurifier']['wysiwyg'] to TRUE if you are using a
|
||||
WYSIWYG editor (you can do this through a common hook or the web
|
||||
configuration form).
|
||||
|
||||
Visit HTML Purifier at <https://htmlpurifier.org/>.
|
||||
Visit HTML Purifier at <http://htmlpurifier.org/>.
|
||||
|
||||
vim: et sw=4 sts=4
|
||||
|
@ -203,7 +203,7 @@ function phorum_htmlpurifier_quote($array)
|
||||
|
||||
/**
|
||||
* Ensure that our format hook is processed last. Also, loads the library.
|
||||
* @credits <https://secretsauce.phorum.org/snippets/make_bbcode_last_formatter.php.txt>
|
||||
* @credits <http://secretsauce.phorum.org/snippets/make_bbcode_last_formatter.php.txt>
|
||||
*/
|
||||
function phorum_htmlpurifier_common()
|
||||
{
|
||||
|
@ -1,7 +1,7 @@
|
||||
title: HTML Purifier Phorum Mod
|
||||
desc: This module enables standards-compliant HTML filtering on Phorum. Please check migrate.bbcode.php before enabling this mod.
|
||||
author: Edward Z. Yang
|
||||
url: https://htmlpurifier.org/
|
||||
url: http://htmlpurifier.org/
|
||||
version: 4.0.0
|
||||
|
||||
hook: format|phorum_htmlpurifier_format
|
||||
|
@ -40,7 +40,7 @@ function phorum_htmlpurifier_show_form()
|
||||
however, make the web configuration interface unavailable.</p>');
|
||||
|
||||
require_once 'HTMLPurifier/Printer/ConfigForm.php';
|
||||
$htmlpurifier_form = new HTMLPurifier_Printer_ConfigForm('config', 'https://htmlpurifier.org/live/configdoc/plain.html#%s');
|
||||
$htmlpurifier_form = new HTMLPurifier_Printer_ConfigForm('config', 'http://htmlpurifier.org/live/configdoc/plain.html#%s');
|
||||
$htmlpurifier_form->setTextareaDimensions(23, 7); // widen a little, since we have space
|
||||
|
||||
$frm->addMessage($htmlpurifier_form->render(
|
||||
|
@ -71,7 +71,7 @@ function phorum_htmlpurifier_migrate_sigs($offset)
|
||||
$uri = rtrim(dirname($_SERVER['PHP_SELF']), '/\\');
|
||||
$extra = 'admin.php?module=modsettings&mod=htmlpurifier&migrate-sigs=' . $offset;
|
||||
// relies on output buffering to work
|
||||
header("Location: https://$host$uri/$extra");
|
||||
header("Location: http://$host$uri/$extra");
|
||||
exit;
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user