moodle.git
15 years agoInitial commit
mchampan [Sun, 25 Jun 2006 23:07:36 +0000 (23:07 +0000)]
Initial commit

15 years agoSome minor changes in order to avoid some notices...
stronk7 [Sun, 25 Jun 2006 10:16:45 +0000 (10:16 +0000)]
Some minor changes in order to avoid some notices...

15 years agoCommenting out ob_gzhandler
julmis [Fri, 23 Jun 2006 19:53:26 +0000 (19:53 +0000)]
Commenting out ob_gzhandler
Merging from stable

15 years agoFixed typo which caused images in questions to fail to display if NOT using slashargu...
danstowell [Fri, 23 Jun 2006 15:06:23 +0000 (15:06 +0000)]
Fixed typo which caused images in questions to fail to display if NOT using slasharguments

15 years agoSending Yu's change to support custom langs to HEAD.
stronk7 [Thu, 22 Jun 2006 23:39:42 +0000 (23:39 +0000)]
Sending Yu's change to support custom langs to HEAD.

Changed progress info to 1000 records (from 5000). This
makes the script a bit more responsive on browser stops.

If finally approved, this should go to 16_STABLE too. (+1 for it)

15 years agoMerged from STABLE
thepurpleblob [Wed, 21 Jun 2006 10:19:46 +0000 (10:19 +0000)]
Merged from STABLE

15 years agomerged fix for 5881
toyomoyo [Wed, 21 Jun 2006 03:13:46 +0000 (03:13 +0000)]
merged fix for 5881

15 years agoAutomatic installer.php lang files by installer_builder (20060621)
moodler [Wed, 21 Jun 2006 02:41:28 +0000 (02:41 +0000)]
installer.php lang files by installer_builder (20060621)

15 years agoVery small change. A little performance for cron if admin enabled sending email for...
ethem [Tue, 20 Jun 2006 17:22:00 +0000 (17:22 +0000)]
Very small change. A little performance for cron if admin enabled sending email for pending orders expiring.

1- If dailysettlement is 00:05 and cron executes at this time, nothing will occur. If it is executes at 00:10 it works. I think "<" works faster then "<=" :))
2- Don't compare course->ids by authorize->courseid, because courses are grouped by courseid. We sure each line is unique.
3- Only get pendingorderexpiring strings for sending email if course teachers exist.

Merged from 16stable.

15 years agohelper string to explain $CFG->doctonewwindow added.
stronk7 [Tue, 20 Jun 2006 14:23:58 +0000 (14:23 +0000)]
helper string to explain $CFG->doctonewwindow added.

Merged from MOODLE_16_STABLE

15 years agoNow docs are showed in a new window based on $CFG->doctonewwindow
stronk7 [Tue, 20 Jun 2006 13:53:09 +0000 (13:53 +0000)]
Now docs are showed in a new window based on $CFG->doctonewwindow

Merged from MOODLE_16_STABLE

15 years agoAdded new option to decide if docs will be showed in a new window.
stronk7 [Tue, 20 Jun 2006 13:41:56 +0000 (13:41 +0000)]
Added new option to decide if docs will be showed in a new window.

Merged from MOODLE_16_STABLE

15 years agoChanged <hr> widh of header.html.
mits [Mon, 19 Jun 2006 18:20:18 +0000 (18:20 +0000)]
Changed <hr> widh of header.html.
Added <hr> to footer.html.
Changed color of "HOME" button.

Eloy, thanks for good suggestion.

15 years agoAdded back homelink to oceanblue theme based on standard theme.
mits [Mon, 19 Jun 2006 16:36:51 +0000 (16:36 +0000)]
Added back homelink to oceanblue theme based on standard theme.

15 years agoMerged homelink from stable
moodler [Mon, 19 Jun 2006 16:32:00 +0000 (16:32 +0000)]
Merged homelink from stable

15 years agoNo need for error when deleting RSS feed
moodler [Mon, 19 Jun 2006 16:20:35 +0000 (16:20 +0000)]
No need for error when deleting RSS feed

15 years agoMerged tag block context fixes from stable
moodler [Mon, 19 Jun 2006 14:17:55 +0000 (14:17 +0000)]
Merged tag block context fixes from stable

