moodle.git
12 years agofixed invalid return
Petr Skoda [Sat, 18 Sep 2010 11:06:12 +0000 (11:06 +0000)]
fixed invalid return

12 years agofixed unterminated JS statements
Petr Skoda [Sat, 18 Sep 2010 11:04:02 +0000 (11:04 +0000)]
fixed unterminated JS statements

12 years agospelling fixes
Petr Skoda [Sat, 18 Sep 2010 11:00:48 +0000 (11:00 +0000)]
spelling fixes

12 years agoremoved some unused local variables
Petr Skoda [Sat, 18 Sep 2010 10:59:29 +0000 (10:59 +0000)]
removed some unused local variables

12 years agofixed invalid form setType() call
Petr Skoda [Sat, 18 Sep 2010 10:56:15 +0000 (10:56 +0000)]
fixed invalid form setType() call

12 years agoremoved unnecessary break that was breaking code inspection
Petr Skoda [Sat, 18 Sep 2010 10:51:24 +0000 (10:51 +0000)]
removed unnecessary break that was breaking code inspection

12 years agoimproved docs
Petr Skoda [Sat, 18 Sep 2010 10:50:50 +0000 (10:50 +0000)]
improved docs

12 years agospelling improvements
Petr Skoda [Sat, 18 Sep 2010 10:46:53 +0000 (10:46 +0000)]
spelling improvements

12 years agofixed phpdocs and marked methods as static
Petr Skoda [Sat, 18 Sep 2010 10:43:50 +0000 (10:43 +0000)]
fixed phpdocs and marked methods as static

12 years agofixed unterminated JS statements
Petr Skoda [Sat, 18 Sep 2010 10:37:19 +0000 (10:37 +0000)]
fixed unterminated JS statements

12 years agounterminated JS statement
Petr Skoda [Sat, 18 Sep 2010 10:35:55 +0000 (10:35 +0000)]
unterminated JS statement

12 years agofixed spelling
Petr Skoda [Sat, 18 Sep 2010 10:35:05 +0000 (10:35 +0000)]
fixed spelling

12 years agoremoving unused variables
Petr Skoda [Sat, 18 Sep 2010 10:33:26 +0000 (10:33 +0000)]
removing unused variables

12 years agofixed phpdocs and incorrect exception names
Petr Skoda [Sat, 18 Sep 2010 10:31:31 +0000 (10:31 +0000)]
fixed phpdocs and incorrect exception names

12 years agoimproved coding style, removing unused globals
Petr Skoda [Sat, 18 Sep 2010 10:28:12 +0000 (10:28 +0000)]
improved coding style, removing unused globals

12 years agofixed phpdocs and fatal error in delete method
Petr Skoda [Sat, 18 Sep 2010 10:24:35 +0000 (10:24 +0000)]
fixed phpdocs and fatal error in delete method

12 years agofixed spelling typo
Petr Skoda [Sat, 18 Sep 2010 10:21:09 +0000 (10:21 +0000)]
fixed spelling typo

12 years agospelling fixes
Petr Skoda [Sat, 18 Sep 2010 10:14:46 +0000 (10:14 +0000)]
spelling fixes

12 years agoportfolio MDL-24263 removing conditional use of $this inside a static method
Penny Leach [Sat, 18 Sep 2010 08:42:44 +0000 (08:42 +0000)]
portfolio  MDL-24263 removing conditional use of $this inside a static method

12 years agoMDL-24261 Remove $question->correctanswer = ($falseanswer->fraction != 0);
Pierre Pichet [Sat, 18 Sep 2010 02:24:09 +0000 (02:24 +0000)]
MDL-24261 Remove $question->correctanswer = ($falseanswer->fraction != 0);

12 years agoUpdated the HEAD build version to 20100918
Moodle Robot [Sat, 18 Sep 2010 00:51:50 +0000 (00:51 +0000)]
Updated the HEAD build version to 20100918

12 years agoMDL-24238 workshop: button to show all participants again after successful manual...
David Mudrak [Sat, 18 Sep 2010 00:25:04 +0000 (00:25 +0000)]
MDL-24238 workshop: button to show all participants again after successful manual allocation

This replaces the closer of the status message. That bits of UI come
from very early times of workshop development and might be replaced
completely.

12 years agoNOMDL workshop: fixing correct arguments order after recent Petr's play with property...
David Mudrak [Fri, 17 Sep 2010 23:43:25 +0000 (23:43 +0000)]
NOMDL workshop: fixing correct arguments order after recent Petr's play with property_exists()

12 years agoMDL-21382 mform: escape invalid characters when generating javascript validation...
David Mudrak [Fri, 17 Sep 2010 22:44:53 +0000 (22:44 +0000)]
MDL-21382 mform: escape invalid characters when generating javascript validation function name

