]> git.mjollnir.org Git - moodle.git/commitdiff
Added a new string idnumber course to allow more customisation bug 4337
authormoodler <moodler>
Thu, 13 Apr 2006 08:44:20 +0000 (08:44 +0000)
committermoodler <moodler>
Thu, 13 Apr 2006 08:44:20 +0000 (08:44 +0000)
course/edit.html
lang/en_utf8/moodle.php
mod/resource/type/file/resource.class.php
mod/resource/type/repository/resource.class.php

index b1a36f24e43f37445ce8ca914dca7db830f144fd..06a163abfe17a1e83fc9d5d0aae9bda7fb45cedb 100644 (file)
@@ -82,9 +82,9 @@
     </td>
 </tr>
 <tr valign="top">
-    <td align="right"><?php  print_string("idnumber") ?>:</td>
-    <td><input type="text" name="idnumber" maxlength="100"  size="10" value="<?php  p($form->idnumber) ?>" alt="><?php  print_string("idnumber") ?>" />
-    <?php  helpbutton("courseidnumber", get_string("idnumber")) ?>
+    <td align="right"><?php  print_string("idnumbercourse") ?>:</td>
+    <td><input type="text" name="idnumber" maxlength="100"  size="10" value="<?php  p($form->idnumber) ?>" alt="><?php  print_string("idnumbercourse") ?>" />
+    <?php  helpbutton("courseidnumber", get_string("idnumbercourse")) ?>
     <?php  if (isset($err["idnumber"])) formerr($err["idnumber"]); ?>
     </td>
 </tr>
index 1f8986c6136b8039203dd282306963591584226b..3fecb5eb4fcdbdab5bb99269c67dda74ba040d81 100644 (file)
@@ -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:';
index ec7ab152c6ce53a47ac3ec7ebb3fdc4ba7570d2b..c0ebf18865d137eb2b0481c6b3df205145fdface 100644 (file)
@@ -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),
index 26cf0587bd782f2dd2ff01255c3d00f00193b3ad..af103baaf84ca7ce4b0b473c6195a8483c3fd4b6 100644 (file)
@@ -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),