From 99cc88d159119deae4ffcd9d0cc7ecbfef088a95 Mon Sep 17 00:00:00 2001 From: moodler Date: Thu, 13 Apr 2006 08:44:20 +0000 Subject: [PATCH] Added a new string idnumber course to allow more customisation bug 4337 --- course/edit.html | 6 +++--- lang/en_utf8/moodle.php | 1 + mod/resource/type/file/resource.class.php | 2 +- mod/resource/type/repository/resource.class.php | 2 +- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/course/edit.html b/course/edit.html index b1a36f24e4..06a163abfe 100644 --- a/course/edit.html +++ b/course/edit.html @@ -82,9 +82,9 @@ - : - " /> - + : + " /> + diff --git a/lang/en_utf8/moodle.php b/lang/en_utf8/moodle.php index 1f8986c613..3fecb5eb4f 100644 --- a/lang/en_utf8/moodle.php +++ b/lang/en_utf8/moodle.php @@ -651,6 +651,7 @@ $string['htmlfilesonly'] = 'HTML files only'; $string['htmlformat'] = 'Pretty HTML format'; $string['icqnumber'] = 'ICQ number'; $string['idnumber'] = 'ID number'; +$string['idnumbercourse'] = 'Course ID number'; $string['import'] = 'Import'; $string['importdata'] = 'Import course data'; $string['importdatafrom'] = 'Find a course to import data from:'; diff --git a/mod/resource/type/file/resource.class.php b/mod/resource/type/file/resource.class.php index ec7ab152c6..c0ebf18865 100644 --- a/mod/resource/type/file/resource.class.php +++ b/mod/resource/type/file/resource.class.php @@ -89,7 +89,7 @@ function set_parameters() { 'value' => $this->course->fullname), 'courseshortname' => array('langstr' => get_string('shortname'), 'value' => $this->course->shortname), - 'courseidnumber' => array('langstr' => get_string('idnumber'), + 'courseidnumber' => array('langstr' => get_string('idnumbercourse'), 'value' => $this->course->idnumber), 'coursesummary' => array('langstr' => get_string('summary'), 'value' => $this->course->summary), diff --git a/mod/resource/type/repository/resource.class.php b/mod/resource/type/repository/resource.class.php index 26cf0587bd..af103baaf8 100644 --- a/mod/resource/type/repository/resource.class.php +++ b/mod/resource/type/repository/resource.class.php @@ -89,7 +89,7 @@ function set_parameters() { 'value' => $this->course->fullname), 'courseshortname' => array('langstr' => get_string('shortname'), 'value' => $this->course->shortname), - 'courseidnumber' => array('langstr' => get_string('idnumber'), + 'courseidnumber' => array('langstr' => get_string('idnumbercourse'), 'value' => $this->course->idnumber), 'coursesummary' => array('langstr' => get_string('summary'), 'value' => $this->course->summary), -- 2.39.5