[svn r10986] remove WCAG header when WCAG tag is false

skala
Patrick Vandermaesen 18 years ago
parent 86f28a7101
commit a26a7b2d38
  1. 10
      main/course_description/index.php

@ -1,4 +1,4 @@
<?php // $Id: index.php 10977 2007-01-29 21:56:12Z pvandermaesen $ <?php // $Id: index.php 10986 2007-01-29 23:57:37Z pvandermaesen $
/* /*
============================================================================== ==============================================================================
Dokeos - elearning and course management software Dokeos - elearning and course management software
@ -239,9 +239,13 @@ if (api_is_allowed_to_edit() && !is_null($description_id))
} }
echo '</dl>'; echo '</dl>';
} }
echo (WCAG_Rendering::editor_header()); if (api_get_setting('wcag_anysurfer_public_pages')=='true') {
echo (WCAG_Rendering::editor_header());
}
$form->display(); $form->display();
echo (WCAG_Rendering::editor_footer()); if (api_get_setting('wcag_anysurfer_public_pages')=='true') {
echo (WCAG_Rendering::editor_footer());
}
$show_description_list = false; $show_description_list = false;
} }
} }

Loading…
Cancel
Save