Added a new string idnumber course to allow more customisation bug 4337
This commit is contained in:
+3
-3
@@ -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>
|
||||
|
||||
@@ -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:';
|
||||
|
||||
@@ -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),
|
||||
|
||||
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user