This patch fixes the support for addGroupRule in cases when the element
name contains invalid characters like square brackets (that is if the
group element is an array element).

Credit goes to Hubert Chathi for the solution and the patch provided.

Cherry-picked from MOODLE_19_STABLE

12 years agofixing messed up property_exists() regression - sorrrry
Petr Skoda [Fri, 17 Sep 2010 20:36:49 +0000 (20:36 +0000)]
fixing messed up property_exists() regression - sorrrry

12 years agofixing silyl property_exists() conversion + coding style
Petr Skoda [Fri, 17 Sep 2010 20:32:34 +0000 (20:32 +0000)]
fixing silyl property_exists() conversion + coding style

12 years agocoding style fix
Petr Skoda [Fri, 17 Sep 2010 20:25:33 +0000 (20:25 +0000)]
coding style fix

12 years agofixed duplicate id detection in get_records_sql()
Petr Skoda [Fri, 17 Sep 2010 20:25:02 +0000 (20:25 +0000)]
fixed duplicate id detection in get_records_sql()

12 years agofixed property_exists
Petr Skoda [Fri, 17 Sep 2010 20:23:29 +0000 (20:23 +0000)]
fixed property_exists

12 years agofixed spelling errors
Petr Skoda [Fri, 17 Sep 2010 20:20:24 +0000 (20:20 +0000)]
fixed spelling errors

12 years agofixed $table when throwing exception
Petr Skoda [Fri, 17 Sep 2010 20:19:05 +0000 (20:19 +0000)]
fixed $table when throwing exception

12 years agofixed table var
Petr Skoda [Fri, 17 Sep 2010 20:18:41 +0000 (20:18 +0000)]
fixed table var

12 years agofixed property_exists()
Petr Skoda [Fri, 17 Sep 2010 20:13:23 +0000 (20:13 +0000)]
fixed property_exists()

12 years agofixed unterminated JS statements
Petr Skoda [Fri, 17 Sep 2010 20:11:03 +0000 (20:11 +0000)]
fixed unterminated JS statements

12 years agofixed created timestamp
Petr Skoda [Fri, 17 Sep 2010 20:07:49 +0000 (20:07 +0000)]
fixed created timestamp

12 years agophpdocs and var initialization
Petr Skoda [Fri, 17 Sep 2010 20:05:40 +0000 (20:05 +0000)]
phpdocs and var initialization

12 years agofixed . typo
Petr Skoda [Fri, 17 Sep 2010 20:00:29 +0000 (20:00 +0000)]
fixed . typo

12 years agofixed unterminated JS statements
Petr Skoda [Fri, 17 Sep 2010 19:59:16 +0000 (19:59 +0000)]
fixed unterminated JS statements

12 years agofixed phpdocs type
Petr Skoda [Fri, 17 Sep 2010 19:54:43 +0000 (19:54 +0000)]
fixed phpdocs type

12 years agofixed unterminated JS statement
Petr Skoda [Fri, 17 Sep 2010 19:54:09 +0000 (19:54 +0000)]
fixed unterminated JS statement

12 years agoinitialized objects
Petr Skoda [Fri, 17 Sep 2010 19:53:04 +0000 (19:53 +0000)]
initialized objects

12 years agoremoving obsolete parameter
Petr Skoda [Fri, 17 Sep 2010 19:50:53 +0000 (19:50 +0000)]
removing obsolete parameter

12 years agoremoved unused parameter that was missing in method calls
Petr Skoda [Fri, 17 Sep 2010 19:49:48 +0000 (19:49 +0000)]
removed unused parameter that was missing in method calls

12 years agofixed unterminated JS statements
Petr Skoda [Fri, 17 Sep 2010 19:46:57 +0000 (19:46 +0000)]
fixed unterminated JS statements

12 years agofixed integer casting syntax error
Petr Skoda [Fri, 17 Sep 2010 19:42:31 +0000 (19:42 +0000)]
fixed integer casting syntax error

12 years agospelling fixes
Petr Skoda [Fri, 17 Sep 2010 19:41:02 +0000 (19:41 +0000)]
spelling fixes

12 years agofixed object initialization and also completely broken jabber connect
Petr Skoda [Fri, 17 Sep 2010 19:36:45 +0000 (19:36 +0000)]
fixed object initialization and also completely broken jabber connect

12 years agofixed missing global PAGE
Petr Skoda [Fri, 17 Sep 2010 19:35:43 +0000 (19:35 +0000)]
fixed missing global PAGE

12 years agofixed wrong admin detection
Petr Skoda [Fri, 17 Sep 2010 19:35:21 +0000 (19:35 +0000)]
fixed wrong admin detection

12 years agofixed unterminated JS statements
Petr Skoda [Fri, 17 Sep 2010 19:33:24 +0000 (19:33 +0000)]
fixed unterminated JS statements

