adding caption too

This commit is contained in:
Ralf Becker 2013-11-06 10:30:18 +00:00
parent 562b317a27
commit e53f781610

View File

@ -302,7 +302,10 @@ class etemplate_widget
// Fall back to widget class, we can not ignore it, as the widget may contain other widgets // Fall back to widget class, we can not ignore it, as the widget may contain other widgets
$class_name = 'etemplate_widget'; $class_name = 'etemplate_widget';
// Don't warn about these known missing ones // Don't warn about these known missing ones
if (!in_array($type, array('styles','menulist','tabs','tab','tabpanels','html','split','iframe','toolbar'))) if (!in_array($type, array(
'styles', 'menulist', 'tabs', 'tab', 'tabpanels', 'html',
'split', 'iframe', 'toolbar', 'caption',
)))
{ {
trigger_error("Could not find a class for $type, using $class_name", E_USER_NOTICE); trigger_error("Could not find a class for $type, using $class_name", E_USER_NOTICE);
} }