id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	qualification
1608	[sfSIFRPlugin] Yaml syntax mya needs to be revised	kupokomapa	Michael.Nolan	I was trying to work with the plug-in and came across an implementation limitation. Consider the following:\r\n\r\n\r\n{{{\r\n# default values\r\nall:\r\n  sifr:\r\n    font_path:    /sfSIFRPlugin/swf\r\n    font:         Gill.swf\r\n    replace:\r\n      font:\r\n        sSelector: "#page-title,#section-title"\r\n        sWmode:    transparent\r\n        sColor:    "#2a2a2a"\r\n        sCase:     normal\r\n      font:\r\n        sSelector: ".gill-white-16,.gill-white-14"\r\n        sWmode:    transparent\r\n        sColor:    "#ffffff"\r\n        sCase:     normal\r\n      font:\r\n        sSelector: ".gill-darkred-12"\r\n        sWmode:    transparent\r\n        sColor:    "#5e0606"\r\n        sCase:     normal\r\n}}}\r\n\r\nWe the above configuration YAML is limiting the replacement of font tags to only one and I way I found around that is the following:\r\n\r\nAdd after line 79 of sfSIFRFilter.class.php:\r\n{{{\r\n$element = ($pos = strpos($element, '-'))?substr($element, 0, $pos):$element;\r\n}}}\r\n\r\nand this way I can use a number after the element to force the plug-in to tread them differently.\r\n\r\n\r\n{{{\r\n# default values\r\nall:\r\n  sifr:\r\n    font_path:    /sfSIFRPlugin/swf\r\n    font:         Gill.swf\r\n    replace:\r\n      font-1:\r\n        sSelector: "#page-title,#section-title"\r\n        sWmode:    transparent\r\n        sColor:    "#2a2a2a"\r\n        sCase:     normal\r\n      font-2:\r\n        sSelector: ".gill-white-16,.gill-white-14"\r\n        sWmode:    transparent\r\n        sColor:    "#ffffff"\r\n        sCase:     normal\r\n      font-3:\r\n        sSelector: ".gill-darkred-12"\r\n        sWmode:    transparent\r\n        sColor:    "#5e0606"\r\n        sCase:     normal\r\n}}}\r\n\r\n\r\n 	enhancement	new	minor	plugins	plugins	1.0.0				Unreviewed
