diff --git a/mod/data/templates.php b/mod/data/templates.php
index 0a155c23903..046241f20f4 100755
--- a/mod/data/templates.php
+++ b/mod/data/templates.php
@@ -170,7 +170,7 @@
echo '
';
echo '| | ';
echo '';
- echo ' '.get_string('header','data').' ';
+ echo '';
print_textarea($usehtmleditor, 10, 72, 0, 0, 'listtemplateheader', $data->listtemplateheader);
echo ' | ';
echo '
';
@@ -179,11 +179,11 @@
// Print the main template.
// Add all the available fields for this data.
echo '';
- echo get_string('availabletags','data');
+ echo '';
helpbutton('tags', get_string('tags','data'), 'data');
echo ' ';
- echo ' | ';
echo '
';
@@ -234,7 +237,7 @@
echo '';
echo '| | ';
echo '';
- echo ' '.get_string('footer','data').' ';
+ echo '';
print_textarea($usehtmleditor, 10, 72, 0, 0, 'listtemplatefooter', $data->listtemplatefooter);
echo ' | ';
echo '
';
@@ -242,7 +245,7 @@
echo '';
echo '| | ';
echo '';
- echo ' '.get_string('rsstitletemplate','data').' ';
+ echo '';
print_textarea($usehtmleditor, 10, 72, 0, 0, 'rsstitletemplate', $data->rsstitletemplate);
echo ' | ';
echo '
';