From: stronk7 Date: Tue, 20 Nov 2007 23:44:08 +0000 (+0000) Subject: Applying one missing string. tableofcontentsabbrev. MDL-12071 X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=13877d12bddfa4564a3c9bf766c6e969806274f5;p=moodle.git Applying one missing string. tableofcontentsabbrev. MDL-12071 Merged from MOODLE_19_STABLE --- diff --git a/mod/resource/type/ims/resource.class.php b/mod/resource/type/ims/resource.class.php index 2efde0f66a..77a3011303 100644 --- a/mod/resource/type/ims/resource.class.php +++ b/mod/resource/type/ims/resource.class.php @@ -7,7 +7,7 @@ // Moodle - Modular Object-Oriented Dynamic Learning Environment // // http://moodle.com // // // -// Copyright (C) 1999 onwards Martin Dougiamas http://dougiamas.com // +// Copyright (C) 1999 onwards Martin Dougiamas http://dougiamas.com // // (C) 2001-3001 Eloy Lafuente (stronk7) http://contiento.com // // // // This program is free software; you can redistribute it and/or modify // @@ -903,13 +903,13 @@ class resource_ims extends resource_base { $cm = $resource_obj->cm; $resource = $resource_obj->resource; - $strtoc = get_string('toc', 'resource'); + $strtoc = get_string('tableofcontentsabbrev', 'resource'); $contents = ''; if (!empty($resource_obj->parameters->tableofcontents)) { //The toc is enabled $page = 0; - $contents .= "id}&type={$resource->type}&page={$page}&frameset=ims\">TOC"; + $contents .= "id}&type={$resource->type}&page={$page}&frameset=ims\">{$strtoc}"; } return $contents;