From b31303a6ed8fe22eb3c4266c368dad4477f14da1 Mon Sep 17 00:00:00 2001 From: mudrd8mz Date: Sat, 7 Apr 2007 19:06:06 +0000 Subject: [PATCH] Implements MDL-8808 Now we can go to a missing docs/help files directly via a link. Thanks to Mitsuhiro Yoshida for the patch. --- admin/lang.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/admin/lang.php b/admin/lang.php index ad7f353db5..427eb5edd3 100644 --- a/admin/lang.php +++ b/admin/lang.php @@ -191,7 +191,7 @@ foreach ($files as $filekey => $file) { // check all the help files. if (!file_exists("$langdir/help/$file")) { - echo "

".get_string("filemissing", "", "$langdir/help/$file")."

"; + echo "wwwroot/$CFG->admin/langdoc.php?sesskey=$USER->sesskey&currentfile=help/$file\">" .get_string("filemissing", "", "$currentlang/help/$file") . "" . "
\n"; $somethingfound = true; continue; } @@ -202,7 +202,7 @@ } foreach ($files as $filekey => $file) { // check all the docs files. if (!file_exists("$langdir/docs/$file")) { - echo "

".get_string("filemissing", "", "$langdir/docs/$file")."

"; + echo "wwwroot/$CFG->admin/langdoc.php?sesskey=$USER->sesskey&currentfile=docs/$file\">" .get_string("filemissing", "", "$currentlang/docs/$file") . "" . "
\n"; $somethingfound = true; continue; } -- 2.39.5