Compare commits

..

395 Commits

Author SHA1 Message Date
Eloy Lafuente (stronk7) 6ccbbe5936 Moodle release 2.1.10 2013-01-11 22:18:31 +01:00
Eloy Lafuente (stronk7) 50faa1482d weekly release 2.1.9+ 2013-01-11 12:30:21 +01:00
Eloy Lafuente (stronk7) 150c0b7e2c Merge branch 'install_21_STABLE' of git://git.moodle.cz/moodle-install into MOODLE_21_STABLE 2013-01-11 12:17:20 +01:00
David Mudrák 4eeece1f92 MDL-37467 Do not provide blog posts via RSS when blogging is disabled 2013-01-10 18:18:26 +01:00
David Mudrák fd91456383 MDL-36977 Be more picky when it comes to migrating files in moodle1 backups 2013-01-08 08:57:04 +08:00
David Mudrák 4a27bde150 MDL-36977 Add more unit tests for moodle1 backup conversion 2013-01-08 08:55:27 +08:00
AMOS bot d1c98147e4 Automatically generated installer lang files 2013-01-01 00:43:03 +00:00
Eloy Lafuente (stronk7) 65d6ca257c weekly release 2.1.9+ 2012-12-30 01:03:34 +01:00
Petr Škoda 9803d8fc3c MDL-37283 import tinymce spellchecker 2.0.6.1 2012-12-24 10:37:05 +08:00
Eloy Lafuente (stronk7) 7e71b80f1e weekly release 2.1.9+ 2012-12-20 21:10:22 +01:00
Eloy Lafuente (stronk7) db6243d0a1 Merge branch 'install_21_STABLE' of git://git.moodle.cz/moodle-install into MOODLE_21_STABLE 2012-12-20 20:57:56 +01:00
AMOS bot ec17e70103 Automatically generated installer lang files 2012-12-20 00:40:41 +00:00
AMOS bot c26a6747c6 Automatically generated installer lang files 2012-12-19 00:42:04 +00:00
Paul Nicholls f94bb9ebd4 MDL-27619: Prevent teachers from turning course Outcomes into site-wide ones
Similar to the issue which allowed teachers to create site-wide scales by editing a course-specific scale (MDL-24682), teachers could also promote a course-specific scale to a site-wide (standard) by editing it.  As with MDL-24682, removing the course ID check (leaving just the capability check) prevents this unauthorised creation of site-wide (standard) outcomes.
2012-12-18 09:43:30 +13:00
Eloy Lafuente (stronk7) 85fc893630 weekly release 2.1.9+ 2012-12-08 02:53:27 +01:00
AMOS bot e076bc63a5 Automatically generated installer lang files 2012-12-01 00:43:10 +00:00
Eloy Lafuente (stronk7) cc07dee0d0 weekly release 2.1.9+ 2012-11-30 13:23:40 +01:00
Dan Poltawski d8b662d5e2 weekly release 2.1.9+ 2012-11-23 15:18:15 +08:00
Dan Poltawski e5f91ef230 Merge branch 'install_21_STABLE' of git://git.moodle.cz/moodle-install into MOODLE_21_STABLE 2012-11-23 15:16:01 +08:00
AMOS bot e8138a566d Automatically generated installer lang files 2012-11-22 09:05:27 +00:00
Adrian Greeve 640acd9907 MDL-36668 - mod/data: Removed duplicate data_content join in simple searches.
Thanks to Patrick Pollet (patrick.pollet@insa-lyon.fr) for his patch
2012-11-19 10:15:45 +08:00
Dan Poltawski f24293bf1a weekly release 2.1.9+ 2012-11-16 15:38:21 +08:00
AMOS bot 2cc726280f Automatically generated installer lang files 2012-11-10 00:36:27 +00:00
Eloy Lafuente (stronk7) eef69e4122 Moodle release 2.1.9 2012-11-09 19:33:29 +01:00
Eloy Lafuente (stronk7) 5339ba2cf9 MDL-25948 upgrade: Avoid overlaping with weeklies 2012-11-09 18:59:40 +01:00
Eloy Lafuente (stronk7) 828bb475ac Merge branch 'MDL-25948_m21' of git://github.com/markn86/moodle into MOODLE_21_STABLE 2012-11-09 18:58:33 +01:00
Mark Nelson 7ea26a73c4 MDL-25948 upgrade: Check that field does not match defaults before editing. 2012-11-09 19:02:15 +08:00
Dan Poltawski c04de02282 weekly release 2.1.8+ 2012-11-09 17:59:51 +08:00
Dan Poltawski 176a06e4e6 Merge branch 'install_21_STABLE' of git://git.moodle.cz/moodle-install into MOODLE_21_STABLE 2012-11-09 17:54:52 +08:00
Mark Nelson 2c53094c6f MDL-33791 Portfolio: Fixed security issue with passing file paths. 2012-11-08 00:28:22 +01:00
Adrian Greeve 4cf9360fca MDL-35558 mod_data: Show only own entries while there are required pending. 2012-11-07 19:55:23 +01:00
Dan Poltawski 546667e238 Merge branch 'MDL-36346_21' of git://github.com/pauln/moodle into MOODLE_21_STABLE 2012-11-07 09:28:44 +08:00
Paul Nicholls 7972bc0491 MDL-36346 - YUI2 SWF vulnerability, part 2 2012-11-07 13:45:34 +13:00
AMOS bot 6a57ed2001 Automatically generated installer lang files 2012-11-07 00:36:34 +00:00
Rossiani Wijaya c62a20c42b Backport MDL-29872 to 21_STABLE 2012-11-06 12:58:03 +01:00
Dan Poltawski ee02183dce Merge branch 'MDL-36346_21' of git://github.com/pauln/moodle into MOODLE_21_STABLE 2012-11-06 16:35:35 +08:00
Paul Nicholls 299e51924e MDL-36346 - YUI2 SWF vulnerability 2012-11-06 14:36:29 +13:00
Dan Poltawski 7837711783 Merge branch 'w42_MDL-35469_m21_geckover' of git://github.com/skodak/moodle into MOODLE_21_STABLE 2012-11-02 12:07:26 +08:00
Mark Nelson 4326153883 MDL-25948 upgrade: Fixing issues with upgrade from < 1.7 to 2.x. 2012-11-01 17:49:04 +08:00
Dan Poltawski c22a3558d3 weekly release 2.1.8+ 2012-11-01 14:18:17 +08:00
AMOS bot 226735fec1 Automatically generated installer lang files 2012-11-01 00:36:41 +00:00
AMOS bot fc1414d856 Automatically generated installer lang files 2012-10-27 00:34:40 +00:00
AMOS bot eada616a76 Automatically generated installer lang files 2012-10-20 00:34:55 +00:00
AMOS bot af3889cc3f Automatically generated installer lang files 2012-10-19 00:35:18 +00:00
Aparup Banerjee 9fa159e2b4 weekly release 2.1.8+ 2012-10-18 19:49:39 +08:00
AMOS bot 46bd05ecc8 Automatically generated installer lang files 2012-10-18 00:34:58 +00:00
AMOS bot 08947f22ab Automatically generated installer lang files 2012-10-15 00:35:00 +00:00
Eloy Lafuente (stronk7) 95932f640a weekly release 2.1.8+ 2012-10-15 00:19:13 +02:00
Eloy Lafuente (stronk7) f772bb2b97 Merge branch 'install_21_STABLE' of git://git.moodle.cz/moodle-install into MOODLE_21_STABLE 2012-10-15 00:08:04 +02:00
AMOS bot 339579a5ac Automatically generated installer lang files 2012-10-10 00:34:22 +00:00
Petr Škoda 14859c7c2f MDL-35469 fix Gecko based browser checks
The problem is that latest firefox versions stopped using dates because they lost the meaning over the time.
2012-10-09 15:51:45 +02:00
AMOS bot a7aa062d70 Automatically generated installer lang files 2012-10-09 00:34:44 +00:00
Adrian Greeve cfddc821c0 MDL-34448 - mod/data - Fixing separate groups viewing all entries. 2012-10-08 15:14:20 +08:00
AMOS bot 160bd39347 Automatically generated installer lang files 2012-10-06 00:34:04 +00:00
Eloy Lafuente (stronk7) a8d671999f weekly release 2.1.8+ 2012-10-05 13:36:51 +02:00
AMOS bot 53d871beac Automatically generated installer lang files 2012-10-04 00:35:03 +00:00
AMOS bot ae04014f6b Automatically generated installer lang files 2012-09-29 00:34:21 +00:00
Dan Poltawski 62aecff9da weekly release 2.1.8+ 2012-09-27 18:49:43 +08:00
Dan Poltawski 53f164b797 Merge branch 'install_21_STABLE' of git://git.moodle.cz/moodle-install into MOODLE_21_STABLE 2012-09-27 18:48:22 +08:00
Dan Poltawski b81913ccc6 Merge branch 'MDL-35207-workshop-attachments-upgrade_21' of git://github.com/mudrd8mz/moodle into MOODLE_21_STABLE 2012-09-24 16:48:46 +08:00
David Mudrák ca2d4d39a2 MDL-35207 Fix 1.9 > 2.x upgrade of workshop submission attachments
Attachments of submission with non-linear ids in 1.9 database were not
upgraded correctly due to old id and new id mismatch. Credit goes to
Juan Segarra Montesinos for spotting the problem and suggesting a patch.
2012-09-22 23:37:26 +02:00
AMOS bot 2387735808 Automatically generated installer lang files 2012-09-21 00:34:55 +00:00
Dan Poltawski 22eb7f13e4 weekly release 2.1.8+ 2012-09-20 14:12:00 +08:00
AMOS bot 413cba10cc Automatically generated installer lang files 2012-09-19 00:34:27 +00:00
Eloy Lafuente (stronk7) 7dcbb60c76 weekly release 2.1.8+ 2012-09-14 19:08:53 +02:00
AMOS bot 1e2cf5ad50 Automatically generated installer lang files 2012-09-13 00:34:36 +00:00
Eloy Lafuente (stronk7) 445b4dd368 Moodle 2.1.8 release 2012-09-09 16:20:21 +02:00
AMOS bot 9865cbfb60 Merge branch 'MOODLE_21_STABLE' into install_21_STABLE 2012-09-08 00:34:49 +00:00
Eloy Lafuente (stronk7) c95a67cd94 weekly release 2.1.7+ 2012-09-07 02:37:18 +02:00
AMOS bot 3875f26ebf Automatically generated installer lang files 2012-09-07 00:35:14 +00:00
AMOS bot 9963023979 Automatically generated installer lang files 2012-09-02 00:32:48 +00:00
Eloy Lafuente (stronk7) 68763aef2d weekly release 2.1.7+ 2012-08-31 11:34:10 +02:00
AMOS bot c7c5b77888 Automatically generated installer lang files 2012-08-27 00:32:50 +00:00
Eloy Lafuente (stronk7) bf43fdd447 weekly release 2.1.7+ 2012-08-23 19:24:11 +02:00
AMOS bot ae11b8c080 Automatically generated installer lang files 2012-08-19 00:31:39 +00:00
AMOS bot 7cab4616f5 Automatically generated installer lang files 2012-08-17 00:31:53 +00:00
Eloy Lafuente (stronk7) ea7f6fb4b1 weekly release 2.1.7+ 2012-08-16 17:24:31 +02:00
AMOS bot b857de59ab Automatically generated installer lang files 2012-08-15 00:31:35 +00:00
AMOS bot d36658a989 Automatically generated installer lang files 2012-08-11 00:31:33 +00:00
AMOS bot c97f7de664 Automatically generated installer lang files 2012-08-10 00:31:50 +00:00
Eloy Lafuente (stronk7) b24f1eb290 weekly release 2.1.7+ 2012-08-09 20:50:23 +02:00
Eloy Lafuente (stronk7) f231685050 Merge branch 'install_21_STABLE' of git://git.moodle.cz/moodle-install into MOODLE_21_STABLE 2012-08-09 20:46:52 +02:00
AMOS bot 8ec4354542 Automatically generated installer lang files 2012-08-09 00:31:40 +00:00
AMOS bot 1c8fe24234 Automatically generated installer lang files 2012-08-07 00:31:58 +00:00
AMOS bot 9900a3df74 Automatically generated installer lang files 2012-08-04 00:32:02 +00:00
AMOS bot e78c8c9054 Automatically generated installer lang files 2012-08-03 11:45:31 +02:00
Petr Škoda 2d2cce8bd2 MDL-34585 fix broken blog file access control 2012-08-02 10:00:04 +02:00
Dan Poltawski 8f7756b0e2 weekly release 2.1.7+ 2012-08-02 14:40:31 +08:00
Petr Škoda d4c83ae4fb MDL-34368 fix another validuntil condition 2012-08-01 15:07:26 +08:00
Nathan Mares c090fe60c7 MDL-34368: Fix broken query in so tokens are correctly checked against the linked service 2012-07-30 15:49:59 +08:00
Dan Poltawski 5b6f73f488 Merge branch 'MDL-34507-21' of git://github.com/FMCorz/moodle into MOODLE_21_STABLE 2012-07-30 14:05:38 +08:00
Dan Poltawski e60c472ccb Merge branch 'MDL-34519_21_course_reset_patch' of git://github.com/rlorenzo/moodle into MOODLE_21_STABLE 2012-07-30 11:58:13 +08:00
Frederic Massart 76c590c0aa MDL-34507 Filepicker: Repositories with specific filetypes are displayed when expected 2012-07-27 09:32:54 +08:00
Aparup Banerjee 60dce6a2c1 weekly release 2.1.7+ 2012-07-26 14:31:09 +08:00
Aparup Banerjee 56f9e59241 Merge branch 'install_21_STABLE' of git://git.moodle.cz/moodle-install into MOODLE_21_STABLE 2012-07-26 14:04:26 +08:00
AMOS bot 6f3c243bb8 Automatically generated installer lang files 2012-07-26 00:31:46 +00:00
Rex Lorenzo e74681c8b2 MDL-34519 - Course reset not protected by proper capability 2012-07-24 12:05:24 -07:00
Aparup Banerjee b693256a99 Merge branch 'wip-mdl-33159-m21' of git://github.com/rajeshtaneja/moodle into MOODLE_21_STABLE 2012-07-24 11:18:59 +08:00
AMOS bot 77fa678ef2 Automatically generated installer lang files 2012-07-24 00:32:11 +00:00
Derick Turner 6819bed8da MDL-33159 course: Fix for site wide restricted modules not being selected by default 2012-07-20 12:36:41 +08:00
Dan Marsden f3ab1e0c8f MDL-34233 SCORM backup - change to using set_source_sql to preserve order of records in backup. 2012-07-19 19:41:07 +12:00
Dan Poltawski 33faa0d19d weekly release 2.1.7+ 2012-07-19 13:47:59 +08:00
Dan Poltawski af08d144c9 Merge branch 'install_21_STABLE' of git://github.com/amosbot/moodle into MOODLE_21_STABLE 2012-07-19 13:42:39 +08:00
Rossiani Wijaya 5127b43eec MDL-33575 choice module: add label to checkbox element when privacy of results is set to publish full results 2012-07-17 10:09:37 +08:00
AMOS bot fc07639e9b Automatically generated installer lang files 2012-07-17 00:31:56 +00:00
AMOS bot bc9e603b3f Automatically generated installer lang files 2012-07-13 00:32:34 +00:00
Dan Poltawski 27a7bb1a0d weekly release 2.1.7+ 2012-07-12 16:03:10 +08:00
Dan Poltawski aea7288f77 Merge branch 'install_21_STABLE' of git://github.com/amosbot/moodle into MOODLE_21_STABLE 2012-07-12 15:50:50 +08:00
Sam Hemelryk 18889e0e78 Revert "MDL-33575 choice module: add label to checkbox element when privacy of results is set to publish full results"
This reverts commit b66a680956.
2012-07-12 18:21:53 +12:00
AMOS bot 3df96ad21b Automatically generated installer lang files 2012-07-12 00:32:33 +00:00
AMOS bot dc01f95fb4 Automatically generated installer lang files 2012-07-10 20:33:26 +02:00
Sam Hemelryk c54cd379ac Merge branch 'MDL-29470-21' of git://github.com/FMCorz/moodle into MOODLE_21_STABLE 2012-07-10 12:09:06 +12:00
Charles Fulton bdeeadb3c3 MDL-27800 admin: make front page restore link consistent
Conflicts:

	admin/settings/frontpage.php
2012-07-10 11:33:58 +12:00
Frederic Massart e1abf003ee MDL-29470 Backup: fixed unexpected next automated backup date 2012-07-09 13:50:08 +08:00
Sam Hemelryk b66a680956 MDL-33575 choice module: add label to checkbox element when privacy of results is set to publish full results 2012-07-09 10:56:36 +12:00
Sam Hemelryk 5c89dd5d18 Merge branch 'MDL-30816_m21' of git://github.com/rwijaya/moodle into MOODLE_21_STABLE 2012-07-09 10:28:26 +12:00
Sam Hemelryk 67fb1b666e Merge branch 'MDL-33514-21' of git://github.com/danpoltawski/moodle into MOODLE_21_STABLE 2012-07-09 10:21:47 +12:00
AMOS bot 6311d4de60 Automatically generated installer lang files 2012-07-07 00:31:30 +00:00
Sam Hemelryk 870d485024 Moodle 2.1.7 release 2012-07-06 11:29:00 +12:00
Sam Hemelryk 44708a5568 weekly release 2.1.6+ 2012-07-06 10:07:16 +12:00
Sam Hemelryk 0ac34abbfb Merge branch 'install_21_STABLE' of git://github.com/amosbot/moodle into MOODLE_21_STABLE 2012-07-06 09:49:24 +12:00
Rossiani Wijaya eace33059c MDL-30816 Choice module: add format_string() for choice name. 2012-07-05 12:23:45 +08:00
Rossiani Wijaya e626145ef6 MDL-30816 choice module: fixed accessibility for responses table and make it easier for screenreader to read it 2012-07-05 12:23:31 +08:00
Eloy Lafuente (stronk7) 97f5b526e6 Merge branch 'MDL-34145_21' of git://github.com/timhunt/moodle into MOODLE_21_STABLE 2012-07-05 03:41:51 +02:00
AMOS bot 0abafc0622 Automatically generated installer lang files 2012-07-05 00:31:20 +00:00
Sam Hemelryk 48d0a91018 MDL-33770 webservices: Fixed error with core_group_create_groups when no enrolment key provided 2012-07-05 09:22:44 +12:00
Eloy Lafuente (stronk7) adb1b0afb4 MDL-32062 question engine: fix simpletests broken by the change. 2012-07-04 17:17:39 +02:00
AMOS bot ec68dac0fd Automatically generated installer lang files 2012-07-04 00:32:06 +00:00
Sam Hemelryk 7d7f36787b Merge branch 'MDL-32062_21' of git://github.com/timhunt/moodle into MOODLE_21_STABLE 2012-07-04 09:53:32 +12:00
Charles Fulton d27076d09e MDL-32851 resource: skip resources with invalid files 2012-07-04 09:43:21 +12:00
sam marshall 4dbc9b75d2 MDL-33466: Group restriction should hide activity even with 'show availability' option
This is a modified version of fix by Luke Tucker at NetSpot - thanks.
2012-07-04 09:38:16 +12:00
Jonathan Harker f0da446c56 MDL-27125 better manage file handles when downloading multiple files.
Based on Dongsheng Cai's branch: s11_MDL-27125_curl_file_handler_master
2012-07-04 09:33:22 +12:00
Sam Hemelryk 17a759cf61 Merge branch 'wip-MDL-33749-MOODLE_21_STABLE' of https://github.com/kwiliarty/moodle into MOODLE_21_STABLE 2012-07-04 08:41:26 +12:00
Kevin Wiliarty 78dd6d4813 MDL-33749 follow redirects for URL downloader 2012-07-03 16:22:21 -04:00
Dan Poltawski d65a100e88 Merge branch 'MDL-30903-21' of git://github.com/FMCorz/moodle into MOODLE_21_STABLE 2012-07-03 11:51:46 +08:00
Dan Poltawski 7e31c3b1c3 Merge branch 'MDL-30883_21' of git://github.com/timhunt/moodle into MOODLE_21_STABLE 2012-07-03 11:02:23 +08:00
Sam Hemelryk 30cab618e1 Merge branch 'wip-MDL-33957-stable21' of git://github.com/phalacee/moodle into MOODLE_21_STABLE 2012-07-03 14:57:14 +12:00
AMOS bot 1b82db6d0d Automatically generated installer lang files 2012-07-03 00:31:36 +00:00
Sam Hemelryk 75aa150051 Merge branch 'MOODLE_21_STABLE-MDL-33770' of git://github.com/mouneyrac/moodle into MOODLE_21_STABLE 2012-07-03 11:47:58 +12:00
Frederic Massart ee9bd0e350 MDL-33796 Glossary: removed unused missing string 2012-07-03 01:08:09 +02:00
Dan Poltawski f7b1660aa6 MDL-9214 - improve comment for custom login instructions 2012-07-03 10:47:36 +12:00
Dan Poltawski b97702e584 MDL-32286 - fix ambigious english string 2012-07-03 10:43:07 +12:00
Matthew G. Switlik 5de876ba81 MDL-28151 resource: prevent cropping of large images
Conflicts:

	theme/base/style/core.css