12 years agofixed docs
Petr Skoda [Fri, 17 Sep 2010 19:31:10 +0000 (19:31 +0000)]
fixed docs

12 years agofixed unterminated JS statement
Petr Skoda [Fri, 17 Sep 2010 19:30:26 +0000 (19:30 +0000)]
fixed unterminated JS statement

12 years agospelling fix
Petr Skoda [Fri, 17 Sep 2010 19:29:35 +0000 (19:29 +0000)]
spelling fix

12 years agofixed unterminated JS statements
Petr Skoda [Fri, 17 Sep 2010 19:21:47 +0000 (19:21 +0000)]
fixed unterminated JS statements

12 years agofixed a few more property_exists()s
Petr Skoda [Fri, 17 Sep 2010 19:20:39 +0000 (19:20 +0000)]
fixed a few more property_exists()s

12 years agoswitch to property_exists() which is required in PHP 5.3
Petr Skoda [Fri, 17 Sep 2010 19:14:41 +0000 (19:14 +0000)]
switch to property_exists() which is required in PHP 5.3

12 years agoinitialized objects
Petr Skoda [Fri, 17 Sep 2010 19:11:24 +0000 (19:11 +0000)]
initialized objects

12 years agoinitialized objects and code cleanup
Petr Skoda [Fri, 17 Sep 2010 19:10:55 +0000 (19:10 +0000)]
initialized objects and code cleanup

12 years agomissing global $USER
Petr Skoda [Fri, 17 Sep 2010 19:07:00 +0000 (19:07 +0000)]
missing global $USER

12 years agofixed param typo
Petr Skoda [Fri, 17 Sep 2010 19:06:24 +0000 (19:06 +0000)]
fixed param typo

12 years agofixed phpdocs and using property_exists() which is required by PHP 5.3
Petr Skoda [Fri, 17 Sep 2010 19:05:23 +0000 (19:05 +0000)]
fixed phpdocs and using property_exists() which is required by PHP 5.3

12 years agofixed invalid json result
Petr Skoda [Fri, 17 Sep 2010 18:59:45 +0000 (18:59 +0000)]
fixed invalid json result

12 years agoremoving invalid test code
Petr Skoda [Fri, 17 Sep 2010 18:58:58 +0000 (18:58 +0000)]
removing invalid test code

12 years agospelling fixes
Petr Skoda [Fri, 17 Sep 2010 18:56:53 +0000 (18:56 +0000)]
spelling fixes

12 years agofixed wrong break
Petr Skoda [Fri, 17 Sep 2010 18:47:04 +0000 (18:47 +0000)]
fixed wrong break

12 years agocoding style fix
Petr Skoda [Fri, 17 Sep 2010 18:45:18 +0000 (18:45 +0000)]
coding style fix

12 years agoremoving orphaned deprecated center tag
Petr Skoda [Fri, 17 Sep 2010 18:41:05 +0000 (18:41 +0000)]
removing orphaned deprecated center tag

12 years agoadding missing $dir
Petr Skoda [Fri, 17 Sep 2010 18:36:14 +0000 (18:36 +0000)]
adding missing $dir

12 years agofixed unterminated JS statement
Petr Skoda [Fri, 17 Sep 2010 18:33:49 +0000 (18:33 +0000)]
fixed unterminated JS statement

12 years agoMDL-24233 report_customlang: display a help for {$a} placeholders
David Mudrak [Fri, 17 Sep 2010 18:12:41 +0000 (18:12 +0000)]
MDL-24233 report_customlang: display a help for {$a} placeholders

12 years agoMDL-24249 adding an else if ($originalreturnurl && $wizardnow !== '') for multipage...
Pierre Pichet [Fri, 17 Sep 2010 16:33:23 +0000 (16:33 +0000)]
MDL-24249 adding an else if ($originalreturnurl && $wizardnow !== '')  for multipage question edition

12 years agoMDL-24187 mnet: fixed sso_jump_url for moodle application
David Mudrak [Fri, 17 Sep 2010 14:10:20 +0000 (14:10 +0000)]
MDL-24187 mnet: fixed sso_jump_url for moodle application

12 years agoMDL-24203 Fixed coding style and added more explanation of the reason to put the...
David Mudrak [Fri, 17 Sep 2010 13:41:59 +0000 (13:41 +0000)]
MDL-24203 Fixed coding style and added more explanation of the reason to put the value $CFG->lang into config.php

12 years agoNOMDL workshop: improved SQL execution, use one query instead of loop
David Mudrak [Fri, 17 Sep 2010 13:26:10 +0000 (13:26 +0000)]
NOMDL workshop: improved SQL execution, use one query instead of loop

