Author: leithoff
New Revision: 34322
URL: http://www.egroupware.org/viewvc/egroupware?rev=34322&view=rev
Log:
allow targets for hrefs, as requested with tracker ticket #2894 - no target _blank allowed
Modified:
branches/1.8/phpgwapi/inc/class.html.inc.php
Modified: branches/1.8/phpgwapi/inc/class.html.inc.php
URL: http://www.egroupware.org/viewvc/egroupware/branches/1.8/phpgwapi/inc/class.html.inc.php?rev=34322&r1=34321&r2=34322&view=diff
— branches/1.8/phpgwapi/inc/class.html.inc.php (original)
+++ branches/1.8/phpgwapi/inc/class.html.inc.php Tue Mar 22 14:16:19 2011
@@ -200,6 +200,8 @@
$config->set(‘HTML.TidyLevel’, ‘light’);
// EnableID is needed for anchor tags
$config->set(‘Attr.EnableID’,true);
-
// enable target attributes -
$config->set('Attr.AllowedFrameTargets','_blank,_top,_self,_parent'); // actual allowed tags and attributes $config->set('URI.AllowedSchemes', array('http'=>true, 'https'=>true, 'ftp'=>true, 'file'=>true, 'cid'=>true)); $config->set('AutoFormat.RemoveEmpty', true);
@@ -241,6 +243,8 @@
$config->set(‘HTML.TidyLevel’, ‘light’);
// EnableID is needed for anchor tags
$config->set(‘Attr.EnableID’,true);
-
// enable target attributes -
$config->set('Attr.AllowedFrameTargets','_blank,_top,_self,_parent'); // actual allowed tags and attributes $config->set('URI.AllowedSchemes', array('http'=>true, 'https'=>true, 'ftp'=>true, 'file'=>true, 'cid'=>true)); $config->set('AutoFormat.RemoveEmpty', true);
@@ -1414,6 +1418,8 @@
$config->set(‘HTML.TidyLevel’, ‘light’);
// EnableID is needed for anchor tags
$config->set(‘Attr.EnableID’,true);
-
// enable target attributes -
$config->set('Attr.AllowedFrameTargets','_blank,_top,_self,_parent'); // actual allowed tags and attributes $config->set('HTML.Allowed', 'br,p[align],b,i,u,s,em,pre,tt,strong,strike,sub,sup,center,div[align|style],hr[class|style],'. 'ul[type],ol[type|start],li,'.
Enable your software for Intel® Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel® vPro ™ technology - will your software
be a part of the solution? Download the Intel® Manageability Checker
today! http://p.sf.net/sfu/intel-dev2devmar
eGroupWare-cvs mailing list
eGroupWare-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-cvs