diff --git a/main/inc/lib/WCAG/WCAG_rendering.php b/main/inc/lib/WCAG/WCAG_rendering.php index 0a48cc02ec..a297cf1be3 100644 --- a/main/inc/lib/WCAG/WCAG_rendering.php +++ b/main/inc/lib/WCAG/WCAG_rendering.php @@ -31,7 +31,7 @@ include_once (api_get_path(LIBRARY_PATH).'formvalidator/FormValidator.class.php' class WCAG_Rendering { function editor_header() { - return '
WCAG editor
'; + return '
'.get_lang('WCAGEditor').'
'; } function editor_footer() { @@ -171,7 +171,7 @@ function &prepare_admin_form( $xhtml, &$form ) function &create_xhtml($xhtml) { $values = WCAG_Rendering::extract_data($xhtml); - $xhtml = '
WCAG editor
'; + $xhtml = WCAG_Rendering::editor_header(); $xhtml .= get_lang('WCAGContent').'
'; $xhtml .= ''; $xhtml .= get_lang('WCAGImage').'
'; @@ -183,7 +183,7 @@ function &create_xhtml($xhtml) { $xhtml .= get_lang('WCAGLinkLabel').'
'; $xhtml .= ''; - $xhtml .= '
'; + $xhtml .= WCAG_Rendering::editor_footer();; return $xhtml; }