2012-07-03 10:16:04 +12:00
Eloy Lafuente (stronk7) 8162a1308a Merge branch 'MDL-23813_21' of git://github.com/timhunt/moodle into MOODLE_21_STABLE 2012-07-02 23:54:02 +02:00
Aparup Banerjee 33406a758c MDL-23254 Authentication : used httpswwwroot as root url during authentication procedure where $PAGE->https_required() is specified. 2012-07-03 09:42:51 +12:00
Dan Poltawski 44181e8a24 MDL-34081 dml: mssql driver was using case insensitve sql 2012-07-02 21:09:09 +02:00
Tim Hunt 9eb2207168 MDL-23813 glossary filter: add missing YUI dependency
Fix found by Huy Hoang. I am just making a commit.
2012-07-02 17:48:20 +01:00
Tim Hunt 3aa0f88b6e MDL-34145 postgres driver: fix get_tables perf on <= 9.0
The query of the information_schema view seems to be painfully slow on
older versions of postgres (2000ms instead of 20ms). Therefore, it is
worth detecting that case, and using a more postgres specific feedback.
This is particularly important for 2.3+ unit tests.

Thanks to Petr Skoda for his help with this.
2012-07-02 16:24:10 +01:00
Dan Poltawski d3c8f933df MDL-31802 - navigation: add a comment about session reduction 2012-07-02 17:29:30 +08:00
Dan Poltawski a3039b2085 Merge branch 'MDL-31802_21' of git://github.com/aolley/moodle into MOODLE_21_STABLE 2012-07-02 17:25:14 +08:00
Dan Poltawski 0a6a6a9cde Merge branch 'w27_MDL-34045_m21_idnumber' of git://github.com/skodak/moodle into MOODLE_21_STABLE 2012-07-02 16:34:38 +08:00
Dan Poltawski 5edb51d072 Merge branch 'MDL-33924_21' of git://github.com/timhunt/moodle into MOODLE_21_STABLE 2012-07-02 16:19:37 +08:00
Dan Poltawski 1f4a068537 Merge branch 'MDL-33780_21' of git://github.com/timhunt/moodle into MOODLE_21_STABLE 2012-07-02 16:07:51 +08:00
Dan Poltawski a0ca809653 Merge branch 'MDL-30008-21' of git://github.com/FMCorz/moodle into MOODLE_21_STABLE 2012-07-02 15:43:49 +08:00
Dan Poltawski e059f69d3f Merge branch 'MDL-9073-21' of github.com:FMCorz/moodle into MOODLE_21_STABLE 2012-07-02 15:34:39 +08:00
Dan Poltawski 706c814d8c Merge branch 'MDL-31987_assignment_m21' of git://github.com/rwijaya/moodle into MOODLE_21_STABLE 2012-07-02 15:13:05 +08:00
Rossiani Wijaya d0c33d06a3 MDL-31987 Assignment module: fixed upgrade version 2012-07-02 14:58:33 +08:00
Dan Poltawski f2d59e46eb MDL-31987 Assignment module: fix sql for postgres. 2012-07-02 14:57:02 +08:00
Rossiani Wijaya 22c1e3f385 MDL-31987 Assignment module: Assignment count submissions correctly.
For advanced upload assignment, store file count of each submission
into assignment_submissions.numfiles

When counting submissions, if the assignment is open and tracking
drafts, only submissions which has send for marking are counted.
Otherwise, submissions which has numfiles > 0 are counted.

Also change a hardcoded 'submitted' to ASSIGNMENT_STATUS_SUBMITTED.

This patch was originally written by: Sunner Sun <sunner@gmail.com>.

I made some modifation to fixed count_real_submissions() query (ref: MDL-32207) in /mod/assignment/type/upload/assignment.class.php file
2012-07-02 14:57:02 +08:00
Dan Poltawski 722efe6e5b Merge branch 'MDL-27842-m21' of git://github.com/ankitagarwal/moodle into MOODLE_21_STABLE 2012-07-02 11:27:42 +08:00
Sam Hemelryk 40f00ad784 Merge branch 'MDL-33932_21' of git://github.com/grabs/moodle into MOODLE_21_STABLE 2012-07-02 14:31:32 +12:00
Sam Hemelryk 45181b1553 Merge branch 'MDL-33627_21' of git://github.com/grabs/moodle into MOODLE_21_STABLE 2012-07-02 14:05:42 +12:00
Eloy Lafuente (stronk7) ec7a8c38d9 weekly release 2.1.6+ 2012-07-02 00:51:36 +02:00
Eloy Lafuente (stronk7) 18df418a50 Merge branch 'install_21_STABLE' of git://github.com/amosbot/moodle into MOODLE_21_STABLE 2012-07-02 00:45:26 +02:00
Sam Hemelryk e2f3b1eea1 Merge branch 'MDL-34044-21' of git://github.com/srynot4sale/moodle into MOODLE_21_STABLE 2012-07-02 08:22:10 +12:00
Eloy Lafuente (stronk7) 555769489a Merge branch 'MDL-32249c-21' of github.com:srynot4sale/moodle into MOODLE_21_STABLE 2012-07-01 02:15:41 +02:00
Sun Zhigang c27a49324e MDL-31201 wiki: fix a hardcoded string 2012-06-30 22:01:57 +02:00
Petr Škoda 92979a841d MDL-34045 fix invalid idnumber field type in cohort form 2012-06-30 07:52:26 +02:00
Ankit Agarwal 05ddbc3143 MDL-27842 calendar: Remove the use of deprecated function calendar_print_event from delete.php 2012-06-29 15:03:13 +08:00
Adam Olley bded2e91a0 MDL-31802: Remove section summaries from navigation_cache 2012-06-28 11:08:57 +09:30
AMOS bot b532610c2f Automatically generated installer lang files 2012-06-28 00:31:34 +00:00
Tim Hunt 76ef65f45d MDL-33924 quiz: incorrect foreign key definition.
Thanks to Jean-Michel Vedrine for spotting this.≈
2012-06-27 08:03:04 +01:00
Aaron Barnes 7d82a37b49 MDL-34044 completion: Fix regression caused by MDL-26626 2012-06-27 12:03:21 +12:00
Tim Hunt 2f82ac596b MDL-32062 question engine: fix re-grading attempts from 2.0
The code to upgrade attempts from before Moodle 2.0 to 2.1 created
attempt data that was not exactly the same as a new attempt created in
2.1+. This did not matter very much - revew and the quiz reports all
worked OK - but it broke on re-grade.

These changes detect the problem data in the re-grade code, an apply a
work-around so that the re-grade gives the correct result.
2012-06-26 09:58:32 +01:00
Tim Hunt 81200053af MDL-33780 question import: strip UTF8 BOM
Previously, if there was a byte-order mark at the start of the file, the
import would just break, which was silly. Much better to just strip it
off.
2012-06-26 09:52:09 +01:00
Tim Hunt bd874d2a0e MDL-30883 question flags: aria attributes for accessibility
Also, update code to use html_writer.

Conflicts:

	theme/base/style/question.css
2012-06-26 09:51:24 +01:00
Aaron Barnes 676910acbd MDL-32249 completion: Make grade criteria more consistent
Also, round course grades and remove hardcoded string.

Note: This patch also removes the ability to update the course grade
from the completion interface
2012-06-26 14:03:23 +12:00
AMOS bot bb44b2c9d0 Automatically generated installer lang files 2012-06-26 00:31:35 +00:00
AMOS bot b53489190d Merge branch 'MOODLE_21_STABLE' into install_21_STABLE 2012-06-26 00:31:34 +00:00
Andreas Grabs 99b1eb1755 MDL-33932_21 - added array_unique() 2012-06-25 21:52:27 +02:00
Andreas Grabs 4e2841b795 MDL-33627 - feedback block now show all feedbacks 2012-06-25 21:52:24 +02:00
Dan Poltawski 3546266a6b Merge branch 'MDL-33984_21' of git://github.com/stronk7/moodle into MOODLE_21_STABLE 2012-06-25 21:58:20 +08:00
Eloy Lafuente (stronk7) d81704f632 MDL-33984 mysql: take rid of old unicode & mysql 4.1 message on error. 2012-06-25 15:50:13 +02:00
Dan Poltawski e13939dc77 Merge branch 'MDL-33984_21' of git://github.com/stronk7/moodle into MOODLE_21_STABLE 2012-06-25 18:47:20 +08:00
Eloy Lafuente (stronk7) 40bde9dfa6 MDL-33984 mysql - raise min version to 5.1.33.
Because of http://bugs.mysql.com/bug.php?id=42758 and other benefits.
2012-06-25 12:34:43 +02:00
AMOS bot 7b25272f43 Automatically generated installer lang files 2012-06-25 00:31:49 +00:00
Eloy Lafuente (stronk7) bce307ee77 Merge branch 'w25_MDL-33733_m21_unzipstorage' of git://github.com/skodak/moodle into MOODLE_21_STABLE 2012-06-25 01:23:07 +02:00
Eloy Lafuente (stronk7) 66aece01f9 weekly release 2.1.6+ 2012-06-24 18:34:09 +02:00
Eloy Lafuente (stronk7) d332e9f012 Merge branch 'install_21_STABLE' of git://github.com/amosbot/moodle into MOODLE_21_STABLE 2012-06-24 18:29:11 +02:00
Jason Fowler 7114045d8d MDL-33957 - Installation - Fixing field lengths so they are long enough for data entry, and don't distort page rendering 2012-06-22 10:57:53 +08:00
AMOS bot da0655ebdf Automatically generated installer lang files 2012-06-22 00:31:30 +00:00
Sam Hemelryk a4c4e43a5f Merge branch 'MDL-27675_21' of git://github.com/grabs/moodle into MOODLE_21_STABLE 2012-06-21 11:36:42 +12:00
Sam Hemelryk d25f6b8104 Merge branch 'MDL-33808-21' of git://github.com/danpoltawski/moodle into MOODLE_21_STABLE 2012-06-21 10:06:24 +12:00
Aparup Banerjee 236534f192 Merge branch 'wip-MDL-33811-m21' of git://github.com/samhemelryk/moodle into MOODLE_21_STABLE 2012-06-20 17:18:46 +08:00
Frederic Massart 837e89e1d3 MDL-9073 Glossary: uncategorised entries are printable 2012-06-20 12:28:09 +08:00
Jason Fowler 4018a4b4a7 MDL-32290 - Repositories - Fixing missing slash from the URL path 2012-06-20 10:42:22 +08:00
AMOS bot 5e0a9e2bf9 Automatically generated installer lang files 2012-06-20 00:31:24 +00:00
Dan Poltawski 420b76d61e MDL-3971 - mod_forum: contain () in span 2012-06-20 11:40:56 +12:00
Jason Fowler 820e356a5e MDL-32990 - Repositories - Updating Box.net API calls to use HTTPS 2012-06-19 15:09:12 +08:00
Dan Poltawski 6ceafdb00a MDL-33808 - format title on the repository instance screen 2012-06-19 12:10:26 +08:00
Dan Poltawski 4a35940233 MDL-33808 - incorrect cleaning of repository names 2012-06-19 11:28:01 +08:00
AMOS bot 70243720e9 Automatically generated installer lang files 2012-06-19 00:31:23 +00:00
Sam Hemelryk b6c63cfcc6 MDL-33811 Fixed left over debugging code preventing proper setting of YUI gallery version 2012-06-19 11:26:57 +12:00
Tim Hunt 74919fa156 MDL-26892 questions: images lost during upgrade.
This affects questions shared in the system or course category areas of
the question bank.

Thanks to Chris Edwards for working out what was going wrong.
2012-06-18 21:41:26 +08:00
Dan Poltawski 1cdcf60ed3 Merge branch 'wip-MDL-33603-MOODLE_21_STABLE' of git://github.com/abgreeve/moodle into MOODLE_21_STABLE 2012-06-18 15:07:52 +08:00
Dan Poltawski 47e26d45f7 Merge branch 'wip-mdl-33607-m21' of git://github.com/rajeshtaneja/moodle into MOODLE_21_STABLE 2012-06-18 14:34:43 +08:00
Adrian Greeve 7040ab6e30 MDL-33603 - data - added another sql query to allow links to records to work. 2012-06-18 10:27:14 +08:00
Petr Skoda 5f828fa036 MDL-33733 fix broken zip_packer->extract_to_storage() when extracting from stored_file 2012-06-17 23:01:31 +02:00
AMOS bot ed2410c954 Automatically generated installer lang files 2012-06-16 00:31:37 +00:00
Eloy Lafuente (stronk7) 4557b47df1 weekly release 2.1.6+ 2012-06-15 20:27:26 +02:00
Rajesh Taneja 840818cce4 MDl-33607 wiki-2: check subwiki before fetching it from db 2012-06-15 16:59:33 +08:00
Jerome Mouneyrac 463e194c85 MDL-33770 Web service: create_groups should not require enrolmentkey
Conflicts:

	group/externallib.php
2012-06-15 15:20:33 +08:00
Dan Poltawski 19b1f96f1f Merge branch 'MDL-33035-m21' of git://github.com/sunner/moodle into MOODLE_21_STABLE 2012-06-14 12:29:27 +08:00
Frederic Massart 795fd70584 MDL-30008 Filepicker: correctly handles allowed file types 2012-06-14 10:03:28 +08:00
Dan Poltawski 05fc59ef64 Merge branch 'MDL-33581-MOODLE_21_STABLE' of git://github.com/mouneyrac/moodle into MOODLE_21_STABLE 2012-06-13 17:45:44 +08:00
Eloy Lafuente (stronk7) 82aab8024b MDL-33682 backup: keep old behavior, aka, use section number on empty section name. 2012-06-13 00:57:36 +02:00
Eloy Lafuente (stronk7) 50c5d7ae6d Merge branch 'MDL-33682_21' of git://github.com/timhunt/moodle into MOODLE_21_STABLE 2012-06-13 00:57:26 +02:00
Eloy Lafuente (stronk7) e9637ea9ce Merge branch 'MDL-33681_21' of git://github.com/timhunt/moodle into MOODLE_21_STABLE 2012-06-13 00:07:23 +02:00
Tim Hunt 4ee86612fe MDL-33682 backup: cope with sections called '0'
It was not previously possible to have a section called 0 because of
bugs in the standard course formats, but we hit this with the OU course
format. You got an exception because backup settings tested to see if
their lable was empty, which means a section name of '0' was fatal.
Should work now.
2012-06-12 18:06:02 +01:00
Tim Hunt d375d718ac MDL-33681 course: cannot have a section called '0'.
No reason to prevent this. It is just a matter of doing a proper test,
rather than the sloppy PHP !empty().
2012-06-12 18:05:53 +01:00
Eloy Lafuente (stronk7) 417f9d311b Merge branch 'w24_MDL-33670_m21_ofadmin' of git://github.com/skodak/moodle into MOODLE_21_STABLE 2012-06-12 10:07:15 +02:00
Petr Skoda ea1cb30ce7 MDL-33670 fix recent fatal typo in user_get_user_details()
Credit goes to Sunner Sun.
2012-06-12 09:59:11 +02:00
Aparup Banerjee 9a36598bac Merge branch 'm21_MDL-33515' of git://github.com/danmarsden/moodle into MOODLE_21_STABLE 2012-06-12 11:28:11 +08:00
Eloy Lafuente (stronk7) 4776262f05 weekly release 2.1.6+ 2012-06-12 02:59:09 +02:00
Eloy Lafuente (stronk7) 5fbd62c254 Merge branch 'install_21_STABLE' of git://github.com/amosbot/moodle into MOODLE_21_STABLE 2012-06-12 02:55:35 +02:00
Aparup Banerjee b10a487334 Merge branch 'MDL-33548_21' of git://github.com/timhunt/moodle into MOODLE_21_STABLE 2012-06-11 13:56:03 +08:00
Eloy Lafuente (stronk7) 294e7ff363 MDL-33455 restore: process grade_grades only if user matches.
Note this has been applied both to individual activities grade_grades
and to general ones.
2012-06-11 11:15:05 +08:00
Dan Poltawski dbb729e9d3 MDL-33514 - rss: also exclude suspended users feeds
Thanks Petr!
2012-06-11 10:27:34 +08:00
Dan Marsden 3720463fc4 MDL-33515 SCORM - attempts grading setting is confusing - last attempt is really last completed attempt. 2012-06-08 20:36:20 +12:00
Jerome Mouneyrac d9ecbdc715 MDL-33581 missing parameter defaults for some external functions 2012-06-08 12:08:45 +08:00
Eloy Lafuente (stronk7) 34025ea1c2 Merge branch 'w23_MDL-33583_m21_keepall' of git://github.com/skodak/moodle into MOODLE_21_STABLE 2012-06-08 01:57:04 +02:00
Petr Skoda 8fbbd40394 MDL-30725 save automated external only backups directly to ext storage, do not pollute file pool
This solution is based on code by Tony Levi, thanks!
2012-06-08 01:47:23 +02:00
Sam Hemelryk 54e24c11a5 Merge branch 'MDL-32325-21' of git://github.com/FMCorz/moodle into MOODLE_21_STABLE 2012-06-08 10:20:31 +12:00
Eloy Lafuente (stronk7) 9987a9e079 Merge branch 'MDL-32985_integration_21' of git://github.com/merrill-oakland/moodle into MOODLE_21_STABLE 2012-06-08 00:05:24 +02:00
Dan Poltawski 965481f7fb Merge branch 'MDL-33532_21' of git://github.com/timhunt/moodle into MOODLE_21_STABLE 2012-06-07 22:23:56 +08:00
Tim Hunt 40035f042d MDL-33532 quiz editing: let uses enter locale floats.
So, for example, Croatian users can set the maximum grade to 65,5.

Conflicts:

	mod/quiz/edit.php
2012-06-07 12:59:46 +01:00
Petr Skoda ff5aed23a4 MDL-33583 really keep all automated backup files when told to do so 2012-06-07 11:14:05 +02:00
Andreas Grabs a6f4aa1a94 MDL-27675 - Feedback module abuses data_submitted 2012-06-06 23:16:03 +02:00
Tim Hunt 239ca19682 MDL-33548 quiz manual grading: check the grade is in range.
To do this nicely, I refactored some code out of the quiz manual grading
report.
2012-06-06 20:25:10 +01:00
Eric Merrill bfe1d30444 MDL-32985 cron: Fixing related problem with setting of lastnotifyfailure
Because of a flaw in the logic, lastnotifyfailure was not set unless
there was a failure. This means that after 1 hour of no failures, the
function would execute every cron cycle, which has a pretty high cost
on large sites.
2012-06-06 12:16:40 -04:00
Dan Poltawski 331de0b546 MDL-33514 - rss: only retrieve RSS feeds for valid users 2012-06-06 23:38:00 +08:00
Frederic Massart 7a150b25cb MDL-32325 Glossary: Entrylist print version is XHTML compliant 2012-06-06 13:16:38 +08:00
Sam Hemelryk c2cf907f3f Merge branch 'wip-mdl-33090-m21' of git://github.com/rajeshtaneja/moodle into MOODLE_21_STABLE 2012-06-06 15:24:03 +12:00
Tim Hunt 5cf725b9b4 MDL-33119 quiz complete report: fix placeholders in attempt string. 2012-06-06 10:32:26 +08:00
AMOS bot eafc011e08 Automatically generated installer lang files 2012-06-06 00:31:34 +00:00
Sam Hemelryk bed0c7a63e Merge branch 'MDL-30837-21' of https://github.com/FMCorz/moodle into MOODLE_21_STABLE 2012-06-06 10:59:34 +12:00
Sam Hemelryk d099f4fd0e MDL-31520 user-ws: Optimised if statement for email access by moving admin check to the start 2012-06-06 10:38:20 +12:00
Sam Hemelryk 4c3a1c6f8a Merge branch 'MDL-31520-MOODLE_21_STABLE' of git://github.com/fabiomsouto/moodle into MOODLE_21_STABLE 2012-06-06 10:37:48 +12:00
Sam Hemelryk 8ad117cca8 Merge branch 'MDL-31823_21' of git://github.com/dmonllao/moodle into MOODLE_21_STABLE 2012-06-06 10:13:32 +12:00
Sam Hemelryk 7d4c5ac5ab Merge branch 'MDL-33441-21' of git://github.com/danpoltawski/moodle into MOODLE_21_STABLE 2012-06-06 10:09:45 +12:00
Sam Hemelryk ded3134c37 Merge branch 'MDL-33487-21' of git://github.com/danpoltawski/moodle into MOODLE_21_STABLE 2012-06-06 10:05:57 +12:00
Sam Hemelryk 4471c79c07 MDL-26277: Fixed whitespace post integration 2012-06-06 09:14:02 +12:00
Sam Hemelryk bc1f0e0b40 Merge branch 'MDL-26277-21' of https://github.com/mackensen/moodle into MOODLE_21_STABLE 2012-06-06 09:07:07 +12:00
Dan Poltawski 446bf5b9f4 MDL-33441 course/lib.php prevent fatal error when no visible categories 2012-06-05 16:41:43 +08:00
Aparup Banerjee 97f8f66cc3 Merge branch 'wip-mdl-33455-m21' of git://github.com/rajeshtaneja/moodle into MOODLE_21_STABLE 2012-06-05 15:16:14 +08:00
Koen Roggemans bea1f152ae MDL-29103 web service strings improvement
Conflicts:

	lang/en/admin.php
