Lines Matching refs:STYLES
417 if(!isset($language_data['STYLES'])) {
418 report_error(TYPE_ERROR, 'Language file contains no $language_data[\'STYLES\'] structure to check!');
419 } else if (!is_array($language_data['STYLES'])) {
420 report_error(TYPE_ERROR, 'Language file contains a $language_data[\'STYLES\'] structure which is not an array!');
426 if(!isset($language_data['STYLES'][$style_kind])) {
427 report_error(TYPE_ERROR, "Language file contains no \$language_data['STYLES']['$style_kind'] structure to check!");
428 } else if (!is_array($language_data['STYLES'][$style_kind])) {
429 report_error(TYPE_ERROR, "Language file contains a \$language_data['STYLES\']['$style_kind'] structure which is not an array!");
431 foreach($language_data['STYLES'][$style_kind] as $sk_key => $sk_value) {
434 report_error(TYPE_WARNING, "Language file contains an key '$sk_key' in \$language_data['STYLES']['$style_kind'] that is not integer!");
436 report_error(TYPE_WARNING, "Language file contains a CSS specification for \$language_data['STYLES']['$style_kind'][$key] which is not a string!");
534 foreach($language_data['STYLES']['KEYWORDS'] as $key => $keywords) {
536 report_error(TYPE_WARNING, "Language file contains an superfluous \$language_data['STYLES']['KEYWORDS'] specification for non-existing keyword group $key!");
547 if(!isset($language_data['STYLES']['COMMENTS'][$ck])) {
548 report_error(TYPE_WARNING, "Language file contains no \$language_data['STYLES']['COMMENTS'] specification for comment group $ck!");
559 if(!isset($language_data['STYLES']['COMMENTS'][$ck])) {
560 report_error(TYPE_WARNING, "Language file contains no \$language_data['STYLES']['COMMENTS'] specification for comment group $ck!");
564 foreach($language_data['STYLES']['COMMENTS'] as $ck => $cv) {
567 report_error(TYPE_NOTICE, "Language file contains an superfluous \$language_data['STYLES']['COMMENTS'] specification for Single Line or Regular-Expression Comment key $ck!");
570 if (isset($language_data['STYLES']['STRINGS']['HARD'])) {
572 report_error(TYPE_NOTICE, "Language file contains superfluous \$language_data['STYLES']['STRINGS'] specification for key 'HARD', but no 'HARDQUOTE's are defined!");
574 unset($language_data['STYLES']['STRINGS']['HARD']);
576 foreach($language_data['STYLES']['STRINGS'] as $sk => $sv) {
578 report_error(TYPE_NOTICE, "Language file contains an superfluous \$language_data['STYLES']['STRINGS'] specification for non-existing quotemark key $sk!");
632 if(!isset($language_data['STYLES']['REGEXPS'][$rk])) {
633 report_error(TYPE_WARNING, "Language file contains no \$language_data['STYLES']['REGEXPS'] specification for regexp group $rk!");
636 foreach($language_data['STYLES']['REGEXPS'] as $rk => $rv) {
638 report_error(TYPE_NOTICE, "Language file contains an superfluous \$language_data['STYLES']['REGEXPS'] specification for regexp key $rk!");