Browse Source

Moodle 2.4 Remarked out 2.4 YUI commands

MOODLE_23_STABLE
Jay Huber 12 years ago
parent
commit
72c5f68e02
  1. 16
      lang/en/attforblock.php
  2. 4
      renderer.php
  3. 2
      version.php

16
lang/en/attforblock.php

@ -14,6 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
$string['attforblock:addinstance'] = 'Add a new attendance activity';
$string['Aacronym'] = 'A';
$string['Afull'] = 'Absent';
$string['Eacronym'] = 'E';
@ -174,12 +175,19 @@ $string['startofperiod'] = 'Start of period';
$string['status'] = 'Status';
$string['statuses'] = 'Statuses';
$string['statusdeleted'] = 'Status deleted';
$string['strftimedm'] = '%d.%m';
$string['strftimedmy'] = '%d.%m.%Y';
$string['strftimedm'] = '%m.%d';
$string['strftimedmy'] = '%m.%d.%Y';
$string['strftimedmyw'] = '%m.%d.%y&nbsp;(%a)';
$string['strftimeshortdate'] = '%m.%d.%Y';
$string['strftimedmyhm'] = '%m.%d.%Y %H.%M';
//$string['strftimedm'] = '%d.%m';
//$string['strftimedmy'] = '%d.%m.%Y';
$string['strftimedmyhm'] = '%d.%m.%Y %H.%M'; // line added to allow multiple sessions in the same day
$string['strftimedmyw'] = '%d.%m.%y&nbsp;(%a)';
//$string['strftimedmyw'] = '%d.%m.%y&nbsp;(%a)';
$string['strftimehm'] = '%H:%M'; //line added to allow display of time
$string['strftimeshortdate'] = '%d.%m.%Y';
//$string['strftimeshortdate'] = '%d.%m.%Y';
$string['studentid'] = 'Student ID';
$string['takeattendance'] = 'Take attendance';
$string['thiscourse'] = 'This course';

4
renderer.php

@ -106,8 +106,8 @@ class mod_attforblock_renderer extends plugin_renderer_base {
'cal_cur_date' => $fcontrols->curdate);
$curdate_controls = html_writer::script(js_writer::set_variable('M.attforblock', $jsvals));
$this->page->requires->yui2_lib('container');
$this->page->requires->yui2_lib('calendar');
//$this->page->requires->yui2_lib('container');
//$this->page->requires->yui2_lib('calendar');
$this->page->requires->js('/mod/attforblock/calendar.js');
$curdate_controls .= html_writer::link($fcontrols->url(array('curdate' => $fcontrols->prevcur)), $this->output->larrow());

2
version.php

@ -23,7 +23,7 @@
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
$module->version = 2011071601; // The current module version (Date: YYYYMMDDXX)
$module->version = 2012120700; // The current module version (Date: YYYYMMDDXX)
$module->release = '2.4.0';
$module->cron = 0; // Period for cron to check this module (secs)
$module->component = 'mod_attforblock'; // Full name of the plugin (used for diagnostics)

Loading…
Cancel
Save