15 years agoMerged user tab visibility from stable
moodler [Mon, 19 Jun 2006 13:52:39 +0000 (13:52 +0000)]
Merged user tab visibility from stable

15 years agoMerged header fix from stable
moodler [Mon, 19 Jun 2006 13:38:17 +0000 (13:38 +0000)]
Merged header fix from stable

15 years agomerged, changed copyright to &#169; to validate better
toyomoyo [Mon, 19 Jun 2006 03:53:26 +0000 (03:53 +0000)]
merged, changed copyright to &#169; to validate better

15 years agomerged, gives IE a bit more time to print
toyomoyo [Mon, 19 Jun 2006 03:30:08 +0000 (03:30 +0000)]
merged, gives IE a bit more time to print

15 years agoMerge from 1.6. New class FPDF_Protection. See bug #5855.
vyshane [Mon, 19 Jun 2006 02:41:44 +0000 (02:41 +0000)]
Merge from 1.6. New class FPDF_Protection. See bug #5855.

15 years agoMerged migration fixes from stable
moodler [Sun, 18 Jun 2006 10:09:58 +0000 (10:09 +0000)]
Merged migration fixes from stable

15 years agoMerged XHTML fix from stable
moodler [Sun, 18 Jun 2006 08:21:35 +0000 (08:21 +0000)]
Merged XHTML fix from stable

15 years agoMerged helplink fix from stable
moodler [Sun, 18 Jun 2006 08:10:52 +0000 (08:10 +0000)]
Merged helplink fix from stable

15 years agoMerged header fixes from stable 1.6
moodler [Sun, 18 Jun 2006 07:45:22 +0000 (07:45 +0000)]
Merged header fixes from stable 1.6

15 years agoMerged fix for bug 5830 into dev
moodler [Fri, 16 Jun 2006 09:42:38 +0000 (09:42 +0000)]
Merged fix for bug 5830 into dev

15 years agoAdded check for $CFG->disablemycourses
moodler [Fri, 16 Jun 2006 04:28:56 +0000 (04:28 +0000)]
Added check for $CFG->disablemycourses

15 years agomerged, centering of tabs on blog page issue
toyomoyo [Fri, 16 Jun 2006 02:59:37 +0000 (02:59 +0000)]
merged, centering of tabs on blog page issue

15 years agomerged from MOODLE_16_STABLE: participants list last access filter should only show...
mjollnir_ [Thu, 15 Jun 2006 21:37:20 +0000 (21:37 +0000)]
merged from MOODLE_16_STABLE: participants list last access filter should only show for teachers! I noticed this on moodle.org this morning :|

15 years ago$a->course: course information added. Merged from stable.
ethem [Thu, 15 Jun 2006 14:23:04 +0000 (14:23 +0000)]
$a->course: course information added. Merged from stable.

15 years ago$a->course: course information added.
ethem [Thu, 15 Jun 2006 14:08:41 +0000 (14:08 +0000)]
$a->course: course information added.

15 years agopendingordersemailteacher string added
ethem [Thu, 15 Jun 2006 13:37:25 +0000 (13:37 +0000)]
pendingordersemailteacher string added
merged from stable

15 years agopendingordersemailteacher string added
ethem [Thu, 15 Jun 2006 13:25:47 +0000 (13:25 +0000)]
pendingordersemailteacher string added

15 years agoWhen the number of pending orders expiring are sent to the teachers via email, which...
ethem [Thu, 15 Jun 2006 12:55:39 +0000 (12:55 +0000)]
When the number of pending orders expiring are sent to the teachers via email, which one is important? The number of the orders or the total of the amounts.
Merged from 16 stable.

15 years agoWhen the number of pending orders expiring are sent to the teachers via email, which...
ethem [Thu, 15 Jun 2006 12:27:49 +0000 (12:27 +0000)]
When the number of pending orders expiring are sent to the teachers via email, which one is important? The number of the orders or the total of the amounts.
Merged from 16 stable.

15 years agoBug #5825 redonly attribute does not work on checkboxes, so using disabled instead...
tjhunt [Thu, 15 Jun 2006 10:12:17 +0000 (10:12 +0000)]
Bug #5825 redonly attribute does not work on checkboxes, so using disabled instead when displaying quizzes read-only.