2012-06-05 12:47:02 +08:00
Ankit Agarwal e4624f6e6c MDL-33401 blocks: Allow managers to have block:edit capability by default 2012-06-05 12:35:21 +08:00
Tim Barker 6945d524c8 MDL-33476 repositories: Added instructions to assist with setting up Dropbox keys 2012-06-05 12:16:25 +08:00
Dan Poltawski 296d5c07d8 Merge branch 'MDL-30880_feedback_property_21' of git://github.com/andyjdavis/moodle into MOODLE_21_STABLE 2012-06-05 11:58:49 +08:00
Rajesh Taneja 756765a2ed MDL-33455 gradebook: Grade will not be inserted for unknown user 2012-06-05 11:22:38 +08:00
Dan Poltawski 044c0ce868 MDL-31460 mod_forum: fix trailing whitespace 2012-06-05 09:35:51 +08:00
Dan Poltawski f83ecb3721 Merge branch 'MDL-31460_unsubscribe_21' of git://github.com/andyjdavis/moodle into MOODLE_21_STABLE 2012-06-05 09:35:47 +08:00
Rex Lorenzo fbf39e40e6 MDL-33090 admin: Missing strings in XMLDB editor - added in missing strings 2012-06-05 09:29:00 +08:00
Frederic Massart 4ebf4efde8 MDL-30837 Accessibility: removed navigation icons default alt text 2012-06-05 09:20:11 +08:00
Eloy Lafuente (stronk7) 1f0856d6bf Merge branch 'MDL-32649_ratings_sort_21' of git://github.com/andyjdavis/moodle into MOODLE_21_STABLE 2012-06-05 02:23:55 +02:00
Eloy Lafuente (stronk7) ceb3ce58a9 MDL-32985 cron: prevent notices on "new" sites. 2012-06-05 02:17:16 +02:00
Eloy Lafuente (stronk7) 335a24ea72 Merge branch 'MDL-32985_m21' of git://github.com/merrill-oakland/moodle into MOODLE_21_STABLE 2012-06-05 02:03:06 +02:00
David Monllaó 92bf1836d0 MDL-31823 - Remote hosts users created via mnet enrolments marked as confirmed 2012-06-04 10:38:59 +02:00
Dan Poltawski ca409b9b44 Merge branch 'MDL-29173_calc_21' of git://github.com/andyjdavis/moodle into MOODLE_21_STABLE 2012-06-04 16:22:20 +08:00
AMOS bot 81ded23742 Automatically generated installer lang files 2012-06-02 00:31:41 +00:00
Dan Poltawski 365f666cbf MDL-33487 - mod_forum: incorrect param ordering
Thanks to Garret Gengler for spotting it.
2012-06-01 23:36:01 +08:00
Eloy Lafuente (stronk7) a6dfc10bb0 weekly release 2.1.6+ 2012-06-01 09:48:10 +02:00
Eloy Lafuente (stronk7) 4a7f742d2e Merge branch 'install_21_STABLE' of git://github.com/amosbot/moodle into MOODLE_21_STABLE 2012-06-01 09:43:36 +02:00
Andrew Davis 043af1f6b2 MDL-30880 grade: added a check for the feedback property existing before it is used 2012-06-01 10:44:35 +07:00
Dan Poltawski 4a126d26cf Merge branch 'MDL-33434_21' of git://github.com/stronk7/moodle into MOODLE_21_STABLE 2012-05-31 16:59:44 +08:00
Aparup Banerjee 323d76708b Merge branch 'MDL-33040-MOODLE_21_STABLE-1' of git://git.luns.net.uk/moodle into MOODLE_21_STABLE 2012-05-31 15:21:03 +08:00
Aparup Banerjee 3a2d363542 Merge branch 'MDL-33140_21' of git://github.com/timhunt/moodle into MOODLE_21_STABLE 2012-05-31 14:15:59 +08:00
Frederic Massart 854682fb17 MDL-33398 Cron: fix wrong variable type in completion criterias 2012-05-31 12:50:57 +08:00
Eloy Lafuente (stronk7) 87ba4ff25a MDL-33434 mssql: Improve handling of returned ids on insert.
This commit moves from the batch SCOPE_IDENTITY() way to return
the inserted ids to the OUTPUT alternative (supported and
recommended since 2005). Also the handling of possible return
values is improved, with all the alternatives leading to expected results.
2012-05-31 01:49:48 +02:00
Eloy Lafuente (stronk7) a906556554 MDL-33434 dml: define expected results when unique constraint is violated on insert. 2012-05-31 01:49:44 +02:00
Tim Hunt c0ed22f6c7 MDL-33140 quiz browser security: block copy/paste more 2012-05-30 14:50:15 -06:00
Sam Hemelryk 24b464d9f7 Revert "Merge branch 'MDL-27675_21_wip' of git://github.com/grabs/moodle into MOODLE_21_STABLE"
This reverts commit 9c96488ed9, reversing
changes made to b22884274f.
2012-05-30 16:36:43 +12:00
Dan Poltawski 01ab2bb505 Merge branch 'MDL-33398b-21' of git://github.com/srynot4sale/moodle into MOODLE_21_STABLE 2012-05-30 11:36:04 +08:00
Aaron Barnes 28e0b61cd0 MDL-33398 completion: Fix coding error (should be arrays not objects) 2012-05-30 13:35:49 +12:00
AMOS bot db01641ec0 Automatically generated installer lang files 2012-05-30 00:31:27 +00:00
Andrew Davis 196b3fd27f MDL-29173 grade: altered the definiton of round() and added some more unit tests 2012-05-29 16:35:18 +07:00
Dan Poltawski e3d8f34ad6 Merge branch 'MDL-30905-21' of git://github.com/FMCorz/moodle into MOODLE_21_STABLE 2012-05-29 16:20:44 +08:00
Dan Poltawski e2eaa0bae4 Merge branch 'wip-mdl-33102-m21' of git://github.com/rajeshtaneja/moodle into MOODLE_21_STABLE 2012-05-29 16:11:14 +08:00
Dan Poltawski 5013a713eb Merge branch 'MDL-30888-21' of git://github.com/FMCorz/moodle into MOODLE_21_STABLE 2012-05-29 15:12:49 +08:00
Dan Poltawski 573a933e42 Merge branch 'MDL-33212-m21' of git://github.com/sammarshallou/moodle into MOODLE_21_STABLE 2012-05-29 15:11:07 +08:00
Andrew Davis 6be00a7a49 MDL-31460 mod_forum: added some controls to mod/forum/unsubscribeall.php to prevent the removal of subscriptions the user shouldnt be able to delete 2012-05-29 08:28:39 +07:00
sam marshall 054d245a2c MDL-33212 Course page: Eye icon should override other conditions 2012-05-28 16:27:37 +01:00
Dan Poltawski ae3f09e6cd Revert "MDL-33212 Course page: Eye icon should override other conditions"
This reverts commit 805366d987.
2012-05-28 16:58:39 +08:00
Dan Poltawski 1cbf87e8db Merge branch 'MDL-33352-MOODLE_21_STABLE' of git://github.com/mouneyrac/moodle into MOODLE_21_STABLE 2012-05-28 16:05:11 +08:00
Dan Poltawski 382b95d292 Merge branch 'MDL-33212-m21' of git://github.com/sammarshallou/moodle into MOODLE_21_STABLE 2012-05-28 16:03:19 +08:00
Dan Poltawski 29010d3e53 Merge branch 'MDL-31393_21' of git://github.com/timhunt/moodle into MOODLE_21_STABLE 2012-05-28 15:24:40 +08:00
Dan Poltawski b269d8f988 Merge branch 'wip-MDL-32199-MOODLE_21_STABLE' of git://github.com/abgreeve/moodle into MOODLE_21_STABLE 2012-05-28 15:19:03 +08:00
Charles Fulton c4f5ec20db MDL-33194 forum: correct number of parameters for get_record() 2012-05-28 14:59:28 +08:00
Jerome Mouneyrac ec48562601 MDL-33352 fix regression, textlib functions are not static in 2.1 2012-05-28 14:39:37 +08:00
Dan Poltawski 093e1ce8df Merge branch 'm21_MDL-27368' of git://github.com/danmarsden/moodle into MOODLE_21_STABLE 2012-05-28 14:33:05 +08:00
Adrian Greeve ef518ff137 MDL-32199 - forum - Ensure that forum RSS feeds don't leak posts and discussions.
Alteration to the code to hide the body of the post / discussion

rebase conflict resolution
2012-05-28 13:07:02 +08:00
Dan Poltawski ff166d1157 Revert "MDL-29173 grade: altered the definiton of round() in /lib/evalmath/evalmath.class.php"
Breaking unit tests.

This reverts commit 4be0947bbe.
2012-05-28 12:38:42 +08:00
Dan Poltawski c02287f333 Merge branch 'MDL-29173_calc_21' of git://github.com/andyjdavis/moodle into MOODLE_21_STABLE 2012-05-28 12:16:41 +08:00
Sam Hemelryk 27ee2b6737 Merge branch 'MDL-33364_21' of git://github.com/stronk7/moodle into MOODLE_21_STABLE 2012-05-28 13:51:01 +12:00
Sam Hemelryk f991601b63 MDL-27675 mod_feedback: Tidy up of phpdocs and scope within feedback mod
Conflicts:

	mod/feedback/item/feedback_item_class.php
	mod/feedback/item/label/lib.php
	mod/feedback/item/multichoice/lib.php
2012-05-28 13:42:27 +12:00
Eloy Lafuente (stronk7) f3593fc2cb MDL-33364 automated backup: return and log each course result correctly 2012-05-28 02:50:35 +02:00
Sam Hemelryk 9c96488ed9 Merge branch 'MDL-27675_21_wip' of git://github.com/grabs/moodle into MOODLE_21_STABLE 2012-05-28 11:44:07 +12:00
Sam Hemelryk b22884274f Merge branch 'MDL-33191_M21' of git://github.com/lazydaisy/moodle into MOODLE_21_STABLE 2012-05-28 11:21:45 +12:00
Sam Hemelryk ab833c6ee4 Merge branch 'MDL-33325-m21' of git://github.com/ankitagarwal/moodle into MOODLE_21_STABLE 2012-05-28 10:52:03 +12:00
Andreas Grabs d6fe3f01e0 MDL-27675 - Feedback module abuses data_submitted 2012-05-28 00:29:58 +02:00
Andreas Grabs 82c62bd30a MDL-27675 - Feedback module abuses data_submitted 2012-05-28 00:29:58 +02:00
Dan Marsden fb0814ac14 MDL-27368 Clean up invalid course completion records
keep oldest timestamps from all records
2012-05-28 09:06:41 +12:00
Eloy Lafuente (stronk7) ba459c4dde weekly release 2.1.6+ 2012-05-25 12:49:51 +02:00
Eloy Lafuente (stronk7) c1ca7fdccc Merge branch 'install_21_STABLE' of git://github.com/amosbot/moodle into MOODLE_21_STABLE 2012-05-25 12:45:01 +02:00
Frederic Massart 0c8f156ece MDL-30905 Accessibility: recent activity list is XHTML compliant 2012-05-25 15:10:07 +08:00
Dan Poltawski 4e98691587 Merge branch 'MDL-29924-21' of git://github.com/FMCorz/moodle into MOODLE_21_STABLE 2012-05-25 11:14:48 +08:00
Dan Poltawski ed2417a4cd MDL-28557 - calendar: fix trivial whitespace issue 2012-05-25 11:09:26 +08:00
Dan Poltawski 497288882a Merge branch 'MDL-28557-21' of git://github.com/bostelm/moodle into MOODLE_21_STABLE 2012-05-25 11:09:21 +08:00
Jerome Mouneyrac b108e75ce3 MDL-33028 display debuginfo when server die at developer mode 2012-05-25 10:23:12 +08:00
Ankit Agarwal b284426dd1 MDL-33325 folder: 'set as main file' option removed, from filepicker when editing a file in a folder resource 2012-05-25 09:39:10 +08:00
AMOS bot 884972f915 Automatically generated installer lang files 2012-05-25 00:31:28 +00:00
Andrew Robert Nicols 9dde62c4e8 MDL-33040 Validate dates correctly on log page 2012-05-24 09:42:28 +01:00
Andrew Robert Nicols 1da1b02592 MDL-33186 Ensure that the comment textarea exists before toggling it 2012-05-24 15:54:09 +08:00
Aparup Banerjee bd0802e56b MDL-33318 lib : code style fix 2012-05-24 15:45:10 +08:00
Aparup Banerjee 65a312fa32 Merge branch 'm21_MDL-33318' of git://github.com/danmarsden/moodle into MOODLE_21_STABLE 2012-05-24 15:45:03 +08:00
Dan Marsden ffb830f58e MDL-33318 use $CFG->admin in path correctly - thanks to Clarence Prudhoe for report/fix 2012-05-24 14:10:11 +12:00
Frederic Massart 9eb160461d MDL-30903 Accessibility: user profile page uses table headers 2012-05-24 10:09:41 +08:00
Frederic Massart ee97268a42 MDL-30888 Accessibility: small calendars summary does not display 'Data table' 2012-05-24 09:23:21 +08:00
AMOS bot f3edfb06a7 Automatically generated installer lang files 2012-05-24 00:31:42 +00:00
Sam Hemelryk ebbf509960 Merge branch 'MDL-32203c-21' of git://github.com/srynot4sale/moodle into MOODLE_21_STABLE 2012-05-24 11:23:59 +12:00
Sam Hemelryk e09266d176 Merge branch 'MDL-26562-21' of git://github.com/vadimonus/moodle into MOODLE_21_STABLE 2012-05-24 10:56:06 +12:00
sam marshall 805366d987 MDL-33212 Course page: Eye icon should override other conditions
Conflicts:

	lib/conditionlib.php
