Permalink
Browse files

MDL-37660 SCORM: move time related settings into general section and …

…improve lang
  • Loading branch information...
1 parent 1dd6835 commit 61fbdb0eec0314f2b131c0d9e993fd7b3fc43d6f @danmarsden danmarsden committed Feb 15, 2013
Showing with 3 additions and 8 deletions.
  1. +2 −3 mod/scorm/lang/en/scorm.php
  2. +1 −5 mod/scorm/mod_form.php
@@ -273,12 +273,12 @@
$string['scoes'] = 'Learning objects';
$string['score'] = 'Score';
$string['scorm:addinstance'] = 'Add a new SCORM package';
-$string['scormclose'] = 'Until';
+$string['scormclose'] = 'Available to';
$string['scormcourse'] = 'Learning course';
$string['scorm:deleteresponses'] = 'Delete SCORM attempts';
$string['scormloggingoff'] = 'API logging is off';
$string['scormloggingon'] = 'API logging is on';
-$string['scormopen'] = 'Open';
+$string['scormopen'] = 'Available from';
$string['scormresponsedeleted'] = 'Deleted user attempts';
$string['scorm:deleteownresponses'] = 'Delete own attempts';
$string['scorm:savetrack'] = 'Save tracks';
@@ -314,7 +314,6 @@
$string['syntax'] = 'Syntax error';
$string['tag_error'] = 'Unknown tag ({$a->tag}) with this content: {$a->value}';
$string['time'] = 'Time';
-$string['timerestrict'] = 'Restrict answering to this time period';
$string['title'] = 'Title';
$string['toolbar'] = 'Show the toolbar';
$string['too_many_attributes'] = 'Tag {$a->tag} has too many attributes';
View
@@ -85,13 +85,9 @@ function definition() {
$mform->addHelpButton('packagefile', 'package', 'scorm');
$mform->disabledIf('packagefile', 'scormtype', 'noteq', SCORM_TYPE_LOCAL);
- //-------------------------------------------------------------------------------
- // Time restrictions
- $mform->addElement('header', 'timerestricthdr', get_string('timerestrict', 'scorm'));
-
$mform->addElement('date_time_selector', 'timeopen', get_string("scormopen", "scorm"), array('optional' => true));
$mform->addElement('date_time_selector', 'timeclose', get_string("scormclose", "scorm"), array('optional' => true));
- //-------------------------------------------------------------------------------
+
// display Settings
$mform->addElement('header', 'displaysettings', get_string('displaysettings', 'scorm'));
// Framed / Popup Window

0 comments on commit 61fbdb0

Please sign in to comment.