15 years agoOrder by order count. Courses that have many orders are emailed first. Merged from...
ethem [Thu, 15 Jun 2006 08:06:52 +0000 (08:06 +0000)]
Order by order count. Courses that have many orders are emailed first. Merged from 16_stable.

15 years agomerged fix for 5633
toyomoyo [Thu, 15 Jun 2006 06:33:13 +0000 (06:33 +0000)]
merged fix for 5633

15 years agomerged fix for 5814
toyomoyo [Thu, 15 Jun 2006 03:24:33 +0000 (03:24 +0000)]
merged fix for 5814

15 years agoEmail subject for pending orders expiring.
ethem [Wed, 14 Jun 2006 16:32:08 +0000 (16:32 +0000)]
Email subject for pending orders expiring.
Merged from stable.

15 years agoEmail subject for pending orders expiring.
ethem [Wed, 14 Jun 2006 16:26:01 +0000 (16:26 +0000)]
Email subject for pending orders expiring.
Merged from stable.

15 years agoEmail subject for pending orders expiring.
ethem [Wed, 14 Jun 2006 16:17:46 +0000 (16:17 +0000)]
Email subject for pending orders expiring.

15 years agoMoved constant definitions out of function, so they are not run repeatedly giving...
tjhunt [Wed, 14 Jun 2006 15:35:27 +0000 (15:35 +0000)]
Moved constant definitions out of function, so they are not run repeatedly giving lots of warnings. Merged from MOODLE_16_STABLE.

15 years agoCorrected reference to lang string and fixed a notice. Merged from MOODLE_16_STABLE.
tjhunt [Wed, 14 Jun 2006 15:32:55 +0000 (15:32 +0000)]
Corrected reference to lang string and fixed a notice. Merged from MOODLE_16_STABLE.

15 years agoIf admin set up 'Teachers can manage the payments of the course' and enabled 'Manual...
ethem [Wed, 14 Jun 2006 11:53:50 +0000 (11:53 +0000)]
If admin set up 'Teachers can manage the payments of the course' and enabled 'Manual-Capture', course teachers are notified about pending orders expiring. Merged from MOODLE_16_STABLE.

15 years agoMerged fix from 1.6 for bug:
vyshane [Wed, 14 Jun 2006 08:47:19 +0000 (08:47 +0000)]
Merged fix from 1.6 for bug:

Notice: Undefined property: id in /home/moodle/public_html/certificate/mod/forum/discuss.php on line 38

This happens when the user is not logged in and wants to view a forum of type
news.

15 years agoMerged print_error fix from stable
moodler [Wed, 14 Jun 2006 03:17:19 +0000 (03:17 +0000)]
Merged print_error fix from stable

15 years agoAutomatic installer.php lang files by installer_builder (20060614)
moodler [Wed, 14 Jun 2006 02:36:00 +0000 (02:36 +0000)]
installer.php lang files by installer_builder (20060614)

15 years agoQuiz module sometimes left the user staring at a blank page. Now there is an error...
tjhunt [Tue, 13 Jun 2006 18:59:41 +0000 (18:59 +0000)]
Quiz module sometimes left the user staring at a blank page. Now there is an error message. Merged from MOODLE_16_STABLE.

15 years agoBug #5812 - Standard theme font size CSS not sufficiently defensive. Merged from...
tjhunt [Tue, 13 Jun 2006 18:55:25 +0000 (18:55 +0000)]
Bug #5812 - Standard theme font size CSS not sufficiently defensive. Merged from MOODLE_16_STABLE.

15 years agoLink to Payment Management page. Merged from 16stable.
ethem [Tue, 13 Jun 2006 18:31:09 +0000 (18:31 +0000)]
Link to Payment Management page. Merged from 16stable.

15 years agoLink to help file 'Order Review'. Merged from 16stable.
ethem [Tue, 13 Jun 2006 18:04:25 +0000 (18:04 +0000)]
Link to help file 'Order Review'. Merged from 16stable.

15 years agoHelp file for 'Order Review'.
ethem [Tue, 13 Jun 2006 17:51:11 +0000 (17:51 +0000)]
Help file for 'Order Review'.

15 years agoPredict the time of settlement at first time. Probably, admin user set up own country...
ethem [Tue, 13 Jun 2006 16:05:15 +0000 (16:05 +0000)]
Predict the time of settlement at first time. Probably, admin user set up own country timezone and we can use this time as settlement time.
Merged from 16stable.