2012-05-23 13:55:10 +01:00
Dan Poltawski 6645da5bce Merge branch 'wip-mdl-32155-m21' of git://github.com/rajeshtaneja/moodle into MOODLE_21_STABLE 2012-05-23 13:28:14 +08:00
Rajesh Taneja 38d13c23f1 MDL-32155 blocks: User can't access file, if block is hidden or doesn't have block:view capability 2012-05-23 13:14:02 +08:00
Andrew Davis 940e243547 MDL-32649 rating: fixed the sorting in /rating/index.php 2012-05-23 08:37:09 +07:00
Mary Evans e6ef6bb1b6 MDL-33191 theme_magazine: changes to magazine/config.php fixes $THEME->layouts for Base & Standard 2012-05-22 17:18:27 +01:00
Sun Zhigang 84bfd60a03 MDL-33035 workshop: typo in strings 2012-05-22 19:27:19 +08:00
Dan Poltawski 6e4bb45785 Merge branch 'w21_MDL-32564_m21_timezonecontext' of git://github.com/skodak/moodle into MOODLE_21_STABLE 2012-05-22 13:34:29 +08:00
Petr Skoda f7d185baf3 MDL-32564 fix admin/timezone.php page setup 2012-05-22 07:32:13 +02:00
Sam Hemelryk d7bce7db81 Merge branch 'MDL-32204-mnet-auth_21' of git://github.com/mudrd8mz/moodle into MOODLE_21_STABLE 2012-05-22 14:49:07 +12:00
Kordan 18d4b57b69 MDL-33055 theme_formal_white: changed "general" to "standard" in $theme->layouts array index 2012-05-22 14:31:33 +12:00
Rajesh Taneja 0e1d75cff7 MDL-33102 blogs: userid will be added during blog visibility upgrade 2012-05-22 10:06:56 +08:00
Andrew Davis 98fcf93146 MDL-29173 grade: altered the definiton of round() in /lib/evalmath/evalmath.class.php 2012-05-22 08:39:39 +07:00
Fábio Souto 660b8d0b66 Allow admin to consult user email address 2012-05-21 10:38:00 +01:00
Vadim Dvorovenko a64c75d059 MDL-26562
Signed-off-by: Vadim Dvorovenko <vadimon@mail.ru>
2012-05-20 19:46:17 +07:00
Eloy Lafuente (stronk7) 2ddb941b0a weekly release 2.1.6+ 2012-05-19 12:22:40 +02:00
Eloy Lafuente (stronk7) b571be75c5 Merge branch 'install_21_STABLE' of git://github.com/amosbot/moodle into MOODLE_21_STABLE 2012-05-19 12:17:43 +02:00
AMOS bot 8b1dd6905e Automatically generated installer lang files 2012-05-19 00:31:50 +00:00
Adrian Greeve d02908d323 MDL-32126 replaced _order with sortorder to make sorting work in oracle 2012-05-18 11:26:03 +02:00
sam marshall f654ae9d8e MDL-32535 Completion lang string incorrect use, text 2012-05-18 10:28:57 +08:00
AMOS bot ccb462b076 Automatically generated installer lang files 2012-05-18 00:31:55 +00:00
Rajesh Taneja 5f40997e4b MDL-32866 filemanager: Fixed Page url typo 2012-05-17 16:48:45 +08:00
Frederic Massart 96a4e2efa5 MDL-29924 Glossary: Entry attachments displayed in Moodle dialogue 2012-05-17 15:17:18 +08:00
Petr Skoda e98a486834 MDL-32967 add diagnostic strings for missing Microsoft drivers for SQL Server 2012-05-17 14:31:10 +08:00
Dan Poltawski 2aa58eb6ce Merge branch 'MDL-31814_21' of git://github.com/timhunt/moodle into MOODLE_21_STABLE 2012-05-17 14:11:32 +08:00
Juho Viitasalo 2e61a814c3 MDL-31850 wiki: extra whitespace removed from form 2012-05-17 14:49:25 +12:00
Sam Hemelryk e76f4039b9 Merge branch 'MDL-29399_M21' of git://github.com/lazydaisy/moodle into MOODLE_21_STABLE 2012-05-17 14:42:10 +12:00
Sam Hemelryk 2dfeb89f48 Merge branch 'm21_MDL-32794' of git://github.com/danmarsden/moodle into MOODLE_21_STABLE 2012-05-17 12:27:17 +12:00
Aparup Banerjee 3cf17d040e Merge branch 'MDL-32633_21' of git://github.com/timhunt/moodle into MOODLE_21_STABLE 2012-05-16 16:06:23 +08:00
Aparup Banerjee d9e1178030 Merge branch 'wip-MDL-32991-MOODLE_21_STABLE' of git://github.com/abgreeve/moodle into MOODLE_21_STABLE 2012-05-16 14:11:20 +08:00
AMOS bot c6f2c53f8d Automatically generated installer lang files 2012-05-16 00:31:40 +00:00
Henning Bostelmann a2ec78a369 MDL-28557 Calendar filters: show all group events in course to teacher 2012-05-15 22:26:19 +01:00
Sam Hemelryk 25f8be6e70 Merge branch 'MDL-31458-21' of git://github.com/danpoltawski/moodle into MOODLE_21_STABLE 2012-05-16 09:11:59 +12:00
Wiktor Wandachowicz 47f1ee8e6f MDL-32204 MNet: set auth method to mnet for users enrolled remotely 2012-05-15 15:37:54 +02:00
Aparup Banerjee 6030656b88 Merge branch 'MDL-32861-21' of https://github.com/mackensen/moodle into MOODLE_21_STABLE 2012-05-15 16:18:53 +08:00
Aparup Banerjee 336c4263e9 Merge branch 'MDL-25695-21' of https://github.com/mackensen/moodle into MOODLE_21_STABLE 2012-05-15 11:09:13 +08:00
Adrian Greeve 1c8dbf72b9 MDL-32991 - data - Fix to the context call in the preset page 2012-05-15 09:37:20 +08:00
Dan Marsden 8254d87d66 MDL-32794 SCORM prevent items in tree that have no navigation from triggering a navigation change. 2012-05-15 09:37:24 +12:00
Eric Merrill 33641c3873 MDL-32985 cron: don't execute notify_login_failures unnecessarily 2012-05-14 11:42:20 -04:00
Dan Poltawski 0375701522 MDL-32714 workshop - fix broken unit tests
Using a quick and dirty recordset mock. Thanks to Eloy for the
brainpower.
2012-05-14 22:19:03 +08:00
Dan Poltawski 53ce4f035e Merge branch 'MDL-32863_21' of git://github.com/jonof/moodle into MOODLE_21_STABLE 2012-05-14 20:49:19 +08:00
Dan Poltawski 6e49419bda Merge branch 'MDL-31719_M21' of git://github.com/lazydaisy/moodle into MOODLE_21_STABLE 2012-05-14 15:53:30 +08:00
Dan Poltawski 5701bc74a0 Merge branch 'MDL-24401_m21' of git://github.com/rwijaya/moodle into MOODLE_21_STABLE 2012-05-14 14:12:46 +08:00
Dan Poltawski 821e713503 Merge branch 'w20_MDL-32915_m21_chatdiv' of git://github.com/skodak/moodle into MOODLE_21_STABLE 2012-05-14 14:06:59 +08:00
Dan Poltawski 51c048b088 Merge branch 'wip-MDL-32872-m21' of git://github.com/samhemelryk/moodle into MOODLE_21_STABLE 2012-05-14 14:01:08 +08:00
Dan Poltawski 5f70593f94 Merge branch 'wip-MDL-32611-m21' of git://github.com/samhemelryk/moodle into MOODLE_21_STABLE 2012-05-14 13:13:11 +08:00
Jonathon Fowler 790f68fd92 MDL-32863 question: fix for Oracle ambiguous column error 2012-05-14 12:53:29 +10:00
Dan Poltawski ac6f7b2c96 Merge branch 'MDL-32714-rubric_21' of git://github.com/mudrd8mz/moodle into MOODLE_21_STABLE 2012-05-14 10:42:00 +08:00
Andrew Robert Nicols 2fe83e04d9 MDL-32340 Improve performance of calendar selection 2012-05-14 14:09:20 +12:00
Adrian Greeve d4d88ffd73 MDL-32126 - data - backport of advanced search re-write 2012-05-14 08:33:18 +08:00
Sam Hemelryk 2fd2edb032 MDL-32611 editcategory: Fixed up navigation error. 2012-05-14 09:17:12 +12:00
Sam Hemelryk 7f51f30e2e MDL-32872 tool_roles: Fixed up navigation on user roles page 2012-05-14 08:53:49 +12:00
Mary Evans 0cd4a6158d MDL-29399 theme_boxxie: fixes page-mod-assignment-view when editing 2012-05-13 17:03:56 +01:00
Mary Evans 2198d7f43c MDL-31719 lang/en/admin.php: changes text in $string['configallowthemechangeonurl'] to make less ambiguous 2012-05-13 15:24:45 +01:00
Petr Skoda 6244096bee MDL-32915 fix bogus open div in basic chat ui 2012-05-13 10:26:24 +02:00
David Mudrak 6e7e184571 MDL-32714 workshop: fixed SQL to load assessment form fields
Obvious problems emerged once there were some records in the
workshopform_rubric table with no workshopform_rubric_levels. As l.id
(empty in that case) was used as the key of the returned array, they all
were collapsed into a single one.
2012-05-12 10:26:36 +02:00
Tim Hunt 45cadecc2a MDL-32633 quiz editing: recreate grade item when max changed from 0 2012-05-11 20:10:40 +01:00
Dan Poltawski f8bed0f642 MDL-31458 forum: email subjects containing ampersand are sent as &amp; 2012-05-11 15:30:56 +08:00
Tim Hunt 6fe7f2f198 MDL-31393 qtype_essay upgrade: save old question_answers.feebdack 2012-05-09 15:13:29 +01:00
Charles Fulton 36a8da6e85 MDL-32861 filemanager: respect course upload limit 2012-05-09 05:07:49 -07:00
Rossiani Wijaya 57284445ea MDL-24401: fixed string for adding content page 2012-05-09 14:34:07 +08:00
Charles Fulton e8a2fa86aa MDL-26277 grade import: validate file pointer before reading 2012-05-06 20:33:26 -07:00
Tim Hunt c3574e4f10 MDL-31814 question bank: fix possible error with sort columns. 2012-05-04 17:30:21 +01:00
Aaron Barnes 4ef74c4834 MDL-32203 completion: Fix issues with data object where clauses 2012-05-04 15:05:48 +12:00
Charles Fulton e9eb08bef7 MDL-25695 wiki: enable anchor tags 2012-04-20 12:52:05 -07:00
580 changed files with 3418 additions and 1583 deletions
+1 -1
View File
@@ -99,7 +99,7 @@ function bloglevelupgrade_entries($blogentries, $forum, $cm, $groupid=-1) {
$discussion->groupid = $groupid;
$message = '';
$discussionid = forum_add_discussion($discussion, null, $message);
$discussionid = forum_add_discussion($discussion, null, $message, $blogentry->userid);
// Copy file attachment records
$fs = get_file_storage();
+4 -20
View File
@@ -214,11 +214,7 @@
</FEEDBACK>
</UNICODE>
<DATABASE level="required">
<VENDOR name="mysql" version="5.0.25">
<FEEDBACK>
<ON_ERROR message="mysql416required" />
</FEEDBACK>
</VENDOR>
<VENDOR name="mysql" version="5.0.25" />
<VENDOR name="postgres" version="8.3" />
<VENDOR name="mssql" version="9.0" />
<VENDOR name="odbc_mssql" version="9.0" />
@@ -335,11 +331,7 @@
</FEEDBACK>
</UNICODE>
<DATABASE level="required">
<VENDOR name="mysql" version="5.0.25">
<FEEDBACK>
<ON_ERROR message="mysql416required" />
</FEEDBACK>
</VENDOR>
<VENDOR name="mysql" version="5.0.25" />
<VENDOR name="postgres" version="8.3" />
<VENDOR name="mssql" version="9.0" />
<VENDOR name="odbc_mssql" version="9.0" />
@@ -449,11 +441,7 @@
</FEEDBACK>
</UNICODE>
<DATABASE level="required">
<VENDOR name="mysql" version="5.0.25">
<FEEDBACK>
<ON_ERROR message="mysql416required" />
</FEEDBACK>
</VENDOR>
<VENDOR name="mysql" version="5.0.25" />
<VENDOR name="postgres" version="8.3" />
<VENDOR name="mssql" version="9.0" />
<VENDOR name="odbc_mssql" version="9.0" />
@@ -563,11 +551,7 @@
</FEEDBACK>
</UNICODE>
<DATABASE level="required">
<VENDOR name="mysql" version="5.0.25">
<FEEDBACK>
<ON_ERROR message="mysql416required" />
</FEEDBACK>
</VENDOR>
<VENDOR name="mysql" version="5.1.33" />
<VENDOR name="postgres" version="8.3" />
<VENDOR name="mssql" version="9.0" />
<VENDOR name="odbc_mssql" version="9.0" />
+11 -5
View File
@@ -54,6 +54,17 @@ if (!$canview) {
print_error('nopermissions', 'error', '', get_string('checkpermissions', 'role'));
}
if ($userid != $USER->id) {
// If its not the current user we need to extend the navigation for that user to ensure
// their navigation is loaded and this page found upon it.
$PAGE->navigation->extend_for_user($user);
}
if ($course->id != $SITE->id || $userid != $USER->id) {
// If we're within a course OR if we're viewing another user then we need to include the
// settings base on the navigation to ensure that the navbar will contain the users name.
$PAGE->navbar->includesettingsbase = true;
}
/// Now get the role assignments for this user.
$sql = "SELECT
ra.id, ra.userid, ra.contextid, ra.roleid, ra.component, ra.itemid,
@@ -119,14 +130,9 @@ $title = get_string('xroleassignments', 'role', $fullname);
$PAGE->set_title($title);
if ($courseid != SITEID) {
$PAGE->set_heading($fullname);
if (has_capability('moodle/course:viewparticipants', $coursecontext)) {
$PAGE->navbar->add(get_string('participants'),new moodle_url('/user/index.php', array('id'=>$courseid)));
}
} else {
$PAGE->set_heading($course->fullname);
}
$PAGE->navbar->add($fullname, new moodle_url("$CFG->wwwroot/user/view.php", array('id'=>$userid,'course'=>$courseid)));
$PAGE->navbar->add($straction);
echo $OUTPUT->header();
echo $OUTPUT->heading($title, 3);
echo $OUTPUT->box_start('generalbox boxaligncenter boxwidthnormal');
+1 -1
View File
@@ -77,7 +77,7 @@ if (!during_initial_install()) { //do not use during installation
$ADMIN->add('frontpage', new admin_externalpage('frontpagebackup', get_string('frontpagebackup', 'admin'), $CFG->wwwroot.'/backup/backup.php?id='.SITEID, 'moodle/backup:backupcourse', false, $frontpagecontext));
$ADMIN->add('frontpage', new admin_externalpage('frontpagerestore', get_string('frontpagerestore', 'admin'), $CFG->wwwroot.'/files/index.php?id='.SITEID.'&amp;wdir=/backupdata', 'moodle/restore:restorecourse', false, $frontpagecontext));
$ADMIN->add('frontpage', new admin_externalpage('frontpagerestore', get_string('frontpagerestore', 'admin'), $CFG->wwwroot.'/backup/restorefile.php?contextid='.$frontpagecontext->id, 'moodle/restore:restorecourse', false, $frontpagecontext));
$questioncapabilities = array(
'moodle/question:add',
+3 -1
View File
@@ -9,6 +9,9 @@
$zone = clean_param($zone, PARAM_PATH);
}
$PAGE->set_url('/admin/timezone.php');
$PAGE->set_context(get_context_instance(CONTEXT_SYSTEM));
require_login();
require_capability('moodle/site:config', get_context_instance(CONTEXT_SYSTEM));
@@ -18,7 +21,6 @@
$strusers = get_string("users");
$strall = get_string("all");
$PAGE->set_url('/admin/timezone.php');
$PAGE->set_title($strtimezone);
$PAGE->set_heading($strtimezone);
$PAGE->navbar->add($strtimezone);
+3 -2
View File
@@ -33,8 +33,9 @@ $PAGE->set_title("$site->fullname: $loginsite");
$PAGE->set_heading($site->fullname);
echo $OUTPUT->header();
// $PAGE->https_required() up above takes care of what $CFG->httpswwwroot should be.
$msg = '<p>'.get_string('ntlmsso_attempting', 'auth_ldap').'</p>'
. '<img width="1", height="1" '
. ' src="' . $CFG->wwwroot . '/auth/ldap/ntlmsso_magic.php?sesskey='
. ' src="' . $CFG->httpswwwroot . '/auth/ldap/ntlmsso_magic.php?sesskey='
. $sesskey . '" />';
redirect($CFG->wwwroot . '/auth/ldap/ntlmsso_finish.php', $msg, 3);
redirect($CFG->httpswwwroot . '/auth/ldap/ntlmsso_finish.php', $msg, 3);
+2 -1
View File
@@ -29,7 +29,8 @@ $file = $CFG->dirroot.'/pix/spacer.gif';
if ($authplugin->ntlmsso_magic($sesskey) && file_exists($file)) {
if (!empty($authplugin->config->ntlmsso_ie_fastpath)) {
if (check_browser_version('MSIE')) {
redirect($CFG->wwwroot.'/auth/ldap/ntlmsso_finish.php');
// $PAGE->https_required() up above takes care of what $CFG->httpswwwroot should be.
redirect($CFG->httpswwwroot.'/auth/ldap/ntlmsso_finish.php');
}
}
+4 -4
View File
@@ -44,17 +44,17 @@ $PAGE->https_required();
// Redirect to SessionInitiator with entityID as argument
if (isset($IdPs[$selectedIdP][1]) && !empty($IdPs[$selectedIdP][1])) {
// For Shibbolet 1.x Service Providers
header('Location: '.$IdPs[$selectedIdP][1].'?providerId='. urlencode($selectedIdP) .'&target='. urlencode($CFG->wwwroot.'/auth/shibboleth/index.php'));
header('Location: '.$IdPs[$selectedIdP][1].'?providerId='. urlencode($selectedIdP) .'&target='. urlencode($CFG->httpswwwroot.'/auth/shibboleth/index.php'));
// For Shibbolet 2.x Service Providers
// header('Location: '.$IdPs[$selectedIdP][1].'?entityID='. urlencode($selectedIdP) .'&target='. urlencode($CFG->wwwroot.'/auth/shibboleth/index.php'));
// header('Location: '.$IdPs[$selectedIdP][1].'?entityID='. urlencode($selectedIdP) .'&target='. urlencode($CFG->httpswwwroot.'/auth/shibboleth/index.php'));
} else {
// For Shibbolet 1.x Service Providers
header('Location: /Shibboleth.sso?providerId='. urlencode($selectedIdP) .'&target='. urlencode($CFG->wwwroot.'/auth/shibboleth/index.php'));
header('Location: /Shibboleth.sso?providerId='. urlencode($selectedIdP) .'&target='. urlencode($CFG->httpswwwroot.'/auth/shibboleth/index.php'));
// For Shibboleth 2.x Service Providers
// header('Location: /Shibboleth.sso/DS?entityID='. urlencode($selectedIdP) .'&target='. urlencode($CFG->wwwroot.'/auth/shibboleth/index.php'));
// header('Location: /Shibboleth.sso/DS?entityID='. urlencode($selectedIdP) .'&target='. urlencode($CFG->httpswwwroot.'/auth/shibboleth/index.php'));
}
} elseif (isset($_POST['idp']) && !isset($IdPs[$_POST['idp']])) {
$errormsg = get_string('auth_shibboleth_errormsg', 'auth_shibboleth');
+1 -1
View File
@@ -62,7 +62,7 @@ switch ($type) {
case backup::TYPE_1SECTION :
$coursecontext = get_context_instance(CONTEXT_COURSE, $course->id);
require_capability('moodle/backup:backupsection', $coursecontext);
if (!empty($section->name)) {
if ((string)$section->name !== '') {
$sectionname = format_string($section->name, true, array('context' => $coursecontext));
$heading = get_string('backupsection', 'backup', $sectionname);
$PAGE->navbar->add($sectionname);
+8 -1
View File
@@ -640,7 +640,10 @@ class moodle1_converter extends base_converter {
return $files;
}
foreach ($matches[2] as $match) {
$files[] = str_replace(array('$@FILEPHP@$', '$@SLASH@$', '$@FORCEDOWNLOAD@$'), array('', '/', ''), $match);
$file = str_replace(array('$@FILEPHP@$', '$@SLASH@$', '$@FORCEDOWNLOAD@$'), array('', '/', ''), $match);
if ($file === clean_param($file, PARAM_PATH)) {
$files[] = rawurldecode($file);
}
}
return array_unique($files);
@@ -1205,6 +1208,10 @@ class moodle1_file_manager implements loggable {
$sourcefullpath = $this->basepath.'/'.$sourcepath;
if ($sourcefullpath !== clean_param($sourcefullpath, PARAM_PATH)) {
throw new moodle1_convert_exception('file_invalid_path', $sourcefullpath);
}
if (!is_readable($sourcefullpath)) {
throw new moodle1_convert_exception('file_not_readable', $sourcefullpath);
}
@@ -260,6 +260,15 @@ class moodle1_converter_test extends UnitTestCase {
$fileids = $fileman->get_fileids();
$this->assertIsA($fileids, 'array');
$this->assertEqual(0, count($fileids));
// try to migrate an invalid file
$fileman->itemid = 1;
$thrown = false;
try {
$fileman->migrate_file('/../../../../../../../../../../../../../../etc/passwd');
} catch (moodle1_convert_exception $e) {
$thrown = true;
}
$this->assertTrue($thrown);
// migrate a single file
$fileman->itemid = 4;
$fileman->migrate_file('moddata/unittest/4/icon.gif');
@@ -421,6 +430,8 @@ class moodle1_converter_test extends UnitTestCase {
$text = 'This is a text containing links to file.php
as it is parsed from the backup file. <br /><br /><img border="0" width="110" vspace="0" hspace="0" height="92" title="News" alt="News" src="$@FILEPHP@$$@SLASH@$pics$@SLASH@$news.gif" /><a href="$@FILEPHP@$$@SLASH@$pics$@SLASH@$news.gif$@FORCEDOWNLOAD@$">download image</a><br />
<div><a href=\'$@FILEPHP@$/../../../../../../../../../../../../../../../etc/passwd\'>download passwords</a></div>
<div><a href=\'$@FILEPHP@$$@SLASH@$..$@SLASH@$..$@SLASH@$..$@SLASH@$..$@SLASH@$..$@SLASH@$..$@SLASH@$..$@SLASH@$..$@SLASH@$..$@SLASH@$..$@SLASH@$..$@SLASH@$..$@SLASH@$..$@SLASH@$..$@SLASH@$..$@SLASH@$etc$@SLASH@$shadow\'>download shadows</a></div>
<br /><a href=\'$@FILEPHP@$$@SLASH@$MANUAL.DOC$@FORCEDOWNLOAD@$\'>download manual</a><br />';
$files = moodle1_converter::find_referenced_files($text);
@@ -432,6 +443,8 @@ as it is parsed from the backup file. <br /><br /><img border="0" width="110" vs
$text = moodle1_converter::rewrite_filephp_usage($text, array('/pics/news.gif', '/another/file/notused.txt'), $files);
$this->assertEqual($text, 'This is a text containing links to file.php
as it is parsed from the backup file. <br /><br /><img border="0" width="110" vspace="0" hspace="0" height="92" title="News" alt="News" src="@@PLUGINFILE@@/pics/news.gif" /><a href="@@PLUGINFILE@@/pics/news.gif?forcedownload=1">download image</a><br />
<div><a href=\'$@FILEPHP@$/../../../../../../../../../../../../../../../etc/passwd\'>download passwords</a></div>
<div><a href=\'$@FILEPHP@$$@SLASH@$..$@SLASH@$..$@SLASH@$..$@SLASH@$..$@SLASH@$..$@SLASH@$..$@SLASH@$..$@SLASH@$..$@SLASH@$..$@SLASH@$..$@SLASH@$..$@SLASH@$..$@SLASH@$..$@SLASH@$..$@SLASH@$..$@SLASH@$etc$@SLASH@$shadow\'>download shadows</a></div>
<br /><a href=\'$@FILEPHP@$$@SLASH@$MANUAL.DOC$@FORCEDOWNLOAD@$\'>download manual</a><br />');
}
+31 -21
View File
@@ -206,21 +206,25 @@ class restore_gradebook_structure_step extends restore_structure_step {
global $DB;
$data = (object)$data;
$oldid = $data->id;
$olduserid = $data->userid;
$data->itemid = $this->get_new_parentid('grade_item');
$data->userid = $this->get_mappingid('user', $data->userid, NULL);
$data->usermodified = $this->get_mappingid('user', $data->usermodified, NULL);
$data->locktime = $this->apply_date_offset($data->locktime);
// TODO: Ask, all the rest of locktime/exported... work with time... to be rolled?
$data->overridden = $this->apply_date_offset($data->overridden);
$data->timecreated = $this->apply_date_offset($data->timecreated);
$data->timemodified = $this->apply_date_offset($data->timemodified);
$data->userid = $this->get_mappingid('user', $data->userid, null);
if (!empty($data->userid)) {
$data->usermodified = $this->get_mappingid('user', $data->usermodified, null);
$data->locktime = $this->apply_date_offset($data->locktime);
// TODO: Ask, all the rest of locktime/exported... work with time... to be rolled?
$data->overridden = $this->apply_date_offset($data->overridden);
$data->timecreated = $this->apply_date_offset($data->timecreated);
$data->timemodified = $this->apply_date_offset($data->timemodified);
$newitemid = $DB->insert_record('grade_grades', $data);
//$this->set_mapping('grade_grade', $oldid, $newitemid);
$newitemid = $DB->insert_record('grade_grades', $data);
} else {
debugging("Mapped user id not found for user id '{$olduserid}', grade item id '{$data->itemid}'");
}
}
protected function process_grade_category($data) {
global $DB;
@@ -1023,7 +1027,7 @@ class restore_section_structure_step extends restore_structure_step {
// Section exists, update non-empty information
} else {
$section->id = $secrec->id;
if (empty($secrec->name)) {
if ((string)$secrec->name === '') {
$section->name = $data->name;
}
if (empty($secrec->summary)) {
@@ -2040,18 +2044,24 @@ class restore_activity_grades_structure_step extends restore_structure_step {
protected function process_grade_grade($data) {
$data = (object)($data);
$olduserid = $data->userid;
unset($data->id);
$data->itemid = $this->get_new_parentid('grade_item');
$data->userid = $this->get_mappingid('user', $data->userid);
$data->usermodified = $this->get_mappingid('user', $data->usermodified);
$data->rawscaleid = $this->get_mappingid('scale', $data->rawscaleid);
// TODO: Ask, all the rest of locktime/exported... work with time... to be rolled?
$data->overridden = $this->apply_date_offset($data->overridden);
$grade = new grade_grade($data, false);
$grade->insert('restore');
// no need to save any grade_grade mapping
$data->itemid = $this->get_new_parentid('grade_item');
$data->userid = $this->get_mappingid('user', $data->userid, null);
if (!empty($data->userid)) {
$data->usermodified = $this->get_mappingid('user', $data->usermodified, null);
$data->rawscaleid = $this->get_mappingid('scale', $data->rawscaleid);
// TODO: Ask, all the rest of locktime/exported... work with time... to be rolled?
$data->overridden = $this->apply_date_offset($data->overridden);
$grade = new grade_grade($data, false);
$grade->insert('restore');
// no need to save any grade_grade mapping
} else {
debugging("Mapped user id not found for user id '{$olduserid}', grade item id '{$data->itemid}'");
}
}
/**
@@ -139,7 +139,7 @@ abstract class backup_factory {
throw new backup_task_exception('section_task_section_not_found', $sectionid);
}
return new backup_section_task(empty($section->name) ? $section->section : $section->name, $sectionid);
return new backup_section_task((string)$section->name === '' ? $section->section : $section->name, $sectionid);
}
/**
+25 -16
View File
@@ -281,23 +281,25 @@ abstract class backup_cron_automated_helper {
$midnight = usergetmidnight($now, $timezone);
$date = usergetdate($now, $timezone);
//Get number of days (from today) to execute backups
$automateddays = substr($config->backup_auto_weekdays,$date['wday']) . $config->backup_auto_weekdays;
$daysfromtoday = strpos($automateddays, "1");
// Get number of days (from today) to execute backups
$automateddays = substr($config->backup_auto_weekdays, $date['wday']) . $config->backup_auto_weekdays;
$daysfromtoday = strpos($automateddays, "1", 1);
// If we can't find the next day, we set it to tomorrow
if (empty($daysfromtoday)) {
$daysfromtoday = 1;
}
//If some day has been found
// If some day has been found
if ($daysfromtoday !== false) {
//Calculate distance
$dist = ($daysfromtoday * 86400) + //Days distance
($config->backup_auto_hour * 3600) + //Hours distance
($config->backup_auto_minute * 60); //Minutes distance
// Calculate distance
$dist = ($daysfromtoday * 86400) + // Days distance
($config->backup_auto_hour * 3600) + // Hours distance
($config->backup_auto_minute * 60); // Minutes distance
$result = $midnight + $dist;
}
//If that time is past, call the function recursively to obtain the next valid day
// If that time is past, call the function recursively to obtain the next valid day
if ($result > 0 && $result < time()) {
$result = self::calculate_next_automated_backup($timezone, $result);
}
@@ -315,6 +317,7 @@ abstract class backup_cron_automated_helper {
*/
public static function launch_automated_backup($course, $starttime, $userid) {
$outcome = true;
$config = get_config('backup');
$bc = new backup_controller(backup::TYPE_1COURSE, $course->id, backup::FORMAT_MOODLE, backup::INTERACTIVE_NO, backup::MODE_AUTOMATED, $userid);
@@ -347,15 +350,15 @@ abstract class backup_cron_automated_helper {
$bc->set_status(backup::STATUS_AWAITING);
$outcome = $bc->execute_plan();
$bc->execute_plan();
$results = $bc->get_results();
$file = $results['backup_destination'];
$file = $results['backup_destination']; // may be empty if file already moved to target location
$dir = $config->backup_auto_destination;
$storage = (int)$config->backup_auto_storage;
if (!file_exists($dir) || !is_dir($dir) || !is_writable($dir)) {
$dir = null;
}
if (!empty($dir) && $storage !== 0) {
if ($file && !empty($dir) && $storage !== 0) {
$filename = backup_plan_dbops::get_default_backup_filename($format, $type, $course->id, $users, $anonymised, !$config->backup_shortname);
$outcome = $file->copy_content_to($dir.'/'.$filename);
if ($outcome && $storage === 1) {
@@ -363,16 +366,17 @@ abstract class backup_cron_automated_helper {
}
}
$outcome = true;
} catch (backup_exception $e) {
$bc->log('backup_auto_failed_on_course', backup::LOG_WARNING, $course->shortname);
} catch (moodle_exception $e) {
$bc->log('backup_auto_failed_on_course', backup::LOG_ERROR, $course->shortname); // Log error header.
$bc->log('Exception: ' . $e->errorcode, backup::LOG_ERROR, $e->a, 1); // Log original exception problem.
$bc->log('Debug: ' . $e->debuginfo, backup::LOG_DEBUG, null, 1); // Log original debug information.
$outcome = false;
}
$bc->destroy();
unset($bc);
return true;
return $outcome;
}
/**
@@ -459,6 +463,11 @@ abstract class backup_cron_automated_helper {
$storage = $config->backup_auto_storage;
$dir = $config->backup_auto_destination;
if ($keep == 0) {
// means keep all backup files
return true;
}
$backupword = str_replace(' ', '_', moodle_strtolower(get_string('backupfilename')));
$backupword = trim(clean_filename($backupword), '_');
+39 -2
View File
@@ -176,8 +176,17 @@ abstract class backup_helper {
/**
* Given one backupid and the (FS) final generated file, perform its final storage
* into Moodle file storage. For stored files it returns the complete file_info object
*
* Note: the $filepath is deleted if the backup file is created successfully
*
* @param int $backupid
* @param string $filepath zip file containing the backup
* @return stored_file if created, null otherwise
*
* @throws moodle_exception in case of any problems
*/
static public function store_backup_file($backupid, $filepath) {
global $CFG;
// First of all, get some information from the backup_controller to help us decide
list($dinfo, $cinfo, $sinfo) = backup_controller_dbops::get_moodle_backup_information($backupid);
@@ -191,6 +200,7 @@ abstract class backup_helper {
$userid = $dinfo[0]->userid; // User->id executing the backup
$id = $dinfo[0]->id; // Id of activity/section/course (depends of type)
$courseid = $dinfo[0]->courseid; // Id of the course
$format = $dinfo[0]->format; // Type of backup file
// Quick hack. If for any reason, filename is blank, fix it here.
// TODO: This hack will be out once MDL-22142 - P26 gets fixed
@@ -200,7 +210,13 @@ abstract class backup_helper {
// Backups of type IMPORT aren't stored ever
if ($backupmode == backup::MODE_IMPORT) {
return false;
return null;
}
if (!is_readable($filepath)) {
// we have a problem if zip file does not exist
throw new coding_exception('backup_helper::store_backup_file() expects valid $filepath parameter');
}
// Calculate file storage options of id being backup
@@ -232,6 +248,25 @@ abstract class backup_helper {
if ($backupmode == backup::MODE_AUTOMATED) {
// Automated backups have there own special area!
$filearea = 'automated';
// If we're keeping the backup only in a chosen path, just move it there now
// this saves copying from filepool to here later and filling trashdir.
$config = get_config('backup');
$dir = $config->backup_auto_destination;
if ($config->backup_auto_storage == 1 and $dir and is_dir($dir) and is_writable($dir)) {
$filedest = $dir.'/'.backup_plan_dbops::get_default_backup_filename($format, $backuptype, $courseid, $hasusers, $isannon, !$config->backup_shortname);
// first try to move the file, if it is not possible copy and delete instead
if (@rename($filepath, $filedest)) {
return null;
}
umask(0000);
if (copy($filepath, $filedest)) {
@chmod($filedest, $CFG->filepermissions); // may fail because the permissions may not make sense outside of dataroot
unlink($filepath);
return null;
}
// bad luck, try to deal with the file the old way - keep backup in file area if we can not copy to ext system
}
}
// Backups of type HUB (by definition never have user info)
@@ -275,7 +310,9 @@ abstract class backup_helper {
$sf = $fs->get_file_by_hash($pathnamehash);
$sf->delete();
}
return $fs->create_file_from_pathname($fr, $filepath);
$file = $fs->create_file_from_pathname($fr, $filepath);
unlink($filepath);
return $file;
}
/**
+1 -1
View File
@@ -129,7 +129,7 @@ class base_setting_ui {
* @param string $label
*/
public function set_label($label) {
if (empty($label) || $label !== clean_param($label, PARAM_TEXT)) {
if ((string)$label === '' || $label !== clean_param($label, PARAM_TEXT)) {
throw new base_setting_ui_exception('setting_invalid_ui_label');
}
$this->label = $label;
@@ -168,7 +168,7 @@ class block_completionstatus extends block_base {
$a = new stdClass();
$a->first = $prerequisites_complete;
$a->second = count($prerequisites);
$shtml .= get_string('firstofsecond', 'block_completionstatus', $a);
$phtml .= get_string('firstofsecond', 'block_completionstatus', $a);
$phtml .= '</td></tr>';
$shtml = $phtml . $shtml;
+9 -9
View File
@@ -4,7 +4,7 @@ if (is_file($CFG->dirroot.'/mod/feedback/lib.php')) {
define('FEEDBACK_BLOCK_LIB_IS_OK', true);
}
class block_feedback extends block_base {
class block_feedback extends block_list {
function init() {
$this->title = get_string('feedback', 'block_feedback');
@@ -21,10 +21,13 @@ class block_feedback extends block_base {
return $this->content;
}
$this->content = new stdClass;
$this->content->items = array();
$this->content->icons = array();
$this->content->footer = '';
if (!defined('FEEDBACK_BLOCK_LIB_IS_OK')) {
$this->content = new stdClass;
$this->content->text = get_string('missing_feedback_module', 'block_feedback');
$this->content->footer = '';
$this->content->items = array(get_string('missing_feedback_module', 'block_feedback'));
return $this->content;
}
@@ -33,9 +36,7 @@ class block_feedback extends block_base {
$courseid = SITEID;
}
$this->content = new stdClass;
$this->content->text = '';
$this->content->footer = '';
$icon = '<img src="'.$OUTPUT->pix_url('icon', 'feedback') . '" class="icon" alt="" />';
if (empty($this->instance->pageid)) {
@@ -47,8 +48,7 @@ class block_feedback extends block_base {
foreach ($feedbacks as $feedback) {
$url = new moodle_url($baseurl);
$url->params(array('id'=>$feedback->cmid, 'courseid'=>$courseid));
$icon = '<img src="'.$OUTPUT->pix_url('icon', 'feedback') . '" class="icon" alt="" />&nbsp;';
$this->content->text = ' <a href="'.$url->out().'">'.$icon.$feedback->name.'</a>';
$this->content->items[] = '<a href="'.$url->out().'">'.$icon.$feedback->name.'</a>';
}
}
+5
View File
@@ -104,6 +104,11 @@ function blog_rss_get_params($filters) {
function blog_rss_get_feed($context, $args) {
global $CFG, $SITE, $DB;
if (empty($CFG->bloglevel)) {
debugging('Blogging disabled on this site, RSS feeds are not available');
return null;
}
if (empty($CFG->enablerssfeeds)) {
debugging('Sorry, RSS feeds are disabled on this site');
return '';
+4 -1
View File
@@ -121,7 +121,10 @@ echo $OUTPUT->box_end();
// Print the event so that people can visually confirm they have the correct event
$event->time = calendar_format_event_time($event, time(), null, false);
calendar_print_event($event, false);
$renderer = $PAGE->get_renderer('core_calendar');
echo $renderer->start_layout();
echo $renderer->event($event);
echo $renderer->complete_layout();
echo $OUTPUT->box_end();
echo $OUTPUT->footer();
+36 -23
View File
@@ -209,7 +209,6 @@ function calendar_get_mini($courses, $groups, $users, $cal_month = false, $cal_y
$days_title = calendar_get_days();
$summary = get_string('calendarheading', 'calendar', userdate(make_timestamp($y, $m), get_string('strftimemonthyear')));
$summary = get_string('tabledata', 'access', $summary);
$content .= '<table class="minicalendar calendartable" summary="'.$summary.'">'; // Begin table
$content .= '<tr class="weekdays">'; // Header row: day names
@@ -1237,6 +1236,10 @@ function calendar_set_filters(array $courseeventsfrom, $ignorefilters = false) {
$user = false;
$group = false;
// capabilities that allow seeing group events from all groups
// TODO: rewrite so that moodle/calendar:manageentries is not necessary here
$allgroupscaps = array('moodle/site:accessallgroups', 'moodle/calendar:manageentries');
$isloggedin = isloggedin();
if ($ignorefilters || calendar_show_event_type(CALENDAR_EVENT_COURSE)) {
@@ -1262,26 +1265,35 @@ function calendar_set_filters(array $courseeventsfrom, $ignorefilters = false) {
if (!empty($courseeventsfrom) && (calendar_show_event_type(CALENDAR_EVENT_GROUP) || $ignorefilters)) {
if (!empty($CFG->calendar_adminseesall) && has_capability('moodle/calendar:manageentries', get_system_context())) {
$group = true;
} else if ($isloggedin) {
$groupids = array();
// We already have the courses to examine in $courses
// For each course...
foreach ($courseeventsfrom as $courseid => $course) {
// If the user is an editing teacher in there,
if (!empty($USER->groupmember[$course->id])) {
// We've already cached the users groups for this course so we can just use that
$groupids = array_merge($groupids, $USER->groupmember[$course->id]);
} else if (($course->groupmode != NOGROUPS || !$course->groupmodeforce) && has_capability('moodle/calendar:manageentries', get_context_instance(CONTEXT_COURSE, $course->id))) {
// If this course has groups, show events from all of them
$coursegroups = groups_get_user_groups($course->id, $USER->id);
$groupids = array_merge($groupids, $coursegroups['0']);
}
if (count($courseeventsfrom)==1) {
$course = reset($courseeventsfrom);
if (has_any_capability($allgroupscaps, get_context_instance(CONTEXT_COURSE, $course->id))) {
$coursegroups = groups_get_all_groups($course->id, 0, 0, 'g.id');
$group = array_keys($coursegroups);
}
if (!empty($groupids)) {
$group = $groupids;
}
if ($group === false) {
if (!empty($CFG->calendar_adminseesall) && has_any_capability($allgroupscaps, get_system_context())) {
$group = true;
} else if ($isloggedin) {
$groupids = array();
// We already have the courses to examine in $courses
// For each course...
foreach ($courseeventsfrom as $courseid => $course) {
// If the user is an editing teacher in there,
if (!empty($USER->groupmember[$course->id])) {
// We've already cached the users groups for this course so we can just use that
$groupids = array_merge($groupids, $USER->groupmember[$course->id]);
} else if ($course->groupmode != NOGROUPS || !$course->groupmodeforce) {
// If this course has groups, show events from all of those related to the current user
$coursegroups = groups_get_user_groups($course->id, $USER->id);
$groupids = array_merge($groupids, $coursegroups['0']);
}
}
if (!empty($groupids)) {
$group = $groupids;
}
}
}
}
@@ -1351,10 +1363,11 @@ function calendar_get_default_courses() {
$courses = array();
if (!empty($CFG->calendar_adminseesall) && has_capability('moodle/calendar:manageentries', get_context_instance(CONTEXT_SYSTEM))) {
list ($select, $join) = context_instance_preload_sql('c.id', CONTEXT_COURSE, 'ctx');
$sql = "SELECT DISTINCT c.* $select
$sql = "SELECT c.* $select
FROM {course} c
JOIN {event} e ON e.courseid = c.id
$join";
$join
WHERE EXISTS (SELECT 1 FROM {event} e WHERE e.courseid = c.id)
";
$courses = $DB->get_records_sql($sql, null, 0, 20);
foreach ($courses as $course) {
context_instance_preload($course);
+1 -1
View File
@@ -49,7 +49,7 @@ class cohort_edit_form extends moodleform {
$mform->addElement('select', 'contextid', get_string('context', 'role'), $options);
$mform->addElement('text', 'idnumber', get_string('idnumber', 'cohort'), 'maxlength="254" size="50"');
$mform->setType('name', PARAM_RAW); // idnumbers are plain text, must not be changed
$mform->setType('idnumber', PARAM_RAW); // idnumbers are plain text, must not be changed
$mform->addElement('editor', 'description_editor', get_string('description', 'cohort'), null, $editoroptions);
$mform->setType('description_editor', PARAM_RAW);
+3
View File
@@ -385,6 +385,9 @@ bodyContent: '<div class="comment-delete-confirm"><a href="#" id="confirmdelete-
},
toggle_textarea: function(focus) {
var t = Y.one('#dlg-content-'+this.client_id);
if (!t) {
return false;
}
if (focus) {
if (t.get('value') == M.str.moodle.addcomment) {
t.set('value', '');
+18 -26
View File
@@ -103,56 +103,48 @@ if ($form->is_cancelled()){
// Handle aggregation methods
// Overall aggregation
$aggregation = new completion_aggregation();
$aggregation->course = $data->id;
$aggregation->criteriatype = null;
$aggdata = array(
'course' => $data->id,
'criteriatype' => null
);
$aggregation = new completion_aggregation($aggdata);
$aggregation->setMethod($data->overall_aggregation);
$aggregation->insert();
$aggregation->save();
// Activity aggregation
if (empty($data->activity_aggregation)) {
$data->activity_aggregation = 0;
}
$aggregation = new completion_aggregation();
$aggregation->course = $data->id;
$aggregation->criteriatype = COMPLETION_CRITERIA_TYPE_ACTIVITY;
$aggdata['criteriatype'] = COMPLETION_CRITERIA_TYPE_ACTIVITY;
$aggregation = new completion_aggregation($aggdata);
$aggregation->setMethod($data->activity_aggregation);
$aggregation->insert();
$aggregation->save();
// Course aggregation
if (empty($data->course_aggregation)) {
$data->course_aggregation = 0;
}
$aggregation = new completion_aggregation();
$aggregation->course = $data->id;
$aggregation->criteriatype = COMPLETION_CRITERIA_TYPE_COURSE;
$aggdata['criteriatype'] = COMPLETION_CRITERIA_TYPE_COURSE;
$aggregation = new completion_aggregation($aggdata);
$aggregation->setMethod($data->course_aggregation);
$aggregation->insert();
$aggregation->save();
// Role aggregation
if (empty($data->role_aggregation)) {
$data->role_aggregation = 0;
}
$aggregation = new completion_aggregation();
$aggregation->course = $data->id;
$aggregation->criteriatype = COMPLETION_CRITERIA_TYPE_ROLE;
$aggdata['criteriatype'] = COMPLETION_CRITERIA_TYPE_ROLE;
$aggregation = new completion_aggregation($aggdata);
$aggregation->setMethod($data->role_aggregation);
$aggregation->insert();
$aggregation->save();
// Update course total passing grade
if (!empty($data->criteria_grade)) {
if ($grade_item = grade_category::fetch_course_category($course->id)->grade_item) {
$grade_item->gradepass = $data->criteria_grade_value;
if (method_exists($grade_item, 'update')) {
$grade_item->update('course/completion.php');
}
}
}
add_to_log($course->id, 'course', 'completion updated', 'completion.php?id='.$course->id);
redirect($CFG->wwwroot."/course/view.php?id=$course->id", get_string('changessaved'));
$url = new moodle_url('/course/view.php', array('id' => $course->id));
redirect($url);
}
+4 -1
View File
@@ -179,10 +179,13 @@ class course_completion_form extends moodleform {
$criteria->config_form_display($mform);
// Completion on course grade
$mform->addElement('header', 'grade', get_string('grade'));
$mform->addElement('header', 'grade', get_string('coursegrade', 'completion'));
// Grade enable and passing grade
$course_grade = $DB->get_field('grade_items', 'gradepass', array('courseid' => $course->id, 'itemtype' => 'course'));
if (!$course_grade) {
$course_grade = '0.00000';
}
$criteria = new completion_criteria_grade($params);
$criteria->config_form_display($mform, $course_grade);
+7
View File
@@ -85,6 +85,13 @@ if (!empty($course)) {
//editor should respect category context if course context is not set.
$editoroptions['context'] = $catcontext;
$course = file_prepare_standard_editor($course, 'summary', $editoroptions, null, 'course', 'summary', null);
// Set up the default restricted module list
if (!empty($CFG->restrictbydefault)) {
if (!empty($CFG->defaultallowedmodules)) {
$course->allowedmods = explode(',', $CFG->defaultallowedmodules);
}
}
}
// first create the form
+17 -10
View File
@@ -127,18 +127,25 @@ if ($mform->is_cancelled()) {
redirect('category.php?id='.$newcategory->id.'&categoryedit=on');
}
// Unfortunately the navigation never generates correctly for this page because technically
// this page doesn't actually exist on the navigation you get here through the course
// management page.
try {
// First up we'll try to make the course management page active seeing as that is
// where the user thinks they are.
// The big prolem here is that the course management page is a common page
// for both editing users and common users.
$PAGE->settingsnav->get('root')->get('courses')->get('coursemgmt')->make_active();
} catch (Exception $ex) {
// Unfortunately the navigation never generates correctly for this page because technically this page doesn't actually
// exist on the navigation; you get here through the course management page.
// First up we'll try to make the course management page active seeing as that is where the user thinks they are.
// The big prolem here is that the course management page is a common page for both editing users and common users and
// is only added to the admin tree if the user has permission to edit at the system level.
$node = $PAGE->settingsnav->get('root');
if ($node) {
$node = $node->get('courses');
if ($node) {
$node = $node->get('coursemgmt');
}
}
if ($node) {
// The course management page exists so make that active.
$node->make_active();
} else {
// Failing that we'll override the URL, not as accurate and chances are things
// won't be 100% correct all the time but should work most times.
// A common reason to arrive here is having the management capability within only a particular category (not at system level).
navigation_node::override_active_url(new moodle_url('/course/index.php', array('categoryedit' => 'on')));
}
+1 -1
View File
@@ -52,7 +52,7 @@ class moodle_course_external extends external_api {
* @param array $options
* @return array
*/
public static function get_courses($options) {
public static function get_courses($options = array()) {
global $CFG, $DB;
require_once($CFG->dirroot . "/course/lib.php");
+1 -1
View File
@@ -69,7 +69,7 @@ function callback_topics_request_key() {
function callback_topics_get_section_name($course, $section) {
// We can't add a node without any text
if (!empty($section->name)) {
if ((string)$section->name !== '') {
return format_string($section->name, true, array('context' => get_context_instance(CONTEXT_COURSE, $course->id)));
} else if ($section->section == 0) {
return get_string('section0name', 'format_topics');
+1 -1
View File
@@ -76,7 +76,7 @@ function callback_weeks_request_key() {
*/
function callback_weeks_get_section_name($course, $section) {
// We can't add a node without text
if (!empty($section->name)) {
if ((string)$section->name !== '') {
// Return the name the user set
return format_string($section->name, true, array('context' => get_context_instance(CONTEXT_COURSE, $course->id)));
} else if ($section->section == 0) {
+7 -2
View File
@@ -1763,7 +1763,7 @@ function print_section($course, $section, $mods, $modnamesused, $absolute=false,
// see the activity itself, or for staff)
if (!$mod->uservisible) {
echo '<div class="availabilityinfo">'.$mod->availableinfo.'</div>';
} else if ($canviewhidden && !empty($CFG->enableavailability)) {
} else if ($canviewhidden && !empty($CFG->enableavailability) && $mod->visible) {
$ci = new condition_info($mod);
$fullinfo = $ci->get_full_information();
if($fullinfo) {
@@ -2077,6 +2077,11 @@ function get_course_category_tree($id = 0, $depth = 0) {
return array($categories, $categoryids);
}
if (empty($categoryids)) {
// No categories available (probably all hidden).
return array();
}
// The depth is 0 this function has just been called so we can finish it off
list($ccselect, $ccjoin) = context_instance_preload_sql('c.id', CONTEXT_COURSE, 'ctx');
@@ -3773,7 +3778,7 @@ function create_course($data, $editoroptions = NULL) {
fix_course_sortorder();
// update module restrictions
if ($course->restrictmodules) {
if ($course->restrictmodules || $CFG->restrictbydefault ) {
if (isset($data->allowedmods)) {
update_restricted_mods($course, $data->allowedmods);
} else {
+10 -7
View File
@@ -221,7 +221,9 @@ if (!empty($activities)) {
echo $OUTPUT->spacer(array('height'=>30, 'br'=>true)); // should be done with CSS instead
}
echo $OUTPUT->box_start();
echo "<h2>$activity->name</h2>";
if (!empty($activity->name)) {
echo html_writer::tag('h2', $activity->name);
}
$inbox = true;
} else if ($activity->type == 'activity') {
@@ -230,16 +232,17 @@ if (!empty($activities)) {
$cm = $modinfo->cms[$activity->cmid];
if ($cm->visible) {
$linkformat = '';
$class = '';
} else {
$linkformat = 'class="dimmed"';
$class = 'dimmed';
}
$name = format_string($cm->name);
$modfullname = $modnames[$cm->modname];
$image = "<img src=\"" . $OUTPUT->pix_url('icon', $cm->modname) . "\" class=\"icon\" alt=\"$modfullname\" />";
echo "<h3>$image $modfullname".
" <a href=\"$CFG->wwwroot/mod/$cm->modname/view.php?id=$cm->id\" $linkformat>$name</a></h3>";
$image = $OUTPUT->pix_icon('icon', $modfullname, $cm->modname, array('class' => 'icon smallicon'));
$link = html_writer::link(new moodle_url("/mod/$cm->modname/view.php",
array("id" => $cm->id)), $name, array('class' => $class));
echo html_writer::tag('h3', "$image $modfullname $link");
}
} else {
@@ -269,7 +272,7 @@ if (!empty($activities)) {
} else {
echo '<h3><center>' . get_string('norecentactivity') . '</center></h3>';
echo html_writer::tag('h3', get_string('norecentactivity'), array('class' => 'mdl-align'));
}
+4 -4
View File
@@ -601,7 +601,7 @@ foreach ($progress as $user) {
($activity->completion==COMPLETION_TRACKING_AUTOMATIC ? 'auto' : 'manual').
'-'.$completiontype;
$describe=get_string('completion-alt-auto-'.$completiontype,'completion');
$describe = get_string('completion-' . $completiontype, 'completion');
$a=new StdClass;
$a->state=$describe;
$a->date=$date;
@@ -630,7 +630,7 @@ foreach ($progress as $user) {
$completiontype = $is_complete ? 'y' : 'n';
$completionicon = 'completion-auto-'.$completiontype;
$describe = get_string('completion-alt-auto-'.$completiontype, 'completion');
$describe = get_string('completion-' . $completiontype, 'completion');
$a = new stdClass();
$a->state = $describe;
@@ -644,7 +644,7 @@ foreach ($progress as $user) {
} else {
if ($allow_marking_criteria === $criterion->id) {
$describe = get_string('completion-alt-auto-'.$completiontype,'completion');
$describe = get_string('completion-' . $completiontype, 'completion');
print '<td class="completion-progresscell">'.
'<a href="'.$CFG->wwwroot.'/course/togglecompletion.php?user='.$user->id.'&amp;course='.$course->id.'&amp;rolec='.$allow_marking_criteria.'&amp;sesskey='.sesskey().'">'.
@@ -669,7 +669,7 @@ foreach ($progress as $user) {
$ccompletion = new completion_completion($params);
$completiontype = $ccompletion->is_complete() ? 'y' : 'n';
$describe = get_string('completion-alt-auto-'.$completiontype, 'completion');
$describe = get_string('completion-' . $completiontype, 'completion');
$a = new StdClass;
$a->state = $describe;
+1 -1
View File
@@ -22,7 +22,7 @@
$group = optional_param('group', 0, PARAM_INT); // Group to display
$user = optional_param('user', 0, PARAM_INT); // User to display
$date = optional_param('date', 0, PARAM_FILE); // Date to display - number or some string
$date = optional_param('date', 0, PARAM_INT); // Date to display
$modname = optional_param('modname', '', PARAM_SAFEDIR); // course_module->id
$modid = optional_param('modid', 0, PARAM_FILE); // number or 'site_errors'
$modaction = optional_param('modaction', '', PARAM_PATH); // an action as recorded in the logs
+1 -1
View File
@@ -365,7 +365,7 @@ foreach($progress as $user) {
($activity->completion==COMPLETION_TRACKING_AUTOMATIC ? 'auto' : 'manual').
'-'.$completiontype;
$describe=get_string('completion-alt-auto-'.$completiontype,'completion');
$describe = get_string('completion-' . $completiontype, 'completion');
$a=new StdClass;
$a->state=$describe;
$a->date=$date;
+1 -1
View File
@@ -39,7 +39,7 @@ if (!$course = $DB->get_record('course', array('id'=>$id))) {
$PAGE->set_url('/course/reset.php', array('id'=>$id));
require_login($course);
require_capability('moodle/course:update', get_context_instance(CONTEXT_COURSE, $course->id));
require_capability('moodle/course:reset', get_context_instance(CONTEXT_COURSE, $course->id));
$strreset = get_string('reset');
$strresetcourse = get_string('resetcourse');
+2
View File
@@ -145,6 +145,8 @@ class enrol_mnet_mnetservice_enrol {
// users {@link http://tracker.moodle.org/browse/MDL-21327}
$user = mnet_strip_user((object)$userdata, mnet_fields_to_import($client));
$user->mnethostid = $client->id;
$user->auth = 'mnet';
$user->confirmed = 1;
try {
$user->id = $DB->insert_record('user', $user);
} catch (Exception $e) {
+1 -1
View File
@@ -114,7 +114,7 @@ class edit_outcome_form extends moodleform {
if (empty($courseid)) {
$mform->hardFreeze('standard');
} else if (empty($outcome->courseid) and !has_capability('moodle/grade:manage', get_context_instance(CONTEXT_SYSTEM))) {
} else if (!has_capability('moodle/grade:manage', get_context_instance(CONTEXT_SYSTEM))) {
$mform->hardFreeze('standard');
} else if ($coursecount and empty($outcome->courseid)) {
+1 -1
View File
@@ -163,7 +163,7 @@ if ($mform->is_cancelled()) {
// form processing
} else if ($data = $mform->get_data(false)) {
if (is_array($data->feedback)) {
if (isset($data->feedback) && is_array($data->feedback)) {
$data->feedbackformat = $data->feedback['format'];
$data->feedback = $data->feedback['text'];
}
+3 -1
View File
@@ -126,7 +126,9 @@ if ($formdata = $mform->get_data()) {
fwrite($fp,$text);
fclose($fp);
$fp = fopen($filename, "r");
if (!$fp = fopen($filename, "r")) {
print_error('cannotopenfile');
}
// --- get header (field names) ---
$header = explode($csv_delimiter, fgets($fp, GRADE_CSV_LINE_LENGTH));
+4 -1
View File
@@ -41,7 +41,7 @@ class moodle_group_external extends external_api {
'courseid' => new external_value(PARAM_INT, 'id of course'),
'name' => new external_value(PARAM_TEXT, 'multilang compatible name, course unique'),
'description' => new external_value(PARAM_RAW, 'group description text'),
'enrolmentkey' => new external_value(PARAM_RAW, 'group enrol secret phrase'),
'enrolmentkey' => new external_value(PARAM_RAW, 'group enrol secret phrase', VALUE_OPTIONAL),
)
), 'List of group object. A group has a courseid, a name, a description and an enrolment key.'
)
@@ -89,6 +89,9 @@ class moodle_group_external extends external_api {
// finally create the group
$group->id = groups_create_group($group, false);
if (!isset($group->enrolmentkey)) {
$group->enrolmentkey = '';
}
$groups[] = (array)$group;
}
+3 -3
View File
@@ -410,17 +410,17 @@ if ($config->stage == INSTALL_DATABASE) {
echo '</div>';
echo '<div class="formrow"><label for="id_dbname" class="formlabel">'.$strdbname.'</label>';
echo '<input id="id_dbname" name="dbname" type="text" value="'.s($config->dbname).'" size="30" class="forminput" />';
echo '<input id="id_dbname" name="dbname" type="text" value="'.s($config->dbname).'" size="50" class="forminput" />';
echo '</div>';
$disabled = empty($distro->dbuser) ? '' : 'disabled="disabled';
echo '<div class="formrow"><label for="id_dbuser" class="formlabel">'.$strdbuser.'</label>';
echo '<input id="id_dbuser" name="dbuser" '.$disabled.' type="text" value="'.s($config->dbuser).'" size="30" class="forminput" />';
echo '<input id="id_dbuser" name="dbuser" '.$disabled.' type="text" value="'.s($config->dbuser).'" size="50" class="forminput" />';
echo '</div>';
echo '<div class="formrow"><label for="id_dbpass" class="formlabel">'.$strdbpass.'</label>';
// no password field here, the password may be visible in config.php if we can not write it to disk
echo '<input id="id_dbpass" name="dbpass" type="text" value="'.s($config->dbpass).'" size="30" class="forminput" />';
echo '<input id="id_dbpass" name="dbpass" type="text" value="'.s($config->dbpass).'" size="50" class="forminput" />';
echo '</div>';
echo '<div class="formrow"><label for="id_prefix" class="formlabel">'.$strprefix.'</label>';
+1 -1
View File
@@ -16,7 +16,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle 2.1 installer
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
+1 -1
View File
@@ -16,7 +16,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle 2.1 installer
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
+1 -1
View File
@@ -16,7 +16,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle 2.1 installer
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
+1 -1
View File
@@ -16,7 +16,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle 2.1 installer
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
+1 -1
View File
@@ -16,7 +16,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle 2.1 installer
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
+4 -1
View File
@@ -16,7 +16,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle 2.1 installer
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
@@ -36,6 +36,9 @@ $string['cliincorrectvalueerror'] = 'خطأ، القيمة "{$a->value}" غير
$string['cliincorrectvalueretry'] = 'قيمة غير صحيحة، حاول مرة أخرى';
$string['clitypevalue'] = 'أدخل القيمة';
$string['clitypevaluedefault'] = 'ادخل القيم أو اضغط انتر (Enter) لإستخدام القيم الأفتراضية ({$a})';
$string['cliunknowoption'] = 'خيارات غير معروفة
{$a}
الرجاء استخدام خيار المساعدة';
$string['cliyesnoprompt'] = 'ادخل (Y) تعني نعم أو (N) تعني لأ';
$string['environmentrequireinstall'] = 'مطلوب تثبيته/تفيله';
$string['environmentrequireversion'] = 'مطلوب الأصدار {$a->needed} ، وانت تستخدم الأصدار {$a->current}';
+1 -1
View File
@@ -16,7 +16,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle 2.1 installer
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
+1 -1
View File
@@ -16,7 +16,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle 2.1 installer
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
+1 -1
View File
@@ -16,7 +16,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle 2.1 installer
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
+1 -1
View File
@@ -16,7 +16,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle 2.1 installer
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
+1 -1
View File
@@ -16,7 +16,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle 2.1 installer
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
+1 -1
View File
@@ -16,7 +16,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle 2.1 installer
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
+3 -3
View File
@@ -16,7 +16,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle 2.1 installer
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
@@ -44,10 +44,10 @@ $string['memorylimithelp'] = '<p>La llende de memoria del PHP del so servidor ta
<p>Esto va facer que Moodle tenga problemes de memoria más tarde, especialmente si tien munchos módulos y/o munchos usuarios.</p>
<p>Recomendamos que configure PHP con una llende más grande si ye posible, como por exemplu 40M.
<p>Recomendamos que configure PHP con una llende más grande si ye posible, como por exemplu 40M.
Esisten varies formes nes que pue intentar facer esta modificación:</p>
<ol>
<li>Si pue, recompile PHP con <i>--enable-memory-limit</i>.
<li>Si pue, recompile PHP con <i>--enable-memory-limit</i>.
Esto va permitir que\'l propiu Moodle modifique la llende de memoria.</li>
<li>Si tien accesu al so ficheru php.ini pue modificar el valor de <b>memory_limit</b> a daqué paecío a 40M. Si nun tien accesu a esi ficheru igual pue pidir al alministrador del sistema que lo faiga.</li>
<li>En dellos servidores PHP pue crear un ficheru .htaccess nel direutoriu Moodle cola ringlera que vien darréu:
+1 -1
View File
@@ -16,7 +16,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle 2.1 installer
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
+1 -1
View File
@@ -16,7 +16,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle 2.1 installer
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
+2 -2
View File
@@ -16,7 +16,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle 2.1 installer
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
@@ -36,7 +36,7 @@ $string['cliincorrectvalueerror'] = 'Səhv, "{$a->option}" üçün səhv "{$a->v
$string['cliincorrectvalueretry'] = 'Səhv, "{$a->option}" üçün səhv "{$a->value}" qiyməti';
$string['clitypevalue'] = 'Qiyməti daxil edin';
$string['clitypevaluedefault'] = 'Qiyməti daxil edin, ({$a}) qiymətindən avtomatik olaraq istifadə etmək üçün Enter düyməsini basın';
$string['cliunknowoption'] = 'Təyin olunmayan parametrlər:
$string['cliunknowoption'] = 'Təyin olunmayan parametrlər:
{$a}
Zəhmət olmasa help parametrindən istifadə edin';
$string['cliyesnoprompt'] = 'y (bəli) və n (xeyr) düyməsini basın';
+1 -1
View File
@@ -16,7 +16,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle 2.1 installer
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
+9 -9
View File
@@ -16,7 +16,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle 2.1 installer
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
@@ -71,23 +71,23 @@ $string['pathsroparentdataroot'] = '({$a->parent}) valideyn kataloquna yazmaq m
$string['pathssubadmindir'] = 'Veb-hostinqlərin sayı az olduqda yol/admin idarəetmə panelinə və ya digər bir yerə keçmək üçün xüsusi URL-dir. Təəssüf ki, bu Moodlun idarəetmə səhifələrinin standart mövqeyi ilə ziddiyyət təşkil edir. Bunu Moodle kataloqunda admin qovluğunun adını dəyişməklə və burada yeni adı göstərməklə aradan qaldırmaq olar. Məsələn, <em>moodleadmin</em>. Bu zaman Moodlun idarəetmə panelinə bütün keçidlər avtomatik olaraq dəyişir.';
$string['pathssubdataroot'] = 'Moodlun yüklənmiş faylları harada saxlayacağını mütləq göstərmək lazımdır Veb-server istifadəçisinin (usually \'nobody\' or \'apache\') bu kataloqda oxuma və YAZMA üçün icazəsi olmalıdır, lakin bu zaman İnternetdən birbaşa müraciət mümkün ola bilməz. Əgər bu kataloq mövcud deyilsə, quraşdırma proqramı onu yaratmağa cəhd edir. ';
$string['pathssubdirroot'] = 'Moodlun quraşdırılması kataloquna tam yol';
$string['pathssubwwwroot'] = 'Moodla keçidin mümkün olduğu tam veb-ünvan.
Moodla keçid üçün bir neçə ünvandan istifadə etmək mümkün deyil. Əgər sizin saytın bir neçə açıq ünvanı varsa, siz həmişə bu ünvanlardan göstərilən ünvana keçidi təmin etməlisiniz.
əgəgr sizin sayta həm İnternetdən həm lokal şəbəkədən keçid mümkündürsə, burada ümumi ünvanı göstərin DNS-i elə sazlayın ki, lokal istifadəçilər bu ünvandan istifadə edə bilsin.
Əgər göstərilən ünvan düzgün deyilsə, quraşdırmanı digər qiymətlə yenidən başlamaq üçün brauzerin ünvan sətirində URL-i dəyişin. ';
$string['pathssubwwwroot'] = 'Moodla keçidin mümkün olduğu tam veb-ünvan.
Moodla keçid üçün bir neçə ünvandan istifadə etmək mümkün deyil. Əgər sizin saytın bir neçə açıq ünvanı varsa, siz həmişə bu ünvanlardan göstərilən ünvana keçidi təmin etməlisiniz.
əgəgr sizin sayta həm İnternetdən həm lokal şəbəkədən keçid mümkündürsə, burada ümumi ünvanı göstərin DNS-i elə sazlayın ki, lokal istifadəçilər bu ünvandan istifadə edə bilsin.
Əgər göstərilən ünvan düzgün deyilsə, quraşdırmanı digər qiymətlə yenidən başlamaq üçün brauzerin ünvan sətirində URL-i dəyişin.';
$string['pathsunsecuredataroot'] = 'Verilənlər kataloqunun mövqeyi təhlükəsizlik tələblərinə cavab vermir.';
$string['pathswrongadmindir'] = 'Admin kataloqu mövcud deyil';
$string['phpextension'] = '{$a} PHP geniçlənməsi';
$string['phpversion'] = 'PHP versiyası';
$string['phpversionhelp'] = '<p>Moodle üçün PHP-nin 4.3.0 ondan yuxarı ya 5.1.0 ondan yuxarı versiyaları(5.0.versiyasının bəzi problemləri məlumdur) lazımdır.</p>
<p>İndi Siz, {$a} versiyasından istifadə edirsiniz</p>
<p>Siz PHP-ni yeniləməlisiniz ya PHP-nin daha yeni versiyası olan xostinqə keçməlisiniz!<br />
$string['phpversionhelp'] = '<p>Moodle üçün PHP-nin 4.3.0 ondan yuxarı ya 5.1.0 ondan yuxarı versiyaları(5.0.versiyasının bəzi problemləri məlumdur) lazımdır.</p>
<p>İndi Siz, {$a} versiyasından istifadə edirsiniz</p>
<p>Siz PHP-ni yeniləməlisiniz ya PHP-nin daha yeni versiyası olan xostinqə keçməlisiniz!<br />
(5.0.x verisyası olarsa 4.4.x versiyasına qayıda bilərsiniz)</p>';
$string['welcomep10'] = '{$a->installername} ({$a->installerversion})';
$string['welcomep20'] = 'Siz bu səhifəni ona görə görürsünüz ki, <strong>{$a->packname} {$a->packversion}</strong> proqram paketini öz kompyüterinizdə müvəffəqiyyətlə qurmusunuz. Təbrik edirik!';
$string['welcomep30'] = '<strong>{$a->installername}</strong> proqram paketinin bu versiyasında <strong>Moodle</strong>un işləyəcəyi mühiti yaratmaq üçün aşağıdakı proqramlar var:';
$string['welcomep40'] = 'Paketə həmçinin <strong>Moodle {$a->moodlerelease} ({$a->moodleversion})</strong> daxildir.';
$string['welcomep50'] = 'Bu paketə daxil olan əlavələrdən istifadə edilmə ardıcıllığı, müvafiq lisenziyalarla müəyyən edilir. <strong>{$a->installername}</strong> tam proqram paketi
$string['welcomep50'] = 'Bu paketə daxil olan əlavələrdən istifadə edilmə ardıcıllığı, müvafiq lisenziyalarla müəyyən edilir. <strong>{$a->installername}</strong> tam proqram paketi
<a href="http://www.opensource.org/docs/definition_plain.html">mənbəni açır</a> <a href="http://www.gnu.org/copyleft/gpl.html">GPL</a> lisenziyasının şərtlərinə uyğun olaraq yayılır.';
$string['welcomep60'] = 'Növbəti səhifələrdə Siz, bir neçə sadə addımla öz kompyüterinizdə <strong>Moodle</strong>-un parametrlərini sazlaya və quraşdıra bilərsiniz. Siz sazlama parametrlərini susmaya görə qəbul edə və ya öz tələblərinizdən asılı olaraq dəyişə bilərsiniz.';
$string['welcomep70'] = '<strong>Moodle</strong> quraşdırma prosesini davam etmək üçün "Növbəti" düyməsini sıxın.';
+1 -1
View File
@@ -16,7 +16,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle 2.1 installer
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
+1 -1
View File
@@ -16,7 +16,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle 2.1 installer
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
+1 -1
View File
@@ -16,7 +16,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle 2.1 installer
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
+1 -1
View File
@@ -16,7 +16,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle 2.1 installer
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
+1 -1
View File
@@ -16,7 +16,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle 2.1 installer
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
+1 -1
View File
@@ -16,7 +16,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle 2.1 installer
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
+2 -1
View File
@@ -16,7 +16,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle 2.1 installer
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
@@ -51,4 +51,5 @@ $string['pathssubdataroot'] = 'Тази директория е място, къ
$string['pathssubdirroot'] = 'Пълен път до директорията на Moodle.';
$string['pathssubwwwroot'] = 'Пълен интернет адрес, на който ще се отваря Moodle. Не е възможно Moodle да се отваря чрез различни адреси. Ако Вашият сайт има няколко адреса трябва на всеки от другите адреси да направите пренасочване към този. Ако Вашият сайт се отваря както глобално от Интернет, така и от локална мрежа, настройте DNS, така че потребителите от локалната мрежа също да могат да ползват глобалния адрес. Ако адресът не е коректен, моля, променете адреса в браузъра си и започнете инсталирането с правилния адрес.';
$string['phpextension'] = '{$a} разширение на PHP';
$string['phpversionhelp'] = '<p>Moodle изисква версия на PHP най-малко 4.3.0 или 5.1.0 (5.0.x има значителен брой известни проблеми).</p> <p>Вие използвате в момента версия {$a}</p> <p>Трябва да обновите PHP или да се преместите на нов хост (сървър) с по-нова версия на PHP!<br /> (В случая с 5.0.x може да опитате да инсталирате по-старата версия 4.4.x)</p>';
$string['wwwroot'] = 'Уеб адрес';
+1 -1
View File
@@ -16,7 +16,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle 2.1 installer
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
+1 -1
View File
@@ -16,7 +16,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle 2.1 installer
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
+1 -1
View File
@@ -16,7 +16,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle 2.1 installer
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
+1 -1
View File
@@ -16,7 +16,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle 2.1 installer
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
+10 -10
View File
@@ -16,7 +16,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle 2.1 installer
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
@@ -52,17 +52,17 @@ $string['memorylimithelp'] = '<p>আপনার সার্ভারের PHP
<p>ফলে মুডলে পরবর্তীতে মেমরি সংক্রান্ত সমস্যা দেখা দিতে পারে, বিশেষ করে অনেকগুলো মুডল সক্রিয় করা থাকলে/বেশিসংখ্যক ব্যবহারকারী থাকলে। </p>
<p>এজন্য আমরা সুপারিশ করি উচ্চসীমার, যেমন ৪০M মেমরি সহ PHP কমপাইল করতে।
<p>এজন্য আমরা সুপারিশ করি উচ্চসীমার, যেমন ৪০M মেমরি সহ PHP কমপাইল করতে।
এটা করার অনেকগুলো উপায় রয়েছে:</p>
<ol>
<li>আপনি যদি <i>--enable-memory-limit</i> দ্বারা PHP কমপাইল করতে পারেন তবে।
<li>আপনি যদি <i>--enable-memory-limit</i> দ্বারা PHP কমপাইল করতে পারেন তবে।
ফলে মুডল নিজে মেমরি সীমা নির্ধারণ করে নিবে।</li>
<li>আপনি php.ini ফাইল ব্যবহার করতে পারলে <b>memory_limit</b>
<li>আপনি php.ini ফাইল ব্যবহার করতে পারলে <b>memory_limit</b>
পরিবর্তন করে ৪০M এর মত করা যেত। আপনি যদি নিজে ব্যবহার করতে না পারেন তবে আপনার অ্যাডমিনিস্ট্রেশন আপনার জন্য কাজ করে দিবে।</li>
<li>কিছু PHP সার্ভারে মুডল ডিরেক্টরিতে:
<blockquote><div>php_value memory_limit 40M</div></blockquote>
লাইনটিসহ .htaccess ফাইল তৈরি করে নিতে পারেন
<p>কিছু সার্ভারে <b>সকল</b> PHP পৃষ্ঠা কাজ নাও করতে পারে
<p>কিছু সার্ভারে <b>সকল</b> PHP পৃষ্ঠা কাজ নাও করতে পারে
(পৃষ্ঠায় আপনার কিছু ত্রুটি চোখে পড়বে) সুতরাং আপনাকে .htaccess ফাইল অপসারন করতে হবে।</p></li>
</ol>';
$string['paths'] = 'পাথ';
@@ -70,7 +70,7 @@ $string['pathserrcreatedataroot'] = 'ইনস্টলারের সাহা
$string['pathshead'] = 'পাথ নিশ্চিত';
$string['pathsrodataroot'] = 'ডাটারুট ডিরেক্টরি লেখার মত নয়।';
$string['pathsroparentdataroot'] = 'প্যারেন্ট ডিরেক্টরি ({$a->parent}) লেখার যোগ্য নয়। ইনস্টলারের সাহায্যে ডাটা ডিরেক্টরি ({$a->dataroot}) তৈরি করা যায় না।';
$string['pathssubadmindir'] = 'খুব কম সংখ্যক ওয়েবহোস্ট কন্ট্রোল প্যানেল বা এই ধরনের কিছু ব্যবহার করতে /admin কে বিশেষ URL হিসাবে ব্যবহার করে। দূর্ভাগ্যবশত এর সাথে মুডল এডমিন পৃষ্টার স্ট্যান্ডার্ড স্থান নিয়ে ঝামেলা হয়। ইনস্টলেশনে অ্যাডমিন ডিরেক্টরির
$string['pathssubadmindir'] = 'খুব কম সংখ্যক ওয়েবহোস্ট কন্ট্রোল প্যানেল বা এই ধরনের কিছু ব্যবহার করতে /admin কে বিশেষ URL হিসাবে ব্যবহার করে। দূর্ভাগ্যবশত এর সাথে মুডল এডমিন পৃষ্টার স্ট্যান্ডার্ড স্থান নিয়ে ঝামেলা হয়। ইনস্টলেশনে অ্যাডমিন ডিরেক্টরির
নাম পরিবর্তন করে নতুন নাম দিয়ে সমস্যার সমাধান করতে পারেন। যেমন: <em>moodleadmin</em> এর ফলে মডুলে অ্যাডমিনে লিঙ্কগুলো নির্ধারণ করে দিবে।';
$string['pathssubdataroot'] = 'মুডলের ফাইল সংরক্ষণের জন্য জায়গা প্রয়োজন। ওয়েব সার্ভার ব্যবহারকারী
(সাধরনত কেউই না বা apache) যাতে অবশ্যই এই ডিরেক্টরি পড়তে লিখতে পারে, কিন্তু যাতে ওয়েবের সাহায্যে এটা সরাসরি ব্যবহার করা না যায়। ডিরেক্টরি না থাকলে, ইনস্টলার এটা তৈরি করে নেয়ার চেষ্টা করবে।';
@@ -87,15 +87,15 @@ $string['phpversionhelp'] = '<p>মুডলের জন্য PHP এর ক
<p>PHP সংস্করন অবশ্যই আপগ্রেড করতে হবে বা PHP এর নতুন সংস্করনসহ হোস্ট ব্যবহার করতে হবে!<br />
(5.0.x এর ক্ষেত্রে আপনি 4.4.x সংস্করনেও ডাউনগ্রেড করতে পারেন)</p>';
$string['welcomep10'] = '{$a->installername} ({$a->installerversion})';
$string['welcomep20'] = 'আপনি সফলভাবে
$string['welcomep20'] = 'আপনি সফলভাবে
আপনার কম্পিউটারে <strong>{$a->packname} {$a->packversion}</strong> প্যাকেজ ইনস্টল করে চালু করেছেন বলেই এই পৃষ্ঠাটি দেখতে পাচ্ছেন। অভিনন্দন!';
$string['welcomep30'] = 'অ্যাপ্লিকেশনসহ <strong>{$a->installername}</strong> রিলিজের ফলে একটি এনভায়রনমেন্ট তৈরি করা হয় যেখানে <strong>মুডল</strong> কাজ করবে, যেমন:';
$string['welcomep40'] = 'প্যাকেজে <strong>মুডল {$a->moodlerelease} ({$a->moodleversion})</strong> ও থাকে।';
$string['welcomep50'] = 'এই প্যাকেজের সকল অ্যাপ্লিকেশন তাদের মূল্যবান
লাইসেন্স অনুসরন করে। সম্পূর্ন <strong>{$a->installername}</strong> প্যাকেজ <a href="http://www.opensource.org/docs/definition_plain.html">ওপেন সোর্স</a> এবং <a href="http://www.gnu.org/copyleft/gpl.html">GPL</a> লাইসেন্সের আওতায়
লাইসেন্স অনুসরন করে। সম্পূর্ন <strong>{$a->installername}</strong> প্যাকেজ <a href="http://www.opensource.org/docs/definition_plain.html">ওপেন সোর্স</a> এবং <a href="http://www.gnu.org/copyleft/gpl.html">GPL</a> লাইসেন্সের আওতায়
বন্টিত।';
$string['welcomep60'] = 'নিম্নোক্ত পৃষ্ঠায় আপনার কম্পিউটারে <strong>মুডল</strong>
কনফিগার করে নির্ধারন করার জন্য কিছু সহজ উপায় দেয়া আছে। আপনি পূর্বনির্ধারিত
$string['welcomep60'] = 'নিম্নোক্ত পৃষ্ঠায় আপনার কম্পিউটারে <strong>মুডল</strong>
কনফিগার করে নির্ধারন করার জন্য কিছু সহজ উপায় দেয়া আছে। আপনি পূর্বনির্ধারিত
সেটিং গ্রহন করতে পারেন অথবা ঐচ্ছিকভাবে তাদেরকে আপনার প্রয়োজনানুসারে সংশোধন করে নিতে পারেন।';
$string['welcomep70'] = '<strong>মুডল</strong> সেট আপের সাহায্যে অগ্রসর হওয়ার জন্য "পরবর্তী" বোতামে ক্লিক।';
$string['wwwroot'] = 'ওয়েব ঠিকানা';
+1 -1
View File
@@ -16,7 +16,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle 2.1 installer
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
+1 -1
View File
@@ -16,7 +16,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle 2.1 installer
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
+1 -1
View File
@@ -16,7 +16,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle 2.1 installer
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
+1 -1
View File
@@ -16,7 +16,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle 2.1 installer
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
+2 -2
View File
@@ -16,7 +16,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle 2.1 installer
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
@@ -36,7 +36,7 @@ $string['cliincorrectvalueerror'] = 'Error, valor incorrecte "{$a->value}" per a
$string['cliincorrectvalueretry'] = 'Valor incorrecte, si us plau, torneu-ho a provar.';
$string['clitypevalue'] = 'Valor de tipus';
$string['clitypevaluedefault'] = 'valor de tipus, premeu Intro per fer servir un valor per defecte ({$a})';
$string['cliunknowoption'] = 'Opcions invàlides:
$string['cliunknowoption'] = 'Opcions invàlides:
{$a}
L\'opció --help us orientarà.';
$string['cliyesnoprompt'] = 'Escriu y (significa Sí) o n (significa No)';
+3 -3
View File
@@ -16,7 +16,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle 2.1 installer
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
@@ -34,12 +34,12 @@ $string['cannotcreatelangdir'] = 'No s\'ha pogut crear el directori d\'idiomes.'
$string['cannotcreatetempdir'] = 'No s\'ha pogut crear el directori temporal';
$string['cannotdownloadcomponents'] = 'No s\'han pogut baixar components';
$string['cannotdownloadzipfile'] = 'No s\'ha pogut baixar el fitxer zip';
$string['cannotfindcomponent'] = 'No s\'ha pogut trobar un component';
$string['cannotfindcomponent'] = 'No s\'ha pogut trobar el component';
$string['cannotsavemd5file'] = 'No s\'ha pogut desar el fitxer md5';
$string['cannotsavezipfile'] = 'No s\'ha pogut desar el fitxer zip';
$string['cannotunzipfile'] = 'No s\'ha pogut descomprimir el fitxer';
$string['componentisuptodate'] = 'El component està al dia';
$string['downloadedfilecheckfailed'] = 'Ha fallat la comprovació del fitxer baixat.';
$string['downloadedfilecheckfailed'] = 'Ha fallat la comprovació del fitxer baixat';
$string['invalidmd5'] = 'L\'md5 no és vàlid. Torneu-ho a provar';
$string['missingrequiredfield'] = 'Falta algun camp necessari';
$string['remotedownloaderror'] = 'No s\'ha pogut baixar el component al vostre servidor. Verifiqueu els paràmetres de servidor intermediari. Es recomana l\'extensió cURL.<br /><br />Haureu de baixar manualment el fitxer <a href="{$a->url}">{$a->url}</a>, copiar-lo a la ubicació "{$a->dest}" del vostre servidor i descomprimir-lo allí.';
+29 -9
View File
@@ -16,7 +16,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle 2.1 installer
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
@@ -33,16 +33,21 @@ defined('MOODLE_INTERNAL') || die();
$string['admindirname'] = 'Directori d\'administració';
$string['availablelangs'] = 'Llista d\'idiomes disponibles';
$string['chooselanguagehead'] = 'Trieu un idioma';
$string['chooselanguagesub'] = 'Trieu un idioma NOMÉS per a la instal·lació. En una pantalla posterior podreu triar idiomes per al lloc i per als usuaris.';
$string['chooselanguagesub'] = 'Trieu un idioma per a la instal·lació. S\'utilitzarà també com a idioma per defecte del lloc, tot i que després podeu canviar-lo.';
$string['cliinstallheader'] = 'Programa d\'instal·lació de línia d\'ordres de Moodle {$a}';
$string['databasehost'] = 'Servidor de base de dades:';
$string['databasename'] = 'Nom de la base de dades:';
$string['databasetypehead'] = 'Trieu el controlador de la base de dades';
$string['dataroot'] = 'Directori de dades';
$string['datarootpermission'] = 'Permisos dels directoris de dades';
$string['dbprefix'] = 'Prefix de taules';
$string['dirroot'] = 'Directori de Moodle';
$string['environmenthead'] = 'S\'està comprovant el vostre entorn';
$string['errorsinenvironment'] = 'Hi ha errors en l\'entorn.';
$string['environmentsub2'] = 'Cada versió de Moodle uns requeriments mínims de versió de PHP i un nombre d\'extensions de PHP necessàries.
Abans de cada instal·lació o actualització es realitza una comprovació exhaustiva de l\'entorn. Contacteu amb l\'administrador si no sabeu com instal·lar una nova versió de PHP o com habilitar les extensions.';
$string['errorsinenvironment'] = 'La comprovació de l\'entorn ha fallat.';
$string['installation'] = 'Instal·lació';
$string['langdownloaderror'] = 'Dissortadament l\'idioma "{$a}" no està instal·lat. La instal·lació prosseguirà en anglès.';
$string['langdownloaderror'] = 'Dissortadament l\'idioma "{$a}" no es pot baixar. La instal·lació prosseguirà en anglès.';
$string['memorylimithelp'] = '<p>El límit de memòria del PHP del vostre servidor actualment està definit en {$a}.</p>
<p>Això pot causar que Moodle tingui problemes de memòria més endavant, especialment si teniu molts mòduls habilitats i/o molts usuaris.</p>
@@ -55,17 +60,32 @@ $string['memorylimithelp'] = '<p>El límit de memòria del PHP del vostre servid
<p><blockquote>php_value memory_limit 40M</blockquote></p>
<p>Tanmateix, en alguns servidors això farà que no funcioni <b>cap</b> pàgina PHP (es visualitzaran errors) en el qual cas hauríeu de suprimir el fitxer .htaccess.</p></li>
</ol>';
$string['paths'] = 'Camins';
$string['pathserrcreatedataroot'] = 'L\'instal·lador no pot crear el directori de dades ({$a->dataroot}).';
$string['pathshead'] = 'Confirmeu els camins';
$string['pathsrodataroot'] = 'No es pot escriure en el directori dataroot.';
$string['pathsroparentdataroot'] = 'No es pot escriure en el directori pare ({$a->parent}). L\'instal·lador no pot crear el directori ({$a->dataroot}).';
$string['pathssubadmindir'] = 'Alguns serveis d\'allotjament web (pocs) utilitzen un URL especial /admin p. ex. per a accedir a un tauler de control o quelcom semblant. Malauradament això entra en conflicte amb la ubicació estàndard de les pàgines d\'administració de Moodle. Podeu arreglar aquest problema canviant el nom del directori d\'administració de Moodle en la vostra instal·lació i posant el nou nom aquí. Per exemple <em>moodleadmin</em>. Això modificarà els enllaços d\'administració de Moodle.';
$string['pathssubdataroot'] = 'Necessiteu un espai on Moodle pugui desar els fitxers penjats. Aquest directori hauria de tenir permisos de lectura I ESCRIPTURA per a l\'usuari del servidor web (normalment \'nobody\' o \'apache\'), però no cal que sigui accessible directament via web. L\'instal·lador provarà de crear-lo si no existeix.';
$string['pathssubdirroot'] = 'Camí complet del directori d\'instal·lació de Moodle.';
$string['pathssubwwwroot'] = 'L\'adreça web completa on s\'accedirà a Moodle.
No és possible accedir a Moodle en diferents adreces.
Si el vostre lloc múltiples adreces públiques haureu de configurar redireccions permanents per a totes excepte aquesta.
Si el vostre lloc és accessible tant des d\'Internet com des d\'una intranet, utilitzeu aquí l\'adreça pública i configureu el DNS de manera que els usuaris de la intranet puguin utilitzar també l\'adreça pública.
Si l\'adreça no és correcta, canvieu l\'URL en el vostre navegador per reiniciar la instal·lació amb un altre valor.';
$string['pathsunsecuredataroot'] = 'La ubicació del dataroot no és segura.';
$string['pathswrongadmindir'] = 'No existeix el directori d\'administració';
$string['phpextension'] = 'Extensió PHP {$a}';
$string['phpversion'] = 'Versió PHP';
$string['phpversionhelp'] = '<p>Moodle necessita la versió de PHP 4.1.0 o posterior.</p>
$string['phpversionhelp'] = '<p>Moodle necessita una versió de PHP 4.3.0 o 5.1.0 (les versions 5.0.x tenien uns quants problemes coneguts).</p>
<p>A hores d\'ara esteu utilitzant la versió {$a}.</p>
<p>Us caldrà actualitzar el PHP o traslladar Moodle a un ordinador amb una versió de PHP més recent.</p>';
<p>Us cal actualitzar el PHP o traslladar Moodle a un ordinador amb una versió de PHP més recent.<br />(Si esteu utilitzant la versió 5.0.x, alternativament també podríeu tornar enrere a la 4.4.x)</p>';
$string['welcomep10'] = '{$a->installername} ({$a->installerversion})';
$string['welcomep20'] = 'Esteu veient aquesta pàgina perquè heu instal·lat amb èxit i heu executat el paquet <strong>{$a->packname} {$a->packversion}</strong>. Felicitacions!';
$string['welcomep20'] = 'Esteu veient aquesta pàgina perquè heu instal·lat amb èxit i heu executat el paquet <strong>{$a->packname} {$a->packversion}</strong>. Felicitacions.';
$string['welcomep30'] = 'Aquesta versió de <strong>{$a->installername}</strong> inclou les aplicacions necessàries per crear un entorn en el qual funcioni <strong>Moodle</strong>:';
$string['welcomep40'] = 'El paquet inclou també <strong>Moodle {$a->moodlerelease} ({$a->moodleversion})</strong>.';
$string['welcomep50'] = 'L\'ús de totes les aplicacions d\'aquest paquet és governat per les seves llicències respectives. El paquet <strong>{$a->installername}</strong> complet és
<a href="http://www.opensource.org/docs/definition_plain.html">codi font obert</a> i es distribueix
$string['welcomep50'] = 'L\'ús de totes les aplicacions d\'aquest paquet és governat per les seves llicències respectives. El paquet <strong>{$a->installername}</strong> complet és
<a href="http://www.opensource.org/docs/definition_plain.html">codi font obert</a> i es distribueix
sota llicència <a href="http://www.gnu.org/copyleft/gpl.html">GPL</a>.';
$string['welcomep60'] = 'Les pàgines següents us guiaran per una sèrie de passos fàcils de seguir per configurar <strong>Moodle</strong> en el vostre ordinador. Podeu acceptar els paràmetres per defecte o, opcionalment, modificar-los perquè s\'ajustin a les vostres necessitats.';
$string['welcomep70'] = 'Feu clic en el botó "Següent" per continuar la configuració de <strong>Moodle</strong>.';
+1 -1
View File
@@ -16,7 +16,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle 2.1 installer
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
+1 -1
View File
@@ -16,7 +16,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle 2.1 installer
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
+1 -1
View File
@@ -16,7 +16,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle 2.1 installer
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
+34
View File
@@ -0,0 +1,34 @@
<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
* generated automatically by export-installer.php (which is part of AMOS
* {@link http://docs.moodle.org/dev/Languages/AMOS}) using the
* list of strings defined in /install/stringnames.txt.
*
* @package installer
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
defined('MOODLE_INTERNAL') || die();
$string['cannotsavemd5file'] = 'No s\'ha pogut alçar el fitxer md5';
$string['cannotsavezipfile'] = 'No s\'ha pogut alçar el fitxer zip';
+55
View File
@@ -0,0 +1,55 @@
<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
* generated automatically by export-installer.php (which is part of AMOS
* {@link http://docs.moodle.org/dev/Languages/AMOS}) using the
* list of strings defined in /install/stringnames.txt.
*
* @package installer
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
defined('MOODLE_INTERNAL') || die();
$string['langdownloaderror'] = 'Dissortadament l\'idioma "{$a}" no està instal·lat. La instal·lació prosseguirà en anglés.';
$string['memorylimithelp'] = '<p>El límit de memòria del PHP del vostre servidor actualment està definit en {$a}.</p>
<p>Això pot causar que Moodle tinga problemes de memòria més avant, especialment si teniu molts mòduls habilitats i/o molts usuaris.</p>
<p>És recomanable que configureu el PHP amb un límit superior, com ara 40 MB, sempre que siga possible. Hi ha diverses maneres de fer això:</p>
<ol>
<li>Si podeu, recompileu el PHP amb <i>--enable-memory-limit</i>. Això permetrà que Moodle definisca el límit de memòria per si mateix.</li>
<li>Si teniu accés al fitxer php.ini, podeu canviar el paràmetre <b>memory_limit</b> a 40 MB. Si no hi teniu accés podeu demanar al vostre administrador que ho faça ell.</li>
<li>En alguns servidors PHP podeu crear un fitxer .htaccess dins del directori de Moodle amb esta línia:
<p><blockquote>php_value memory_limit 40M</blockquote></p>
<p>Tanmateix, en alguns servidors això farà que no funcioni <b>cap</b> pàgina PHP (es visualitzaran errors) en el qual cas hauríeu de suprimir el fitxer .htaccess.</p></li>
</ol>';
$string['pathssubdataroot'] = 'Necessiteu un espai on Moodle puga alçar els fitxers penjats. Este directori hauria de tindre permisos de lectura I ESCRIPTURA per a l\'usuari del servidor web (normalment \'nobody\' o \'apache\'), però no cal que siga accessible directament via web. L\'instal·lador provarà de crear-lo si no existeix.';
$string['phpversionhelp'] = '<p>Moodle necessita la versió de PHP 4.1.0 o posterior.</p>
<p>A hores d\'ara esteu utilitzant la versió {$a}.</p>
<p>Vos caldrà actualitzar el PHP o traslladar Moodle a un ordinador amb una versió de PHP més recent.</p>';
$string['welcomep20'] = 'Esteu veient esta pàgina perquè heu instal·lat amb èxit i heu executat el paquet <strong>{$a->packname} {$a->packversion}</strong>. Felicitacions!';
$string['welcomep30'] = 'Esta versió de <strong>{$a->installername}</strong> inclou les aplicacions necessàries per crear un entorn en el qual funcioni <strong>Moodle</strong>:';
$string['welcomep50'] = 'L\'ús de totes les aplicacions d\'este paquet és governat per les seues llicències respectives. El paquet <strong>{$a->installername}</strong> complet és
<a href="http://www.opensource.org/docs/definition_plain.html">codi font obert</a> i es distribueix
sota llicència <a href="http://www.gnu.org/copyleft/gpl.html">GPL</a>.';
$string['welcomep60'] = 'Les pàgines següents vos guiaran per una sèrie de passos fàcils de seguir per configurar <strong>Moodle</strong> en el vostre ordinador. Podeu acceptar els paràmetres per defecte o, opcionalment, modificar-los perquè s\'ajusten a les vostres necessitats.';
+1 -1
View File
@@ -16,7 +16,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle 2.1 installer
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
+1 -1
View File
@@ -16,7 +16,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle 2.1 installer
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
+1 -1
View File
@@ -16,7 +16,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle 2.1 installer
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
+1 -1
View File
@@ -16,7 +16,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle 2.1 installer
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
+4 -1
View File
@@ -16,7 +16,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle 2.1 installer
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
@@ -67,7 +67,10 @@ $string['pathserrcreatedataroot'] = 'Datový adresář ({$a->dataroot}) nemůže
$string['pathshead'] = 'Potvrdit cesty';
$string['pathsrodataroot'] = 'Do datového adresáře nelze zapisovat.';
$string['pathsroparentdataroot'] = 'Do nadřazeného adresáře ({$a->parent}) nelze zapisovat. Datový adresář ({$a->dataroot}) nemůže být tímto průvodcem instalací vytvořen.';
$string['pathssubadmindir'] = 'Na některých serverech je URL adresa /admin vyhrazena pro speciální účely (např. pro ovládací panel). Na takových serverech může dojít ke kolizi se standardním umístěním stránek pro správu Moodle. Máte-li tento problém, přejmenujte adresář <eM>admin</em> ve vaší instalaci Moodle a sem zadejte jeho nový název - například <em>moodleadmin</em>. Všechny generované odkazy na stránky správy Moodle budou používat tento nový název.';
$string['pathssubdataroot'] = 'Moodle potřebuje prostor, kam si bude ukládat nahrané soubory a další údaje. K tomuto adresáři musí mít proces webového serveru právo ke čtení i k zápisu (webový server bývá většinou spouštěn pod uživatelem "www-data" nebo "apache"). Tento adresář ale zároveň nesmí být dostupný přímo přes webové rozhraní. Instalační skript se pokusí tento adresář vytvořit, pokud nebude existovat.';
$string['pathssubdirroot'] = 'Absolutní cesta k adresáři s instalací Moodle';
$string['pathssubwwwroot'] = 'Zadejte úplnou webovou adresu, na níž bude Moodle dostupný. Moodle potřebuje jedinečnou adresu, není možné jej provozovat na několika URL současně. Používáte-li několik veřejných domén, musíte si sami nastavit permanentní přesměrování na jednu z nich a tu pak použít. Pokud je váš server dostupný z vnější a z vnitřní sítě pod různými IP adresami, použijte jeho veřejnou adresu a nastavte si váš DNS server tak, že ji mohou používat i uživatelé z vnitřní sítě.';
$string['pathsunsecuredataroot'] = 'Umístění datového adresáře není bezpečné';
$string['pathswrongadmindir'] = 'Adresář pro správu serveru (admin) neexistuje';
$string['phpextension'] = '{$a} PHP rozšíření';
+1 -1
View File
@@ -16,7 +16,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle 2.1 installer
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
+1 -1
View File
@@ -16,7 +16,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle 2.1 installer
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
+1 -1
View File
@@ -16,7 +16,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle 2.1 installer
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
+1 -1
View File
@@ -16,7 +16,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle 2.1 installer
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
+8 -8
View File
@@ -16,7 +16,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle 2.1 installer
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
@@ -59,8 +59,8 @@ $string['pathssubadmindir'] = 'Nifer fach iawn o westeiwyr gwe sy\'n defnyddio /
$string['pathssubdataroot'] = 'Mae Moodle angen lle ar gyfer cadw ffeiliau sy\'n cael eu llwytho i fyny. Dylai defnyddiwr gweinydd y we (fel arfer \'neb\' neu \'apache\') allu darllen ac YSGRIFENNU ar y cyfeiriadur hwn, ond ni ddylid gallu mynd i mewn iddo\'n uniongyrchol drwy\'r we. Bydd y rhaglen osod yn ceisio ei greu os nad yw\'n bodoli.';
$string['pathssubdirroot'] = 'Llwybr cyfeiriadur llawn i raglen Moodle.';
$string['pathssubwwwroot'] = 'Y cyfeiriad gwe llawn a ddefnyddir i fynd i mewn i Moodle.
Nid yw\'n bosibl mynd i mewn i Moodle wrth ddefnyddio amryw o gyfeiriadau.
Os oes gan eich safle amryw o gyfeiriadau cyhoeddus, bydd rhaid i chi sefydlu llwybrau ailgyfeirio parhaol ar gyfer pob un ohonynt ar wahân i hwn.
Nid yw\'n bosibl mynd i mewn i Moodle wrth ddefnyddio amryw o gyfeiriadau.
Os oes gan eich safle amryw o gyfeiriadau cyhoeddus, bydd rhaid i chi sefydlu llwybrau ailgyfeirio parhaol ar gyfer pob un ohonynt ar wahân i hwn.
Os gellir mynd i mewn i\'ch safle o\'r Rhyngrwyd a\'r Fewnrwyd, defnyddiwch y cyfeiriad cyhoeddus yma a sefydlu DNS er mwyn i ddefnyddwyr y Fewnrwyd allu defnyddio\'r cyfeiriad cyhoeddus hefyd.
Os nad yw\'r cyfeiriad yn gywir, newidiwch yr URL yn eich porwr i ailddechrau\'r rhaglen osod gyda gwerth gwahanol.';
$string['pathsunsecuredataroot'] = 'Dydy lleoliad y data gwraidd ddim yn ddiogel';
@@ -72,15 +72,15 @@ $string['phpversionhelp'] = '<p>Mae angen o leiaf fersiwn PHP 4.3.0 neu 5.1.0 ar
<p>Rhaid i chi uwchraddio PHP neu newid i westeiwr â fersiwn fwy diweddar o PHP!<br/>
(Os oes gennych 5.0.x gallech hefyd is-raddio i fersiwn 4.4.x)</p>';
$string['welcomep10'] = '{$a->installername} ({$a->installerversion})';
$string['welcomep20'] = 'Rydych chi\'n gweld y dudalen hon gan eich bod wedi gosod a
$string['welcomep20'] = 'Rydych chi\'n gweld y dudalen hon gan eich bod wedi gosod a
lansio\'r pecyn <strong>{$a->packname} {$a->packversion}</strong> yn llwyddiannus ar eich cyfrifiadur. Llongyfarchiadau!';
$string['welcomep30'] = 'Mae\'r fersiwn <strong>{$a->installername}</strong> yn cynnwys rhaglenni
$string['welcomep30'] = 'Mae\'r fersiwn <strong>{$a->installername}</strong> yn cynnwys rhaglenni
i greu amgylchedd y gall <strong>Moodle</strong> weithio ynddo, sef:';
$string['welcomep40'] = 'Mae\'r pecyn hefyd yn cynnwys <strong>Moodle {$a->moodlerelease} ({$a->moodleversion})</strong>.';
$string['welcomep50'] = 'Y trwyddedau perthnasol sy\'n llywodraethu dros yr holl raglenni yn y pecyn hwn. Y pecyn cyflawn yw <strong>{$a->installername}</strong>
$string['welcomep50'] = 'Y trwyddedau perthnasol sy\'n llywodraethu dros yr holl raglenni yn y pecyn hwn. Y pecyn cyflawn yw <strong>{$a->installername}</strong>
<a href="http://www.opensource.org/docs/definition_plain.html">open source</a> a chaiff ei ddosbarthu dan y drwydded <a href="http://www.gnu.org/copyleft/gpl.html">GPL</a>.';
$string['welcomep60'] = 'Bydd y tudalennau canlynol yn eich arwain drwy\'r camau syml i
ffurfweddu a gosod <strong>Moodle</strong> ar eich cyfrifiadur. Gallwch ddewis derbyn y gosodiadau
$string['welcomep60'] = 'Bydd y tudalennau canlynol yn eich arwain drwy\'r camau syml i
ffurfweddu a gosod <strong>Moodle</strong> ar eich cyfrifiadur. Gallwch ddewis derbyn y gosodiadau
diofyn, neu gallwch eu newid eich hun ar gyfer eich dibenion chi.';
$string['welcomep70'] = 'Cliciwch y botwm "Nesaf" i fwrw ymlaen i osod <strong>Moodle</strong>.';
$string['wwwroot'] = 'Cyfeiriad ar y we';
+1 -1
View File
@@ -16,7 +16,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle 2.1 installer
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
+1 -1
View File
@@ -16,7 +16,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle 2.1 installer
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
+1 -1
View File
@@ -16,7 +16,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle 2.1 installer
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
+1 -1
View File
@@ -16,7 +16,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle 2.1 installer
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
+16 -17
View File
@@ -16,7 +16,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle 2.1 installer
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
@@ -48,21 +48,21 @@ Installationsprogrammet udfører et tjek før hver installation og opgradering.
$string['errorsinenvironment'] = 'Systemtjekket mislykkedes!';
$string['installation'] = 'Installation';
$string['langdownloaderror'] = 'Sproget "{$a}" blev desværre ikke installeret. Installationen vil fortsætte på engelsk.';
$string['memorylimithelp'] = '<p>Den mængde hukommelse PHP kan bruge, er sat til {$a}.</p>
$string['memorylimithelp'] = '<p>Den mængde hukommelse PHP kan bruge, er sat til {$a}.</p>
<p>Dette kan forårsage at der opstår problemer senere, især hvis du har mange moduler aktiveret eller mange brugere.</p>
<p>Dette kan forårsage at der opstår problemer senere, især hvis du har mange moduler aktiveret eller mange brugere.</p>
<p>Vi anbefaler at du konfigurerer PHP med mere hukommelse, f.eks. 40M.
Der er flere måder hvorpå du kan rette det.</p>
<ol>
<li>Hvis du har mulighed for det, kan du rekompilere PHP med <i>--enable-memory-limit</i>.
Det vil tillade at Moodle selv kan definere hvor meget hukommelse der er brug for.</li>
<p>Vi anbefaler at du konfigurerer PHP med mere hukommelse, f.eks. 40M.
Der er flere måder hvorpå du kan rette det.</p>
<ol>
<li>Hvis du har mulighed for det, kan du rekompilere PHP med <i>--enable-memory-limit</i>.
Det vil tillade at Moodle selv kan definere hvor meget hukommelse der er brug for.</li>
<li>Hvis du har adgang til php.ini filen kan du ændre <b>memory_limit</b>-indstillingen til noget i retning af 40M.
Hvis du ikke har direkte adgang til den kan du bede systemadministratoren om at gøre det for dig.</li>
<li>Hvis du har adgang til php.ini filen kan du ændre <b>memory_limit</b>-indstillingen til noget i retning af 40M.
Hvis du ikke har direkte adgang til den kan du bede systemadministratoren om at gøre det for dig.</li>
<li> nogle servere kan du oprette en \'.htaccess\' fil og gemme den i moodle-mappen med linjen:
<blockquote><div>php_value memory_limit 40M</div></blockquote>
<blockquote><div>php_value memory_limit 40M</div></blockquote>
<p>Det kan dog nogle servere forhindre <b>alle</b> PHP-siderne i at virke (du vil se fejl når du ser siderne). I fald kan du blive nødt til at fjerne \'.htaccess\' filen igen.</p></li> </ol>';
$string['paths'] = 'Stier';
$string['pathserrcreatedataroot'] = 'Datamappen ({$a->dataroot}) kan ikke oprettes af installationsprogrammet.';
@@ -72,19 +72,18 @@ $string['pathsroparentdataroot'] = 'Den overordnede mappe ({$a->parent}) er skri
$string['pathssubadmindir'] = 'Enkelte webhoteller bruger /admin som speciel URL til kontrolpanelet el. lign. Desværre konflikter det med Moodles standardplacering af admin-sider. Du kan klare dette ved at give admin-mappen et andet navn i din installation og skrive det her. Det kan f.eks. være <em>moodleadmin</em>. Det vil fikse admin-links i Moodle.';
$string['pathssubdataroot'] = 'Du har brug for et sted, hvor Moodle kan gemme uploadede filer. Denne mappe skal kunne læses OG SKRIVES I af webserverbrugeren (oftest \'ingen\' eller \'apache\'), men må ikke være tilgængelig direkte via internettet. Installationsprogrammet vil forsøge at oprette mappen, hvis ikke den allerede eksisterer.';
$string['pathssubdirroot'] = 'Den fulde sti til Moodleinstallationen.';
$string['pathssubwwwroot'] = 'Moodles fulde web-adresse.
$string['pathssubwwwroot'] = 'Moodles fulde web-adresse.
Det er ikke muligt at komme ind Moodle fra mere end en adresse.
Hvis dit websted har flere offentlige adresser skal du opsætte permanent viderestilling til dem alle undtagen denne.
Hvis dit websted er tilgængeligt fra både internet og intranet skal du bruge internetadressen her og opsætte din DNS sådan at intranet-brugerne kan bruge den offentlige adresse også.
Hvis ikke adressen er korrekt du ændre URL\'en i din browser og genstarte installationen med den rigtige adresse.
';
Hvis ikke adressen er korrekt du ændre URL\'en i din browser og genstarte installationen med den rigtige adresse.';
$string['pathsunsecuredataroot'] = 'Datamappen er ikke sikret';
$string['pathswrongadmindir'] = 'Adminmappe eksisterer ikke';
$string['phpextension'] = '{$a} PHP-extension';
$string['phpversion'] = 'PHP version';
$string['phpversionhelp'] = '<p>Moodle kræver mindst PHP version 4.3.0. eller 5.1.0 (5.0.x er behæftet med fejl).</p>
<p>Webserveren bruger i øjeblikket version {$a}</p>
<p>Du bliver nødt til at opdatere PHP eller flytte systemet over en anden webserver der har en nyere version af PHP!</p>
$string['phpversionhelp'] = '<p>Moodle kræver mindst PHP version 4.3.0. eller 5.1.0 (5.0.x er behæftet med fejl).</p>
<p>Webserveren bruger i øjeblikket version {$a}</p>
<p>Du bliver nødt til at opdatere PHP eller flytte systemet over en anden webserver der har en nyere version af PHP!</p>
(Har du ver. 5.0.x kan du også nedgradere til 4.4.x)</p>';
$string['welcomep10'] = '{$a->installername} ({$a->installerversion})';
$string['welcomep20'] = 'Du ser denne side fordi du med succes har installeret og åbnet pakken <strong>{$a->packname} {$a->packversion}</strong> din computer.
+1 -1
View File
@@ -16,7 +16,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle 2.1 installer
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was

Some files were not shown because too many files have changed in this diff Show More