From 037dcbb6a9a04694c0930740a848eb11d08d0329 Mon Sep 17 00:00:00 2001 From: moodler Date: Wed, 29 Sep 2004 14:00:35 +0000 Subject: [PATCH] A first attempt at adding accessibility for the jump menus, by adding a button after them when Javascript is not enabled. Button is currently named "Jump". Could be something else. --- lang/en/moodle.php | 4 +++ lib/weblib.php | 76 +++++++++++++++++++++++----------------------- 2 files changed, 42 insertions(+), 38 deletions(-) diff --git a/lang/en/moodle.php b/lang/en/moodle.php index db74f6aa2d..66eee59737 100644 --- a/lang/en/moodle.php +++ b/lang/en/moodle.php @@ -473,6 +473,8 @@ $string['force'] = 'Force'; $string['forcedmode'] = 'forced mode'; $string['forcelanguage'] = 'Force language'; $string['forceno'] = 'Do not force'; +$string['forcepasswordchange'] = 'Force password change'; +$string['forcepasswordchangehelp'] = 'Prompt user to change it on their next login'; $string['forgotten'] = 'Forgotten your username or password?'; $string['format'] = 'Format'; $string['formathtml'] = 'HTML format'; @@ -499,6 +501,7 @@ $string['gd1'] = 'GD 1.x is installed'; $string['gd2'] = 'GD 2.x is installed'; $string['gdneed'] = 'GD must be installed to see this graph'; $string['gdnot'] = 'GD is not installed'; +$string['go'] = 'Go'; $string['gpl'] = 'Copyright (C) 1999-2004 Martin Dougiamas (http://dougiamas.com) This program is free software; you can redistribute it and/or modify @@ -590,6 +593,7 @@ $string['institution'] = 'Institution'; $string['invalidemail'] = 'Invalid email address'; $string['invalidlogin'] = 'Invalid login, please try again'; $string['ip_address'] = 'IP Address'; +$string['jump'] = 'Jump'; $string['jumpto'] = 'Jump to...'; $string['keep'] = 'Keep'; $string['langltr'] = 'Language direction left-to-right'; diff --git a/lib/weblib.php b/lib/weblib.php index 44196c2711..d65f27731d 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -75,6 +75,13 @@ define('FORMAT_MARKDOWN', '4'); // Markdown-formatted text http://daringfireba $ALLOWED_TAGS = '