15 years agoBug #5810 missing ' > 7' in debug test. Merged from MOODLE_16_STABLE.
tjhunt [Tue, 13 Jun 2006 14:37:45 +0000 (14:37 +0000)]
Bug #5810 missing ' > 7' in debug test. Merged from MOODLE_16_STABLE.

15 years ago· Capture_Only transaction added.
ethem [Tue, 13 Jun 2006 07:58:04 +0000 (07:58 +0000)]
· Capture_Only transaction added.
Capture_Only transactions are used when you already have an authorization from a bank.
To use this type of transaction, you will need an authorization code from the card-issuer (usually a 5 or 6 digit number).
For example, if you called Visa directly and obtained an authorization over the phone,
you would need to submit a Capture_Only transaction to start the funds transfer process.
You can manually submit a Capture_Only transaction from your Virtual Terminal by selecting Capture Only,
or from a website or billing application by including the following variables with your transaction request:

· x_Type (Capture_Only)
· x_Auth_Code (the 5 or 6 digit code provided by the card-issuer)

15 years agoMerged from 1.6. Fix for Bug #5767 - Section links block is removed from
vyshane [Tue, 13 Jun 2006 07:50:02 +0000 (07:50 +0000)]
Merged from 1.6. Fix for Bug #5767 - Section links block is removed from
course view after settings update.

15 years agoFix restore notice. Merged from MOODLE_16_STABLE.
tjhunt [Mon, 12 Jun 2006 15:37:05 +0000 (15:37 +0000)]
Fix restore notice. Merged from MOODLE_16_STABLE.

15 years agoBug #5793: remember whether Show all has been clicked in the question bank. Merged...
tjhunt [Mon, 12 Jun 2006 13:54:01 +0000 (13:54 +0000)]
Bug #5793: remember whether Show all has been clicked in the question bank. Merged from MOODLE_16_STABLE.

15 years agoBug #5790: Answer order for MC qtype not specified. Fix. Thanks to Peter Bulmer....
tjhunt [Mon, 12 Jun 2006 11:05:39 +0000 (11:05 +0000)]
Bug #5790: Answer order for MC qtype not specified. Fix. Thanks to Peter Bulmer. Merged from MOODLE_16_STABLE.

15 years agomerged proper html for help file
toyomoyo [Mon, 12 Jun 2006 07:25:18 +0000 (07:25 +0000)]
merged proper html for help file

15 years agomerged, a few mismatch of length between db and this html
toyomoyo [Mon, 12 Jun 2006 07:18:58 +0000 (07:18 +0000)]
merged, a few mismatch of length between db and this html

15 years agoadding help file
toyomoyo [Mon, 12 Jun 2006 04:09:21 +0000 (04:09 +0000)]
adding help file

15 years agoMerged changes from stable
moodler [Sun, 11 Jun 2006 06:48:56 +0000 (06:48 +0000)]
Merged changes from stable