12 years agoMDL-24091 workshop: deleting orphaned subplugins data in an upgrade step
David Mudrak [Fri, 17 Sep 2010 13:25:45 +0000 (13:25 +0000)]
MDL-24091 workshop: deleting orphaned subplugins data in an upgrade step

12 years agoMDL-24091 workshop: deleting subplugins data together with the workshop instance
David Mudrak [Fri, 17 Sep 2010 13:24:52 +0000 (13:24 +0000)]
MDL-24091 workshop: deleting subplugins data together with the workshop instance

12 years agoMDL-22153 backup - removing old files, sniff, sniff
Eloy Lafuente [Fri, 17 Sep 2010 13:22:15 +0000 (13:22 +0000)]
MDL-22153 backup - removing old files, sniff, sniff

12 years agoMDL-22153 backup - delete all the old *.html files
Eloy Lafuente [Fri, 17 Sep 2010 13:21:15 +0000 (13:21 +0000)]
MDL-22153 backup - delete all the old *.html files

12 years agoMDL-24203 unused string removed
Helen Foster [Fri, 17 Sep 2010 12:45:51 +0000 (12:45 +0000)]
MDL-24203 unused string removed

12 years agoinitializing variables
Petr Skoda [Fri, 17 Sep 2010 12:41:00 +0000 (12:41 +0000)]
initializing variables

12 years agofixed category sync cleanup
Petr Skoda [Fri, 17 Sep 2010 12:35:22 +0000 (12:35 +0000)]
fixed category sync cleanup

12 years agofixed define detection
Petr Skoda [Fri, 17 Sep 2010 12:34:03 +0000 (12:34 +0000)]
fixed define detection

12 years agofixed wrong time() usage
Petr Skoda [Fri, 17 Sep 2010 12:33:01 +0000 (12:33 +0000)]
fixed wrong time() usage

12 years agofixed wrong exception name
Petr Skoda [Fri, 17 Sep 2010 12:32:26 +0000 (12:32 +0000)]
fixed wrong exception name

12 years agofixed missing exception
Petr Skoda [Fri, 17 Sep 2010 12:31:19 +0000 (12:31 +0000)]
fixed missing exception

12 years agoadded missing rewrite param
Petr Skoda [Fri, 17 Sep 2010 12:27:48 +0000 (12:27 +0000)]
added missing rewrite param

12 years agofixed wrong continue
Petr Skoda [Fri, 17 Sep 2010 12:26:05 +0000 (12:26 +0000)]
fixed wrong continue

12 years agoMDL-24203 typo fix thanks to Koen Roggemans
Helen Foster [Fri, 17 Sep 2010 12:25:19 +0000 (12:25 +0000)]
MDL-24203 typo fix thanks to Koen Roggemans

12 years agoimproved JS coding style
Petr Skoda [Fri, 17 Sep 2010 12:25:14 +0000 (12:25 +0000)]
improved JS coding style

12 years agofixed unterminated JS statements + whitespace
Petr Skoda [Fri, 17 Sep 2010 12:22:49 +0000 (12:22 +0000)]
fixed unterminated JS statements + whitespace

12 years agofixed undefined courseconfig variables
Petr Skoda [Fri, 17 Sep 2010 12:19:06 +0000 (12:19 +0000)]
fixed undefined courseconfig variables

12 years agofixed a few spelling errors
Petr Skoda [Fri, 17 Sep 2010 12:16:27 +0000 (12:16 +0000)]
fixed a few spelling errors

12 years agoMDL-24203 string rewording thanks to Koen Roggemans
Helen Foster [Fri, 17 Sep 2010 12:13:37 +0000 (12:13 +0000)]
MDL-24203 string rewording thanks to Koen Roggemans

12 years agono cvs id tags!
Petr Skoda [Fri, 17 Sep 2010 12:11:59 +0000 (12:11 +0000)]
no cvs id tags!

12 years agoremoved unused code
Petr Skoda [Fri, 17 Sep 2010 12:10:28 +0000 (12:10 +0000)]
removed unused code

12 years agoadded missing cfg global
Petr Skoda [Fri, 17 Sep 2010 12:09:38 +0000 (12:09 +0000)]
added missing cfg global

12 years agofixed missing global user
Petr Skoda [Fri, 17 Sep 2010 12:08:46 +0000 (12:08 +0000)]
fixed missing global user

12 years agofixed allowed module mess, sorry for the regression
Petr Skoda [Fri, 17 Sep 2010 12:08:10 +0000 (12:08 +0000)]
fixed allowed module mess, sorry for the regression

12 years agoimproved phpdocs
Petr Skoda [Fri, 17 Sep 2010 12:04:48 +0000 (12:04 +0000)]
improved phpdocs

12 years agoremoving invalid PAGE call
Petr Skoda [Fri, 17 Sep 2010 12:04:11 +0000 (12:04 +0000)]
removing invalid PAGE call