MDL-31201 wiki: fix a hardcoded string

This commit is contained in:
Sun Zhigang
2012-06-30 22:01:08 +02:00
committed by Eloy Lafuente (stronk7)
parent b574c078a6
commit 8b3d60557c
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -195,6 +195,7 @@ $string['searchcontent'] = 'Search in page content';
$string['searchresult'] = 'Search results:';
$string['searchwikis'] = 'Search wikis';
$string['special'] = 'Special';
$string['tableofcontents'] = 'Table of contents';
$string['tagsdeleted'] = 'Wiki tags have been deleted';
$string['tagtitle'] = 'See the "{$a}" tag';
$string['teacherrating'] = 'Teacher rating';
+1 -1
View File
@@ -239,7 +239,7 @@ abstract class wiki_markup_parser extends generic_parser {
$i++;
}
$this->returnvalues['toc'] = "<div class=\"wiki-toc\"><p class=\"wiki-toc-title\">Table of contents</p>$toc</div>";
$this->returnvalues['toc'] = "<div class=\"wiki-toc\"><p class=\"wiki-toc-title\">" . get_string('tableofcontents', 'wiki') . "</p>$toc</div>";
}
/**