15 years agoDue to one potential bug in PHP under Win32 (http://bugs.php.net/37775)
stronk7 [Sat, 10 Jun 2006 23:33:49 +0000 (23:33 +0000)]
Due to one potential bug in PHP under Win32 (bugs.php.net/37775)
the [[cntrl]] pcre class was breaking some chars. Changed to a safer
alternative. Bug 5777.
(http://moodle.org/bugs/bug.php?op=show&bugid=5777)

Merged from MOODLE_16_STABLE

15 years agoChange the moodle_strtolower() function to use textlib services.
stronk7 [Sat, 10 Jun 2006 10:40:16 +0000 (10:40 +0000)]
Change the moodle_strtolower() function to use textlib services.
Also, mark it as deprecated, code should use text services directly.
Partially, bug 5777. It continues under investigation.
(http://moodle.org/bugs/bug.php?op=show&bugid=5777)

Merged from MOODLE_16_STABLE

15 years agoAutomatic installer.php lang files by installer_builder (20060610)
moodler [Sat, 10 Jun 2006 02:34:51 +0000 (02:34 +0000)]
installer.php lang files by installer_builder (20060610)

15 years agoAutomatic installer.php lang files by installer_builder (20060610)
moodler [Fri, 9 Jun 2006 18:56:41 +0000 (18:56 +0000)]
installer.php lang files by installer_builder (20060610)

15 years agoAutomatic installer.php lang files by installer_builder (20060610)
moodler [Fri, 9 Jun 2006 17:09:45 +0000 (17:09 +0000)]
installer.php lang files by installer_builder (20060610)

15 years agoAutomatic installer.php lang files by installer_builder (20060609)
stronk7 [Fri, 9 Jun 2006 15:52:58 +0000 (15:52 +0000)]
installer.php lang files by installer_builder (20060609)

15 years agoAutomatic installer.php lang files by installer_builder (20060609)
stronk7 [Fri, 9 Jun 2006 15:29:45 +0000 (15:29 +0000)]
installer.php lang files by installer_builder (20060609)

15 years agoAutomatic installer.php lang files by installer_builder (20060609)
stronk7 [Fri, 9 Jun 2006 15:11:03 +0000 (15:11 +0000)]
installer.php lang files by installer_builder (20060609)

15 years agoFix bug 5611 (Skip block), across 4 files. Extra parameter $title in weblib.php:...
nfreear [Fri, 9 Jun 2006 14:25:18 +0000 (14:25 +0000)]
Fix bug 5611 (Skip block), across 4 files. Extra parameter $title in weblib.php: print_side_block, edits to moodleblock.class.php, Standard style, en_utf8 language pack.

15 years agoThe absolutely incredible bug! It was working being wrong! Bug 5775.
stronk7 [Fri, 9 Jun 2006 14:23:55 +0000 (14:23 +0000)]
The absolutely incredible bug! It was working being wrong! Bug 5775.
(http://moodle.org/bugs/bug.php?op=show&bugid=5775)

Merged from MOODLE_16_STABLE

15 years agoFix bug 5611 (Skip block), across 4 files. Extra parameter $title in weblib.php:...
nfreear [Fri, 9 Jun 2006 14:21:25 +0000 (14:21 +0000)]
Fix bug 5611 (Skip block), across 4 files. Extra parameter $title in weblib.php: print_side_block, edits to moodleblock.class.php, Standard style, en_utf8 language pack.

15 years agoSending email for pending orders expiring string (adminemailexpired) seperated.
ethem [Fri, 9 Jun 2006 11:25:57 +0000 (11:25 +0000)]
Sending email for pending orders expiring string (adminemailexpired) seperated.
Settings moved to adminemailexpsetting.
Merged from stable.

15 years agoShow 'name on card' string instead of moodle.php's user string. Merged from MOODLE_16...
ethem [Fri, 9 Jun 2006 11:00:18 +0000 (11:00 +0000)]
Show 'name on card' string instead of moodle.php's user string. Merged from MOODLE_16_STABLE.

15 years agoSome config sections 'Order Review' moved to
ethem [Fri, 9 Jun 2006 10:30:01 +0000 (10:30 +0000)]
Some config sections 'Order Review' moved to

an_teachermanagepay -> Site-Wide Settings
an_emailexpired: -> Email-Sending Settings
an_cutoff: -> Authorize.net Settings

merged from 16stable.

15 years agoOne notice() was preventing the upgrade to 1.7dev to continue. Bug 5773.
stronk7 [Fri, 9 Jun 2006 10:15:03 +0000 (10:15 +0000)]
One notice() was preventing the upgrade to 1.7dev to continue. Bug 5773.
(http://moodle.org/bugs/bug.php?op=show&bugid=5773)

15 years agoMoving from lastIP to lastip everywhere. Bug 5763.
stronk7 [Fri, 9 Jun 2006 10:04:43 +0000 (10:04 +0000)]
Moving from lastIP to lastip everywhere. Bug 5763.
(http://moodle.org/bugs/bug.php?op=show&bugid=5763)

Merged from MOODLE_16_STABLE

15 years agoMoving from lastIP to lastip everywhere. Bug 5763.
stronk7 [Fri, 9 Jun 2006 09:47:01 +0000 (09:47 +0000)]
Moving from lastIP to lastip everywhere. Bug 5763.
(http://moodle.org/bugs/bug.php?op=show&bugid=5763)

Merged (more or less) from MOODLE_16_STABLE

15 years agoAvoid empty processing both for PLAIN_SQL_UPDATE and PHP_FUNCTION
stronk7 [Fri, 9 Jun 2006 09:16:09 +0000 (09:16 +0000)]
Avoid empty processing both for PLAIN_SQL_UPDATE and PHP_FUNCTION

15 years ago* Fixed bug 5745 reported by Harry Smith so now can edit en_utf8_local pack
mudrd8mz [Fri, 9 Jun 2006 08:48:45 +0000 (08:48 +0000)]
* Fixed bug 5745 reported by Harry Smith so now can edit en_utf8_local pack
* More notification messages included

15 years agomerged, fixed a bug that blog tabs are displayed when blog is diabled
toyomoyo [Fri, 9 Jun 2006 02:53:16 +0000 (02:53 +0000)]
merged, fixed a bug that blog tabs are displayed when blog is diabled

15 years agoRemoved a doubled text
bobopinna [Thu, 8 Jun 2006 15:38:56 +0000 (15:38 +0000)]
Removed a doubled text

15 years agochange advanced to parameters
bobopinna [Thu, 8 Jun 2006 15:36:55 +0000 (15:36 +0000)]
change advanced to parameters

15 years agoFixed some language refinements
bobopinna [Thu, 8 Jun 2006 15:22:24 +0000 (15:22 +0000)]
Fixed some language refinements

15 years agoFixed language refinements
bobopinna [Thu, 8 Jun 2006 15:16:14 +0000 (15:16 +0000)]
Fixed language refinements

15 years agoHelp content for available tags (data module). Merged from 1.6.
vyshane [Thu, 8 Jun 2006 08:28:23 +0000 (08:28 +0000)]
Help content for available tags (data module). Merged from 1.6.

15 years agoMerge from 1.6. Fix for scorm_option2text(). options field is now saved
vyshane [Thu, 8 Jun 2006 07:39:37 +0000 (07:39 +0000)]
Merge from 1.6. Fix for scorm_option2text(). options field is now saved
proprely.

15 years agoBug #5663 - errors after changing grade weight; merged from MOODLE_16_STABLE
skodak [Thu, 8 Jun 2006 06:39:14 +0000 (06:39 +0000)]
Bug #5663 - errors after changing grade weight; merged from MOODLE_16_STABLE

15 years agoFixed course searching; merged from MOODLE_16_STABLE
skodak [Thu, 8 Jun 2006 06:25:05 +0000 (06:25 +0000)]
Fixed course searching; merged from MOODLE_16_STABLE

15 years agoMerged from 1.6. Added missing string.
vyshane [Thu, 8 Jun 2006 06:20:09 +0000 (06:20 +0000)]
Merged from 1.6. Added missing string.

15 years agomerged fix for 5748
toyomoyo [Thu, 8 Jun 2006 04:08:04 +0000 (04:08 +0000)]
merged fix for 5748

15 years agomerged, changed recordsize to 50
toyomoyo [Thu, 8 Jun 2006 02:46:45 +0000 (02:46 +0000)]
merged, changed recordsize to 50

15 years agoSolve one issue with skipped courses and email to admin
stronk7 [Wed, 7 Jun 2006 22:22:21 +0000 (22:22 +0000)]
Solve one issue with skipped courses and email to admin
being set every xx minutes. Bug 5621.
(http://moodle.org/bugs/bug.php?op=show&bugid=5621)

Merged from MOODLE_16_STABLE

15 years agoUnnecesary strings removed. Merged from MOODLE_16_MERGED
ethem [Wed, 7 Jun 2006 18:47:09 +0000 (18:47 +0000)]
Unnecesary strings removed. Merged from MOODLE_16_MERGED

15 years agoNow the question_attempts creation and dotation will be
stronk7 [Wed, 7 Jun 2006 17:56:47 +0000 (17:56 +0000)]
Now the question_attempts creation and dotation will be
only executed if it hasn't been done in MOODLE_16_STABLE. Bug 5717.
(http://moodle.org/bugs/bug.php?op=show&bugid=5717)

15 years agoBug #5522 - question/restorelib.php error; merged from MOODLE_16_STABLE
skodak [Wed, 7 Jun 2006 14:57:26 +0000 (14:57 +0000)]
Bug #5522 - question/restorelib.php error; merged from MOODLE_16_STABLE