Compare commits

..

671 Commits

Author SHA1 Message Date
Gordon Bateson fb1a72d5c2 MDL-24779 mod/hotpot tidy up calls to js_value() method which escapes and encodes unicode strings for javascript 2010-10-21 03:18:29 +00:00
Gordon Bateson a99a407be6 mod/hotpot MDL-22726 fix importing of intructions from a Hot Potatoes quiz file into the Moodle question bank 2010-06-10 23:39:05 +00:00
Gordon Bateson fa797f3a40 do not treat https absolute urls as relative urls 2010-01-25 07:14:59 +00:00
Petr Skoda 8ad0149fa3 MDL-21026 improved entity handling 2009-12-02 21:15:54 +00:00
skodak 1f52eab1c2 MDL-19718 fixed critical race condition when deleting posts - credit goes to Ashley Holman; backported from MOODLE_19_STABLE 2009-09-27 09:50:11 +00:00
skodak a4f0dd0725 MDL-20309 improved sanitization of id property; backported from MOODLE_19_STABLE 2009-09-26 12:03:35 +00:00
gbateson 4861848c62 stricter checking of null fields when restoring HotPots in order to avoid unwanted chars being inserted into empty char fields on PostgreSQL sites 2009-09-25 06:22:14 +00:00
pichetp 32e87fb8cc MDL-20189 correcting for the value of correctanswerlength on calculated export Merge
from HEAD
2009-09-07 01:56:03 +00:00
gbateson a1a2744faa MDL-20184 more efficient detection of missing nodes in xml tree when importing Hot Potatoes XML files to Moodle question bank / quiz module 2009-09-01 01:02:01 +00:00
gbateson 3c818366d0 MDL-20184 when importing questions from Hot Potatoes files to Moodle question-bank / Quiz module, the readquestions() function wil return "false", to signify an error, if no questions are detected in the import file 2009-08-31 02:04:52 +00:00
gbateson 06d179ba03 MDL-20185 detect zero, "0", as an answer for a gap in a JCloze when importing to the Moodle's question bank / Quiz module 2009-08-31 01:33:06 +00:00
gbateson 22931115b8 HotPot module: differentiate between "guesses-correct" (JCloze) and "guess-correct" (JCross, JMatch, JMix, JQuiz) in HotPot xml files and fix PreloadImages function for multiple images 2009-08-28 08:03:46 +00:00
gbateson 0450d2ad6b add hotpot_encode_content_links() and hotpot_decode_content_links() to HotPot's backuplib.php and restorelib.php respectively 2009-08-25 01:22:43 +00:00
skodak 1dc7d28efd MDL-19842 securing algebradebug the same way as text debug - only admins may use it now; backported from HEAD 2009-07-17 08:44:39 +00:00
skodak 1d474809f0 MDL-19832 new mimeTeX binaries v1.70; backported from HEAD 2009-07-16 10:11:39 +00:00
skodak 84bf26c960 file readme_moodle.txt was added on branch MOODLE_16_STABLE on 2009-07-16 10:11:41 +0000 2009-07-16 09:48:18 +00:00
gbateson 30728be868 fixes for XHTML strict: add <fieldset> arround hidden form fields, use "id" instead of "name" to locate forms, use HTML entities in button captions <= and => 2009-05-24 10:10:54 +00:00
fmarier 43a542fab8 MDL-19156: auth/fc: clarifying the licensing terms as per author's email 2009-05-11 23:35:30 +00:00
fmarier 39346f4e00 MDL-19117 clarification to the license 2009-05-09 04:34:00 +00:00
skodak c90543941f MDL-18311 fixed magic quotes trouble when moving courses; backported from MOODLE_19_STABLE 2009-05-08 21:08:02 +00:00
gbateson 59061d0628 when searhcing for urls of next quiz, remove requirement for navigation buttons to have class="NavButton" 2009-05-07 23:00:40 +00:00
ericmerrill fd7b7b623c MDL-19092 Fixed the user login view, which was incomplete and broken on some browsers 2009-05-07 12:40:18 +00:00
fmarier 43f5d63d99 MDL-19096 include a copy of the GPL 2009-05-07 03:06:06 +00:00
fmarier 38756f1b65 file COPYING.txt was added on branch MOODLE_16_STABLE on 2009-05-07 03:06:06 +0000 2009-05-07 03:03:25 +00:00
stronk7 95fffd7239 MDL-18893 TeX filter - fine tune "def" commands + add some more commands to blacklist (from Kopete).
Thanks to Mauno Korpelainen and Steve Mayer. Backported from 17_STABLE
2009-04-20 21:32:30 +00:00
gbateson d8ef3b94ae MDL-18880: only insert media players for swf URLs if $CFG->filter_mediaplugin_enable_swf is set 2009-04-19 23:50:00 +00:00
gbateson 75feff1154 MDL-18883: fix setting of absolute urls for images in subfolders of course files 2009-04-17 01:43:51 +00:00
skodak 4ef4057d19 MDL-18384 better symlink support, do not recurse symlinks when deleting - patch by Matt Oquist, thanks; backported from MOODLE_19_STABLE 2009-04-05 20:56:51 +00:00
skodak cd78b6a4fd MDL-18771 fixed db quoting; backported from MOODLE_19_STABLE 2009-04-05 20:27:26 +00:00
skodak b3b7f01ea7 MDL-18552 different TeX trouble fix; backported from HEAD 2009-03-31 12:23:46 +00:00
skodak 321f304e32 file lib.php was added on branch MOODLE_16_STABLE on 2009-03-31 12:23:49 +0000 2009-03-31 10:03:10 +00:00
gbateson 6be96928e0 when search for media players, remove requirment for <object> tag to contain a space, and make closing </A> tag lowercase 2009-03-30 07:14:06 +00:00
stronk7 8b42c7b7f9 MDL-18552 TeX filter - add string ; backported from HEAD 2009-03-26 21:39:46 +00:00
stronk7 619f7e2c16 MDL-18552 TeX filter - blacklist unsecure commands + protect texdebug ; backported from HEAD 2009-03-26 21:30:21 +00:00
skodak 2de0a3307c MDL-18365 fixed quoting 2009-02-25 22:29:39 +00:00
skodak 7fbff7de54 MDL-18348 CVE-2007-3215 2009-02-23 07:49:10 +00:00
dongsheng e65ecb0fbf "REPORT, SPAMCLEANER/MDL-18223, backport spamcleaner to 1.6, moodle 1.6 does not have yui, so I modified javascript to run without yui" 2009-02-23 06:15:43 +00:00
dongsheng a1e444d9f7 file index.php was added on branch MOODLE_16_STABLE on 2009-02-23 06:15:43 +0000 2009-02-17 23:01:30 +00:00
dongsheng f60acaa422 file report_spamcleaner.php was added on branch MOODLE_16_STABLE on 2009-02-23 06:15:44 +0000 2009-02-17 22:37:48 +00:00
jerome 7635eb8620 mp3 flash player MDL-7549 MP3 flash player now plays the end of the mp3 file 2009-02-06 07:21:45 +00:00
moodler b50197a1ee Bumped post release 2009-01-28 12:59:07 +00:00
moodler 6ff056d87c Bumped to final 1.6 release 2009-01-28 12:50:36 +00:00
gbateson e260bf1c12 MDL-17679: implement course reset for HotPot module (thanks to Albert Gasset) 2009-01-27 08:37:54 +00:00
moodler d45bbc5ab0 Automatic installer.php lang files by installer_builder (20090127) 2009-01-26 23:35:12 +00:00
moodler ec909cb3e5 Automatic installer.php lang files by installer_builder (20090124) 2009-01-23 23:35:15 +00:00
moodler 0b46cf2a3a Automatic installer.php lang files by installer_builder (20090123) 2009-01-22 23:36:07 +00:00
moodler d70d3c3ed5 Automatic installer.php lang files by installer_builder (20090122) 2009-01-21 23:37:08 +00:00
moodler 078e601224 Automatic installer.php lang files by installer_builder (20090121) 2009-01-20 23:34:37 +00:00
moodler ea1738cd2e Automatic installer.php lang files by installer_builder (20090120) 2009-01-19 23:34:02 +00:00
moodler 1b5540ffd1 Automatic installer.php lang files by installer_builder (20090119) 2009-01-18 23:32:35 +00:00
moodler 6d0b28c36c Automatic installer.php lang files by installer_builder (20090118) 2009-01-17 23:42:28 +00:00
moodler 06d0d206dc Automatic installer.php lang files by installer_builder (20090117) 2009-01-16 23:45:52 +00:00
moodler 5bcf0ab5c1 Automatic installer.php lang files by installer_builder (20090116) 2009-01-16 03:15:45 +00:00
moodler 6955865507 Automatic installer.php lang files by installer_builder (20090110) 2009-01-09 23:35:26 +00:00
skodak e15c4f35c4 MDL-17799 proper log url sanitisation - big thanks to Full Name hacker ;-) backported from HEAD 2009-01-07 23:02:56 +00:00
skodak 0260923ace MDL-17789 prevent potential XSS problems through PHP_SELF; backported from HEAD 2009-01-06 13:12:32 +00:00
moodler 5a5731d75c Automatic installer.php lang files by installer_builder (20090106) 2009-01-05 23:34:04 +00:00
moodler 9ea07e769d Automatic installer.php lang files by installer_builder (20090103) 2009-01-02 23:38:12 +00:00
moodler 3ab9b23c56 Automatic installer.php lang files by installer_builder (20090102) 2009-01-01 23:35:43 +00:00
moodler 3f19182952 Automatic installer.php lang files by installer_builder (20081227) 2008-12-26 23:36:20 +00:00
moodler fa6cbbc1c6 Automatic installer.php lang files by installer_builder (20081224) 2008-12-23 23:35:04 +00:00
moodler f818027ce2 Automatic installer.php lang files by installer_builder (20081222) 2008-12-21 16:38:45 +00:00
stronk7 89d5a70f5f Adding kk_utf8 to installer langs. Backported from HEAD. 2008-12-21 16:03:03 +00:00
stronk7 585259ad63 file installer.php was added on branch MOODLE_16_STABLE on 2008-12-21 16:03:03 +0000 2008-12-21 16:02:16 +00:00
gbateson 284f2e43ec MDL-6467 add "swf" and "flv" to the list of files for which relative urls are converted to absolute urls 2008-12-21 01:44:29 +00:00
moodler c73b015097 Automatic installer.php lang files by installer_builder (20081218) 2008-12-17 23:35:06 +00:00
moodler 4d0279952d Automatic installer.php lang files by installer_builder (20081216) 2008-12-15 23:33:14 +00:00
moodler 0c01d3bdda Automatic installer.php lang files by installer_builder (20081215) 2008-12-14 23:32:47 +00:00
moodler 8470c445c1 Automatic installer.php lang files by installer_builder (20081213) 2008-12-12 23:33:28 +00:00
tjhunt ae3526d98e match qtype: MDL-17326 backup and restore problems
* The shuffleanswers options was not backed up or restored.

* Responses were not properly recoded on restore.
2008-12-12 06:45:13 +00:00
tjhunt 3645f5bad3 matching qtype: MDL-17496 With filterall and multilang, the contents of the dropdowns was not being properly filtered
This was caused becuse the solution to MDL-9005 was not quite right.
2008-12-12 04:39:24 +00:00
moodler 75d7097d0d Automatic installer.php lang files by installer_builder (20081212) 2008-12-11 23:33:06 +00:00
skodak e4e1020939 MDL-17368 removing unused html area spell checker - we have our own implementation; backported from MOODLE_19_STABLE 2008-12-08 00:22:04 +00:00
moodler 613ac4ffae Automatic installer.php lang files by installer_builder (20081208) 2008-12-07 23:32:55 +00:00
moodler d52d91b293 Automatic installer.php lang files by installer_builder (20081206) 2008-12-05 23:32:45 +00:00
tjhunt a8b0a0d431 quiz settings: MDL-16781 Avoid concatenating and calling strtolower on language strings. 2008-12-05 04:20:20 +00:00
moodler 9c0ef1c8c8 Automatic installer.php lang files by installer_builder (20081205) 2008-12-04 23:32:48 +00:00
pichetp 3e31f4e2e2 MDL-17524 Merging from HEAD
Deleting a calculated question delete datasetdefinitions shared by other question
2008-12-04 17:15:13 +00:00
moodler 56f31bce4f Automatic installer.php lang files by installer_builder (20081204) 2008-12-03 18:10:44 +00:00
ericmerrill 023bf01579 weblib: MDL-16293: background-color attribute stripped from html. Adding 'background-color' attribute to $ALLOWED_PROTOCOLS array so kses doesn't drop it.
Including:
weblib: MDL-15963: Backporting the addition of font-family and text-decoration while i'm here for consistency.
2008-12-03 16:55:49 +00:00
moodler 157decabd5 Automatic installer.php lang files by installer_builder (20081126) 2008-11-26 01:41:09 +00:00
moodler a9d90c6ec9 Automatic installer.php lang files by installer_builder (20081123) 2008-11-23 01:33:54 +00:00
moodler 5c2f9d14ac Automatic installer.php lang files by installer_builder (20081122) 2008-11-22 01:46:46 +00:00
moodler f68037cf68 Automatic installer.php lang files by installer_builder (20081120) 2008-11-20 01:42:15 +00:00
skodak 98daf5d749 MDL-17236 html block: proper cleanup of html; backported from HEAD 2008-11-19 16:48:20 +00:00
stronk7 b571bf84a3 Adding one missing language to 16_STABLE branch 2008-11-19 11:28:57 +00:00
moodler c8a43d77e5 Automatic installer.php lang files by installer_builder (20081119) 2008-11-19 11:18:49 +00:00
moodler 829facda7c Automatic installer.php lang files by installer_builder (20081119) 2008-11-19 11:13:15 +00:00
skodak 7f43d9852e MDL-17274 security: register globals not supported- now we are preventing upgrades and installs too; backported from HEAD
note: remind Eloy to run the install langs script with stringnames from 1.9
2008-11-19 09:58:25 +00:00
skodak 3af8b37abe MDL-17143 fixed undefined $userid 2008-11-18 20:56:20 +00:00
stronk7 0e3cf9d774 MDL-17143 description now is mandatory again for normal (enroled) users. Previous commit broke that. 2008-11-18 16:32:40 +00:00
stronk7 86b4781cb4 MDL-17143 Using existing $user->id instead of unexisting $userid 2008-11-18 16:21:43 +00:00
stronk7 843d264f26 MDL-17143 setting default (to true) for profilesforenrolledusersonly. 2008-11-18 16:12:45 +00:00
stronk7 d3a7d918c2 MDL-17143 deleting some debug code. 2008-11-18 15:44:43 +00:00
dongsheng e45607b491 "MDL-17143, don't display the user description at all when user isn't enrolled in any courses, backported to 1.6" 2008-11-18 02:49:39 +00:00
skodak ebad4013c8 MDL-17110 snoopy: imported new version 1.2.4; backported from HEAD 2008-11-03 08:00:00 +00:00
gbateson c1eea3935a use "md5key" as secondary key on hotpot_strings table; allow for non-unique secondary keys on hotpot tables (can happen on hotpot_strings) 2008-10-30 06:20:01 +00:00
stronk7 8693848fe2 Bumped to 1.6.8+ (before weekly build) 2008-10-21 23:04:53 +00:00
moodler 72ae20b946 Bumped to 1.6.8 2008-10-15 23:36:15 +00:00
stronk7 7b8a8bc587 Backporting MDL-15896 (tabs and recent activity) from HEAD 2008-09-26 09:48:24 +00:00
stronk7 cb46a969f8 Protect message settings with sesskey. MDL-16688 ; backported from 17_STABLE 2008-09-25 22:39:23 +00:00
pichetp f01f112873 MDL-15358 negative data between () bad } closing... 2008-09-20 20:40:19 +00:00
pichetp 232866f6c3 MDL-15358 negative data between () merge from 1.9 as this file is no more in HEAD 2008-09-20 20:19:55 +00:00
tjhunt a96dff44c3 MDL-16056 - Aiken format should treat input as plain text, and so escape HTML special characters. 2008-08-15 03:13:49 +00:00
tjhunt a447229f96 MDL-16056 - Backporting whitespace changes before merging the acutal fix. 2008-08-15 03:11:26 +00:00
tjhunt ec34bda1fc MDL-16056 - Backporting comment changes before merging the acutal fix. 2008-08-15 03:08:21 +00:00
skodak 1899c6567a MDL-15823 format_string() improvements; merged from MOODLE_19_STABLE 2008-07-25 22:46:33 +00:00
moodler 6ec6c2d156 Added autogenerated bn_utf8 installer file. 2008-07-20 21:20:08 +00:00
moodler a8bf60a0ab MDL-6850 Removed apparent-size from du command as it's not always available and appears to be useless anyway :-P 2008-07-18 06:36:58 +00:00
gbateson 249de4f532 improvements to generation of html from xml:
JCloze: set textbox size allowing for minimum gap size setting and longest answer;
JMatch: allow for duplicates and distractors in RHS items;
JQuiz: set textbox size allowing for longest answer, and use textarea if answer longer than 29 chars;
2008-07-13 12:12:41 +00:00
moodler 9652995f7d Bumping post 1.6.7 2008-07-11 05:26:44 +00:00
moodler f6641be6b7 Bumped version 2008-07-11 05:24:46 +00:00
skodak 726d8b5805 MDL-15450 CSRF prevention 2008-07-08 13:03:59 +00:00
skodak 04ea70175b MDL-15516 prevent access to profiles of deleted users; backported from HEAD 2008-07-05 15:02:10 +00:00
arborrow 4497e89c9f MDL-7571 - shuffles 'mode' before displaying, merged from MOODLE_18_STABLE 2008-07-04 22:28:20 +00:00
gbateson 4fc304ca82 MDL-15184: fix sql injection vulnerability 2008-07-01 10:44:23 +00:00
moodler 8fd3d38509 MDL-15413 Added some code to stop access to this page directly 2008-06-27 03:31:27 +00:00
moodler 6e6f33e6f2 MDL-15413 Added some code to prevent this script being run on it's own 2008-06-27 03:29:08 +00:00
scyrma 5104726b9f MDL-15392: fix output sanitization. 2008-06-25 03:56:59 +00:00
gbateson 97e2fee8d2 replace get_jmatch_items by set_jmatch_items 2008-06-20 22:26:04 +00:00
gbateson a9456360f9 allow <img> and other tags in LHS of JMatch in "v6" outputformat 2008-06-19 05:55:46 +00:00
gbateson 376a031f4c fix conversion of relative URLs in Hot Potatoes "<=" and "=>" buttons on sites where slasharguments as disabled (Site Admin -> Server -> HTTP -> Use slash arguments) 2008-06-07 01:41:18 +00:00
mchurch 2c450e82d9 MDL-15035 - Changed error message to more meaningful one. 2008-05-28 14:59:47 +00:00
stronk7 7658e24915 Avoid $_REQUEST["id"] usage. MDL-14806 ; backported from 19_STABLE 2008-05-13 01:55:32 +00:00
tjhunt 60ec12e055 MDL-14804 - question_list_instances is broken - It does not include the each modules lib file before doing function_exists($module->name.'_question_list_instances'). 2008-05-12 17:29:52 +00:00
tjhunt be074bc3e6 MDL-14797 - Error when moving a course to an empty category on Postgres 2008-05-12 10:44:42 +00:00
moodler 0259eda698 New uz installer lang 2008-05-10 02:57:14 +00:00
tjhunt cfdfc85ddc MDL-14750 - Multianswer questions get broken by backup and restore becuase question->parent is not recoded properly in the database. 2008-05-09 15:22:46 +00:00
tjhunt 6fa56c54f3 MDL-5482 - Backup and restore problems for match, random and truefalse question types.
All the credit goes to Paulo Matos who carefully worked out and tested this fix, and updated the patch several times over more than a year while I very slowly got around to reviewing it and checking it in.
2008-05-07 12:31:58 +00:00
moodler c14c54c22a New lang supported by installer: cy_utf8 2008-05-04 00:42:16 +00:00
scyrma ae4b11cbfd MDL-8592: Get spellchecking to work over https (backport from 1.9) 2008-05-02 03:40:42 +00:00
gbateson f452e874bc removed setting of timeclose and timeopen when course format == "weeks" 2008-04-18 00:57:49 +00:00
nicolasconnault 21d1ce8edd MDL-13919 Fixed undefined variable 2008-03-13 14:01:08 +00:00
ethem 45d22afdcc Race condition in cron for Scheduled-Capture (very very big sites and order review enabled only).
In one cron, 250-500 orders may be processed (based on 5 minutes).
If an admin sets cron time up smaller than 5 minutes and
250-500> new transactions are made after last cron executed, it can be blocked.
Authorize cron sets up an_lastcron every time when admin/cron.php executes.
This must be set up after blocking check code.

As result, if pending orders aren't accepted with in 30 days at payment management page, they expired and users cannot enrol.
When an admin enabled order review, he is guaranteed 'Payment managers accept/deny transactions manually'.
Scheduled-Capture is designed for forgotten orders only ;)

Backported from HEAD.
2008-03-11 08:50:54 +00:00
pichetp 7f33aa0cd4 MDL-12503 Loguniform merging from head 2008-03-10 21:58:20 +00:00
gbateson df489b8217 add "mp3" (used by DewPlayer) to the list of query string parameters to search for when converting relative urls to absolute urls 2008-03-10 01:36:36 +00:00
skodak f19e9ea7e7 MDL-13705 2008-03-01 13:13:14 +00:00
skodak 48b31fcc65 MDL-13705 2008-02-28 21:19:54 +00:00
skodak 6a4fc5046f MDL-13705 2008-02-28 21:03:35 +00:00
moodler 947d915a8f Fix subject lines and corrupted emails from messages MDL-13364 (merged) 2008-02-07 05:22:52 +00:00
gbateson d37502617e MDL-13328 correct the counting of attempts when clickreporting has been enabled 2008-02-07 04:18:14 +00:00
nicolasconnault a22772f8e3 MDL-12158 Applied Matt's patch 2008-02-05 10:38:00 +00:00
gbateson 0b2f6d13cf fix odd escaping of quotes by "stripslashes()" on Windows server with MSSQL 2008-02-05 06:00:10 +00:00
gbateson 767e292319 MDL-10451 remove extraneous closing </b> tag from lang/en_utf8/help/hotpot/outputformat.html 2008-02-05 04:22:27 +00:00
gbateson 2c6041eb5a MDL-13048 fix undefined course id when importing a Hot Potatoes quiz into the Lesson module 2008-02-05 04:08:54 +00:00
scyrma 94e5a9c78f MDL-13060 - removing old entries fro VA and CD 2008-02-04 00:48:31 +00:00
gbateson 4b4b981562 fix for MDL-13174 : replace calls to html_entity_decode() with hotpot_charcode_to_utf8() because html_entity_decode is broken in PHP 4 2008-01-31 07:24:44 +00:00
scyrma b74bd9ce19 MDL-4218 - deprecatedlib.php doesn't exist in 1.6 2008-01-31 00:50:52 +00:00
tjhunt 2519a70a19 MDL-13110 - Manually grading random questions does not work. Fix thanks to Ken Burres. 2008-01-30 18:18:41 +00:00
tjhunt 5ed379d713 Fix invalid XML in example file. 2008-01-30 17:24:42 +00:00
mchurch 5fbb72ba43 MDL-13252 Fix context to always use course context, rather than instance->page. 2008-01-30 16:52:19 +00:00
scyrma 7c0be404c8 Imported and replaced country list to fix MDL-13060. The new list is the exact ISO list. Note that an official list also exists in French, but we will need to
do translations to other languages.  This commit also includes the restorelib upgrade path.
2008-01-30 07:45:43 +00:00
scyrma e724611042 Upgrade path for MDL-13060. 2008-01-29 05:51:46 +00:00
gbateson 5a66d54c05 fix for MDL-13173: quotes in HotPot activity name 2008-01-26 08:25:51 +00:00
nicolasconnault 58b037a501 MDL-4218 Added require_once deprecatedlib.php 2008-01-17 08:45:55 +00:00
nicolasconnault 71dbb2abb0 MDL-4218 Disabling the check for admin dir 2008-01-17 08:09:53 +00:00
nicolasconnault fdebc24f38 MDL-4218 Disabling the check for web root URL 2008-01-17 07:48:14 +00:00
Martin Langhoff 761ed63243 cvsimport fixups - related to the MOODLE_16_STABLE bogus force-move - binary 2008-01-14 08:53:41 +00:00
Martin Langhoff 378464df6a cvsimport fixups - related to the MOODLE_16_STABLE bogus force-move 2008-01-14 08:53:41 +00:00
moodler 8720c8d50c Moved to + after release 2008-01-14 08:53:41 +00:00
poltawski f7f5109386 MDL-8269 - stats wasn't paying attention to run time settings as the strtotime arguments were the wrong way round. Thanks to Mark Nielsen
backported from MOODLE_19_STABLE
2008-01-13 20:08:05 +00:00
skodak 71092feb39 MDL-12914 Register globals trouble; backported from MOODLE_19_STABLE 2008-01-11 23:29:23 +00:00
moodler e216127ee6 Bumped to 1.6.6 2008-01-11 14:43:20 +00:00
skodak 9aafb499a7 MDL-12793 PARAM_HOST incorrect cleaning; backported from MOODLE_19_STABLE 2008-01-01 17:28:55 +00:00
stronk7 e410c5e2e8 Prevent race condition in event creation. MDL-5956.
Credit goes to Penny, Luke and Martin @ Catalyst.
2007-12-28 18:35:55 +00:00
stronk7 2277a1409c Fix navbar buttons. 16_STABLE only. MDL-8305 2007-12-08 17:02:56 +00:00
moodler 8ef47e0880 New installer files added - stronk7
Backported from HEAD
2007-11-29 17:07:51 +00:00
moodler 1eae77d4f6 file installer.php was added on branch MOODLE_16_STABLE on 2007-11-29 17:07:51 +0000 2007-11-29 16:59:26 +00:00
gbateson f1efb1f1c6 reinstated calls to hpInterceptFeedback/Hints/Clues (lines 2919-2921), which had been commented out during testing of an earlier bug. 2007-11-20 23:56:20 +00:00
sam_marshall 89fea782d9 MDL-6701 (broken wiki admin pages) merge to 1.6 2007-11-15 11:43:17 +00:00
arborrow d3401c2db5 MDL-11743 - SHOW LOCAL VARIABLES more accurately returns database character set on some hosts and makes explicit what is normally the default behavior. 2007-11-13 23:51:38 +00:00
gbateson da1aa1b461 replace CFG->dbfamily with CFG->dbtype, because CFG->dbfamily is not available on Moodle 1.7 and less 2007-11-13 03:53:06 +00:00
gbateson 2e47a8968e fix for MDL-9713 : use XMLDB functions to create tables when mod/hotpot/db/mysql.sql is not found. This allows upgrade direct from Moodle 1.5 (or earlier) to Moodle 1.8 (or later) 2007-11-12 08:52:16 +00:00
skodak 3b9e6de01d MFC: MDL-12079 fixed use of clean_param() 2007-11-10 14:53:20 +00:00
fmarier c313ffa5db Add missing fields when upgrading/installing on Postgres
mod/exercise, mod/scorm and question/type/rqp
MDL-12023
2007-11-09 01:21:14 +00:00
moodler 1b09c97190 Adding some missing new installer langs to 1.6. 2007-11-05 08:34:10 +00:00
moodler d9aff3e8ba file installer.php was added on branch MOODLE_16_STABLE on 2007-11-05 08:34:10 +0000 2007-11-04 17:10:18 +00:00
tjhunt f238441d45 MDL-9375 (and dups) - Each attempt builds on last with multi-page quizzes gives the wrong score on the second attempt. It turns out that this was already fixed in Moodle 1.9 (part of commit 1.115 -> 1.116) so I have just backported the relevant changes. I have tested that this fixes the reported problem. I have not had time to test that it does not break one of the other billion possible combinations of settings possible with the quiz. Code review and testing welcome. 2007-10-30 18:22:25 +00:00
tjhunt 12e5b3c2b1 MDL-11416 - Support for nonsortable columns in table lib. Backported from MOODLE_19_STABLE so that the fix for MDL-5262 works. 2007-10-29 15:25:13 +00:00
tjhunt b7515bca14 MDL-5262 - PHP notice when sorting on R% coloumn in the Item analysis report - I adopted the simple solution of stopping people sorting on that column, since it is the same as sorting on rcount, I think. Backported from MOODLE_19_STABLE. 2007-10-16 21:26:33 +00:00
nicolasconnault 9f94e60e36 MDL-10905 iterating properly through readdir() 2007-10-15 05:53:55 +00:00
gbateson 9ec94a8623 where the correct responses on a JQuiz multiple choice question all have a score of 0%, the scores will be corrected to 100% 2007-10-15 01:05:05 +00:00
nfreear e188ec9b1f Fixes MDL-11676, Skip block links are broken in Internet Explorer 6. Merged. 2007-10-09 16:10:10 +00:00
skodak 0165dea2c6 MDL-11663 sanitise submitted data when editing users 2007-10-08 19:55:39 +00:00
gbateson a3a940c7fb added escaping of quotes in TimesUp message, so that apostrophes do not cause Javascript errors 2007-10-08 06:39:23 +00:00
pichetp 0227d32dff checking that there remain $oldwrappedids before deleting them lines 87-..
add         if(is_array($oldwrappedids) && count($oldwrappedids)){
2007-10-06 21:10:13 +00:00
whchuang 2fa9af0d78 added missing string definition for sectionerror. Fixed MDL-10766 2007-10-03 00:00:11 +00:00
skodak 24f32e4836 MDL-11413 I hope now it is correct solution; backported from HEAD 2007-09-25 14:08:26 +00:00
skodak 9e6ab88530 MDL-11413 revisited; backported from HEAD 2007-09-24 15:29:07 +00:00
skodak de9eaaac1d MDL-11414 fixed handling of log urls (problem reported by Andreas Nolden); backported from HEAD 2007-09-23 13:16:53 +00:00
skodak 9a72d21147 MDL-11413 improved text cleaning (problem reported by Andreas Nolden); backported from HEAD 2007-09-23 12:30:43 +00:00
skodak a9673e7550 MDL-11413 improved text cleaning (problem reported by Andreas Nolden); backported from HEAD 2007-09-23 12:26:27 +00:00
tjhunt 8a3df96e52 MDL-11081 and MDL-11211 - Implement quiz_question_list_instances. The lach of this function was causing a horrible dataloss bug: MDL-11211. Fix thanks to Janne Mikkonen, refined by me. 2007-09-13 17:28:31 +00:00
pichetp 3e3a8001b2 Correcting a little error: datesetitem = array(); instead of datasetitem = array();
line +-550 $question->dataset[$datasetname]->datasetitem = array();
2007-09-07 02:47:37 +00:00
nicolasconnault ae7805aec3 MDL-9005 Fixed this and another multilang issue (module name in preview didn't filter multilang tags either). 2007-08-28 15:07:13 +00:00
nicolasconnault 4912fa485e MDL-10970 Someone was using
$locations = array('location1');
$locations += array('location2', 'location3', 'location4');

to save the hassle of doing one $locations[] = 'location1'; for each location.

But += doesn't add any entry if the key of the new array already exists in the original array. So, using my example, the resulting array would be:

$locations: array('location1', 'location3', 'location4');
2007-08-24 07:14:02 +00:00
pichetp 575447dd68 Merging MDL-10680 resolved by thepurplebob from 1.9 2007-08-08 02:03:43 +00:00
wildgirl 071b220cbb MDL-4912 docs directory clean-up 2007-07-28 20:25:13 +00:00
wildgirl 282aeac984 MDL-4912 docs directory clean-up 2007-07-28 20:06:16 +00:00
stronk7 af49230f9a English is English is English is English... :-( 2007-07-25 22:06:13 +00:00
stronk7 dae85a4750 Adding two missing strings. MDL-6017
NOTE: These are OUT for Moodle 1.9 and new Grade System, so don't
      translate them!
2007-07-25 22:04:04 +00:00
stronk7 f622567f6c Fixing two get_string() calls when restoring gradebook preferences. MDL-6017 2007-07-25 21:30:23 +00:00
moodler a8c857d3c2 Bye bye CHANGES http://moodle.org/mod/forum/discuss.php?d=75777 2007-07-17 02:21:57 +00:00
skodak 3bd4380e4a MDL-10341 fixed user search cleaning; backported from MOODLE_18_STABLE 2007-07-04 08:33:58 +00:00
bobopinna 9e3e85eb05 Refixed bug MDL-7325 2007-07-03 13:44:19 +00:00
skodak 91cf2fb230 MDL-10276 Text cleaning trouble; backported from HEAD 2007-06-27 12:07:35 +00:00
gbateson 8acecdb821 make sure $hotpot->id is set when adding calendar events for new HotPot 2007-06-26 12:05:49 +00:00
gbateson e29a752173 in XML source files of HP quizzes, convert relative URLs to absolute URLs in links using window.open(...) 2007-06-26 04:59:56 +00:00
gbateson a0001e3a6d change relative URLs to absolute URLs in window.open(...) 2007-06-26 02:39:30 +00:00
jamiesensei edbbeb02f2 making environment colours css selector refer to table class instead of body id. So that colours show up on other pages besides admin page. 2007-06-22 11:03:19 +00:00
jamiesensei d8e68c5e51 added styles to install.php for colours for environment table 2007-06-20 06:31:33 +00:00
jamiesensei c82a4d6d36 *** empty log message *** 2007-06-19 17:45:07 +00:00
jamiesensei 9d8453becd MDL-10168 improvements to display of results from environment checks 2007-06-19 16:26:45 +00:00
jamiesensei 52f79e8fd4 elaborated phpdoc comment slightly for doc_link 2007-06-19 15:20:16 +00:00
jamiesensei 3bc52bdb1e refactored page_doc_link into two functions. doc_link returns a link to docs. page_doc_link returns the link for this page. 2007-06-19 14:54:43 +00:00
ethem 8c239c8315 MDL-9836
Authorize.net / SSL Config Bug prevents display of options from enrol/authorize/enrol.php
2007-06-15 18:00:13 +00:00
csantossaenz 57fead9527 Fixed bug MDL-7516 2007-06-15 08:15:10 +00:00
pichetp 5394e9c99b Removing question/type/datasetdependent/categorydatasetdefinitions.php MDL-10072 2007-06-13 07:47:52 +00:00
pichetp 1dbbbb3118 removing no more used variable $sharedwildcard 2007-06-13 07:36:57 +00:00
pichetp 9cf8933ec3 solving lost of dataitems MDL-10087 merging from 1.8 2007-06-13 07:32:18 +00:00
pichetp 9b0f6ae71d giving to questiondatasets.html all the features of datasetdefinitions_form.php of HTML
QuickForm
2007-06-12 03:16:40 +00:00
pichetp 32993fef61 removing doudle html code at the end 2007-06-11 20:10:07 +00:00
pichetp 9cd0ada241 replacing "saveas" by "next page" and a greater size to answers formula <input> 2007-06-11 16:55:29 +00:00
pichetp 009d136f72 Adding various improvements (MDL-8565, MDL-9496, MDL10070 etc.)to calculated question 2007-06-11 07:44:29 +00:00
martinlanghoff 719ef5f313 moodlelib:moodle_request_shutdown() - only call apache_child_terminate if child_terminate is true - MDL-9350
Apparently there _is_ a PHP ini setting controlling
it -- defaults to off.
2007-06-07 21:24:40 +00:00
jamiesensei df5039c5ca MDL-9885 Use Permissions from Roles and Permissions System 2007-05-28 00:51:20 +00:00
jamiesensei a18c40a892 MDL-9734 fix for clean_param PARAM_LOCALURL bug 2007-05-27 11:24:58 +00:00
jamiesensei 3281b7d075 MDL-9885 'Use Permissions from Roles and Permissions System' almost done. Need to allow "Save as New Question" for those who have view permission on a question and add permission in at least one context. 2007-05-27 05:58:31 +00:00
jamiesensei ea7a090955 MDL-9883 Use new fields in question table - created, modified, createdby and modifiedby 2007-05-22 04:59:53 +00:00
jamiesensei 788376bb52 bump up version to install new fields in question table 2007-05-22 04:57:16 +00:00
jamiesensei 1c496238c3 MDL-9869 Add fields to question table - created, modified, createdby and modifiedby 2007-05-22 01:23:03 +00:00
jamiesensei cd3f0da747 UI for editing questions changed to support sharing questions in multiple contexts. Also changed import / export and category editing form to use formslib. 2007-05-20 16:18:00 +00:00
pichetp d8720eebc3 Small numerical answers i.e. 1e-18 are not graded correctly MDL-8473 merging from head 2007-05-17 17:30:35 +00:00
jamiesensei b7f1aeee3f started work on MOODLE_19_QUESTIONS branch. Have coded display of question categories page with categories shared in different category levels. Changes made to the db to remove publish and course fields and replace them with contextid field in category table. 2007-05-11 22:26:27 +00:00
pichetp 9c53d3286c merging from head so that calculated questions can be imported and other improvments 2007-05-11 15:29:50 +00:00
pichetp fc418ee754 Setting import_process =true in defaultquestion() function used on imports 2007-05-11 15:26:21 +00:00
pichetp 8a3043d26d Setting export_process =true so to be used for export in xml format of calculated
question
2007-05-11 15:14:01 +00:00
pichetp 973342ab16 adding calculated question import and export functions for webct MDL-5650 and xml
formats merged from head
2007-05-11 15:07:00 +00:00
csantossaenz 15b10f5cab Deleted addslashes_js() because it was impossible to add it to weblib.php 2007-05-11 11:11:21 +00:00
csantossaenz c00bb02c52 Added addslashes_js() to make the javascript code work properly 2007-05-11 10:54:23 +00:00
gbateson afccfe8752 when inserting 'Give Up' button, if site encoding is not iso-8859-1, then set page encoding to get_string('thischarset') 2007-05-11 05:11:55 +00:00
moodler 78e4c3dd6c Added language class for CSS MDL-9750 2007-05-09 06:45:07 +00:00
gbateson b4af3c2f48 modified "hpNewFunction" to allow Rottmeier quizze (Find-It, Dropdown) s to run on Safari (Mac) 2007-05-07 02:46:03 +00:00
gbateson b3f9b5c1c2 remove duplicate id attribute from body tag; microincrement version to 2006082902 (release 2.1.25) 2007-05-04 02:40:44 +00:00
gbateson 81ee42cb0f set default body font-size to "small" 2007-05-03 00:57:16 +00:00
gbateson f7fe32525a add HP 6.2 templates; add compatability with Safari (Mac browser); microincrement version to 2006082901 (release 2.1.24) 2007-05-01 03:19:09 +00:00
tjhunt dad0965802 Fix comedy require_once. 2007-04-24 21:15:37 +00:00
tjhunt 10e2074684 Fix error message to say the right thing. 2007-04-19 17:16:43 +00:00
cataluke 419a0bb0a8 admin/uploaduser.php: Fixed not enrolling user into course if user already exists
Author: Patrick Li <patrick@catalyst.net.nz>
Committer: Luke Hudson <luke@catalyst.net.nz>
2007-04-18 02:46:19 +00:00
cataluke 485726e71f MDL-8569 - mod/data sorting by numerical field now works with PostgreSQL
Author: Luke Hudson <luke@catalyst.net.nz>
2007-04-18 02:17:00 +00:00
cataluke bc1f84e618 MDL-7856 - make database search case-insensitive for PostgreSQL too.
Author: Andrew Walbran <andrew.walbran@catalyst.net.nz>
Committer: Luke Hudson <luke@catalyst.net.nz>
2007-04-18 01:56:14 +00:00
thepurpleblob fc144c4992 Backport from 1.7. Was completely broken (class constructed wrongly), so nothing much to lose! 2007-04-16 09:28:29 +00:00
moodler 902590a7d1 FIxed some standard theme headers by copying from "standard" as they were out of date 2007-04-16 08:06:52 +00:00
stronk7 d7a7b5b5db Fixing typo causing some (a few) sites to break on upgrade. Credit
goes to Rafa Gutierrez. MDL-9316
2007-04-12 15:30:03 +00:00
martinlanghoff 35decbd8be Fixed 'off by one' month bug in month select boxes generated by
print_date_selector when users time zone set to GMT-13.


Author: Matt Clarkson <mattc@catalyst.net.nz>
Committer: Matt <mattc@catalyst.net.nz>
2007-04-12 00:46:27 +00:00
mjollnir_ 284060cc7e fixing warnings in stats lib - rather than doing an include_once and noticing for every missing mod, check the file exists first 2007-04-11 23:51:19 +00:00
moodler 20a37a126e Automatic installer.php lang files by installer_builder (20070410) 2007-04-10 03:29:27 +00:00
stronk7 1b6fbd596c Now $CFG->apachemaxmem is respected.
Merged from MOODLE_15_STABLE
2007-04-07 16:03:15 +00:00
martinlanghoff 17b39b6c95 lib/setup moodelib: Introducing moodle_request_shutdown()
Now Moodle will have a 'shutdown_function' function. Right now
registered (and useful) only when running under apache + mod_php.

This initial function checks whether memory usage in this process exceeded
10MiB or $CFG->apachemaxmem (int, in bytes). This is really useful to prevent
using more RAM than we have.
2007-04-05 04:51:22 +00:00
moodler a1cac4a086 Automatic installer.php lang files by installer_builder (20070405) 2007-04-05 03:31:56 +00:00
nicolasconnault 09f187c0db MDL-9204 New submission wasn't given a timemodified upon creation. 2007-04-05 03:24:49 +00:00
moodler 1e0a4f87fc Automatic installer.php lang files by installer_builder (20070404) 2007-04-04 03:57:00 +00:00
nicolasconnault 9fb8e5ed17 MDL-9192
a.dimmed:link,
a.dimmed:visited {
  color:#AAAAAA;
}
2007-04-04 02:41:23 +00:00
nicolasconnault ffd9b01913 MDL-9193 2007-04-04 02:19:30 +00:00
nicolasconnault 3c582678cf MDL-9194 2007-04-04 02:05:48 +00:00
nicolasconnault c63af80f85 MDL-9147 2007-04-03 08:42:33 +00:00
toyomoyo 09bd9bb66b fix for broken blog utf8 migration 2007-04-02 08:41:26 +00:00
moodler 244c10cf84 Complete port of Moodle 1.8 formslib.php back into 1.7 to aid development of any modules that may use formslib in 1.7
MDL-9159
2007-04-02 05:26:05 +00:00
paca70 f4959dc939 To fix MDL-8614 2007-04-01 07:50:16 +00:00
tjhunt e7a84ec034 MDL-6269, MDL-8958, MDL-8990 - Major fix to do with each attempt builds on last:
It used not to work with random questions, and there were problems with the computation of the grade, and regrading. Fix thanks to Paulo Matos, who not only fixed the bug and tested it, but was also incredibly patient waiting for me to have time to commit the changes to CVS.

This commit also includes a backport of a small state logic changes to the 1.6 stable branch.

Backported from MOODLE_17_STABLE.
2007-03-30 16:05:14 +00:00
moodler 00e53e7c36 Updated for post 1.6.5 2007-03-30 08:31:54 +00:00
moodler cdf10a35ab Bump to 1.6.5 for release 2007-03-30 07:47:20 +00:00
moodler 561bb4feac Recent changes 2007-03-30 07:31:16 +00:00
gbateson eaf134b1bb fix the display of the special chars keypad (in JCloze and JQuiz) 2007-03-30 03:47:29 +00:00
skodak f035daedca MDL-4313 LDAP doesn't properly escape extra quotes in course details; backported from MOODLE_18_STABLE 2007-03-29 22:07:41 +00:00
csantossaenz 4e3ee63c2e Fixed problem with the popup window options. Now, they are saved when you update an SCORM activity and you change those options. 2007-03-29 08:07:42 +00:00
csantossaenz d58e4f8a04 Fixed backup problem for scorm module. Now, it includes needed files in moddata/scorm. even though the backup is done without user data and files 2007-03-28 14:57:05 +00:00
stronk7 4afc877819 Last commit of the glorious glossary files to 16_STABLE, performed now
that everything is properly branched. See MDL-9032
2007-03-25 15:31:20 +00:00
moodler 86f4390922 Removed to match original MOODLE_16_STABLE ... not sure how this got in again. 2007-03-25 15:16:39 +00:00
moodler cddc532c21 Latest tags for 1.6 2007-03-25 15:14:11 +00:00
moodler cd4858ed49 Just removed some unneeded braces (and testing MOODLE_16_STABLE again!) 2007-03-25 15:10:58 +00:00
moodler 609618521b Restoring changes all the changes in MOODLE_16_STABLE since MOODLE_16_BETA.
This had to be done because the MOODLE_16_STABLE branch tags were moved.

Hopefully after this MOODLE_16_STABLE will be back to how it was (and a
proper branch) but some of the history may look a bit odd.

See MDL-9032 for more discussion and details.
2007-03-25 14:48:26 +00:00
moodler 123f94ad3a Checking MOODLE_16_STABLE branch 2007-03-25 08:34:30 +00:00
stronk7 5da4f6bf37 And finally, I can send again the only two files that were committed
after the disaster.
2007-03-25 02:31:58 +00:00
stronk7 57ba54429f Adding some files that were never merged after branch disaster 2007-03-25 01:54:28 +00:00
stronk7 84ef448820 Adding some files that were never merged after branch disaster 2007-03-25 01:48:51 +00:00
stronk7 80e2ce03fb Updating some binary files changed after branch disaster 2007-03-25 01:09:47 +00:00
stronk7 812d7e4a29 Deleting non-existing files in 16_STABLE after branch disaster 2007-03-25 00:56:44 +00:00
stronk7 4c74467eae Re-applying unmerged changes to 16_STABLE after branch disaster 2007-03-25 00:29:47 +00:00
stronk7 f10bf825df Re-applying unmerged changes to 16_STABLE after branch disaster 2007-03-25 00:01:20 +00:00
stronk7 3676309617 Committing changes performed on 16_STABLE after wrong move of tag. 2007-03-24 11:42:14 +00:00
stronk7 8bcbbf13e3 Committing changes performed on 16_STABLE after wrong move of tag. 2007-03-24 11:25:45 +00:00
stronk7 81e7672216 Fix a problem with glossary not being able to sort by firstname.
Backported from MOODLE_18_STABLE
2007-03-24 01:02:04 +00:00
stronk7 183185d12b One default was causing author view not being able to sortby firstname or lastname.
Backported from MOODLE_18_STABLE
2007-03-24 00:41:43 +00:00
moodler bdea788034 Automatic installer.php lang files by installer_builder (20070323) 2007-03-23 03:39:40 +00:00
tjhunt 5c3a0f7cf6 MDL-7241 - Manual grading report, sort by completed time didn't. 2007-03-22 21:31:12 +00:00
moodler 13d1518108 Automatic installer.php lang files by installer_builder (20070322) 2007-03-22 03:53:27 +00:00
tjhunt a24948b64f MDL-7259 - Item analysis report does not use the right format_text settings. 2007-03-21 23:25:09 +00:00
tjhunt c6d0697e7a Fix whitespace problems and Eclipse warnings in Item Analysis quiz report. 2007-03-21 23:04:41 +00:00
skodak 82dd519e4f MDL-7647 Broken links on confirmation email (or others) - patch by Paulo Matos; backported from MOODLE_17_STABLE 2007-03-21 22:01:19 +00:00
moodler 08da658c0b Automatic installer.php lang files by installer_builder (20070321) 2007-03-21 03:48:28 +00:00
tjhunt e6fb20e1b4 MDL-8978 - Regression from MDL-6386. 2007-03-21 00:13:01 +00:00
skodak c9bd758adb MDL-8975 fix parameter handling in repository plugin; backported from MOODLE_18_STABLE 2007-03-20 19:49:00 +00:00
skodak 1bc1ee7884 SC#374 removing obsoleted utf8migration code; merged from MOODLE_17_STABLE 2007-03-20 16:25:23 +00:00
tjhunt 05318aa55a MDL-6386/MDL-6462 - yet more special character issues with multianswer. I think I have got them all this time. Backported from HEAD. 2007-03-20 14:31:08 +00:00
moodler 87577fc045 Automatic installer.php lang files by installer_builder (20070320) 2007-03-20 03:33:47 +00:00
stronk7 f08799bc80 small typo in var name
Merged from MOODLE_15_STABLE
2007-03-19 15:55:41 +00:00
martinlanghoff 0f1f94408a Auto-linking filters: fix serious caching bug in forum mailouts
Autolinking of glossaries, activity, resources and wiki names were using a
trivial single-entry cache implemented with static vars. The cache was _not_
keyed on course.

This bug was visible during forum_cron() which walks many courses. The cache
would get "stuck" on the first course that had something to put in the cache.
All mailouts from there onwards would autolink to stuff in the wrong course.
2007-03-19 06:03:00 +00:00
moodler 61231d5b66 Automatic installer.php lang files by installer_builder (20070318) 2007-03-18 03:26:49 +00:00
poltawski d8793bf35c MDL-6386 - Regression from MDL-6462, lost stripslashes in CLOZE question,
thanks to Joseph Joseph Rézeau  for his attention to this issue.
Backported from MOODLE_18_STABLE
2007-03-17 22:58:30 +00:00
pichetp d88d4d9309 adding </p> lines 106,108 2007-03-16 22:29:59 +00:00
tjhunt 911812794c MDL-6462 - Cloze (multianswer) question special character issues. 2007-03-15 12:58:38 +00:00
moodler e29818bf9c Automatic installer.php lang files by installer_builder (20070315) 2007-03-15 03:29:38 +00:00
tjhunt 8ec981d1eb MDL-8127 - bad use of DESCRIPTION constant in quiz module causes upgrade to fail. Thanks to Pavel Krejci for the fix. 2007-03-14 21:23:39 +00:00
skodak 52a257bb99 MDL-8897 fixed shell commands in tex and algebra filters; backported from MOODLE_17_STABLE 2007-03-14 15:15:26 +00:00
ethem 4955f652fa Code cleanup 2007-03-14 13:48:30 +00:00
moodler 39eda5c5e8 Automatic installer.php lang files by installer_builder (20070314) 2007-03-14 03:48:10 +00:00
tjhunt 3e93268a0a Eliminate bizarre use of function_exists. 2007-03-13 17:43:10 +00:00
moodler a61217d94e Automatic installer.php lang files by installer_builder (20070313) 2007-03-13 03:31:07 +00:00
skodak 7dcc760e18 MDL-5229 and MDL-6196 fixed infinite loop for gb18030 encoding, line breaking for gb18030 does not work though 2007-03-12 08:54:23 +00:00
skodak acb6697543 MDL-8849 use proper value quoting; backported from MOODLE_18_STABLE 2007-03-11 20:01:53 +00:00
moodler 77d6f641ba Merged from head MDL-8842 2007-03-10 14:52:17 +00:00
moodler 2cc1083e86 Automatic installer.php lang files by installer_builder (20070310) 2007-03-10 03:26:29 +00:00
tjhunt 50219aacc1 MDL-8177 - Random questions selected deleted questions. Backported from MOODLE_18_STABLE. 2007-03-10 00:34:55 +00:00
moodler b84d9721c0 Automatic installer.php lang files by installer_builder (20070309) 2007-03-09 03:43:18 +00:00
moodler f466b19ca6 chaning require_once to include_once to tolerate faulty mods 2007-03-08 03:28:09 +00:00
tjhunt 1e1ac99513 MDL-8349 - responses not being filtered in history display. Backported from MOODLE_18_STABLE. 2007-03-06 18:00:51 +00:00
moodler 6a1596099d Mrged new string locations for modules 2007-03-05 12:30:45 +00:00
skodak d827e21645 MDL-8584 forum reset now disabled if using PostgreSQL in Moodle 1.6.x 2007-03-04 09:10:18 +00:00
skodak dab8f5a24d MDL-8584 forum reset now disabled if using PostgreSQL in Moodle 1.6.x 2007-03-04 09:08:01 +00:00
moodler 7ecfb0c038 Automatic installer.php lang files by installer_builder (20070304) 2007-03-04 03:38:41 +00:00
gbateson f5a13d3f08 set JQuiz[7]=false, to fix checking answers for JQuiz Hybrid questions when in ShortAnswer mode 2007-03-04 01:18:07 +00:00
skodak 6317484ca7 MDL-8733 fixed approving logic when editing; fixed approve icon 2007-03-03 12:17:35 +00:00
skodak bd90f02488 sesskey added to logout.php MDL-8727 ; backported from HEAD 2007-03-02 17:15:53 +00:00
moodler 3ce0e8274f fix for MDL-8491, comments not saved in backups for essay questions 2007-03-02 04:48:21 +00:00
mjollnir_ bd2cf8f046 fixing bug MDL-8651: import course data should clean up after itself 2007-03-02 01:42:25 +00:00
defacer 2dd1350d64 Fix for MDL-8515: Prefixing chat messages with a slash should not hide the
user's name unless it's a special command we handle.

I completely removed the emoticon handling case, but it seems like it was
not needed for a long time now? Emoticons work just fine without it.
2007-03-01 07:01:13 +00:00
defacer 55a30b97ad Fix for MDL-4701: Event URLs now include anchor so that the event is immediately visible. 2007-02-27 14:25:17 +00:00
defacer e2ea245646 Bugfix: skodak's fix for MDL-5991 is needed here as well. 2007-02-27 13:55:29 +00:00
defacer 9b2fb1535b Changing email addresses that caught my eye in the comments. 2007-02-27 13:44:17 +00:00
defacer 8960cc3780 Not needing this anymore, we now have Moodle Docs. 2007-02-27 13:38:06 +00:00
moodler 541411b819 fixing typo 2007-02-27 04:38:54 +00:00
moodler 0c9a031f46 Automatic installer.php lang files by installer_builder (20070226) 2007-02-26 03:35:58 +00:00
defacer c109bb608a Fix for MDL-4940: Social Activities block disappears when editing course settings. 2007-02-24 23:07:32 +00:00
moodler cc9232e04f Automatic installer.php lang files by installer_builder (20070224) 2007-02-24 03:34:27 +00:00
thepurpleblob 5914b10e9c MDL-8602
Don't count modules where course=0 (ie, they must exist in real courses)
2007-02-21 14:58:52 +00:00
stronk7 830f83030c Changing iso-8859-1 encoding of excel files to windows-1252. It adds support for
some more (a few) characters. MDL-7993
2007-02-19 23:19:04 +00:00
stronk7 9c08fcb1a3 Backporting excellib with support to $CFG->excelisofiles to 16_STABLE.
MDL-7993. http://moodle.org/mod/forum/discuss.php?d=53302
2007-02-19 22:29:49 +00:00
ethem d421c0df1a Removed unnecesary code. 2007-02-19 11:57:49 +00:00
tjhunt e4f0ab116b MDL-8145 - Add more options to the add random questions dropdown. 2007-02-19 04:23:58 +00:00
moodler ead0918c36 Automatic installer.php lang files by installer_builder (20070219) 2007-02-19 03:30:54 +00:00
koenr 73ba657df4 MDL-8400 Changed currency of peru to Nuevo Sol 2007-02-17 23:37:26 +00:00
tjhunt 7d11d206b0 MDL-8154 - Typo in course search code. Fix thanks to Anthony Borrow. 2007-02-17 17:16:44 +00:00
moodler b19040a294 Automatic installer.php lang files by installer_builder (20070216) 2007-02-16 03:35:41 +00:00
moodler 48026c58cb Automatic installer.php lang files by installer_builder (20070214) 2007-02-14 03:47:19 +00:00
stronk7 6172a24c6e Some minor js problems. MDL-7811 and MDL-6481 2007-02-13 23:35:15 +00:00
moodler b5a1d81585 Automatic installer.php lang files by installer_builder (20070213) 2007-02-13 03:48:43 +00:00
moodler ee2c3b4de9 Automatic installer.php lang files by installer_builder (20070212) 2007-02-12 03:48:54 +00:00
vyshane 62154f84d7 Fix for MDL-8404.
Admin couldn't edit posts for each user one discussion forums.
2007-02-09 07:32:21 +00:00
stronk7 ad8c93de3e Delete backup records on course delete. MDL-8314 2007-02-09 00:09:05 +00:00
moodler 88cd5d6f9f Automatic installer.php lang files by installer_builder (20070207) 2007-02-07 03:32:02 +00:00
gbateson f733b58e83 allow empty JQuiz questions (which have at least one answer) 2007-02-03 01:11:39 +00:00
gbateson 3f4df7071b omit empty answers from JQuiz import 2007-02-03 00:35:31 +00:00
moodler fc35fab7ec Automatic installer.php lang files by installer_builder (20070202) 2007-02-02 03:44:42 +00:00
moodler 66be99b9b6 Automatic installer.php lang files by installer_builder (20070201) 2007-02-01 03:29:00 +00:00
tjhunt c19838ded3 Fix type on close tag. 2007-01-29 16:22:24 +00:00
skodak f5e90caea6 MDL-6128 special chars and messaging system; backported from HEAD 2007-01-28 21:47:21 +00:00
gbateson 8bc93dfa68 correct the display of the "Update this Hot Potatoes Quiz" button in Danish (da_utf8) and German (de_utf8) - see mdl-8322 2007-01-28 00:11:06 +00:00
moodler 9ede45bcc1 Automatic installer.php lang files by installer_builder (20070127) 2007-01-27 03:18:08 +00:00
moodler 8f716e31b3 Fixed site identifier 2007-01-23 05:01:17 +00:00
moodler 1c0d156bd4 Automatic installer.php lang files by installer_builder (20070123) 2007-01-23 03:23:05 +00:00
moodler 8b1f05f897 Automatic installer.php lang files by installer_builder (20070119) 2007-01-19 03:18:58 +00:00
bobopinna 348355c4b8 Fixed an error in $score initialization 2007-01-18 20:32:33 +00:00
skodak 753f1af690 do not send passowrd hashes to other sites SC#353 2007-01-17 20:08:10 +00:00
skodak 53ab66c884 force login in course calendar SC#349; backported from HEAD 2007-01-17 19:56:15 +00:00
moodler aaba34cc52 Bumped to post-1.6.4 2007-01-17 04:28:57 +00:00
moodler 326a83e109 Bumped to 1.6.4 2007-01-17 04:13:23 +00:00
moodler 182e92853e Automatic installer.php lang files by installer_builder (20070117) 2007-01-17 03:17:44 +00:00
mchurch dcd74d318f Fixing bug where quizzes from 1.4 will lose their answers when upgraded to later versions.
Fixes MDL-8207.
2007-01-16 21:33:11 +00:00
thepurpleblob 19874f6151 MDL-6769 Backported to 1.6 as requested. Shuffleanswers default as set in $CFG 2007-01-16 10:49:10 +00:00
moodler b5bbd35f96 Automatic installer.php lang files by installer_builder (20070116) 2007-01-16 03:15:52 +00:00
moodler c2dd7cadf8 Automatic installer.php lang files by installer_builder (20070113) 2007-01-13 10:19:45 +00:00
moodler 801ec7da79 Automatic installer.php lang files by installer_builder (20070113) 2007-01-12 17:43:29 +00:00
moodler 8ffb888712 Automatic installer.php lang files by installer_builder (20070112) 2007-01-12 03:16:31 +00:00
skodak 7a16844405 MDL-7990 Undefined variable: my_course - already fixed in 1.7 2007-01-08 21:53:31 +00:00
moodler 11e8c61f48 Automatic installer.php lang files by installer_builder (20070108) 2007-01-08 03:19:44 +00:00
skodak 38d5b701af revised adobe XSS protection SC#346 - backported from HEAD 2007-01-06 15:25:52 +00:00
moodler 9201c4146f Automatic installer.php lang files by installer_builder (20070105) 2007-01-05 03:28:18 +00:00
gbateson b15b35f6e6 fix import of Hot Potatoes quizzes using two-byte characters 2007-01-04 11:59:05 +00:00
skodak 5cdfc06bd3 Adobe Acrobat JavaScript Execution Bug SC#346; backported from HEAD 2007-01-04 00:11:09 +00:00
moodler 653d21470d Automatic installer.php lang files by installer_builder (20070103) 2007-01-03 03:20:19 +00:00
moodler 53be4b873f Automatic installer.php lang files by installer_builder (20070102) 2007-01-02 03:14:37 +00:00
moodler 18425af78f Automatic installer.php lang files by installer_builder (20061231) 2006-12-31 03:18:04 +00:00
skodak 795a0d8c34 MDL-7829 zipping with binary zip broken under windows when moodledata on different disk; backported from HEAD 2006-12-29 22:56:09 +00:00
skodak c545000a26 MDL-7837 auth_ldap_bulk_insert() fails when user data contains single quotes - patch by Iñaki Arenaza; backported from HEAD 2006-12-29 21:19:59 +00:00
skodak 0b5657c765 MDL-7404 updated currencies in 1.6.x - backport from HEAD 2006-12-29 19:20:29 +00:00
moodler ec354d2a91 Automatic installer.php lang files by installer_builder (20061229) 2006-12-29 03:09:55 +00:00
moodler ea7dee0d8a Automatic installer.php lang files by installer_builder (20061228) 2006-12-28 03:12:11 +00:00
moodler 19fc43f5eb Automatic installer.php lang files by installer_builder (20061226) 2006-12-26 03:14:13 +00:00
tjhunt d985ae5bdd MDL-7975 - Make import and export of truefalse questions more reliable. 2006-12-18 18:06:08 +00:00
tjhunt ad4dd3d4b8 MDL-7972 - improve GIFT import export for truefalse questions.
Also clean up whitespace in question/format/gift/format.php
2006-12-18 16:30:13 +00:00
moodler 0e7b1d7ac7 Automatic installer.php lang files by installer_builder (20061218) 2006-12-18 03:41:40 +00:00
moodler 9d3ea5340d Automatic installer.php lang files by installer_builder (20061215) 2006-12-15 03:17:10 +00:00
mits 513a01bfaf Fixed a missing closing brace }. 2006-12-14 20:18:56 +00:00
skodak 4ee3d4ac06 SC#341 fixed initilaization of navtail variable; backported from HEAD 2006-12-14 08:15:55 +00:00
moodler 696f45ea73 fix for MDL-7696, adding addslash for message 2006-12-12 02:48:16 +00:00
tjhunt 3866b318aa MDL-7896 - error from random question type in adaptive mode. 2006-12-11 23:33:15 +00:00
tjhunt da4c604c9d MDL-7886 - typo in overview report javascript. 2006-12-11 14:03:04 +00:00
skodak 348375da21 MDL-6668 Database mod search error on Postgres; patch by Lorenzo Nicora; backported from HEAD 2006-12-10 19:29:04 +00:00
skodak 337b664176 MDL-6613 Apostrophe in locked field prevents user updating profile - patch by Iñaki Arenaza; backported from HEAD 2006-12-10 17:44:56 +00:00
moodler 297b1bd905 Automatic installer.php lang files by installer_builder (20061210) 2006-12-10 03:04:10 +00:00
moodler ff1f958c13 Automatic installer.php lang files by installer_builder (20061209) 2006-12-09 03:12:43 +00:00
gbateson 3bdb864d50 abandoned attempts are now included in all reports. Added new help file regarding columns in "Click Trail Report" table 2006-12-08 04:16:59 +00:00
moodler 192f479e2b Automatic installer.php lang files by installer_builder (20061208) 2006-12-08 03:03:30 +00:00
gbateson 24644d6a56 fix undefined property "cr_timefinish", when viewing clickreport 2006-12-08 02:38:49 +00:00
ethem 231836a596 Don't show authorize.net login info at config page due to security precautions; Backported from MOODLE_17_STABLE. 2006-12-06 09:51:18 +00:00
mark-nielsen f9fbfb4659 Changed the fix to match what is in HEAD 2006-12-06 01:45:31 +00:00
mark-nielsen 9b00e4cf72 Bug fix: student response was not displaying for numerical questions, this bug does not exist in 1.7 2006-12-06 01:35:11 +00:00
tjhunt 0bf87d3181 MDL-7804 - Essay questions do not backup properly. 2006-12-05 18:46:45 +00:00
tjhunt 5b77a01ea4 Add $level parameters to each backup method. 2006-12-05 18:13:56 +00:00
moodler f0a7c95b24 Automatic installer.php lang files by installer_builder (20061205) 2006-12-05 03:19:49 +00:00
tjhunt adec76796a Typo in help. Thanks to Ken Wilson. 2006-12-04 16:08:04 +00:00
moodler d8b440ec76 Latest timezones from 1.8 2006-12-04 07:02:29 +00:00
moodler 19ff614093 Automatic installer.php lang files by installer_builder (20061204) 2006-12-04 03:12:15 +00:00
skodak 917a1974a3 MDL-7756 Recent Activity block gives 'Fatal error' when displayed on 'Sticky blocks' admin page; backported MDL-5931 from MOODLE_17_STABLE 2006-12-03 21:29:04 +00:00
skodak 2c54796fcb MDL-7783 Non-internal authentication change password URL doesn't work - patch by Iñaki Arenaza; backported from HEAD 2006-12-03 20:09:26 +00:00
skodak fab42b82f3 MDL-7757 URL check is too restrictive, allow port; backported from HEAD 2006-12-03 10:26:51 +00:00
skodak 6886a6fc5b MDL-7234 Smilies don't load in HTML editor for some languages; backported from HEAD 2006-12-01 09:55:13 +00:00
skodak 240e3cde63 Forgotten password page does not check secret MDL-7755; backported from HEAD 2006-12-01 09:18:23 +00:00
thepurpleblob d6751efc2b Fixed typo and notice 2006-11-28 09:36:28 +00:00
moodler f09a285a6a Automatic installer.php lang files by installer_builder (20061128) 2006-11-28 03:14:28 +00:00
moodler 5480a9bee0 Automatic installer.php lang files by installer_builder (20061127) 2006-11-27 03:12:41 +00:00
skodak 3dd1cc23b6 MDL-7631 Incorrect grading when Each attempt builds on the last and questions on more than one page; backported from HEAD 2006-11-26 23:03:15 +00:00
skodak edf174b46a Double quotes breaking short answers in a multianswer/cloze question MDL-6676; backported from HEAD 2006-11-26 21:59:23 +00:00
skodak 15d0d20614 incorrect table width in Exercise MDL-7690; backported from HEAD 2006-11-26 21:38:57 +00:00
moodler 33a50fa858 Automatic installer.php lang files by installer_builder (20061125) 2006-11-25 03:17:50 +00:00
moodler e9bbfc15fc Automatic installer.php lang files by installer_builder (20061123) 2006-11-23 03:09:22 +00:00
urs_hunkler 066f42726a 'removed overflow:hidden because there are some display issues on some pages. min-width: 0 is enough to trigger IE7 hasLayout to avoid collapsing divs' 2006-11-22 20:35:23 +00:00
urs_hunkler e2a93751ff 'removed overflow:hidden because there are some display issues on some pages. min-width: 0 is enough to trigger IE7 hasLayout to avoid collapsing divs' 2006-11-22 20:34:51 +00:00
moodler b06d0196b4 Automatic installer.php lang files by installer_builder (20061121) 2006-11-21 03:16:31 +00:00
thepurpleblob 54ccc96b58 Various improvements to Examview import.
Fixes MDL-7087 and MDL-7349. Fixes Examview part in MDL-7184
2006-11-20 12:57:04 +00:00
ethem ef10728a74 Make Zend Studio happy :)
Code Analyzer Output:

Variable $errno was used before it was defined (line 221)
Variable $errstr was used before it was defined (line 221)

Category: Coding Style

A local variable is used before it is defined.
Even though PHP initializes variables with empty values on the first use,
it is considered a good practice to explicitly initialize variables
to make code more readable and avoid unnecessary bugs.
2006-11-20 08:20:30 +00:00
moodler 0960421191 Automatic installer.php lang files by installer_builder (20061119) 2006-11-19 03:10:47 +00:00
gbateson 7cdd2a596f fix sorting order of questions in legend, which caused mismatch between question numbers used in Detailed Statistics report and those used in the legend 2006-11-18 08:52:14 +00:00
moodler a2f89145fd Automatic installer.php lang files by installer_builder (20061118) 2006-11-18 03:11:30 +00:00
ethem d810bd41cb Renamed some form fields. 2006-11-17 08:10:08 +00:00
moodler f6f75237a9 Automatic installer.php lang files by installer_builder (20061117) 2006-11-17 03:09:57 +00:00
ethem 5402e5dec3 choosemethod is too long for heading, added <br /> 2006-11-16 14:13:07 +00:00
tjhunt 14a62bfcd5 MDL-7428 - Quiz regrade removes student answers from essay questions that have been graded. 2006-11-15 17:32:32 +00:00
tjhunt 3a4cd9d998 MDL-7567 Numerical questions occasionally mix up the order of their answers 2006-11-15 16:55:40 +00:00
tjhunt 32fd8433d9 Remove obsolete code. 2006-11-15 16:47:58 +00:00
tjhunt f9cd1321ac MDL-7309 Add error checking to the Quiz DB upgrade script. This should prevent the mysterious failures that some people are seeing when upgrading quizzes from 1.5.x to 1.6.x. 2006-11-15 12:33:14 +00:00
moodler 2718918af5 Automatic installer.php lang files by installer_builder (20061115) 2006-11-15 03:14:30 +00:00
tjhunt 5c578b2bc2 MDL-6380 - added required include to make blocks work on the quiz pages. Backported from HEAD. See also MDL-7420. 2006-11-15 00:30:30 +00:00
moodler 2357b57391 Initial commit of gu_utf8 installer file 2006-11-14 19:56:25 +00:00
moodler bbf1f5d397 file installer.php was added on branch MOODLE_16_STABLE on 2006-11-14 19:56:25 +0000 2006-11-14 19:52:55 +00:00
ethem 8ef0bbf6c3 * Lessen the course list.
* Fixed pagination problem for orders when selected a course.
2006-11-13 14:25:53 +00:00
ikawhero da70138cfa Replacing with working image 2006-11-13 06:31:12 +00:00
ethem 84f7bcc8ee Get course before require_login(); 2006-11-12 13:17:46 +00:00
moodler 362c2fd638 Automatic installer.php lang files by installer_builder (20061112) 2006-11-12 03:09:58 +00:00
moodler 440d212f5c Automatic installer.php lang files by installer_builder (20061111) 2006-11-11 03:14:52 +00:00
moodler c7c6c2ea0b Automatic installer.php lang files by installer_builder (20061110) 2006-11-10 09:46:29 +00:00
moodler bc63c4bac3 field data should be backed up/restored regardless of whether user data is selected 2006-11-10 04:20:57 +00:00
moodler 89edf6b390 Automatic installer.php lang files by installer_builder (20061110) 2006-11-10 03:15:56 +00:00
moodler 5d7a6597c1 Automatic installer.php lang files by installer_builder (20061107) 2006-11-07 03:09:25 +00:00
skodak b13cfe12a6 prevent duplicate content in search engines MDL-7299; backported from MOODLE_17_STABLE 2006-11-06 21:50:49 +00:00
skodak a4495be67a better param handling SC#331; backported from MOODLE_17_STABLE 2006-11-06 20:36:16 +00:00
stronk7 0f7cac279c And, finally, IE is able to display IMS packages properly! B-)
One of the worst to solve bugs in my life! MDL-6417

Backported from HEAD
2006-11-06 17:23:54 +00:00
skodak eff26434e0 MDL-7176 fixed comment; backported from MOODLE_17_STABLE 2006-11-05 18:28:54 +00:00
moodler 74fe60674c Automatic installer.php lang files by installer_builder (20061105) 2006-11-05 03:14:26 +00:00
stronk7 e8e05625ec Now GD is checked before displaying course overview graphs. MDL-7204
Backported from HEAD
2006-11-04 23:35:50 +00:00
wildgirl 1040d76e82 MDL-6474 fix 2006-11-04 21:57:58 +00:00
wildgirl 4531718527 file langswitchstorage.html was added on branch MOODLE_16_STABLE on 2006-11-04 21:57:58 +0000 2006-11-04 21:56:42 +00:00
ethem d56eaba132 Show site name at top when selecting courses. 2006-11-03 12:45:12 +00:00
urs_hunkler a8c20a1629 'CSS update, mainly for MDL-7330' 2006-11-03 07:42:39 +00:00
moodler 12ef3b787b Automatic installer.php lang files by installer_builder (20061103) 2006-11-03 03:03:45 +00:00
watcanz 4aeab730e9 Updated for 1.6 2006-11-02 18:10:14 +00:00
bobopinna 18a742f9c6 Fixed a storic problem with & during package import
NOW Moodle full support prerequisites
2006-11-02 16:15:42 +00:00
moodler 822d3bfdc4 fix for MDL-7139 print_paging_bar at the bottom of page 2006-11-02 05:52:48 +00:00
moodler b620f6843b fix for MDL-7140, duplicate course name in header 2006-11-02 03:19:37 +00:00
ethem 6351bf91c9 Make authorize.net config page secure.
See: http://moodle.org/mod/forum/discuss.php?d=56728
Backported from 17stable.
2006-11-01 13:06:37 +00:00
ethem fffe36691f Make authorize.net config page secure.
See: http://moodle.org/mod/forum/discuss.php?d=56728
Backported from 17stable.
2006-11-01 12:55:24 +00:00
moodler 8327b31057 Merged fix from 1.7 MDL-7211 2006-11-01 06:59:26 +00:00
tjhunt 3080f36495 MDL-5811 - Quiz editing outputs nasty junk before print_header sometimes. Second attempt at fixing. I forgot to mention the bug number in the previous commit to mod/quiz/edit.php. Backported from MOODLE_17_STABLE. 2006-10-31 12:12:11 +00:00
tjhunt 4bb30981a0 Make the close_window function better. Backported from MOODLE_17_STABLE. 2006-10-31 11:58:04 +00:00
bobopinna 423ffdeda2 Fixed a typo 2006-10-31 11:38:58 +00:00
tjhunt 3f12881e16 Fix junk being output before print_header, which happened sometimes. Backported from MOODLE_17_STABLE. 2006-10-31 10:48:13 +00:00
tjhunt 4ca8d4783b Add return option to notify(). Backported from MOODLE_17_STABLE. 2006-10-31 10:48:01 +00:00
moodler fee8ca9ee9 Argh, no-one bumped it to post-1.6.3 2006-10-31 05:25:55 +00:00
martinlanghoff e22ebd9267 lib/textlib.class: Cache dir is now created correctly, allowing speed increase (SR# 595)
Previous logic had dir created only when mbstring wasn't used, but the
typo3 lib needs to cache some data regardless, for the specCharsToASCII
function, which uses internal translation tables.


Author: Luke Hudson <luke@catalyst.net.nz>
2006-10-31 05:05:35 +00:00
thepurpleblob 81b65d5a10 Whoops - left some debugging stuff in place. 2006-10-30 16:19:32 +00:00
thepurpleblob 272871028e Removed loads of tabs and fixed a notice. 2006-10-30 16:13:27 +00:00
ethem 48e8c9562e Sorry, this string is not necesary for 1.6. 2006-10-30 13:28:44 +00:00
ethem 5f118ae0dd New string: All Pending Orders 2006-10-30 11:07:39 +00:00
gbateson 2456a9fbf6 corrected the settiing of fixed flag in JMatch quizzes 2006-10-30 08:52:40 +00:00
ethem 5dc9e87812 Get only courses made transactions. This lessens the course list. 2006-10-30 08:17:15 +00:00
moodler 2143ce3083 fix for MDL-6895, gradebook group view missing optional_param, thanks for the fix 2006-10-30 03:59:26 +00:00
moodler 94a7364394 Automatic installer.php lang files by installer_builder (20061030) 2006-10-30 03:05:47 +00:00
moodler dc1b9006e5 Automatic installer.php lang files by installer_builder (20061028) 2006-10-28 03:10:42 +00:00
urs_hunkler e6c83418a4 'added min-width: 0; and overflow: hidden; to clearfix to make clearing work in IE7' 2006-10-27 13:27:52 +00:00
gbateson 7b6c589a50 corrected the detection and display of fixed JMatch items (jmt files) 2006-10-27 00:41:28 +00:00
ethem 745c14145b get_courses() is only getting visible courses. This is a problem when an user wants to view old payments.
Backported from HEAD.
2006-10-26 09:09:26 +00:00
moodler b86e99c98d Automatic installer.php lang files by installer_builder (20061026) 2006-10-26 03:20:31 +00:00
skodak 7bead1ecf8 better cleaning of rss feeds SC#328; backported from MOODLE_17_STABLE 2006-10-25 21:29:32 +00:00
skodak 14400b8274 Query to get a list of tags in block_blog_tags.php broken with PostgreSQL MDL-6259; already fixed in MOODLE_17_STABLE 2006-10-25 19:32:23 +00:00
skodak 8f8ac09b6d select_color.php popup should specify charset MDL-7193; patch by Hiroto Kagotani; backported from MOODLE_17_STABLE 2006-10-24 21:40:28 +00:00
skodak 1e1a04a695 Lang file for auth specifies incorrect file path in lang/en_utf8/auth.php MDL-7205 revisited - new patch by Martin Langhoff; backported from MOODLE_17_STABLE 2006-10-24 21:31:02 +00:00
skodak 55e677148c Lang file for auth specifies incorrect file path in lang/en_utf8/auth.php MDL-7205 - found by Inaki Arenaza; backported from MOODLE_17_STABLE 2006-10-24 20:49:05 +00:00
skodak 2fc775008e Assignment Reports incomplete MDL-6301 ; backported from MOODLE_17_STABLE 2006-10-23 21:04:09 +00:00
skodak b204171348 Excel export returns a zero bytes file when system temp not writable MDL-7176; backported from MOODLE_17_STABLE 2006-10-23 19:28:33 +00:00
moodler 0ee781c85a Automatic installer.php lang files by installer_builder (20061023) 2006-10-23 03:01:20 +00:00
moodler 9af0972fd1 Automatic installer.php lang files by installer_builder (20061022) 2006-10-22 03:08:46 +00:00
moodler 447f9047cd Automatic installer.php lang files by installer_builder (20061021) 2006-10-21 03:01:25 +00:00
moodler d61edeec07 New automatic installer lang file added (from HEAD) 2006-10-20 06:56:23 +00:00
moodler 5987855a0a file installer.php was added on branch MOODLE_16_STABLE on 2006-10-20 06:56:23 +0000 2006-10-20 06:52:11 +00:00
moodler 86668a76ec Automatic installer.php lang files by installer_builder (20061020) 2006-10-20 03:03:12 +00:00
thepurpleblob 855165f531 Focus is now loaded in Name edit box. 2006-10-19 13:03:31 +00:00
moodler ee766268a3 fix for MDL-7095, missing string 2006-10-19 06:52:30 +00:00
moodler 0a0c56807c Automatic installer.php lang files by installer_builder (20061019) 2006-10-19 03:01:19 +00:00
skodak 3c4d4cd8e7 Delete user fails if apostrophe in email address MDL-4762 ; found and solution provided by Inaki Arenaza - backported from MOODLE_17_STABLE 2006-10-18 21:47:40 +00:00
skodak 3d5690d8b0 improved validation when deleting comments from glossary SC#325 ; backported from MOODLE_17_STABLE 2006-10-18 20:22:47 +00:00
skodak 2aaed68eee changed email obfuscation character to * MDL-6935 ; backported from MOODLE_17_STABLE 2006-10-18 19:42:43 +00:00
thepurpleblob ca477ee66a Put the cursor in the edit box for a label rather than do nothing. 2006-10-18 13:01:39 +00:00
urs_hunkler d535f143ac 'added Bitstream Vera Serif for better display in Linux browsers. It looks better than Georgia on Windows ;-)' 2006-10-18 06:29:41 +00:00
moodler eec943ef26 Automatic installer.php lang files by installer_builder (20061018) 2006-10-18 03:02:19 +00:00
tjhunt 24fcdd14c0 MDL-6315 - Manually grading a question 0 marks was not being registered. I took the opportunity to clean up the logic in this function a bit. 2006-10-17 23:19:15 +00:00
tjhunt dd08b0d166 MDL-6848 - Display problem with < > characters in shortanswer when outputting the correct answer. 2006-10-17 22:16:47 +00:00
tjhunt 3d365baa65 MDL-6386 - stripslashes missing in multianswer qustions. Thank to Joseph Rezeau. 2006-10-17 22:00:51 +00:00
tjhunt 70a892eb51 MDL-7054 - Prevent creation of question categories with blank names. 2006-10-17 21:38:51 +00:00
skodak 6ec0b677e7 Automatic deletion of users when deleteunconfirmed is setted to 'never' MDL-6726 ; backported from MOODLE_17_STABLE; patch submitted by Jesús Torres 2006-10-17 20:50:04 +00:00
thepurpleblob 224a2b4c05 fix for bug MDL-7040. Focus not set when form loaded. 2006-10-17 12:26:00 +00:00
vyshane ac9bdaadc1 Fixes for MDL-6363 2006-10-17 07:16:50 +00:00
skodak 98b4d4d6a8 RSS update and caching broken for some feeds MDL-7045; backported from MOODLE_17_STABLE 2006-10-17 07:11:28 +00:00
moodler 914a7bcad3 Automatic installer.php lang files by installer_builder (20061017) 2006-10-17 03:03:39 +00:00
ethem 75ad2e9487 Fix for sending welcome messages to students.
Iterate arrays by reset and next, access by array[index] cannot be accepted due to the fact that get_records_sql() returns primary key as index.
Backported from HEAD.
2006-10-16 10:08:36 +00:00
tjhunt 6117074c05 MDL-6984 - Problem with Blackboard 5 import in PHP5. Fix based on a suggestion from Arthur Manning. 2006-10-16 09:59:36 +00:00
skodak 02d62036db MDL-6444 Typo in Course/Report/Participation/index.php, patch by Stephen Bourget; backported from MOODLE_17_STABLE 2006-10-16 09:09:01 +00:00
moodler bb19f33228 Automatic installer.php lang files by installer_builder (20061016) 2006-10-16 03:04:09 +00:00
danmarsden 6b06e02c33 Fix for MDL-6550 - patch from Graeme Byrne thanks! :-)
+ a bit of a tidy - get rid of all those tabs! :-)
2006-10-15 23:56:36 +00:00
moodler 6a66541391 Automatic installer.php lang files by installer_builder (20061015) 2006-10-15 03:00:48 +00:00
moodler 3f62782cd9 Automatic installer.php lang files by installer_builder (20061014) 2006-10-14 03:02:24 +00:00
gustav_delius c848b76045 When javascript was turned off the group menu did not work because the Go button linked to course/view.php rather than mod/forum/view.php 2006-10-13 22:28:42 +00:00
moodler d75825e75b Automatic installer.php lang files by installer_builder (20061013) 2006-10-13 03:04:00 +00:00
gbateson 64d92486a5 removed a debug line which showed up in Rottmeier DropDown quizzes 2006-10-12 21:46:03 +00:00
gbateson c049c12abf add "Group Mode" and "Visible to students" as per other standard modules 2006-10-12 07:56:29 +00:00
gbateson fef4937cb1 fixed the reporting of results from Rottmeier DropDown 2.4 quizzes 2006-10-12 07:50:23 +00:00
moodler 375a0ea8de Automatic installer.php lang files by installer_builder (20061012) 2006-10-12 03:02:56 +00:00
gbateson d4f098178a removed "Selecting courses" section and modfied "Selecting users" section 2006-10-11 01:46:44 +00:00
gbateson 268ab771b6 use "noattemptstoshow" instead of "noattempts" 2006-10-11 01:41:26 +00:00
gbateson cb94fd11d5 allow selection of groups in reports 2006-10-11 01:29:51 +00:00
gbateson 8ec2d86edf removed "Select course" drop-down menu, because it is unusable, and separated enrolled and unenrolled students in "Select users" drop-down list 2006-10-10 23:54:14 +00:00
moodler ce422c25d6 Bump for release 2006-10-10 06:05:19 +00:00
vyshane e4af9c32ff Fix for MDL-6537. Added checkbox to allow deletion of forum subscriptions when resetting a course. Added code for forum subscriptions deletion. 2006-10-10 05:15:10 +00:00
vyshane 94d52f8f02 Added string for forum reset fix (MDL-6537) 2006-10-10 05:12:30 +00:00
stronk7 46b5cf7cb7 Raising MSSQL min req. to 2005 (9.0) 2006-10-09 16:17:33 +00:00
skodak 856683e596 fixed data/index.php when no databases available, initialized array in get_all_instances_in_course() from datalib.php 2006-10-08 19:44:33 +00:00
skodak d4d2a5bc3e problem with incorrect redirect url - wwwroot without the trailning slash in not standard compliant MDL-6193 ; backported from HEAD 2006-10-08 19:03:52 +00:00
skodak fbda575645 Insert a Chinese charachter string to label resource result error MDL-6757 ; backported from HEAD 2006-10-08 10:07:54 +00:00
gustav_delius 572badbdce Fixed bug that prevented guest access to courses that are not enrollable 2006-10-08 09:53:12 +00:00
skodak bcde80f2b3 add note to admin settings to check max_allowed_packet when enabling db sessions in MySQL - MDL-6866 , fixed quotes :-( backported from HEAD 2006-10-08 09:21:32 +00:00
skodak 6b63e3d905 add note to admin settings to check max_allowed_packet when enabling db sessions in MySQL - MDL-6866 ; backported from HEAD 2006-10-08 09:18:22 +00:00
skodak 39cbc2bf7b Grades computed incorrectly if assignment name appears more than twice in a course MDL-6876 , patch submitted by Gary Anderson; backported from HEAD 2006-10-08 09:06:21 +00:00
skodak 33f0ea4178 fixed encoding header() in messaging frames MDL-6128 - 1.6, special chars and messaging system; backported from HEAD 2006-10-08 08:31:12 +00:00
skodak 992d6a3a44 Resource frameset error in IE6 MDL-6842, patch submitted by Chris Fryer; backported from HEAD 2006-10-08 08:21:54 +00:00
skodak ea0d8cea76 Scalable Vector Graphics (SVG) files in Moodle are not correctly displayed in many Browsers MDL-6878, patch submitted by Geoffrey Rowland, thanks! backported from HEAD 2006-10-08 08:14:36 +00:00
moodler 1b6cc50342 Automatic installer.php lang files by installer_builder (20061008) 2006-10-08 02:54:24 +00:00
gustav_delius 3d2e01f6c8 Don't strip slashes from data send to htmlarea, after all it is not being stripped from data going to the normal textarea either. 2006-10-07 17:07:36 +00:00
gustav_delius 4ae8c9aca1 Don't use addslashes on data coming from form and don't use stripslashes on data coming from database 2006-10-07 16:34:20 +00:00
tjhunt e1088a97ec Hopefully improve performance on site with lots of question categories. 2006-10-06 16:45:16 +00:00
stronk7 80006e6017 Typo recently introduced. MDL-6336 2006-10-06 15:00:20 +00:00
toyomoyo b9f4f2227c fix for MDL-6336 2006-10-06 08:29:29 +00:00
gbateson 509f5d23e0 change default setting for reportusers to "allusers" (was "all") 2006-10-06 03:41:03 +00:00
gbateson ffd7d3d7c2 replace indent tabs with 4 spaces 2006-10-06 03:19:33 +00:00
moodler eb0208d591 Automatic installer.php lang files by installer_builder (20061006) 2006-10-06 02:58:31 +00:00
gustav_delius a32090a4c1 Incomplete user record (the one where the username is still 'changeme') should not be included in user listing. See bug 4570 2006-10-05 22:19:10 +00:00
gustav_delius 7b66125271 Incomplete user record (the one where the username is still 'changeme') should not be included in user listing. See bug 4570 2006-10-05 21:22:43 +00:00
tjhunt 98632cd3c8 MDL-6837 - move warning about pupup blockers into the lang file. 2006-10-05 15:53:18 +00:00
vyshane 0a60ef6e45 Fix for MDL-6819. Patch submitted by Nicolas Martignoni 2006-10-05 07:20:42 +00:00
gbateson 49ebbad5fa as per other mods, use "strip_slashes" and "format_string" when printing HotPot name to browser 2006-10-05 07:12:15 +00:00
gbateson e873787168 added names of unenrolled students to drop-down list of users names for which a report can be generated 2006-10-05 06:43:32 +00:00
gbateson fb4990ca39 In the "Selecting Users" section, "All users" was added and "All participants" was modified. 2006-10-05 06:21:26 +00:00
gbateson 7032c917e3 In the "Selecting users" section, "All Users" has been added and "All participants" has been modified. 2006-10-05 06:19:27 +00:00
gbateson a4a6aafe48 enabled display of attempts by students who are no longer enrolled in the course 2006-10-05 06:02:47 +00:00
vyshane 718647bcb1 Fixes for MDL-2583 2006-10-05 03:14:20 +00:00
stronk7 14a60a077b One missing global was preventig users becoming teacher of
the course being restored. MDL-6084
2006-10-04 17:33:48 +00:00
urs_hunkler 14e0fcb120 'MDL-6824, redundant declaration: .categorybox .category' 2006-10-04 15:41:39 +00:00
moodler 64422b601f Merged fixes from HEAD, bug MDL-6791 2006-10-04 12:59:05 +00:00
tjhunt 8419513e13 MDL-6297 shuffleanswers option not imported correctly for MC questions. Backported from HEAD. 2006-10-04 10:07:42 +00:00
moodler f990f10f77 Automatic installer.php lang files by installer_builder (20061004) 2006-10-04 02:58:37 +00:00
ethem 4ab16d477d Put back last commit. Some functions check $extra->id. 2006-10-03 19:35:57 +00:00
ethem 2e633ad500 If an error occures, id returns 0.
The user, who will be sent email, may be confused for $record->id=0.
2006-10-03 18:16:19 +00:00
gustav_delius 00ba27c582 The course upload size limit applies to students only, it should not be imposed for teacher uploads. 2006-10-03 18:13:47 +00:00
tjhunt 6ca5cf268b Reverting last change. I committed the wrong file. 2006-10-03 17:59:51 +00:00
tjhunt b9bdd0c7b6 MDL-5601 - restoring a course with a multianswer question sometimes causes an error() for a non-fatal contition. Change it to a notify, and everything seems to work. I don't really understand why, but this change does not make matters worse, so I am committing it. Thanks to Joseph Rezeau. 2006-10-03 17:56:51 +00:00
tjhunt 594c911aad MDL-6649 Only show the HTML editor for the first essay question on a page, since it is unreliable when there are lots. 2006-10-03 17:28:43 +00:00
ethem cfca034aed No need extra $order->status check. These functions expired() and settled() do it for us. 2006-10-03 09:00:20 +00:00
moodler 2c669a7383 Removed focus as too much trouble. MDL-6750 2006-10-03 07:30:23 +00:00
moodler ca72bce30c Automatic installer.php lang files by installer_builder (20061003) 2006-10-03 02:57:41 +00:00
moodler c8f1d1ca37 Added extra conditions to loops to prevent infinite loops
ref the same fix made for daily loops already:

   http://moodle.cvs.sourceforge.net/moodle/moodle/lib/statslib.php?r1=1.21.2.4&r2=1.21.2.5
2006-10-03 01:44:15 +00:00
moodler f18c648ae7 Patched login action on news forum 2006-10-03 01:17:37 +00:00
gbateson 2da3d6983b version number of final HotPot v1 (2005050900) was beyond version number of initial HotPot v2 (2004122000), added code to adjust $oldversion to trigger correct upgrade of tables for HotPot v1 2006-10-02 23:57:37 +00:00
skodak 2a02ff39c6 Student cannot see handed-in upload single assignment MDL-6770; backported from HEAD 2006-10-02 08:36:49 +00:00
moodler 0a69834d90 Automatic installer.php lang files by installer_builder (20061002) 2006-10-02 02:58:41 +00:00
gbateson a8fdaa5c38 corrected display of best grade on "index.php" when maximum grade for the HotPot is not 100 2006-10-02 00:30:32 +00:00
gbateson 1387c879d5 removed a leftover debug print "SELECT ... GROUP BY ..." 2006-10-01 23:59:51 +00:00
tjhunt dfa4dd740a Fix performance problem with lots of categories. http://moodle.org/mod/forum/discuss.php?d=54945#252145 2006-10-01 20:31:47 +00:00
gbateson 164c865fc7 calendar events are now added/deleted when hotpots are added/updated/deleted 2006-10-01 06:22:12 +00:00
gbateson 1dfae875f2 added "hotpotopens" and "hotpotcloses" for calendar events 2006-10-01 06:20:58 +00:00
gbateson ff5d1865c4 do not join attempts and details tables when select attempts details. This may speed up display of hotpot/index.php where there are many, many hotpots 2006-09-30 22:40:59 +00:00
julmis 29177c6a0d Fixing $tempfiledir path 2006-09-30 16:04:22 +00:00
skodak 4454213c7b fixed parameter cleanup SC#318 2006-09-29 20:53:09 +00:00
toyomoyo e340d9f14b fix for MDL-6182 2006-09-29 03:16:51 +00:00
stronk7 d36d45416f Added PHP 5.0.x restriction to Moodle 1.7. MDL-5653 2006-09-28 16:41:00 +00:00
gbateson 3fc2c3c266 added PARAM types when calling "required_param" and "optional_param" functions 2006-09-28 12:41:49 +00:00
vyshane 008537d5c3 Fixed unneeded notify output for bug MDL-6681. 2006-09-28 08:26:32 +00:00
moodler f65b8599b5 Much smaller tags :-) 2006-09-28 07:23:46 +00:00
martinlanghoff 80161aad61 enrol/db/enrol.php ignore delt'd usrs when enroling
Previously the import process would throw a non-fatal error when it found a
non-one number of users with the remote key.  This meant that
when there was a deleted user with the same remote key as an existing user, it
would throw an error, and report that there were no users for that remote key.
Fixed it so that it now ignores deleted users, and provides more accurate
and more precise error messages in the event that there are further
problems.

Author: Peter Bulmer
2006-09-28 01:16:01 +00:00
martinlanghoff dc77f7b55c auth/db/lib (bugfix) only update mdl fields during login if 'onlogin' set
Previous operation was update all moodle fields from the external database
during each login & sync ignoring this setting. Now if this setting is
'oncreation' then the field is only copied once (on creation of user).
2006-09-28 01:04:49 +00:00
martinlanghoff c83afe4ec2 Set student enrolment end date to course enrolment period for external
database enrolments.  (fix MDL-6272)
2006-09-28 00:15:54 +00:00
martinlanghoff 8aa18dddc8 Comments. 2006-09-28 00:12:42 +00:00
martinlanghoff d0f5c048e2 Allow Chinese/Japanese UTF-8 strings to be truncated at character
boundaries instead of word boundaries. (fix MDL-5378)
2006-09-28 00:10:15 +00:00
martinlanghoff 498ce7e832 Fix for breadcrumb problem (MDL-6271). 2006-09-28 00:07:51 +00:00
moodler f329c16428 Added EU to country list 2006-09-27 12:58:24 +00:00
moodler 3398e99d5d Merged fixes for MDL-6334 from HEAD 2006-09-27 08:32:36 +00:00
gbateson 158210e49f added functions for participation report: hotpot_get_view_actions + hotpot_get_post_actions 2006-09-26 12:21:38 +00:00
moodler 85fb025135 Automatic installer.php lang files by installer_builder (20060926) 2006-09-26 02:49:20 +00:00
vyshane 4fbf8bd7b3 Forums of type 'single' should not be splittable. Added check for this. 2006-09-25 05:08:38 +00:00
vyshane 1762e9204c Fix for MDL-6521 2006-09-25 04:55:49 +00:00
vyshane 5f57a74789 Merged fix for MDL-6363 2006-09-25 04:01:53 +00:00
vyshane f009e194ec Fix for MDL-6615. Patch by Luis Peralta. 2006-09-24 15:19:54 +00:00
urs_hunkler 9f686c8a69 'add height to sideblock commands div against collapsing' 2006-09-24 09:44:05 +00:00
mark-nielsen c630b0ba86 MDL-6628 bug fix 2006-09-24 06:03:18 +00:00
moodler 38c1666070 Automatic installer.php lang files by installer_builder (20060923) 2006-09-23 02:45:13 +00:00
urs_hunkler debad50603 'reduced the distance above the footer from 100px to 40px' 2006-09-22 15:17:12 +00:00
moodler a234a89cc8 Hive updates 2006-09-22 13:23:12 +00:00
moodler 8583655bf9 Allow personal dictionaries in spell checker using $CFG->aspellextradicts
Aspell files look like this:

=========================
personal_ws-1.1 en 4
moodle
moodler
moodlemoot
moodling
=========================
2006-09-22 04:37:35 +00:00
moodler 1796aa9fcc Automatic installer.php lang files by installer_builder (20060921) 2006-09-21 02:46:11 +00:00
skodak 7c1376125d fix for old email confirmation - spotted by Dirk Grunwald 2006-09-20 21:46:50 +00:00
skodak 1c66afe8f1 minor fix backport from HEAD 2006-09-20 18:33:24 +00:00
moodler 2989d4cc7c Automatic installer.php lang files by installer_builder (20060920) 2006-09-20 03:01:53 +00:00
tjhunt f0db2fe9c3 Fix JavaScript problem reported in this thread: http://moodle.org/mod/forum/discuss.php?d=54432 2006-09-19 21:47:44 +00:00
bobopinna 5679493192 Removed the scorm_string_wrap unused function 2006-09-19 09:45:19 +00:00
bobopinna d6bddd46c6 Fixed multiattempt grading system 2006-09-19 09:07:44 +00:00
moodler 7ac61104a3 FIx for message icons, changed style to avoid problems with MDL-6020 2006-09-19 04:52:56 +00:00
urs_hunkler 987e0d3be5 'MDL-6020 - CSS changes to align text beside images' 2006-09-18 11:49:51 +00:00
moodler 7980ea00c3 Automatic installer.php lang files by installer_builder (20060918) 2006-09-18 03:06:31 +00:00
gustav_delius 02cc013abf Removed a PHP notice 2006-09-17 17:33:42 +00:00
gustav_delius 01b91ac459 Fixed bug MDL-6341 which meant that studentview was not working in hidden courses. 2006-09-17 10:14:05 +00:00
martinlanghoff 4f70e2756a Fix bug 6342 - cannot move forum post to other forum when the subject includes an apostrophe
This is actually a merge of a similar fix from HEAD
2006-09-17 02:32:00 +00:00
martinlanghoff f6965dc685 datalib: Fixed erroneous documentation.
The function sql_fullname had the same documentation as the function sql_ilike, which was not correct.  Now updated to reflect what the function
actually does.


Author: Luke Hudson <luke@catalyst.net.nz>
2006-09-17 01:35:49 +00:00
skodak 86218462fc fixed recursive backing up of backup folder when resource diretory reference is course files root - MDL-6280 2006-09-16 18:14:15 +00:00
skodak 383df89595 backupdata folder is not visible in directory resource any more, the backup files were not downloadable, but they might be stored in browser cache when teacher and student were logged from the same browser and computer account - MDL-6280 2006-09-16 17:11:00 +00:00
moodler dc7dd83b88 Automatic installer.php lang files by installer_builder (20060916) 2006-09-16 02:52:24 +00:00
vyshane a901d8fd4c Changes to ensure the xhtml markup validates 2006-09-15 08:05:08 +00:00
thepurpleblob ea8e7f9936 Removed bunch of tabs and sorted out badly formatted comments
Provides fix for bug MDL-5893
2006-09-14 13:58:09 +00:00
moodler 0d2b4325ec Added fix from http://moodle.org/mod/forum/discuss.php?d=38860#178716 2006-09-14 05:45:32 +00:00
moodler b1d70beafa Bump version to 1.6.2+ 2006-09-14 05:17:55 +00:00
moodler 3827e2d359 Merged fix for MDL-6247 2006-09-14 05:16:02 +00:00
moodler 58d079df96 Remove obsolete themes link MDL-6518 2006-09-14 03:36:04 +00:00
vyshane b139f7ae4b Fix for bug MDL-6517. Patch by David Mudrak (thanks!). 2006-09-14 03:11:56 +00:00
gbateson 0e448ae3c0 removed unnecessary $db declaration 2006-09-14 00:24:31 +00:00
gbateson 79fc4a6726 copied code from "hotpot/db/postgres.php" to detect hotpot_attempts.details field 2006-09-13 23:27:21 +00:00
gbateson 0d3b042fec fix bug 6538, in which $db->MetaColumns was not defined in some PG sites 2006-09-13 21:25:58 +00:00
urs_hunkler 2864912fe0 some style updates 2006-09-13 17:11:00 +00:00
moodler 5b3a7e59a8 Fix for MDL-6508, bad version number in Hotpot 2006-09-13 15:08:55 +00:00
urs_hunkler 7b0d235253 Added CSS to correct the login form - See bug MDL-6028 2006-09-13 14:45:54 +00:00
gbateson 22c633e8b7 when updating, if the version number indicates this could be an early HotPot v2.1 (Moodle 1.6) then check this is not HotPot v2.0 (Moodle 1.5) with an overly advanced version number. Also, added backwards compatability back to Moodle 1.1.1 New release is HotPot v2.1.23, version is 2006082900 2006-09-13 08:26:16 +00:00
gbateson 664f80662e don't show &nbsp; in empty grades cells in Excel format 2006-09-13 08:19:26 +00:00
gbateson ac63de90c6 add get_coursemodule functions for Moodle <1.5.4 2006-09-13 08:17:50 +00:00
gbateson 5f4a37b5b2 limit worksheet length to 31 chars on Moodle 1.5: prevents fatal error lib/excel/workbook.php 2006-09-13 08:16:00 +00:00
moodler 666ebd7bcf Automatic installer.php lang files by installer_builder (20060913) 2006-09-13 02:53:55 +00:00
459 changed files with 33157 additions and 67320 deletions
-12256
View File
File diff suppressed because it is too large Load Diff
+339
View File
@@ -0,0 +1,339 @@
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
License is intended to guarantee your freedom to share and change free
software--to make sure the software is free for all its users. This
General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to
using it. (Some other Free Software Foundation software is covered by
the GNU Lesser General Public License instead.) You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
this service if you wish), that you receive source code or can get it
if you want it, that you can change the software or use pieces of it
in new free programs; and that you know you can do these things.
To protect your rights, we need to make restrictions that forbid
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities for you if you
distribute copies of the software, or if you modify it.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must give the recipients all the rights that
you have. You must make sure that they, too, receive or can get the
source code. And you must show them these terms so they know their
rights.
We protect your rights with two steps: (1) copyright the software, and
(2) offer you this license which gives you legal permission to copy,
distribute and/or modify the software.
Also, for each author's protection and ours, we want to make certain
that everyone understands that there is no warranty for this free
software. If the software is modified by someone else and passed on, we
want its recipients to know that what they have is not the original, so
that any problems introduced by others will not reflect on the original
authors' reputations.
Finally, any free program is threatened constantly by software
patents. We wish to avoid the danger that redistributors of a free
program will individually obtain patent licenses, in effect making the
program proprietary. To prevent this, we have made it clear that any
patent must be licensed for everyone's free use or not licensed at all.
The precise terms and conditions for copying, distribution and
modification follow.
GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License applies to any program or other work which contains
a notice placed by the copyright holder saying it may be distributed
under the terms of this General Public License. The "Program", below,
refers to any such program or work, and a "work based on the Program"
means either the Program or any derivative work under copyright law:
that is to say, a work containing the Program or a portion of it,
either verbatim or with modifications and/or translated into another
language. (Hereinafter, translation is included without limitation in
the term "modification".) Each licensee is addressed as "you".
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running the Program is not restricted, and the output from the Program
is covered only if its contents constitute a work based on the
Program (independent of having been made by running the Program).
Whether that is true depends on what the Program does.
1. You may copy and distribute verbatim copies of the Program's
source code as you receive it, in any medium, provided that you
conspicuously and appropriately publish on each copy an appropriate
copyright notice and disclaimer of warranty; keep intact all the
notices that refer to this License and to the absence of any warranty;
and give any other recipients of the Program a copy of this License
along with the Program.
You may charge a fee for the physical act of transferring a copy, and
you may at your option offer warranty protection in exchange for a fee.
2. You may modify your copy or copies of the Program or any portion
of it, thus forming a work based on the Program, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
a) You must cause the modified files to carry prominent notices
stating that you changed the files and the date of any change.
b) You must cause any work that you distribute or publish, that in
whole or in part contains or is derived from the Program or any
part thereof, to be licensed as a whole at no charge to all third
parties under the terms of this License.
c) If the modified program normally reads commands interactively
when run, you must cause it, when started running for such
interactive use in the most ordinary way, to print or display an
announcement including an appropriate copyright notice and a
notice that there is no warranty (or else, saying that you provide
a warranty) and that users may redistribute the program under
these conditions, and telling the user how to view a copy of this
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
the Program is not required to print an announcement.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Program, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote it.
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Program.
In addition, mere aggregation of another work not based on the Program
with the Program (or with a work based on the Program) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
3. You may copy and distribute the Program (or a work based on it,
under Section 2) in object code or executable form under the terms of
Sections 1 and 2 above provided that you also do one of the following:
a) Accompany it with the complete corresponding machine-readable
source code, which must be distributed under the terms of Sections
1 and 2 above on a medium customarily used for software interchange; or,
b) Accompany it with a written offer, valid for at least three
years, to give any third party, for a charge no more than your
cost of physically performing source distribution, a complete
machine-readable copy of the corresponding source code, to be
distributed under the terms of Sections 1 and 2 above on a medium
customarily used for software interchange; or,
c) Accompany it with the information you received as to the offer
to distribute corresponding source code. (This alternative is
allowed only for noncommercial distribution and only if you
received the program in object code or executable form with such
an offer, in accord with Subsection b above.)
The source code for a work means the preferred form of the work for
making modifications to it. For an executable work, complete source
code means all the source code for all modules it contains, plus any
associated interface definition files, plus the scripts used to
control compilation and installation of the executable. However, as a
special exception, the source code distributed need not include
anything that is normally distributed (in either source or binary
form) with the major components (compiler, kernel, and so on) of the
operating system on which the executable runs, unless that component
itself accompanies the executable.
If distribution of executable or object code is made by offering
access to copy from a designated place, then offering equivalent
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
compelled to copy the source along with the object code.
4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
void, and will automatically terminate your rights under this License.
However, parties who have received copies, or rights, from you under
this License will not have their licenses terminated so long as such
parties remain in full compliance.
5. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Program or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Program (or any work based on the
Program), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Program or works based on it.
6. Each time you redistribute the Program (or any work based on the
Program), the recipient automatically receives a license from the
original licensor to copy, distribute or modify the Program subject to
these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties to
this License.
7. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Program at all. For example, if a patent
license would not permit royalty-free redistribution of the Program by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Program.
If any portion of this section is held invalid or unenforceable under
any particular circumstance, the balance of the section is intended to
apply and the section as a whole is intended to apply in other
circumstances.
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system, which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
may add an explicit geographical distribution limitation excluding
those countries, so that distribution is permitted only in or among
countries not thus excluded. In such case, this License incorporates
the limitation as if written in the body of this License.
9. The Free Software Foundation may publish revised and/or new versions
of the General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the Program
specifies a version number of this License which applies to it and "any
later version", you have the option of following the terms and conditions
either of that version or of any later version published by the Free
Software Foundation. If the Program does not specify a version number of
this License, you may choose any version ever published by the Free Software
Foundation.
10. If you wish to incorporate parts of the Program into other free
programs whose distribution conditions are different, write to the author
to ask for permission. For software which is copyrighted by the Free
Software Foundation, write to the Free Software Foundation; we sometimes
make exceptions for this. Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
NO WARRANTY
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
REPAIR OR CORRECTION.
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
convey the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program 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 2 of the License, or
(at your option) any later version.
This program 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 this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Also add information on how to contact you by electronic and paper mail.
If the program is interactive, make it output a short notice like this
when it starts in an interactive mode:
Gnomovision version 69, Copyright (C) year name of author
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, the commands you use may
be called something other than `show w' and `show c'; they could even be
mouse-clicks or menu items--whatever suits your program.
You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the program, if
necessary. Here is a sample; alter the names:
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
`Gnomovision' (which makes passes at compilers) written by James Hacker.
<signature of Ty Coon>, 1 April 1989
Ty Coon, President of Vice
This General Public License does not permit incorporating your program into
proprietary programs. If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License.
+3
View File
@@ -461,6 +461,9 @@ class configvarrss extends configvar {
$security['loginhttps'] = new configvar (get_string('configloginhttps', 'admin'),
choose_from_menu ($noyesoptions, 'loginhttps', $config->loginhttps, '', '', '', true) );
/// profilesforenrolledusersonly
$security['profilesforenrolledusersonly'] = new configvar (get_string('configprofilesforenrolledusersonly', 'admin'), choose_from_menu ($noyesoptions, 'profilesforenrolledusersonly', $CFG->profilesforenrolledusersonly, '', '', '', true) );
/// runclamonupload
$security['runclamonupload'] = new configvar (get_string('configrunclamonupload', 'admin'),
choose_from_menu($noyesoptions, 'runclamonupload', $config->runclamonupload, '', '', '', true) );
+15 -11
View File
@@ -141,11 +141,13 @@
/// Delete users who haven't confirmed within required period
$oneweek = $timenow - ($CFG->deleteunconfirmed * 3600);
if ($users = get_users_unconfirmed($oneweek)) {
foreach ($users as $user) {
if (delete_records('user', 'id', $user->id)) {
mtrace("Deleted unconfirmed user for ".fullname($user, true)." ($user->id)");
if (!empty($CFG->deleteunconfirmed)) {
$oneweek = $timenow - ($CFG->deleteunconfirmed * 3600);
if ($users = get_users_unconfirmed($oneweek)) {
foreach ($users as $user) {
if (delete_records('user', 'id', $user->id)) {
mtrace("Deleted unconfirmed user for ".fullname($user, true)." ($user->id)");
}
}
}
}
@@ -155,11 +157,13 @@
/// Delete users who haven't completed profile within required period
$oneweek = $timenow - ($CFG->deleteunconfirmed * 3600);
if ($users = get_users_not_fully_set_up($oneweek)) {
foreach ($users as $user) {
if (delete_records('user', 'id', $user->id)) {
mtrace("Deleted not fully setup user $user->username ($user->id)");
if (!empty($CFG->deleteunconfirmed)) {
$oneweek = $timenow - ($CFG->deleteunconfirmed * 3600);
if ($users = get_users_not_fully_set_up($oneweek)) {
foreach ($users as $user) {
if (delete_records('user', 'id', $user->id)) {
mtrace("Deleted not fully setup user $user->username ($user->id)");
}
}
}
}
@@ -277,7 +281,7 @@
if (!empty($CFG->enablestats) and empty($CFG->disablestatsprocessing)) {
// check we're not before our runtime
$timetocheck = strtotime("$CFG->statsruntimestarthour:$CFG->statsruntimestartminute today");
$timetocheck = strtotime("today $CFG->statsruntimestarthour:$CFG->statsruntimestartminute");
if (time() > $timetocheck) {
$time = 60*60*20; // set it to 20 here for first run... (overridden by $CFG)
+1 -1
View File
@@ -43,7 +43,7 @@ function delete_subdirectories($rootdir) {
$dir = opendir($rootdir);
while ($file = readdir($dir)) {
while (false !== ($file = readdir($dir))) {
if ($file != '.' and $file != '..') {
$fullfile = $rootdir .'/'. $file;
if (filetype($fullfile) == 'dir') {
+4 -2
View File
@@ -43,10 +43,12 @@
<BYPASS function="bypass_mysql416_reqs" message="mysql416bypassed" />
</VENDOR>
<VENDOR name="postgres" version="7.4" />
<VENDOR name="mssql" version="8.0" />
<VENDOR name="mssql" version="9.0" />
<VENDOR name="oracle" version="9.0" />
</DATABASE>
<PHP version="4.3.0" level="required" />
<PHP version="4.3.0" level="required">
<RESTRICT function="restrict_php50_version" message="php50restricted" />
</PHP>
<PHP_EXTENSIONS>
<PHP_EXTENSION name="iconv" level="optional">
<FEEDBACK>
+3 -11
View File
@@ -258,7 +258,7 @@
/// Define the unique site ID code if it isn't already
if (empty($CFG->siteidentifier)) { // Unique site identification code
set_config('siteidentifier', random_string(32));
set_config('siteidentifier', random_string(32).$_SERVER['HTTP_HOST']);
}
/// Check if the guest user exists. If not, create one.
@@ -319,8 +319,8 @@
print_spacer(10,10);
}
if (ini_get_bool('register_globals') && !ini_get_bool('magic_quotes_gpc')) {
print_simple_box(get_string('globalsquoteswarning', 'admin'), 'center', '60%');
if (ini_get_bool('register_globals')) {
print_simple_box(get_string('globalswarning', 'admin'), 'center', '60%');
}
if (is_dataroot_insecure()) {
@@ -478,14 +478,6 @@ epository').'</a></strong>',
print_simple_box_end();
if (optional_param('dbmigrate')) { // ??? Is this actually used?
print_simple_box_start('center','60%');
require_once($CFG->dirroot.'/admin/utfdbmigrate.php');
db_migrate2utf8();
print_simple_box_end();
}
print_footer($site);
+1 -1
View File
@@ -177,7 +177,7 @@
$settings = "";
}
$count = count_records("$module->name");
$count = count_records_select("$module->name",'course<>0');
if ($module->visible) {
$visible = "<a href=\"modules.php?hide=$module->name&amp;sesskey=$USER->sesskey\" title=\"$strhide\">".
+1 -1
View File
@@ -26,7 +26,7 @@
}
if (empty($CFG->siteidentifier)) { // Unique site identification code
set_config('siteidentifier', random_string(32));
set_config('siteidentifier', random_string(32).$_SERVER['HTTP_HOST']);
}
+5 -1
View File
@@ -78,7 +78,11 @@
error(get_string('statsnodata'),$CFG->wwwroot.'/'.$CFG->admin.'/report/courseoverview/index.php');
}
echo '<center><img src="'.$CFG->wwwroot.'/'.$CFG->admin.'/report/courseoverview/reportsgraph.php?time='.$time.'&report='.$report.'&numcourses='.$numcourses.'" /></center>';
if (empty($CFG->gdversion)) {
echo "<center>(".get_string("gdneed").")</center>";
} else {
echo '<center><img src="'.$CFG->wwwroot.'/'.$CFG->admin.'/report/courseoverview/reportsgraph.php?time='.$time.'&report='.$report.'&numcourses='.$numcourses.'" /></center>';
}
$table = new object();
$table->align = array('left','center','center','center');
+397
View File
@@ -0,0 +1,397 @@
<?php
/**
* Spam Cleaner
*
* Helps an admin to clean up spam in Moodle
*
* @version $Id$
* @authors Dongsheng Cai, Martin Dougiamas, Amr Hourani
* @license http://www.gnu.org/copyleft/gpl.html GNU Public License
*/
// Configuration
// List of known spammy keywords, please add more here
$autokeywords = array(
"<img",
"fuck",
"casino",
"porn",
"xxx",
"cialis",
"viagra",
"poker",
"warcraft"
);
/////////////////////////////////////////////////////////////////////////////////
require_once('../../../config.php');
require_once($CFG->libdir.'/adminlib.php');
function delete_user($user) {
$updateuser = new object();
$updateuser->id = $user->id;
$updateuser->deleted = 1;
$updateuser->username = addslashes("$user->email.".time());
$updateuser->email = '';
$updateuser->idnumber = '';
$updateuser->timemodified = time();
if (update_record('user', $updateuser)) {
role_unassign(0, $user->id);
return true;
} else {
return false;
}
}
$keyword = optional_param('keyword', '', PARAM_RAW);
$autodetect = optional_param('autodetect', '', PARAM_RAW);
$del = optional_param('del', '', PARAM_RAW);
$delall = optional_param('delall', '', PARAM_RAW);
$ignore = optional_param('ignore', '', PARAM_RAW);
$reset = optional_param('reset', '', PARAM_RAW);
$id = optional_param('id', '', PARAM_INT);
require_login();
// Implement some AJAX calls
// Delete one user
if (!empty($del) && confirm_sesskey() && ($id != $USER->id)) {
if (isset($SESSION->users_result[$id])) {
$user = $SESSION->users_result[$id];
if (delete_user($user)) {
unset($SESSION->users_result[$id]);
echo 1;
} else {
echo 0;
}
} else {
echo 0;
}
exit;
}
// Delete lots of users
if (!empty($delall) && confirm_sesskey()) {
if (!empty($SESSION->users_result)) {
foreach ($SESSION->users_result as $userid => $user) {
if ($userid != $USER->id) {
if (delete_user($user)) {
unset($SESSION->users_result[$userid]);
}
}
}
}
echo 1;
exit;
}
if (!empty($ignore)) {
unset($SESSION->users_result[$id]);
echo 1;
exit;
}
$strspamcleaner = get_string('spamcleaner', 'admin');
$strnav = '<a href="'.$CFG->wwwroot.'/'.$CFG->admin.'/index.php">'.get_string('administration').'</a> -> <a href="'.$CFG->wwwroot.'/'.$CFG->admin.'/report.php">'. get_string('reports') .'</a> -> '.$strspamcleaner;
// Print headers and things
print_header($strspamcleaner, $strspamcleaner, $strnav);
print_spamcleaner_javascript();
print_simple_box(get_string('spamcleanerintro', 'report_spamcleaner'));
?>
<div class="mdl-align">
<form method="post" action="index.php">
<div>
<input type="text" name="keyword" id="keyword_el" value="<?php p($keyword) ?>" />
<input type="hidden" name="sesskey" value="<?php echo sesskey();?>" />
<input type="submit" value="<?php echo get_string('spamsearch', 'report_spamcleaner')?>" />
</div>
</form>
<p><?php echo get_string('spameg', 'report_spamcleaner');?></p>
<hr />
<form method="post" action="index.php">
<div>
<input type="submit" name="autodetect" value="<?php echo get_string('spamauto', 'report_spamcleaner');?>" />
</div>
</form>
</div>
<?php
echo '<div id="result" class="mdl-align">';
// Print list of resulting profiles
if (!empty($keyword)) { // Use the keyword(s) supplied by the user
$keywords = explode(',', $keyword);
foreach ($keywords as $key => $keyword) {
$keywords[$key] = trim($keyword);
}
search_spammers($keywords);
} else if (!empty($autodetect)) { // Use the inbuilt keyword list to detect users
search_spammers($autokeywords);
}
echo '</div>';
/////////////////////////////////////////////////////////////////////////////////
/// Functions
function search_spammers($keywords) {
global $CFG, $USER, $DB;
if (!is_array($keywords)) {
$keywords = array($keywords); // Make it into an array
}
$like = sql_ilike();
$keywordfull = array();
foreach ($keywords as $keyword) {
$keyword = addslashes($keyword); // Just to be safe
$keywordfull[] = " description $like '%$keyword%' ";
$keywordfull2[] = " p.summary $like '%$keyword%' ";
}
$conditions = '( '.implode(' OR ', $keywordfull).' )';
$conditions2 = '( '.implode(' OR ', $keywordfull2).' )';
$sql = "SELECT * FROM {$CFG->prefix}user WHERE deleted = 0 AND id <> {$USER->id} AND $conditions"; // Exclude oneself
$sql2= "SELECT u.*, p.summary FROM {$CFG->prefix}user AS u, {$CFG->prefix}post AS p WHERE $conditions2 AND u.deleted = 0 AND u.id=p.userid AND u.id <> {$USER->id}";
$spamusers_desc = get_recordset_sql($sql);
$spamusers_blog = get_recordset_sql($sql2);
$keywordlist = implode(', ', $keywords);
print_simple_box(get_string('spamresult', 'report_spamcleaner').s($keywordlist)).' ...';
print_user_list(array($spamusers_desc, $spamusers_blog), $keywords);
}
function print_user_list($users_rs, $keywords) {
global $CFG, $SESSION;
// reset session everytime this function is called
$SESSION->users_result = array();
$count = 0;
foreach ($users_rs as $key=>$rs) {
while(!$rs->EOF) {
$user = (object)$rs->fields;
if (!$count) {
echo '<table border="1" width="100%" id="data-grid"><tr><th>&nbsp;</th><th>'.get_string('user','admin').'</th><th>'.get_string('spamdesc', 'report_spamcleaner').'</th><th>'.get_string('spamoperation', 'report_spamcleaner').'</th></tr>';
}
$rs->MoveNext();
$count++;
filter_user($user, $keywords, $count);
}
}
if (!$count) {
echo get_string('spamcannotfinduser', 'report_spamcleaner');
} else {
echo '</table>';
echo '<div class="mld-align">
<button id="removeall_btn">'.get_string('spamdeleteall', 'report_spamcleaner').'</button>
</div>';
}
}
function filter_user($user, $keywords, $count) {
global $CFG;
$image_search = false;
if (in_array('<img', $keywords)) {
$image_search = true;
}
if (isset($user->summary)) {
$user->description = '<h3>'.get_string('spamfromblog', 'report_spamcleaner').'</h3>'.$user->summary;
unset($user->summary);
}
if (preg_match('#<img.*src=[\"\']('.$CFG->pixpath.')#', $user->description, $matches)
&& $image_search) {
$result = false;
foreach ($keywords as $keyword) {
if (preg_match('#'.$keyword.'#', $user->description)
&& ($keyword != '<img')) {
$result = true;
}
}
if ($result) {
echo print_user_entry($user, $keywords, $count);
} else {
unset($user);
}
} else {
echo print_user_entry($user, $keywords, $count);
}
}
function print_user_entry($user, $keywords, $count) {
global $SESSION, $CFG;
$smalluserobject = new object; // All we need to delete them later
$smalluserobject->id = $user->id;
$smalluserobject->email = $user->email;
$smalluserobject->auth = $user->auth;
$smalluserobject->firstname = $user->firstname;
$smalluserobject->lastname = $user->lastname;
if (empty($SESSION->users_result[$user->id])) {
$SESSION->users_result[$user->id] = $smalluserobject;
$html = '<tr valign="top" id="row-'.$user->id.'" class="result-row">';
$html .= '<td width="10">'.$count.'</td>';
$html .= '<td width="30%" align="left"><a href="'.$CFG->wwwroot."/user/view.php?course=1&amp;id=".$user->id.'" title="'.s($user->username).'">'.fullname($user).'</a>';
$html .= "<ul>";
$profile_set = array('city'=>true, 'country'=>true, 'email'=>true);
foreach ($profile_set as $key=>$value) {
if (isset($user->$key)){
$html .= '<li>'.$user->$key.'</li>';
}
}
$html .= "</ul>";
$html .= '</td>';
foreach ($keywords as $keyword) {
$user->description = highlight($keyword, $user->description);
}
$html .= '<td align="left">'.format_text($user->description, FORMAT_MOODLE).'</td>';
$html .= '<td width="100px" align="center">';
$html .= '<button onclick="del_user(this,'.$user->id.')">'.get_string('deleteuser', 'admin').'</button><br />';
$html .= '<button onclick="ignore_user(this,'.$user->id.')">'.get_string('ignore', 'admin').'</button>';
$html .= '</td>';
$html .= '</tr>';
return $html;
} else {
return null;
}
}
function print_spamcleaner_javascript() {
global $CFG;
$sesskey = sesskey();
?>
<script type="text/javascript" src="<?php echo $CFG->wwwroot;?>/lib/yui/yahoo-dom-event/yahoo-dom-event.js"></script>
<script type="text/javascript" src="<?php echo $CFG->wwwroot;?>/lib/yui/connection/connection-min.js"></script>
<script type="text/javascript">
//<![CDATA[
var service_url = '<?php echo $CFG->wwwroot;?>/admin/report/spamcleaner/index.php';
function ajax(url, callback)
{
method = 'POST';
if (window.XMLHttpRequest) {
var req = new XMLHttpRequest();
} else {
var MSXML = ['MSXML2.XMLHTTP.6.0', 'MSXML2.XMLHTTP.3.0', 'MSXML2.XMLHTTP.5.0', 'MSXML2.XMLHTTP.4.0', 'MSXML2.XMLHTTP', 'Microsoft.XMLHTTP'];
for(var n = 0; n < MSXML.length; n ++) {
try {
var req = new ActiveXObject(MSXML[n]);
break;
} catch(e) {
}
}
}
with(req) {
try {
open(method, url, true);
setRequestHeader('Content-Type', 'application/x-www-form-urlencoded; charset=UTF-8');
send(null);
} catch(e) {
alert(e);
}
onreadystatechange = function()
{
if (req.readyState == 4)
{
callback(req.responseText, req.status);
delete(req);
}
}
}
}
var row = null;
function delall_cb (text) {
if(text){
window.location.href=window.location.href;
}
}
function init() {
var remove_all = document.getElementById('removeall_btn');
if(remove_all){
remove_all.onclick = function(){
var yes = confirm('<?php echo get_string('spamdeleteallconfirm', 'report_spamcleaner');?>');
if(yes){
ajax(service_url + '?delall=yes&sesskey=<?php echo $sesskey;?>', delall_cb);
}
}
}
}
function del_cb (text) {
if(row) {
if(text){
while(row.tagName != 'TR') {
row = row.parentNode;
}
row.parentNode.removeChild(row);
row = null;
} else {
alert('<?php echo get_string('spamcannotdelete', 'report_spamcleaner');?>');
}
}
}
function ignore_cb (text) {
if(row) {
if(text){
while(row.tagName != 'TR') {
row = row.parentNode;
}
row.parentNode.removeChild(row);
row = null;
}
}
}
function del_user(obj, id) {
var yes = confirm('<?php echo get_string('spamdeleteconfirm', 'report_spamcleaner');?>');
if(yes){
row = obj;
ajax(service_url + '?del=yes&sesskey=<?php echo $sesskey;?>&id='+id, del_cb);
}
}
function ignore_user(obj, id) {
row = obj;
ajax(service_url + '?ignore=yes&sesskey=<?php echo $sesskey;?>&id='+id, ignore_cb);
}
window.onload = function(){
init();
}
//]]>
</script>
<?php
}
print_footer();
?>
+318
View File
@@ -0,0 +1,318 @@
<?php
if (!defined('MOODLE_INTERNAL')) {
die('Direct access to this script is forbidden.'); /// It must be included from a Moodle page
}
$keyword = optional_param('keyword', '', PARAM_RAW);
$autodetect = optional_param('autodetect', '', PARAM_RAW);
$reset = optional_param('reset', '', PARAM_RAW);
$id = optional_param('id', '', PARAM_INT);
// List of known spammy keywords, please add more here
$autokeywords = array(
"<img",
"fuck",
"casino",
"porn",
"xxx",
"cialis",
"viagra",
"poker",
"warcraft"
);
// Print headers and things
print_heading(get_string('spamcleaner', 'admin'));
print_spamcleaner_javascript();
print_simple_box(get_string('spamcleanerintro', 'report_spamcleaner'));
?>
<div class="mdl-align">
<form method="post" action="report.php">
<div>
<input type="text" name="keyword" id="keyword_el" value="<?php p($keyword) ?>" />
<input type="hidden" name="sesskey" value="<?php echo sesskey();?>" />
<input type="submit" value="<?php echo get_string('spamsearch', 'report_spamcleaner')?>" />
</div>
</form>
<p><?php echo get_string('spameg', 'report_spamcleaner');?></p>
<hr />
<form method="post" action="report.php">
<div>
<input type="submit" name="autodetect" value="<?php echo get_string('spamauto', 'report_spamcleaner');?>" />
</div>
</form>
</div>
<?php
echo '<div id="result" class="mdl-align">';
// Print list of resulting profiles
if (!empty($keyword)) { // Use the keyword(s) supplied by the user
$keywords = explode(',', $keyword);
foreach ($keywords as $key => $keyword) {
$keywords[$key] = trim($keyword);
}
search_spammers($keywords);
} else if (!empty($autodetect)) { // Use the inbuilt keyword list to detect users
search_spammers($autokeywords);
}
echo '</div>';
/////////////////////////////////////////////////////////////////////////////////
/// Functions
function search_spammers($keywords) {
global $CFG, $USER, $DB;
if (!is_array($keywords)) {
$keywords = array($keywords); // Make it into an array
}
$like = sql_ilike();
$keywordfull = array();
foreach ($keywords as $keyword) {
$keyword = addslashes($keyword); // Just to be safe
$keywordfull[] = " description $like '%$keyword%' ";
$keywordfull2[] = " p.summary $like '%$keyword%' ";
}
$conditions = '( '.implode(' OR ', $keywordfull).' )';
$conditions2 = '( '.implode(' OR ', $keywordfull2).' )';
$sql = "SELECT * FROM {$CFG->prefix}user WHERE deleted = 0 AND id <> {$USER->id} AND $conditions"; // Exclude oneself
$sql2= "SELECT u.*, p.summary FROM {$CFG->prefix}user AS u, {$CFG->prefix}post AS p WHERE $conditions2 AND u.deleted = 0 AND u.id=p.userid AND u.id <> {$USER->id}";
$spamusers_desc = get_recordset_sql($sql);
$spamusers_blog = get_recordset_sql($sql2);
$keywordlist = implode(', ', $keywords);
print_simple_box(get_string('spamresult', 'report_spamcleaner').s($keywordlist)).' ...';
print_user_list(array($spamusers_desc, $spamusers_blog), $keywords);
}
function print_user_list($users_rs, $keywords) {
global $CFG, $SESSION;
// reset session everytime this function is called
$SESSION->users_result = array();
$count = 0;
foreach ($users_rs as $key=>$rs) {
while(!$rs->EOF) {
$user = (object)$rs->fields;
if (!$count) {
echo '<table border="1" width="100%" id="data-grid"><tr><th>&nbsp;</th><th>'.get_string('user','admin').'</th><th>'.get_string('spamdesc', 'report_spamcleaner').'</th><th>'.get_string('spamoperation', 'report_spamcleaner').'</th></tr>';
}
$rs->MoveNext();
$count++;
filter_user($user, $keywords, $count);
}
}
if (!$count) {
echo get_string('spamcannotfinduser', 'report_spamcleaner');
} else {
echo '</table>';
echo '<div class="mld-align">
<button id="removeall_btn">'.get_string('spamdeleteall', 'report_spamcleaner').'</button>
</div>';
}
}
function filter_user($user, $keywords, $count) {
global $CFG;
$image_search = false;
if (in_array('<img', $keywords)) {
$image_search = true;
}
if (isset($user->summary)) {
$user->description = '<h3>'.get_string('spamfromblog', 'report_spamcleaner').'</h3>'.$user->summary;
unset($user->summary);
}
if (preg_match('#<img.*src=[\"\']('.$CFG->pixpath.')#', $user->description, $matches)
&& $image_search) {
$result = false;
foreach ($keywords as $keyword) {
if (preg_match('#'.$keyword.'#', $user->description)
&& ($keyword != '<img')) {
$result = true;
}
}
if ($result) {
echo print_user_entry($user, $keywords, $count);
} else {
unset($user);
}
} else {
echo print_user_entry($user, $keywords, $count);
}
}
function print_user_entry($user, $keywords, $count) {
global $SESSION, $CFG;
$smalluserobject = new object; // All we need to delete them later
$smalluserobject->id = $user->id;
$smalluserobject->email = $user->email;
$smalluserobject->auth = $user->auth;
$smalluserobject->firstname = $user->firstname;
$smalluserobject->lastname = $user->lastname;
if (empty($SESSION->users_result[$user->id])) {
$SESSION->users_result[$user->id] = $smalluserobject;
$html = '<tr valign="top" id="row-'.$user->id.'" class="result-row">';
$html .= '<td width="10">'.$count.'</td>';
$html .= '<td width="30%" align="left"><a href="'.$CFG->wwwroot."/user/view.php?course=1&amp;id=".$user->id.'" title="'.s($user->username).'">'.fullname($user).'</a>';
$html .= "<ul>";
$profile_set = array('city'=>true, 'country'=>true, 'email'=>true);
foreach ($profile_set as $key=>$value) {
if (isset($user->$key)){
$html .= '<li>'.$user->$key.'</li>';
}
}
$html .= "</ul>";
$html .= '</td>';
foreach ($keywords as $keyword) {
$user->description = highlight($keyword, $user->description);
}
$html .= '<td align="left">'.format_text($user->description, FORMAT_MOODLE).'</td>';
$html .= '<td width="100px" align="center">';
$html .= '<button onclick="del_user(this,'.$user->id.')">'.get_string('deleteuser', 'admin').'</button><br />';
$html .= '<button onclick="ignore_user(this,'.$user->id.')">'.get_string('ignore', 'admin').'</button>';
$html .= '</td>';
$html .= '</tr>';
return $html;
} else {
return null;
}
}
function print_spamcleaner_javascript() {
global $CFG;
$sesskey = sesskey();
?>
<script type="text/javascript">
//<![CDATA[
var service_url = '<?php echo $CFG->wwwroot;?>/admin/report/spamcleaner/index.php';
function ajax(url, callback)
{
method = 'POST';
if (window.XMLHttpRequest) {
var req = new XMLHttpRequest();
} else {
var MSXML = ['MSXML2.XMLHTTP.6.0', 'MSXML2.XMLHTTP.3.0', 'MSXML2.XMLHTTP.5.0', 'MSXML2.XMLHTTP.4.0', 'MSXML2.XMLHTTP', 'Microsoft.XMLHTTP'];
for(var n = 0; n < MSXML.length; n ++) {
try {
var req = new ActiveXObject(MSXML[n]);
break;
} catch(e) {
}
}
}
with(req) {
try {
open(method, url, true);
setRequestHeader('Content-Type', 'application/x-www-form-urlencoded; charset=UTF-8');
send(null);
} catch(e) {
alert(e);
}
onreadystatechange = function()
{
if (req.readyState == 4)
{
callback(req.responseText, req.status);
delete(req);
}
}
}
}
var row = null;
function delall_cb (text) {
if(text){
window.location.href=window.location.href;
}
}
function init() {
var remove_all = document.getElementById('removeall_btn');
if(remove_all){
remove_all.onclick = function(){
var yes = confirm('<?php echo get_string('spamdeleteallconfirm', 'report_spamcleaner');?>');
if(yes){
ajax(service_url + '?delall=yes&sesskey=<?php echo $sesskey;?>', delall_cb);
}
}
}
}
function del_cb (text) {
if(row) {
if(text){
while(row.tagName != 'TR') {
row = row.parentNode;
}
row.parentNode.removeChild(row);
row = null;
} else {
alert('<?php echo get_string('spamcannotdelete', 'report_spamcleaner');?>');
}
}
}
function ignore_cb (text) {
if(row) {
if(text){
while(row.tagName != 'TR') {
row = row.parentNode;
}
row.parentNode.removeChild(row);
row = null;
}
}
}
function del_user(obj, id) {
var yes = confirm('<?php echo get_string('spamdeleteconfirm', 'report_spamcleaner');?>');
if(yes){
row = obj;
ajax(service_url + '?del=yes&sesskey=<?php echo $sesskey;?>&id='+id, del_cb);
}
}
function ignore_user(obj, id) {
row = obj;
ajax(service_url + '?ignore=yes&sesskey=<?php echo $sesskey;?>&id='+id, ignore_cb);
}
window.onload = function(){
init();
}
//]]>
</script>
<?php
}
?>
-1
View File
@@ -264,7 +264,6 @@ if ($um->preprocess_files() && confirm_sesskey()) {
//This can be used to obtain a list of userids for existing users
notify("$user->id ".get_string('usernotaddedregistered', 'error', $username));
$userserrors++;
continue;
}
} else { // new user
+1 -1
View File
@@ -158,7 +158,7 @@
$updateuser = new object();
$updateuser->id = $user->id;
$updateuser->deleted = "1";
$updateuser->username = "$user->email.".time(); // Remember it just in case
$updateuser->username = addslashes("$user->email.".time()); // Remember it just in case
$updateuser->email = ""; // Clear this field to free it up
$updateuser->idnumber = ""; // Clear this field to free it up
$updateuser->timemodified = time();
+13 -6
View File
@@ -87,7 +87,10 @@
print_simple_box_end();
db_migrate2utf8();
print_heading('db unicode migration has been completed!');
unlink($filename); //no longer in maintenance mode
if (!get_config('', 'migrate_maintmode')) { // already in maint mode
unlink($filename); //no longer in maintenance mode
}
delete_records('config', 'name', 'migrate_maintmode');
@require_logout();
print_continue($CFG->wwwroot.'/'.$CFG->admin.'/langimport.php');
}
@@ -115,12 +118,16 @@
//put the site in maintenance mode
check_dir_exists($CFG->dataroot.'/'.SITEID, true);
if (touch($filename)) {
$file = fopen($filename, 'w');
fwrite($file, get_string('maintinprogress','admin'));
fclose($file);
if (file_exists($filename)) {
set_config('migrate_maintmode', 1); // already in maintenance mode
} else {
notify (get_string('maintfileopenerror','admin'));
if (touch($filename)) {
$file = fopen($filename, 'w');
fwrite($file, get_string('maintinprogress','admin'));
fclose($file);
} else {
notify (get_string('maintfileopenerror','admin'));
}
}
//print second confirmation box
echo '<form name="migratefrom" action="utfdbmigrate.php" method="POST">';
+1 -1
View File
@@ -211,7 +211,7 @@ function auth_sync_users ($do_updates=0) {
$updatekeys = array();
foreach ($all_keys as $key) {
if (preg_match('/^field_updatelocal_(.+)$/',$key, $match)) {
if ($pcfg->{$match[0]}) { // if it has a true value
if ($pcfg->{$key} === 'onlogin') {
array_push($updatekeys, $match[1]); // the actual key name
}
}
+5 -3
View File
@@ -16,7 +16,8 @@
/* */
/* This program 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 2 of the License. */
/* the Free Software Foundation; either version 2 of the License or any */
/* later version. */
/************************************************************************/
/* Author: Torsten Anderson, torsten.anderson@skeria.skelleftea.se
*/
@@ -111,7 +112,8 @@ class fcFPP
$this->_user = $userid;
$this->_pwd = $passwd;
return TRUE;
} elseif (preg_match ("/^\Sorry/",$line)){ //Denied access but a valid user and password
} elseif (strpos($line, 'You are not allowed')){ // Denied access but a valid user and password
// "Sorry. You are not allowed to login with the FPP interface"
return TRUE;
} else { //Invalid user or password
return FALSE;
@@ -215,4 +217,4 @@ class fcFPP
}
?>
?>
+1 -1
View File
@@ -711,7 +711,7 @@ function auth_ldap_bulk_insert($users){
// bulk insert -- superfast with $bulk_insert_records
$sql = 'INSERT INTO '.$CFG->prefix.'extuser (idnumber) VALUES ';
// make those values safe
array_map('addslashes', $users);
$users = array_map('addslashes', $users);
// join and quote the whole lot
$sql = $sql . '(\'' . join('\'),(\'', $users) . '\')';
print "+ " . count($users) . " users\n";
+1 -1
View File
@@ -9,7 +9,7 @@ require_once($CFG->dirroot.'/backup/bb/xsl_emulate_xslt.inc');
function get_subdirs($directory){
$opendirectory = opendir( $directory );
while($filename = readdir($opendirectory)) {
while(false !== ($filename = readdir($opendirectory))) {
if (is_dir($directory.$filename) and $filename != ".." and $filename != "."){
$subdirs[] = $filename;
}
+4 -4
View File
@@ -118,7 +118,7 @@
}
// Loop through all directory entries, and construct two temporary arrays containing files and sub directories
while($entry = readdir($handle)) {
while(false !== ($entry = readdir($handle))) {
if (is_dir($dir. $slash .$entry) && $entry != ".." && $entry != "." && $entry != $excludeddir) {
$dir_subdirs[] = $dir. $slash .$entry;
}
@@ -195,7 +195,7 @@
$results = null;
$dir = opendir($rootdir);
while ($file=readdir($dir)) {
while (false !== ($file=readdir($dir))) {
if ($file=="." || $file=="..") {
continue;
}
@@ -214,7 +214,7 @@
$results = "";
$dir = opendir($rootdir);
while ($file=readdir($dir)) {
while (false !== ($file=readdir($dir))) {
if ($file=="." || $file=="..") {
continue;
}
@@ -301,7 +301,7 @@
$status = mkdir($to_file,$CFG->directorypermissions);
}
$dir = opendir($from_file);
while ($file=readdir($dir)) {
while (false !== ($file=readdir($dir))) {
if ($file=="." || $file=="..") {
continue;
}
+9
View File
@@ -53,6 +53,15 @@
print_simple_box(get_string("restorefinished"),"center");
} else {
print_simple_box(get_string("importdatafinished"),"center");
$file = $CFG->dataroot . '/'
. $SESSION->import_preferences->backup_course
. '/backupdata/' . $SESSION->import_preferences->backup_name;
if (is_readable($file)) {
unlink($file);
}
else {
error_log("import course data: couldn't unlink $file");
}
unset($SESSION->restore);
}
print_continue("$CFG->wwwroot/course/view.php?id=".$restore->course_id);
+35 -26
View File
@@ -1077,7 +1077,7 @@
if (!$preferencescount) {
$continue = false;
if (!defined('RESTORE_SILENTLY')) {
echo '<li>'.get_string('backupwithoutgradebook','grade').'</li>';
echo '<li>'.get_string('backupwithoutgradebook','grades').'</li>';
}
}
@@ -1088,7 +1088,7 @@
if ($pref_rec->value == 0) {
$continue = false;
if (!defined('RESTORE_SILENTLY')) {
echo '<li>'.get_string('respectingcurrentdata','grade').'</li>';
echo '<li>'.get_string('respectingcurrentdata','grades').'</li>';
}
}
}
@@ -1382,6 +1382,19 @@
$user->lang = 'mi_nt';
}
//Country list updates - MDL-13060
//Any user whose country code has been deleted or modified needs to be assigned a valid one.
$country_update_map = array(
'ZR' => 'CD',
'TP' => 'TL',
'FX' => 'FR',
'KO' => 'RS',
'CS' => 'RS',
'WA' => 'GB');
if (array_key_exists($user->country, $country_update_map)) {
$user->country = $country_update_map[$user->country];
}
//Check if it's admin and coursecreator
$is_admin = !empty($user->roles['admin']);
$is_coursecreator = !empty($user->roles['coursecreator']);
@@ -1858,14 +1871,7 @@
foreach ($info as $category) {
//Skip empty categories (some backups can contain them)
if (!empty($category->id)) {
$catrestore = "restore_question_categories";
if (function_exists($catrestore)) {
//print_object ($category); //Debug
$status = $catrestore($category,$restore);
} else {
//Something was wrong. Function should exist.
$status = false;
}
$status = restore_question_categories($category,$restore);
}
}
@@ -2203,19 +2209,6 @@
//Assign it to admin
$eve->userid = $adminid;
}
//We must recode the repeatid if the event has it
if (!empty($eve->repeatid)) {
$repeat_rec = backup_getid($restore->backup_unique_code,"event_repeatid",$eve->repeatid);
if ($repeat_rec) { //Exists, so use it...
$eve->repeatid = $repeat_rec->new_id;
} else { //Doesn't exists, calculate the next and save it
$oldrepeatid = $eve->repeatid;
$max_rec = get_record_sql('SELECT 1, MAX(repeatid) AS repeatid FROM '.$CFG->prefix.'event');
$eve->repeatid = empty($max_rec) ? 1 : $max_rec->repeatid + 1;
backup_putid($restore->backup_unique_code,"event_repeatid", $oldrepeatid, $eve->repeatid);
}
}
//We have to recode the groupid field
$group = backup_getid($restore->backup_unique_code,"groups",$eve->groupid);
@@ -2228,6 +2221,22 @@
//The structure is equal to the db, so insert the event
$newid = insert_record ("event",$eve);
//We must recode the repeatid if the event has it
//The repeatid now refers to the id of the original event. (see Bug#5956)
if ($newid && !empty($eve->repeatid)) {
$repeat_rec = backup_getid($restore->backup_unique_code,"event_repeatid",$eve->repeatid);
if ($repeat_rec) { //Exists, so use it...
$eve->repeatid = $repeat_rec->new_id;
} else { //Doesn't exists, calculate the next and save it
$oldrepeatid = $eve->repeatid;
$eve->repeatid = $newid;
backup_putid($restore->backup_unique_code,"event_repeatid", $oldrepeatid, $eve->repeatid);
}
$eve->id = $newid;
// update the record to contain the correct repeatid
update_record('event',$eve);
}
} else {
//get current event id
$newid = $eve_db->id;
@@ -4843,7 +4852,7 @@
}
function restore_execute(&$restore,$info,$course_header,&$errorstr) {
global $CFG;
global $CFG, $USER;
$status = true;
//Checks for the required files/functions to restore every module
//and include them
@@ -5306,9 +5315,9 @@
}
if (!$status = restore_decode_content_links($restore)) {
if (!defined('RESTORE_SILENTLY')) {
notify("Could not refresh events for activities!");
notify("Could not decode content links!");
} else {
$errorstr = "Could not refresh events for activities!";
$errorstr = "Could not decode content links!";
return false;
}
}
-1232
View File
File diff suppressed because it is too large Load Diff
+3 -3
View File
@@ -71,13 +71,13 @@ class block_blog_tags extends block_base {
$timewithin = $this->config->timewithin * 24 * 60 * 60; /// convert to seconds
$sql = 'SELECT t.*, COUNT(DISTINCT bt.id) as ct ';
$sql = 'SELECT t.id, t.type, t.text, COUNT(DISTINCT bt.id) as ct ';
$sql .= "FROM {$CFG->prefix}tags as t, {$CFG->prefix}blog_tag_instance as bt, {$CFG->prefix}post as p ";
$sql .= 'WHERE t.id = bt.tagid ';
$sql .= 'AND p.id = bt.entryid ';
$sql .= 'AND (p.publishstate = "site" or p.publishstate="public") ';
$sql .= 'AND (p.publishstate = \'site\' or p.publishstate=\'public\') ';
$sql .= "AND bt.timemodified > {$timewithin} ";
$sql .= 'GROUP BY bt.tagid ';
$sql .= 'GROUP BY t.id, t.type, t.text ';
$sql .= 'ORDER BY ct DESC, t.text ASC ';
$sql .= "LIMIT {$this->config->numberoftags} ";
+8 -3
View File
@@ -12,7 +12,7 @@ class block_html extends block_base {
}
function specialization() {
$this->title = isset($this->config->title) ? $this->config->title : get_string('newhtmlblock', 'block_html');
$this->title = isset($this->config->title) ? format_string($this->config->title) : get_string('newhtmlblock', 'block_html');
}
function instance_allow_multiple() {
@@ -24,8 +24,13 @@ class block_html extends block_base {
return $this->content;
}
$filteropt = new stdClass;
$filteropt->noclean = true;
if (!empty($this->instance->pinned) or $this->instance->pagetype === 'course-view') {
// fancy html allowed only on course page and in pinned blocks for security reasons
$filteropt = new stdClass;
$filteropt->noclean = true;
} else {
$filteropt = null;
}
$this->content = new stdClass;
$this->content->text = isset($this->config->text) ? format_text($this->config->text, FORMAT_HTML, $filteropt) : '';
+9 -2
View File
@@ -1,4 +1,11 @@
<?php $usehtmleditor = can_use_html_editor(); ?>
<?php
$usehtmleditor = can_use_html_editor();
$text = isset($this->config->text) ? $this->config->text : '';
if (empty($this->instance->pinned) and $this->instance->pagetype !== 'course-view') {
$text = clean_text($text, FORMAT_HTML);
}
?>
<table cellpadding="9" cellspacing="0">
<tr valign="top">
<td align="right"><?php print_string('configtitle', 'block_html'); ?>:</td>
@@ -6,7 +13,7 @@
</tr>
<tr valign="top">
<td align="right"><?php print_string('configcontent', 'block_html'); ?>:</td>
<td><?php print_textarea($usehtmleditor, 25, 50, 0, 0, 'text', isset($this->config->text)?$this->config->text:'') ?></td>
<td><?php print_textarea($usehtmleditor, 25, 50, 0, 0, 'text', $text) ?></td>
</tr>
<tr>
<td colspan="3" align="center">
+1 -1
View File
@@ -52,7 +52,7 @@ class block_login extends block_base {
$this->content->text .= '<table align="center" cellpadding="2" cellspacing="0" class="logintable">';
$this->content->text .= '<tr><td class="c0 r0" align="right">'.get_string('username').':</td>';
$this->content->text .= '<td class="c1 r0"><input type="text" name="username" size="10" value="'.$username.'" /></td></tr>';
$this->content->text .= '<td class="c1 r0"><input type="text" name="username" size="10" value="'.s($username).'" /></td></tr>';
$this->content->text .= '<tr><td class="c0 r1" align="right">'.get_string('password').':</td>';
$this->content->text .= '<td class="c1 r1"><input type="password" name="password" size="10" value="" /></td></tr>';
+1 -1
View File
@@ -118,7 +118,7 @@ class block_online_users extends block_base {
$this->content->text .= '<a href="'.$CFG->wwwroot.'/user/view.php?id='.$user->id.'&amp;course='.$COURSE->id.'" title="'.$timeago.'">'.$user->fullname.'</a>';
if (!empty($USER->id) and ($USER->id != $user->id) and !empty($CFG->messaging) and !isguest()) { // Only when logged in
$this->content->text .= "\n".' <a title="'.get_string('messageselectadd').'" target="message_'.$user->id.'" href="'.$CFG->wwwroot.'/message/discussion.php?id='.$user->id.'" onclick="return openpopup(\'/message/discussion.php?id='.$user->id.'\', \'message_'.$user->id.'\', \'menubar=0,location=0,scrollbars,status,resizable,width=400,height=500\', 0);">'
.'<img class="icon message" src="'.$CFG->pixpath.'/t/message.gif" alt="'. get_string('messageselectadd') .'" /></a>';
.'<img class="messageicon" src="'.$CFG->pixpath.'/t/message.gif" alt="'. get_string('messageselectadd') .'" /></a>';
}
$this->content->text .= "</li>\n";
}
+4 -3
View File
@@ -7,7 +7,7 @@ class block_participants extends block_list {
}
function get_content() {
global $USER, $CFG;
global $USER, $CFG, $COURSE;
if ($this->content !== NULL) {
return $this->content;
@@ -27,13 +27,14 @@ class block_participants extends block_list {
$this->instance->pageid = SITEID;
}
if ($this->instance->pageid != SITEID ||
/// MDL-13252 Always get the course page id or else the id may be incorrect in the user/index.php
if ($COURSE->id != SITEID ||
$CFG->showsiteparticipantslist > 1 ||
($CFG->showsiteparticipantslist == 1 && isteacherinanycourse()) ||
isteacher(SITEID)) {
$this->content->items[] = '<a title="'.get_string('listofallpeople').'" href="'.
$CFG->wwwroot.'/user/index.php?id='.$this->instance->pageid.'">'.get_string('participants').'</a>';
$CFG->wwwroot.'/user/index.php?id='.$COURSE->id.'">'.get_string('participants').'</a>';
$this->content->icons[] = '<img src="'.$CFG->pixpath.'/i/users.gif" height="16" width="16" alt="" />';
}
+1 -1
View File
@@ -123,7 +123,7 @@
$numids = count($rssidarray);
$count = 0;
foreach ($rssidarray as $rssid) {
$output .= $this->get_rss_by_id($rssid, $display_description, $shownumentries, ($numids > 1) ? true : false);
$output .= clean_text($this->get_rss_by_id($rssid, $display_description, $shownumentries, ($numids > 1) ? true : false), FORMAT_HTML);
if ($numids > 1 && $count != $numids -1 && !empty($rssfeedstring)) {
$output .= '<hr width="80%" />';
}
+4
View File
@@ -1,5 +1,9 @@
<?php // $Id$
if (!defined('MOODLE_INTERNAL')) {
die('Direct access to this script is forbidden.'); /// It must be included from a Moodle page
}
/**
* Definition of blog page type.
*/
+6 -6
View File
@@ -115,8 +115,8 @@ if ($editid) { // User is editing a post
$blogEntry = get_record('post','id',$editid);
//using an unformatted entry body here so that extra formatting information is not stored in the db
$post->body = stripslashes_safe($blogEntry->summary);
$post->etitle = stripslashes_safe($blogEntry->subject);
$post->body = $blogEntry->summary;
$post->etitle = $blogEntry->subject;
$post->postid = $editid;
$post->userid = $blogEntry->userid;
$post->format = $blogEntry->format;
@@ -194,8 +194,8 @@ function do_save($post) {
/// Write a blog entry into database
$blogEntry = new object;
$blogEntry->subject = addslashes($post->etitle);
$blogEntry->summary = addslashes($post->body);
$blogEntry->subject = $post->etitle;
$blogEntry->summary = $post->body;
$blogEntry->module = 'blog';
$blogEntry->userid = $USER->id;
$blogEntry->format = $post->format;
@@ -267,8 +267,8 @@ function do_update($post) {
// echo "id id ".$post->postid;
// print_object($blogentry); //debug
$blogEntry->subject = addslashes($post->etitle);
$blogEntry->summary = addslashes($post->body);
$blogEntry->subject = $post->etitle;
$blogEntry->summary = $post->body;
if ($blogEntry->summary == '<br />') {
$blogEntry->summary = '';
}
+4 -4
View File
@@ -110,10 +110,10 @@ if ($ME == $CFG->wwwroot.'/blog/edit.php') { /// We are in edit mode, print the
case 'course':
if ($tagid || !empty($tag)) {
print_header_simple("$course->shortname: $blogstring", $course->fullname,
print_header("$course->shortname: $blogstring", $course->fullname,
'<a href="index.php?filtertype=course&amp;filterselect='.$filterselect.'">'. "$blogstring</a> -> $tagstring: $taginstance->text",'','',true,$PAGE->get_extra_header_string());
} else {
print_header_simple("$course->shortname: $blogstring", $course->fullname,
print_header("$course->shortname: $blogstring", $course->fullname,
$blogstring,'','',true,$PAGE->get_extra_header_string());
}
break;
@@ -123,11 +123,11 @@ if ($ME == $CFG->wwwroot.'/blog/edit.php') { /// We are in edit mode, print the
$thisgroup = get_record('groups', 'id', $filterselect);
if ($tagid || !empty($tag)) {
print_header_simple("$course->shortname: $blogstring", $course->fullname,
print_header("$course->shortname: $blogstring", $course->fullname,
'<a href="'.$CFG->wwwroot.'/user/index.php?id='.$course->id.'&amp;group='.$filterselect.'">'.$thisgroup->name.'</a> ->
<a href="index.php?filtertype=group&amp;filterselect='.$filterselect.'">'. "$blogstring</a> -> $tagstring: $taginstance->text",'','',true,$PAGE->get_extra_header_string());
} else {
print_header_simple("$course->shortname: $blogstring", $course->fullname,
print_header("$course->shortname: $blogstring", $course->fullname,
'<a href="'.$CFG->wwwroot.'/user/index.php?id='.$course->id.'&amp;group='.$filterselect.'">'.$thisgroup->name."</a> ->
$blogstring",'','',true,$PAGE->get_extra_header_string());
+1 -1
View File
@@ -20,7 +20,7 @@ $limit = optional_param('limit', 0, PARAM_INT);
$start = optional_param('formstart', 0, PARAM_INT);
$userid = optional_param('userid',0,PARAM_INT);
$courseid = optional_param('courseid',SITEID,PARAM_INT);
$tag = s(urldecode(optional_param('tag', '', PARAM_NOTAGS)));
$tag = optional_param('tag', '', PARAM_NOTAGS);
$tagid = optional_param('tagid', 0, PARAM_INT);
$postid = optional_param('postid',0,PARAM_INT);
$filtertype = optional_param('filtertype', '', PARAM_ALPHA);
+7 -4
View File
@@ -119,6 +119,9 @@
blog_print_entry($blogEntry, 'list', $filtertype, $filterselect); //print this entry.
$count++;
}
print_paging_bar(get_viewable_entry_count($userid, $postid, $limit, $start,$filtertype, $filterselect, $tagid, $tag, $sort='lastmodified DESC'), $blogpage, $bloglimit, get_baseurl($filtertype, $filterselect), 'blogpage');
if (!$count) {
print '<br /><center>'. get_string('noentriesyet', 'blog') .'</center><br />';
@@ -151,10 +154,10 @@
global $USER, $CFG, $course, $ME;
$template['body'] = get_formatted_entry_body(stripslashes_safe($blogEntry->summary), $blogEntry->format);
$template['title'] = '<a name="'. $blogEntry->subject .'"></a>';
$template['body'] = get_formatted_entry_body($blogEntry->summary, $blogEntry->format);
$template['title'] = '<a name="'. s($blogEntry->subject, true) .'"></a>';
//enclose the title in nolink tags so that moodle formatting doesn't autolink the text
$template['title'] .= '<span class="nolink">'. stripslashes_safe($blogEntry->subject);
$template['title'] .= '<span class="nolink">'. strip_tags(format_string($blogEntry->subject, true));
$template['title'] .= '</span>';
$template['userid'] = $blogEntry->userid;
$template['author'] = fullname(get_record('user','id',$blogEntry->userid));
@@ -339,7 +342,7 @@
if ($format) {
return format_text($body, $format);
}
return stripslashes_safe($body);
return $body;
}
/// Main filter function
+12 -11
View File
@@ -9,14 +9,14 @@
// Copyright (C) 2003-2004 Greek School Network www.sch.gr //
// //
// Designed by: //
// Avgoustos Tsinakos (tsinakos@uom.gr) //
// Jon Papaioannou (pj@uom.gr) //
// Avgoustos Tsinakos (tsinakos@teikav.edu.gr) //
// Jon Papaioannou (pj@moodle.org) //
// //
// Programming and development: //
// Jon Papaioannou (pj@uom.gr) //
// Jon Papaioannou (pj@moodle.org) //
// //
// For bugs, suggestions, etc contact: //
// Jon Papaioannou (pj@uom.gr) //
// Jon Papaioannou (pj@moodle.org) //
// //
// The current module was developed at the University of Macedonia //
// (www.uom.gr) under the funding of the Greek School Network (www.sch.gr) //
@@ -205,13 +205,14 @@
if (count($err) == 0) {
$form->timemodified = time();
if ($form->repeat) {
$fetch = get_record_sql('SELECT 1, MAX(repeatid) AS repeatid FROM '.$CFG->prefix.'event');
$form->repeatid = empty($fetch) ? 1 : $fetch->repeatid + 1;
}
/// Get the event id for the log record.
$eventid = insert_record('event', $form, true);
/// Use the event id as the repeatid to link repeat entries together
if ($form->repeat) {
$form->repeatid = $form->id = $eventid;
update_record('event', $form); // update the row, to set its repeatid
}
/// Log the event entry.
add_to_log($form->courseid, 'calendar', 'add', 'event.php?action=edit&amp;id='.$eventid, stripslashes($form->name));
@@ -262,7 +263,7 @@
}
print_header($site->shortname.': '.$strcalendar.': '.$title, $strcalendar, $nav.' -> '.$title,
$focus, '', true, '', user_login_string($site));
'eventform.name', '', true, 'new.name', user_login_string($site));
echo calendar_overlib_html();
@@ -378,7 +379,7 @@
$form->timestart = make_timestamp($cal_y, $cal_m, 1, 0, 0, 0);
}
}
if($form->timestart < 0) {
if(!isset($form->timestart) or $form->timestart < 0) {
$form->timestart = time();
}
+1 -1
View File
@@ -1,4 +1,4 @@
<form method="post" action="event.php" name="edit">
<form method="post" action="event.php" name="eventform">
<table cellpadding="5" cellspacing="0">
<tr>
<td style="vertical-align: top; text-align: right;">
+1 -1
View File
@@ -2,7 +2,7 @@
// The following is a hack to fix bug 1488
$course = get_record('course', 'id', ($form->courseid) ? $form->courseid : $site->id);
?>
<form method="post" action="event.php" name="new">
<form method="post" action="event.php" name="eventform">
<table cellpadding="5">
<tr>
<td style="vertical-align: top; text-align: right;">
+8 -7
View File
@@ -9,14 +9,14 @@
// Copyright (C) 2003-2004 Greek School Network www.sch.gr //
// //
// Designed by: //
// Avgoustos Tsinakos (tsinakos@uom.gr) //
// Jon Papaioannou (pj@uom.gr) //
// Avgoustos Tsinakos (tsinakos@teikav.edu.gr) //
// Jon Papaioannou (pj@moodle.org) //
// //
// Programming and development: //
// Jon Papaioannou (pj@uom.gr) //
// Jon Papaioannou (pj@moodle.org) //
// //
// For bugs, suggestions, etc contact: //
// Jon Papaioannou (pj@uom.gr) //
// Jon Papaioannou (pj@moodle.org) //
// //
// The current module was developed at the University of Macedonia //
// (www.uom.gr) under the funding of the Greek School Network (www.sch.gr) //
@@ -242,7 +242,7 @@ function calendar_get_mini($courses, $groups, $users, $cal_month = false, $cal_y
$popupicon = $CFG->pixpath.'/c/user.gif';
$popupalt = '';
}
$popupcontent .= '<div><img height="16" width="16" src="'.$popupicon.'" style="vertical-align: middle; margin-right: 4px;" alt="'.$popupalt.'" /><a href="'.$dayhref.'">'.format_string($event->name,true).'</a></div>';
$popupcontent .= '<div><img height="16" width="16" src="'.$popupicon.'" style="vertical-align: middle; margin-right: 4px;" alt="'.$popupalt.'" /><a href="'.$dayhref.'#event_'.$event->id.'">'.format_string($event->name,true).'</a></div>';
}
//Accessibility: functionality moved to calendar_get_popup.
@@ -338,6 +338,7 @@ function calendar_get_popup($is_today, $event_timestart, $popupcontent='') {
$popupcaption .= get_string('eventsfor', 'calendar', userdate($event_timestart, get_string('strftimedayshort')));
}
$popupcontent = str_replace("'", "\'", htmlspecialchars($popupcontent));
$popupcaption = str_replace("'", "\'", htmlspecialchars($popupcaption));
$popup = 'onmouseover="return overlib(\''.$popupcontent.'\', CAPTION, \''.$popupcaption.'\');" onmouseout="return nd();"';
return $popup;
}
@@ -455,7 +456,7 @@ function calendar_print_event($event) {
static $strftimetime;
$event = calendar_add_event_metadata($event);
echo '<table class="event" cellspacing="0">';
echo '<a name="event_'.$event->id.'"></a><table class="event" cellspacing="0">';
echo '<tr><td class="picture">';
if (!empty($event->icon)) {
echo $event->icon;
@@ -868,7 +869,7 @@ function calendar_get_sideblock_upcoming($events, $linkhref = NULL) {
if(!empty($linkhref)) {
$ed = usergetdate($events[$i]->timestart);
$href = calendar_get_link_href(CALENDAR_URL.$linkhref, $ed['mday'], $ed['mon'], $ed['year']);
$content .= '<a href="'.$href.'">'.$events[$i]->name.'</a>';
$content .= '<a href="'.$href.'#event_'.$events[$i]->id.'">'.$events[$i]->name.'</a>';
}
else {
$content .= $events[$i]->name;
+4 -4
View File
@@ -9,14 +9,14 @@
// Copyright (C) 2003-2004 Greek School Network www.sch.gr //
// //
// Designed by: //
// Avgoustos Tsinakos (tsinakos@uom.gr) //
// Jon Papaioannou (pj@uom.gr) //
// Avgoustos Tsinakos (tsinakos@teikav.edu.gr) //
// Jon Papaioannou (pj@moodle.org) //
// //
// Programming and development: //
// Jon Papaioannou (pj@uom.gr) //
// Jon Papaioannou (pj@moodle.org) //
// //
// For bugs, suggestions, etc contact: //
// Jon Papaioannou (pj@uom.gr) //
// Jon Papaioannou (pj@moodle.org) //
// //
// The current module was developed at the University of Macedonia //
// (www.uom.gr) under the funding of the Greek School Network (www.sch.gr) //
+23 -13
View File
@@ -9,14 +9,14 @@
// Copyright (C) 2003-2004 Greek School Network www.sch.gr //
// //
// Designed by: //
// Avgoustos Tsinakos (tsinakos@uom.gr) //
// Jon Papaioannou (pj@uom.gr) //
// Avgoustos Tsinakos (tsinakos@teikav.edu.gr) //
// Jon Papaioannou (pj@moodle.org) //
// //
// Programming and development: //
// Jon Papaioannou (pj@uom.gr) //
// Jon Papaioannou (pj@moodle.org) //
// //
// For bugs, suggestions, etc contact: //
// Jon Papaioannou (pj@uom.gr) //
// Jon Papaioannou (pj@moodle.org) //
// //
// The current module was developed at the University of Macedonia //
// (www.uom.gr) under the funding of the Greek School Network (www.sch.gr) //
@@ -44,8 +44,8 @@
require_once($CFG->dirroot.'/course/lib.php');
require_once($CFG->dirroot.'/calendar/lib.php');
$course = optional_param('course', 0);
$view = optional_param('view', 'upcoming');
$courseid = optional_param('course', 0, PARAM_INT);
$view = optional_param('view', 'upcoming', PARAM_ALPHA);
$day = optional_param('cal_d', 0, PARAM_INT);
$mon = optional_param('cal_m', 0, PARAM_INT);
$yr = optional_param('cal_y', 0, PARAM_INT);
@@ -54,7 +54,9 @@
redirect($CFG->wwwroot.'/'.$CFG->admin.'/index.php');
}
if ($CFG->forcelogin) {
if ($courseid) {
require_login($courseid);
} else if ($CFG->forcelogin) {
require_login();
}
@@ -87,8 +89,8 @@
}
// If a course has been supplied in the URL, change the filters to show that one
if (!empty($course)) {
if ($course = get_record('course', 'id', $course)) {
if (!empty($courseid)) {
if ($course = get_record('course', 'id', $courseid)) {
if ($course->id == SITEID) {
// If coming from the home page, show all courses
$SESSION->cal_courses_shown = calendar_get_default_courses(true);
@@ -100,6 +102,8 @@
calendar_set_referring_course($SESSION->cal_courses_shown);
}
}
} else {
$course = null;
}
if (empty($USER->id) or isguest()) {
@@ -302,9 +306,15 @@ function calendar_show_month_detailed($m, $y, $courses, $groups, $users) {
list($d, $m, $y) = array($date['mday'], $date['mon'], $date['year']); // This is what we want to display
$display->maxdays = calendar_days_in_month($m, $y);
// We 'll keep these values as GMT here, and offset them when the time comes to query the db
$display->tstart = gmmktime(0, 0, 0, $m, 1, $y); // This is GMT
$display->tend = gmmktime(23, 59, 59, $m, $display->maxdays, $y); // GMT
if (get_user_timezone_offset() < 99) {
// We 'll keep these values as GMT here, and offset them when the time comes to query the db
$display->tstart = gmmktime(0, 0, 0, $m, 1, $y); // This is GMT
$display->tend = gmmktime(23, 59, 59, $m, $display->maxdays, $y); // GMT
} else {
// no timezone info specified
$display->tstart = mktime(0, 0, 0, $m, 1, $y);
$display->tend = mktime(23, 59, 59, $m, $display->maxdays, $y);
}
$startwday = gmdate('w', $display->tstart); // $display->tstart is already GMT, so don't use date(): messes with server's TZ
@@ -440,7 +450,7 @@ function calendar_show_month_detailed($m, $y, $courses, $groups, $users) {
if(isset($eventsbyday[$day])) {
echo '<ul class="events-new">';
foreach($eventsbyday[$day] as $eventindex) {
echo '<li><a href="'.$dayhref.'">'.format_string($events[$eventindex]->name,true).'</a></li>';
echo '<li><a href="'.$dayhref.'#event_'.$events[$eventindex]->id.'">'.format_string($events[$eventindex]->name, true).'</a></li>';
}
echo '</ul>';
}
+1 -1
View File
@@ -60,7 +60,7 @@
$strsummaryof = get_string('summaryof', '', " $sectionname $form->section");
}
print_header_simple($stredit, '', $stredit);
print_header_simple($stredit, '', $stredit, 'theform.summary' );
print_heading($strsummaryof);
print_simple_box_start('center');
+4 -3
View File
@@ -85,11 +85,12 @@
notice(get_string('enrolmentnointernal'), "$CFG->wwwroot/index.php");
}
if (!$course->enrollable ||
if (!$loginasguest and ($USER->username != 'guest') and(
!$course->enrollable ||
($course->enrollable == 2 && $course->enrolstartdate > 0 && $course->enrolstartdate > time()) ||
($course->enrollable == 2 && $course->enrolenddate > 0 && $course->enrolenddate <= time())
) {
print_header_simple();
)) {
print_header($course->shortname, $course->fullname, $course->shortname );
notice(get_string('notenrollable'), "$CFG->wwwroot/index.php");
}
+37 -18
View File
@@ -246,19 +246,50 @@ function make_log_url($module, $url) {
case 'message':
case 'calendar':
case 'blog':
return "/$module/$url";
if (strpos($url, '../') === 0) {
$url = ltrim($url, '.');
} else {
$url = "/course/$url";
}
break;
$url = "/$module/$url";
break;
case 'upload':
return $url;
$url = $url;
break;
case 'library':
case '':
return '/';
$url = '/';
break;
default:
return "/mod/$module/$url";
$url = "/mod/$module/$url";
break;
}
//now let's sanitise urls - there might be some ugly nasties:-(
$parts = explode('?', $url);
$script = array_shift($parts);
if (strpos($script, 'http') === 0) {
$script = clean_param($script, PARAM_URL);
} else {
$script = clean_param($script, PARAM_PATH);
}
$query = '';
if ($parts) {
$query = implode('', $parts);
$query = str_replace('&amp;', '&', $query); // both & and &amp; are stored in db :-|
$parts = explode('&', $query);
$eq = urlencode('=');
foreach ($parts as $key=>$part) {
$part = urlencode(urldecode($part));
$part = str_replace($eq, '=', $part);
$parts[$key] = $part;
}
$query = '?'.implode('&amp;', $parts);
}
return $script.$query;
}
function print_log($course, $user=0, $date=0, $order="l.time ASC", $page=0, $perpage=100,
@@ -406,10 +437,6 @@ function print_log($course, $user=0, $date=0, $order="l.time ASC", $page=0, $per
//Filter log->info
$log->info = format_string($log->info);
$log->url = strip_tags(urldecode($log->url)); // Some XSS protection
$log->info = strip_tags(urldecode($log->info)); // Some XSS protection
$log->url = str_replace('&', '&amp;', $log->url); /// XHTML compatibility
echo '<tr class="r'.$row.'">';
if ($course->id == SITEID) {
echo "<td class=\"r$row c0\" nowrap=\"nowrap\">\n";
@@ -1847,7 +1874,7 @@ function move_courses ($courseids, $categoryid) {
// figure out a sortorder that we can use in the destination category
$sortorder = get_field_sql('SELECT MIN(sortorder)-1 AS min
FROM ' . $CFG->prefix . 'course WHERE category=' . $categoryid);
if ($sortorder === false) {
if (is_null($sortorder) || $sortorder === false) {
// the category is empty
// rather than let the db default to 0
// set it to > 100 and avoid extra work in fix_coursesortorder()
@@ -1858,16 +1885,8 @@ function move_courses ($courseids, $categoryid) {
$course->category = $categoryid;
$course->sortorder = $sortorder;
$course->fullname = addslashes($course->fullname);
$course->shortname = addslashes($course->shortname);
$course->summary = addslashes($course->summary);
$course->password = addslashes($course->password);
$course->teacher = addslashes($course->teacher);
$course->teachers = addslashes($course->teachers);
$course->student = addslashes($course->student);
$course->students = addslashes($course->students);
if (!update_record('course', $course)) {
if (!update_record('course', addslashes_object($course))) {
notify("An error occurred - course not moved!");
}
}
+1 -1
View File
@@ -638,7 +638,7 @@
$strmodulenameplural = get_string("modulenameplural", $module->name);
if ($module->name == "label") {
$focuscursor = "";
$focuscursor = "form.content";
} else {
$focuscursor = "form.name";
}
+7 -6
View File
@@ -25,6 +25,7 @@
add_to_log($course->id, "course", "recent", "recent.php?id=$course->id", "$course->id");
$strrecentactivity = get_string("recentactivity");
$meta = '<meta name="robots" content="none" />'; // prevent duplicate content in search engines MDL-7299
$loggedinas = user_login_string($course, $USER);
@@ -42,13 +43,13 @@
if ($date)
$dateinfo = userdate($date, get_string("strftimedaydate"));
if ($course->category) {
if ($course->id != SITEID) {
print_header("$course->shortname: $strrecentactivity", "$course->fullname",
"<a href=\"view.php?id=$course->id\">$course->shortname</a> ->
<a href=\"recent.php?id=$course->id\">$strrecentactivity</a> -> $userinfo, $dateinfo", "");
<a href=\"recent.php?id=$course->id\">$strrecentactivity</a> -> $userinfo, $dateinfo", "", $meta);
} else {
print_header("$course->shortname: $strrecentactivity", "$course->fullname",
"<a href=\"recent.php?id=$course->id\">$strrecentactivity</a> -> $userinfo, $dateinfo", "");
"<a href=\"recent.php?id=$course->id\">$strrecentactivity</a> -> $userinfo, $dateinfo", "", $meta);
}
print_heading("$course->fullname: $userinfo, $dateinfo (".usertimezone().")", '', 3);
@@ -67,12 +68,12 @@
}
}
if ($course->category) {
if ($course->id != SITEID) {
print_header("$course->shortname: $strrecentactivity", "$course->fullname",
"<a href=\"view.php?id=$course->id\">$course->shortname</a> -> $strrecentactivity", "");
"<a href=\"view.php?id=$course->id\">$course->shortname</a> -> $strrecentactivity", "", $meta);
} else {
print_header("$course->shortname: $strrecentactivity", "$course->fullname",
"$strrecentactivity", "");
"$strrecentactivity", "", $meta);
}
print_heading(get_string("activitysince", "", userdate($date)));
+1 -1
View File
@@ -155,7 +155,7 @@
$postfun = $module->name.'_get_post_actions';
if (!function_exists($viewfun) || !function_exists($postfun)) {
error(get_string('modulemisssingcode','error',$module->name),$baseurl);
error(get_string('modulemissingcode','error',$module->name),$baseurl);
}
$viewnames = $viewfun();
+5 -1
View File
@@ -1,5 +1,9 @@
<?php
if (!defined('MOODLE_INTERNAL')) {
die('Direct access to this script is forbidden.'); /// It must be included from a Moodle page
}
$courses = get_courses('all','c.shortname','c.id,c.shortname,c.fullname');
$courseoptions = array();
@@ -139,4 +143,4 @@
print_table($table);
}
?>
?>
+1 -1
View File
@@ -219,7 +219,7 @@
if ($perpage != 99999 && $totalcount > $perpage) {
echo "<center><p>";
echo "<a href=\"search.php?search=$encoededsearch&perpage=99999\">".get_string("showall", "", $totalcount)."</a>";
echo "<a href=\"search.php?search=$encodedsearch&perpage=99999\">".get_string("showall", "", $totalcount)."</a>";
echo "</p></center>";
}
+11 -26
View File
@@ -82,7 +82,7 @@ function authorize_expired(&$order)
* @param string &$message Information about error message if this function returns false.
* @param object &$extra Extra data that used for refunding and credit card information.
* @param int $action Which action will be performed. See AN_ACTION_*
* @param string $cctype Credit card type, used internally to configure types automatically.
* @param string $cctype Used internally to configure credit types automatically.
* @return bool true Transaction was successful, false otherwise. Use $message for reason.
* @author Ethem Evlice <ethem a.t evlice d.o.t com>
* @uses $CFG
@@ -95,23 +95,24 @@ function authorize_action(&$order, &$message, &$extra, $action=AN_ACTION_NONE, $
$test = !empty($CFG->an_test);
if (!isset($conststring)) {
$consdata = array(
$mconfig = get_config('enrol/authorize');
$constdata = array(
'x_version' => '3.1',
'x_delim_data' => 'True',
'x_delim_char' => AN_DELIM,
'x_encap_char' => AN_ENCAP,
'x_relay_response' => 'FALSE',
'x_method' => 'CC',
'x_login' => $CFG->an_login,
'x_login' => rc4decrypt($mconfig->an_login),
'x_test_request' => $test ? 'TRUE' : 'FALSE'
);
$str = '';
foreach($consdata as $ky => $vl) {
foreach($constdata as $ky => $vl) {
$str .= $ky . '=' . urlencode($vl) . '&';
}
$str .= (!empty($CFG->an_tran_key)) ?
'x_tran_key=' . urlencode($CFG->an_tran_key):
'x_password=' . urlencode($CFG->an_password);
$str .= (!empty($mconfig->an_tran_key)) ?
'x_tran_key=' . urlencode(rc4decrypt($mconfig->an_tran_key)):
'x_password=' . urlencode(rc4decrypt($mconfig->an_password));
$conststring = $str;
}
@@ -122,10 +123,6 @@ function authorize_action(&$order, &$message, &$extra, $action=AN_ACTION_NONE, $
$message = "Check order->id!";
return false;
}
elseif ($action <= AN_ACTION_NONE or $action > AN_ACTION_VOID) {
$message = "Invalid action!";
return false;
}
$poststring = $conststring;
@@ -198,20 +195,8 @@ function authorize_action(&$order, &$message, &$extra, $action=AN_ACTION_NONE, $
case AN_ACTION_VOID:
{
if ($order->status == AN_STATUS_AUTH) {
if (authorize_expired($order)) {
$message = "Authorized transaction must be voided within 30 days. EXPIRED!";
return false;
}
}
elseif ($order->status == AN_STATUS_AUTHCAPTURE or $order->status == AN_STATUS_CREDIT) {
if (authorize_settled($order)) {
$message = "Settled transaction cannot be voided. Check Cut-Off time!";
return false;
}
}
else {
$message = "Order status must be authorized/pending capture or captured-refunded/pending settlement!";
if (authorize_expired($order) || authorize_settled($order)) {
$message = "The transaction cannot be voided due to the fact that it is expired or settled.";
return false;
}
$poststring .= '&x_type=VOID&x_trans_id=' . urlencode($order->transid);
@@ -229,6 +214,7 @@ function authorize_action(&$order, &$message, &$extra, $action=AN_ACTION_NONE, $
$referer = "Referer: $CFG->an_referer\r\n";
}
$errno = 0; $errstr = '';
$host = $test ? 'certification.authorize.net' : 'secure.authorize.net';
$fp = fsockopen("ssl://$host", 443, $errno, $errstr, 60);
if (!$fp) {
@@ -326,7 +312,6 @@ function authorize_action(&$order, &$message, &$extra, $action=AN_ACTION_NONE, $
}
break;
}
default: return false;
}
return true;
}
+12 -15
View File
@@ -79,38 +79,35 @@ if (!isset($frm->acceptccs)) {
<tr valign="top"><td colspan="3"><h4><?php print_string("adminauthorizesettings", "enrol_authorize") ?></h4></td></tr>
<tr valign="top">
<td align="right">an_login:</td>
<td><input type="text" name="an_login" value="<?php p($frm->an_login) ?>" /></td>
<td><?php print_string("anlogin", "enrol_authorize") ?></td>
<td align="right">&nbsp;&nbsp;</td>
<td><?php print_string("logininfo", "enrol_authorize") ?></td>
</tr>
<tr valign="top">
<td align="right">#&nbsp;#&nbsp;</td>
<td colspan="2"><?php print_string("chooseone", "enrol_authorize") ?></td>
<td align="right">an_login:<br /><?php echo (isset($mconfig->an_login)) ? '<font color=green>'.get_string('ok').'</font>' : ''; ?></td>
<td><?php print_string("anlogin", "enrol_authorize") ?><br /><input type="text" name="an_login" size="26" value="" /><sup>*</sup></td>
</tr>
<tr valign="top">
<td align="right">an_tran_key:</td>
<td><input type="text" name="an_tran_key" value="<?php p($frm->an_tran_key) ?>" /><sup>#1</sup></td>
<td><?php print_string("antrankey", "enrol_authorize") ?></td>
<td align="right">an_tran_key:<br /><?php echo (isset($mconfig->an_tran_key)) ? '<font color=green>'.get_string('ok').'</font>' : ''; ?></td>
<td><?php print_string("antrankey", "enrol_authorize") ?><br /><input type="text" name="an_tran_key" size="26" value="" /><sup>#1</sup></td>
</tr>
<tr valign="top">
<td align="right">an_password:</td>
<td><input type="text" name="an_password" value="" /><sup>#2</sup></td>
<td><?php print_string("anpassword", "enrol_authorize") ?><br />(<?php print_string("leavetokeep") ?>)</td>
<td align="right">an_password:<br /><?php echo (isset($mconfig->an_password)) ? '<font color=green>'.get_string('ok').'</font>' : ''; ?></td>
<td><?php print_string("anpassword", "enrol_authorize") ?><br /><input type="text" name="an_password" size="26" value="" /><sup>#2</sup></td>
</tr>
<tr valign="top">
<td align="right">delete_current:</td>
<td><?php print_checkbox('delete_current', '1', !empty($frm->delete_current)) ?></td>
<td><?php print_string("deletecheck", "moodle", get_string('oldpassword')) ?><br /><br /></td>
<td><?php print_checkbox('delete_current', '1', !empty($frm->delete_current)) ?> <br />
<?php print_string("deletecheck", "moodle", get_string('oldpassword')) ?><br /><hr size="1" width="100%" noshade /></td>
</tr>
<tr valign="top">
<td align="right">an_referer:</td>
<td><input type="text" name="an_referer" value="<?php p($frm->an_referer) ?>" /></td>
<td><?php print_string("anreferer", "enrol_authorize") ?></td>
<td><input type="text" name="an_referer" size="35" value="<?php p($frm->an_referer) ?>" /><br />
<?php print_string("anreferer", "enrol_authorize") ?></td>
</tr>
<tr valign="top">
+21
View File
@@ -108,6 +108,27 @@ function enrol_authorize_upgrade($oldversion=0) {
delete_records('config_plugins', 'name', 'an_nextmail');
}
if ($oldversion < 2006021531) { // Don't show authorize.net login info at config page
if (isset($CFG->an_login)) {
if (!empty($CFG->an_login)) {
set_config('an_login', rc4encrypt($CFG->an_login), 'enrol/authorize');
}
delete_records('config', 'name', 'an_login');
}
if (isset($CFG->an_tran_key)) {
if (!empty($CFG->an_tran_key)) {
set_config('an_tran_key', rc4encrypt($CFG->an_tran_key), 'enrol/authorize');
}
delete_records('config', 'name', 'an_tran_key');
}
if (isset($CFG->an_password)) {
if (!empty($CFG->an_password)) {
set_config('an_password', rc4encrypt($CFG->an_password), 'enrol/authorize');
}
delete_records('config', 'name', 'an_password');
}
}
return $result;
}
+21
View File
@@ -119,6 +119,27 @@ function enrol_authorize_upgrade($oldversion=0) {
delete_records('config_plugins', 'name', 'an_nextmail');
}
if ($oldversion < 2006021531) { // Don't show authorize.net login info at config page
if (isset($CFG->an_login)) {
if (!empty($CFG->an_login)) {
set_config('an_login', rc4encrypt($CFG->an_login), 'enrol/authorize');
}
delete_records('config', 'name', 'an_login');
}
if (isset($CFG->an_tran_key)) {
if (!empty($CFG->an_tran_key)) {
set_config('an_tran_key', rc4encrypt($CFG->an_tran_key), 'enrol/authorize');
}
delete_records('config', 'name', 'an_tran_key');
}
if (isset($CFG->an_password)) {
if (!empty($CFG->an_password)) {
set_config('an_password', rc4encrypt($CFG->an_password), 'enrol/authorize');
}
delete_records('config', 'name', 'an_password');
}
}
return $result;
}
+5 -5
View File
@@ -2,7 +2,7 @@
enrolment_plugin_authorize::prevent_double_paid($course);
$formvars = array('password', 'ccaddress', 'cccity', 'ccstate', 'cccountry', 'cczip',
'ccfirstname', 'cclastname', 'cc', 'ccexpiremm', 'ccexpireyyyy', 'cctype', 'cvv');
'firstname', 'lastname', 'cc', 'ccexpiremm', 'ccexpireyyyy', 'cctype', 'cvv');
foreach ($formvars as $var) {
if (!isset($form->$var)) {
@@ -11,8 +11,8 @@ foreach ($formvars as $var) {
}
$curcost = enrolment_plugin_authorize::get_course_cost($course);
$userfirstname = empty($form->ccfirstname) ? $USER->firstname : $form->ccfirstname;
$userlastname = empty($form->cclastname) ? $USER->lastname : $form->cclastname;
$userfirstname = empty($form->firstname) ? $USER->firstname : $form->firstname;
$userlastname = empty($form->lastname) ? $USER->lastname : $form->lastname;
$useraddress = empty($form->ccaddress) ? $USER->address : $form->ccaddress;
$usercity = empty($form->cccity) ? $USER->city : $form->cccity;
$usercountry = empty($form->cccountry) ? $USER->country : $form->cccountry;
@@ -37,8 +37,8 @@ $usercountry = empty($form->cccountry) ? $USER->country : $form->cccountry;
</tr>
<tr>
<td align="right"><?php print_string("nameoncard", "enrol_authorize") ?>: </td>
<td align="left"><input type="text" name="ccfirstname" size="8" value="<?php p($userfirstname) ?>" />
<input type="text" name="cclastname" size="8" value="<?php p($userlastname) ?>" />
<td align="left"><input type="text" name="firstname" size="8" value="<?php p($userfirstname) ?>" />
<input type="text" name="lastname" size="8" value="<?php p($userlastname) ?>" />
<?php if (!empty($this->ccerrors['ccfirstlast'])) { formerr($this->ccerrors['ccfirstlast']); } ?></td>
</tr>
<tr>
+67 -53
View File
@@ -1,4 +1,4 @@
<?php // $Id$
<?php // $Id$
require_once($CFG->dirroot.'/enrol/enrol.class.php');
require_once($CFG->dirroot.'/enrol/authorize/const.php');
@@ -74,7 +74,7 @@ class enrolment_plugin_authorize
return;
}
if (empty($_SERVER['HTTPS']) || $_SERVER['HTTPS'] == 'off') {
if (isset($_SERVER['SERVER_PORT']) && $_SERVER['SERVER_PORT'] != 443) { // MDL-9836
if (empty($CFG->loginhttps)) {
error(get_string('httpsrequired', 'enrol_authorize'));
} else {
@@ -163,7 +163,7 @@ class enrolment_plugin_authorize
$timenow = time();
$order = new stdClass();
$order->cclastfour = substr($form->cc, -4);
$order->ccname = $form->ccfirstname . " " . $form->cclastname;
$order->ccname = $form->firstname . " " . $form->lastname;
$order->courseid = $course->id;
$order->userid = $USER->id;
$order->status = AN_STATUS_NONE; // it will be changed...
@@ -185,8 +185,8 @@ class enrolment_plugin_authorize
$extra->x_exp_date = $exp_date;
$extra->x_currency_code = $curcost['currency'];
$extra->x_amount = $curcost['cost'];
$extra->x_first_name = $form->ccfirstname;
$extra->x_last_name = $form->cclastname;
$extra->x_first_name = $form->firstname;
$extra->x_last_name = $form->lastname;
$extra->x_country = $form->cccountry;
$extra->x_address = $form->ccaddress;
$extra->x_state = $form->ccstate;
@@ -334,7 +334,7 @@ class enrolment_plugin_authorize
}
}
if (empty($form->ccfirstname) || empty($form->cclastname)) {
if (empty($form->firstname) || empty($form->lastname)) {
$this->ccerrors['ccfirstlast'] = get_string('missingfullname');
}
@@ -414,21 +414,31 @@ class enrolment_plugin_authorize
function config_form($frm)
{
global $CFG;
$mconfig = get_config('enrol/authorize');
if (! enrolment_plugin_authorize::check_openssl_loaded()) {
notify('PHP must be compiled with SSL support (--with-openssl)');
}
if (empty($CFG->loginhttps) and substr($CFG->wwwroot, 0, 5) !== 'https') {
notify('loginhttps must be ON');
$a = new stdClass;
$a->url = "$CFG->wwwroot/$CFG->admin/config.php#configsectionsecurity";
notice(get_string('adminconfighttps', 'enrol_authorize', $a));
}
elseif (isset($_SERVER['SERVER_PORT']) && $_SERVER['SERVER_PORT'] != 443) { // MDL-9836
$wwwsroot = qualified_me();
$wwwsroot = str_replace('http:', 'https:', $wwwsroot);
$a = new stdClass;
$a->url = $wwwsroot;
notice(get_string('adminconfighttpsgo', 'enrol_authorize', $a));
}
if (!empty($frm->an_review)) {
$captureday = intval($frm->an_capture_day);
$emailexpired = intval($frm->an_emailexpired);
if ($captureday > 0 || $emailexpired > 0) {
$mconfig = get_config('enrol/authorize');
if ((time() - intval($mconfig->an_lastcron) > 3600 * 24)) {
$lastcron = get_field_sql('SELECT max(lastcron) FROM ' . $CFG->prefix . 'modules');
if ((time() - intval($lastcron) > 3600 * 24)) {
notify(get_string('admincronsetup', 'enrol_authorize'));
}
}
@@ -442,10 +452,10 @@ class enrolment_plugin_authorize
}
if (data_submitted()) {
if (empty($frm->an_login)) {
if (empty($mconfig->an_login)) {
notify("an_login required");
}
if (empty($frm->an_tran_key) && empty($frm->an_password)) {
if (empty($mconfig->an_tran_key) && empty($mconfig->an_password)) {
notify("an_tran_key or an_password required");
}
}
@@ -464,6 +474,7 @@ class enrolment_plugin_authorize
function process_config($config)
{
global $CFG;
$mconfig = get_config('enrol/authorize');
// site settings
if (($cost = optional_param('enrol_cost', 5, PARAM_INT)) > 0) {
@@ -498,12 +509,12 @@ class enrolment_plugin_authorize
$captureday = ($captureday > 29) ? 29 : (($captureday < 0) ? 0 : $captureday);
$emailexpired = ($emailexpired > 5) ? 5 : (($emailexpired < 0) ? 0 : $emailexpired);
$mconfig = get_config('enrol/authorize');
if ((!empty($reviewval)) &&
($captureday > 0 || $emailexpired > 0) &&
(time() - intval($mconfig->an_lastcron) > 3600 * 24)) {
return false;
if (!empty($reviewval) && ($captureday > 0 || $emailexpired > 0)) {
$lastcron = get_field_sql('SELECT max(lastcron) FROM ' . $CFG->prefix . 'modules');
if (time() - intval($lastcron) > 3600 * 24) {
return false;
}
}
set_config('an_review', $reviewval);
@@ -518,30 +529,35 @@ class enrolment_plugin_authorize
return false;
}
// required fields
// REQUIRED fields;
// an_login
$loginval = optional_param('an_login', '');
if (empty($loginval)) {
return false;
}
set_config('an_login', $loginval);
$tranval = optional_param('an_tran_key', '');
$passwordval = optional_param('an_password', '');
$deletecurrent = optional_param('delete_current', '');
if (!empty($passwordval)) { // password is changing
set_config('an_password', $passwordval);
}
elseif (!empty($deletecurrent) and !empty($tranval)) {
set_config('an_password', '');
$CFG->an_password = '';
}
if (empty($tranval) and empty($CFG->an_password)) {
if (empty($loginval) && empty($mconfig->an_login)) {
return false;
}
$loginval = !empty($loginval) ? rc4encrypt($loginval) : strval($mconfig->an_login);
set_config('an_login', $loginval, 'enrol/authorize');
// an_tran_key, an_password
$tranval = optional_param('an_tran_key', '');
$tranval = !empty($tranval) ? rc4encrypt($tranval) : (isset($mconfig->an_tran_key)?$mconfig->an_tran_key:'');
$passwordval = optional_param('an_password', '');
$passwordval = !empty($passwordval) ? rc4encrypt($passwordval) :(isset($mconfig->an_password)?$mconfig->an_password:'');
$deletecurrent = optional_param('delete_current', '0', PARAM_BOOL);
if (!empty($deletecurrent) and !empty($tranval)) {
delete_records('config_plugins', 'name', 'an_password', 'plugin', 'enrol/authorize');
$passwordval = '';
}
elseif (!empty($passwordval)) {
set_config('an_password', $passwordval, 'enrol/authorize');
}
if (empty($tranval) and empty($passwordval)) {
return false;
}
if (!empty($tranval)) {
set_config('an_tran_key', $tranval, 'enrol/authorize');
}
set_config('an_tran_key', $tranval);
return true;
}
@@ -624,7 +640,7 @@ class enrolment_plugin_authorize
}
if (isset($SESSION->ccpaid)) {
unset($SESSION->ccpaid);
redirect($CFG->wwwroot . '/login/logout.php');
redirect($CFG->wwwroot . '/login/logout.php?sesskey='.sesskey());
return;
}
}
@@ -696,7 +712,6 @@ class enrolment_plugin_authorize
$timediff30 = $settlementtime - (30 * $oneday);
$mconfig = get_config('enrol/authorize');
set_config('an_lastcron', $timenow, 'enrol/authorize');
mtrace("Processing authorize cron...");
@@ -737,6 +752,7 @@ class enrolment_plugin_authorize
mtrace("blocked");
return;
}
set_config('an_lastcron', $timenow, 'enrol/authorize');
mtrace(" $ordercount orders are being processed now", ": ");
@@ -798,30 +814,28 @@ class enrolment_plugin_authorize
}
mtrace(" sending welcome messages to students", ": ");
$select = "SELECT E.id, E.courseid, E.userid, C.fullname " .
"FROM {$CFG->prefix}enrol_authorize E " .
"INNER JOIN {$CFG->prefix}course C ON C.id = E.courseid " .
"WHERE E.id IN(" . implode(',', $sendem) . ") " .
"ORDER BY E.userid";
$select = "SELECT e.id, e.courseid, e.userid, c.fullname
FROM {$CFG->prefix}enrol_authorize e
INNER JOIN {$CFG->prefix}course c ON c.id = e.courseid
WHERE e.id IN(" . implode(',', $sendem) . ")
ORDER BY e.userid";
$emailinfo = get_records_sql($select);
$emailcount = count($emailinfo);
for($i = 0; $i < $emailcount; ) {
$ei = reset($emailinfo);
while ($ei !== false) {
$usercourses = array();
$lastuserid = $emailinfo[$i]->userid;
for ($j=$i; $j < $emailcount and $emailinfo[$j]->userid == $lastuserid; $j++) {
$usercourses[] = $emailinfo[$j]->fullname;
$lastuserid = $ei->userid;
for ($current = $ei; $current !== false && $current->userid == $lastuserid; $current = next($emailinfo)) {
$usercourses[] = $current->fullname;
}
$ei = $current;
$a = new stdClass;
$a->courses = implode("\n", $usercourses);
$a->profileurl = "$CFG->wwwroot/user/view.php?id=$lastuserid";
$a->paymenturl = "$CFG->wwwroot/enrol/authorize/index.php?user=$lastuserid";
$emailmessage = get_string('welcometocoursesemail', 'enrol_authorize', $a);
$user = get_record('user', 'id', $lastuserid);
email_to_user($user,
$adminuser,
get_string("enrolmentnew", '', $SITE->shortname),
$emailmessage);
$i = $j;
@email_to_user($user, $adminuser, get_string("enrolmentnew", '', $SITE->shortname), $emailmessage);
}
mtrace("sent");
}
+6 -5
View File
@@ -9,6 +9,11 @@
$courseid = optional_param('course', SITEID, PARAM_INT);
$userid = optional_param('user', 0, PARAM_INT);
/// Get course
if (!$course = get_record('course', 'id', $courseid)) {
error('Could not find that course');
}
/// Only site users can access to this page
require_login(); // Don't use $courseid! User may want to see old orders.
@@ -25,11 +30,7 @@
/// Print header
$strpaymentmanagement = get_string('paymentmanagement', 'enrol_authorize');
if (!$course = get_record('course', 'id', $courseid)) {
error('Could not find that course');
}
print_header_simple("$strpaymentmanagement", "", "<a href=\"index.php\">$strpaymentmanagement</a>");
print_header_simple($strpaymentmanagement, "", "<a href=\"index.php\">$strpaymentmanagement</a>");
/// If orderid is empty, user wants to see all orders
if (empty($orderid)) {
-54
View File
@@ -1,54 +0,0 @@
<?PHP // $Id$
/**
* backup_authorize_info
*
* @param resource $bf
* @param object $prefs
* @return bool
*/
function backup_authorize_info($bf, $prefs)
{
global $CFG;
$status = true;
if ($orders = get_records("enrol_authorize", "courseid", $prefs->backup_course))
{
fwrite($bf, start_tag("AUTHORIZEORDERS", 2 ,true));
foreach ($orders as $order) {
fwrite($bf, start_tag("ORDER", 3, true));
fwrite($bf, full_tag("ID", 4, false, $order->id));
fwrite($bf, full_tag("CCLASTFOUR", 4, false, $order->cclastfour));
fwrite($bf, full_tag("CCNAME", 4, false, $order->ccname));
fwrite($bf, full_tag("COURSEID", 4, false, $order->courseid));
fwrite($bf, full_tag("USERID", 4, false, $order->userid));
fwrite($bf, full_tag("TRANSID", 4, false, $order->transid));
fwrite($bf, full_tag("STATUS", 4, false, $order->status));
fwrite($bf, full_tag("TIMECREATED", 4, false, $order->timecreated));
fwrite($bf, full_tag("SETTLETIME", 4, false, $order->settletime));
fwrite($bf, full_tag("AMOUNT", 4, false, $order->amount));
fwrite($bf, full_tag("CURRENCY", 4, false, $order->currency));
if ($refunds = get_records("enrol_authorize_refunds", "orderid", $order->id)) {
fwrite($bf, start_tag("REFUNDS",4, true));
foreach ($refunds as $refund) {
fwrite($bf, start_tag("REFUND", 5, true));
fwrite($bf, full_tag("ID", 6, false, $refund->id));
fwrite($bf, full_tag("ORDERID", 6, false, $refund->orderid));
fwrite($bf, full_tag("STATUS", 6, false, $refund->status));
fwrite($bf, full_tag("AMOUNT", 6, false, $refund->amount));
fwrite($bf, full_tag("TRANSID", 6, false, $refund->transid));
fwrite($bf, full_tag("SETTLETIME", 6, false, $refund->settletime));
fwrite($bf, end_tag("REFUND", 5, true));
}
$status = fwrite($bf, end_tag("REFUNDS", 4, true));
}
fwrite ($bf, end_tag("ORDER", 3, true));
}
$status = fwrite($bf, end_tag("AUTHORIZEORDERS", 2, true));
}
return $status;
}
?>
+15 -17
View File
@@ -18,7 +18,7 @@ define('ORDER_VOID', 'void');
*/
function authorize_print_orders()
{
global $CFG, $USER;
global $CFG, $USER, $SITE;
global $strs, $authstrs;
global $courseid, $userid;
require_once($CFG->libdir.'/tablelib.php');
@@ -40,21 +40,19 @@ function authorize_print_orders()
AN_STATUS_TEST => $authstrs->tested
);
if ($courses = get_courses('all', 'c.sortorder ASC', 'c.id,c.fullname,c.enrol')) {
$popupcrs = array();
foreach ($courses as $crs) {
if ($crs->enrol == 'authorize' || (empty($crs->enrol) && $CFG->enrol == 'authorize')) {
$popupcrs[intval($crs->id)] = $crs->fullname;
}
}
if (!empty($popupcrs)) {
print_simple_box_start('center', '100%');
echo "$strs->status: ";
echo popup_form($baseurl.'&amp;course='.$courseid.'&amp;status=',$statusmenu,'statusmenu',$status,'','','',true);
echo " &nbsp; $strs->course: ";
echo popup_form($baseurl.'&amp;status='.$status.'&amp;course=',$popupcrs,'coursesmenu',$courseid,'','','',true);
print_simple_box_end();
}
$sql = "SELECT c.id, c.fullname FROM {$CFG->prefix}course c INNER JOIN {$CFG->prefix}enrol_authorize e ON c.id = e.courseid ";
if ($userid > 0) {
$sql .= "WHERE (e.userid='$userid') ";
}
$sql .= "ORDER BY c.sortorder, c.fullname";
if ($popupcrs = get_records_sql_menu($sql)) {
$popupcrs = array($SITE->id => $SITE->fullname) + $popupcrs;
print_simple_box_start('center', '100%');
echo "$strs->status: ";
echo popup_form($baseurl.'&amp;course='.$courseid.'&amp;status=',$statusmenu,'statusmenu',$status,'','','',true);
echo " &nbsp; $strs->course: ";
echo popup_form($baseurl.'&amp;status='.$status.'&amp;course=',$popupcrs,'coursesmenu',$courseid,'','','',true);
print_simple_box_end();
}
$table = new flexible_table('enrol-authorize');
@@ -66,7 +64,7 @@ function authorize_print_orders()
$table->define_columns(array('id', 'timecreated', 'userid', 'status', ''));
$table->define_headers(array($authstrs->orderid, $strs->time, $authstrs->nameoncard, $strs->status, $strs->action));
$table->define_baseurl($baseurl."&amp;status=$status");
$table->define_baseurl($baseurl."&amp;status=$status&amp;course=$courseid");
$table->sortable(true, 'id', SORT_DESC);
$table->pageable(true);
+1 -1
View File
@@ -1,6 +1,6 @@
<?PHP // $Id$
$plugin->version = 2006021501;
$plugin->version = 2006021531;
$plugin->requires = 2005072200;
?>
+10 -3
View File
@@ -41,7 +41,13 @@ function get_student_courses(&$user) {
if (isset($user->student[$course->id])) { /// We have it already
unset($user->student[$course->id]); /// Remove from old list
} else {
enrol_student($user->id, $course->id, 0, 0, 'database'); /// Enrol the student
if ($course->enrolperiod) {
$timestart = time();
$timeend = time() + $course->enrolperiod;
} else {
$timestart = $timeend = 0;
}
enrol_student($user->id, $course->id, $timestart, $timeend, 'database');
}
}
}
@@ -204,14 +210,15 @@ function sync_enrolments($type='student') {
$sql = "SELECT u.id AS userid, e.id AS enrolmentid" .
" FROM {$CFG->prefix}user u " .
" LEFT OUTER JOIN {$CFG->prefix}user_students e ON (u.id = e.userid AND e.course='{$course->id}')" .
" WHERE u.{$CFG->enrol_localuserfield} = '$member'";
" WHERE u.{$CFG->enrol_localuserfield} = '$member'" .
" AND (u.deleted IS NULL OR u.deleted=0)";
$ers = $db->Execute($sql);
if (!$ers) {
trigger_error($db->ErrorMsg() .' STATEMENT: '. $sql);
return false;
}
if ( $ers->RecordCount() != 1 ) { // if this returns empty, it means we don't have the student record.
if ( $ers->RecordCount() == 0 ) { // if this returns empty, it means we don't have the student record.
// should not happen -- but skip it anyway
trigger_error('weird! no user record entry?');
continue;
+3 -3
View File
@@ -585,8 +585,8 @@ function create_course ($course_ext,$skip_fix_course_sortorder=0){
// override with required ext data
$course->idnumber = $course_ext[$CFG->enrol_ldap_course_idnumber][0];
$course->fullname = $course_ext[$CFG->enrol_ldap_course_fullname][0];
$course->shortname = $course_ext[$CFG->enrol_ldap_course_shortname][0];
$course->fullname = addslashes($course_ext[$CFG->enrol_ldap_course_fullname][0]);
$course->shortname = addslashes($course_ext[$CFG->enrol_ldap_course_shortname][0]);
if ( empty($course->idnumber)
|| empty($course->fullname)
|| empty($course->shortname) ) {
@@ -597,7 +597,7 @@ function create_course ($course_ext,$skip_fix_course_sortorder=0){
}
if(!empty($CFG->enrol_ldap_course_summary)){ // optional
$course->summary = $course_ext[$CFG->enrol_ldap_course_summary][0];
$course->summary = addslashes($course_ext[$CFG->enrol_ldap_course_summary][0]);
}
if(!empty($CFG->enrol_ldap_category)){ // optional ... but ensure it is set!
$course->category = $CFG->enrol_ldap_category;
+6 -5
View File
@@ -54,11 +54,12 @@
}
// security: only editing teachers can access backups
if ((!isteacheredit($course->id))
and (count($args) >= 2)
and (strtolower($args[1]) == 'backupdata')) {
error('Access not allowed');
if ((count($args) >= 2) and (strtolower($args[1]) == 'backupdata')) {
if (!isteacheredit($course->id)) {
error('Access not allowed');
} else {
$lifetime = 0; //disable browser caching for backups
}
}
if (is_dir($pathname)) {
+2 -1
View File
@@ -167,7 +167,7 @@
// um will take care of error reporting.
displaydir($wdir);
} else {
$upload_max_filesize = get_max_upload_file_size($CFG->maxbytes, $course->maxbytes);
$upload_max_filesize = get_max_upload_file_size($CFG->maxbytes);
$filesize = display_size($upload_max_filesize);
$struploadafile = get_string("uploadafile");
@@ -385,6 +385,7 @@
html_header($course, $wdir);
if (($text != '') and confirm_sesskey()) {
$fileptr = fopen($basedir.'/'.$file,"w");
$text = preg_replace('/\x0D/', '', $text); // http://moodle.org/mod/forum/discuss.php?d=38860
fputs($fileptr, stripslashes($text));
fclose($fileptr);
displaydir($wdir);
+8
View File
@@ -8,12 +8,20 @@
global $CFG;
// Trivial-cache - keyed on $cachedcourseid
static $activitylist;
static $cachedcourseid;
if (empty($courseid)) {
$courseid = SITEID;
}
// Initialise/invalidate our trivial cache if dealing with a different course
if (!isset($cachedcourseid) || $cachedcourseid !== (int)$courseid) {
$activitylist = array();
}
$cachedcourseid = (int)$courseid;
/// It may be cached
if (empty($activitylist)) {
+69 -64
View File
@@ -16,6 +16,8 @@
}
}
require_once($CFG->dirroot.'/filter/tex/lib.php');
$CFG->texfilterdir = "filter/tex";
$CFG->algebrafilterdir = "filter/algebra";
$CFG->algebraimagedir = "filter/algebra";
@@ -23,6 +25,9 @@
$CFG->algebrafilterdirwin = "filter\\algebra";
}
if (!isadmin()) {
die('Only for admins, sorry.');
}
$query = urldecode($_SERVER['QUERY_STRING']);
error_reporting(E_ALL);
@@ -84,7 +89,7 @@
}
function algebra2tex($algebra) {
Global $CFG;
global $CFG;
$algebra = str_replace('&lt;','<',$algebra);
$algebra = str_replace('&gt;','>',$algebra);
$algebra = str_replace('<>','#',$algebra);
@@ -99,9 +104,9 @@ function algebra2tex($algebra) {
$algebra = str_replace('epsilon','zepslon',$algebra);
$algebra = str_replace('upsilon','zupslon',$algebra);
$algebra = preg_replace('!\r\n?!',' ',$algebra);
$algebra = escapeshellarg($algebra);
if ( (PHP_OS == "WINNT") || (PHP_OS == "WIN32") || (PHP_OS == "Windows") ) {
$algebra = "\"". str_replace('"','\"',$algebra) . "\"";
$cmd = "cd $CFG->dirroot\\$CFG->algebrafilterdirwin & algebra2tex.pl x/2";
$test = `$cmd`;
if ($test != '\frac{x}{2}') {
@@ -117,7 +122,6 @@ function algebra2tex($algebra) {
}
$cmd = "cd $CFG->dirroot\\$CFG->algebrafilterdirwin & algebra2tex.pl $algebra";
} else {
$algebra = escapeshellarg($algebra);
$cmd = "cd $CFG->dirroot/$CFG->algebrafilterdir; ./algebra2tex.pl x/2";
$test = `$cmd`;
if ($test != '\frac{x}{2}') {
@@ -206,66 +210,67 @@ function outputText($texexp) {
}
function tex2image($texexp, $md5, $return=false) {
global $CFG;
$error_message1 = "Your system is not configured to run mimeTeX. ";
$error_message1 .= "You need to download the appropriate<br /> executable ";
$error_message1 .= "from <a href=\"http://moodle.org/download/mimetex/\">";
$error_message1 .= "http://moodle.org/download/mimetex/</a>, or obtain the ";
$error_message1 .= "C source<br /> from <a href=\"http://www.forkosh.com/mimetex.zip\">";
$error_message1 .= "http://www.forkosh.com/mimetex.zip</a>, compile it and ";
$error_message1 .= "put the executable into your<br /> moodle/filter/tex/ directory. ";
$error_message1 .= "You also need to edit your moodle/filter/algebra/pix.php file<br />";
$error_message1 .= ' by adding the line<br /><pre> case "' . PHP_OS . "\":\n";
$error_message1 .= " \$cmd = \"\\\\\"\$CFG->dirroot/\$CFG->texfilterdir/";
$error_message1 .= 'mimetex.' . strtolower(PHP_OS) . "\\\\\" -e \\\\\"\$pathname\\\\\" \". escapeshellarg(\$texexp);";
$error_message1 .= "</pre>You also need to add this to your algebradebug.php file.";
global $CFG;
$error_message1 = "Your system is not configured to run mimeTeX. ";
$error_message1 .= "You need to download the appropriate<br /> executable ";
$error_message1 .= "from <a href=\"http://moodle.org/download/mimetex/\">";
$error_message1 .= "http://moodle.org/download/mimetex/</a>, or obtain the ";
$error_message1 .= "C source<br /> from <a href=\"http://www.forkosh.com/mimetex.zip\">";
$error_message1 .= "http://www.forkosh.com/mimetex.zip</a>, compile it and ";
$error_message1 .= "put the executable into your<br /> moodle/filter/tex/ directory. ";
$error_message1 .= "You also need to edit your moodle/filter/algebra/pix.php file<br />";
$error_message1 .= ' by adding the line<br /><pre> case "' . PHP_OS . "\":\n";
$error_message1 .= " \$cmd = \"\\\\\"\$CFG->dirroot/\$CFG->texfilterdir/";
$error_message1 .= 'mimetex.' . strtolower(PHP_OS) . "\\\\\" -e \\\\\"\$pathname\\\\\" \". escapeshellarg(\$texexp);";
$error_message1 .= "</pre>You also need to add this to your algebradebug.php file.";
if ($texexp) {
$texexp = '\Large ' . $texexp;
$lifetime = 86400;
$image = $md5 . ".gif";
$filetype = 'image/gif';
if (!file_exists("$CFG->dataroot/$CFG->algebraimagedir")) {
make_upload_directory($CFG->algebraimagedir);
}
$pathname = "$CFG->dataroot/$CFG->algebraimagedir/$image";
if (file_exists($pathname)) {
unlink($pathname);
}
$commandpath = "";
$cmd = "";
switch (PHP_OS) {
case "Linux":
$commandpath="$CFG->dirroot/$CFG->texfilterdir/mimetex.linux";
$cmd = "\"$CFG->dirroot/$CFG->texfilterdir/mimetex.linux\" -e \"$pathname\" ". escapeshellarg($texexp);
break;
case "WINNT":
case "WIN32":
case "Windows":
$commandpath="$CFG->dirroot/$CFG->texfilterdir/mimetex.exe";
$texexp = str_replace('"','\"',$texexp);
$cmd = str_replace(' ','^ ',$commandpath);
$cmd .= " ++ -e \"$pathname\" \"$texexp\"";
break;
case "Darwin":
$commandpath="$CFG->dirroot/$CFG->texfilterdir/mimetex.darwin";
$cmd = "\"$CFG->dirroot/$CFG->texfilterdir/mimetex.darwin\" -e \"$pathname\" ". escapeshellarg($texexp);
break;
}
if (!$cmd) {
if (is_executable("$CFG->dirroot/$CFG->texfilterdir/mimetex")) { /// Use the custom binary
$commandpath="$CFG->dirroot/$CFG->texfilterdir/mimetex";
$cmd = "$CFG->dirroot/$CFG->texfilterdir/mimetex -e $pathname ". escapeshellarg($texexp);
} else {
error($error_message1);
}
}
system($cmd, $status);
}
if ($return) {
return $image;
}
if ($texexp && file_exists($pathname)) {
if ($texexp) {
$texexp = '\Large ' . $texexp;
$lifetime = 86400;
$image = $md5 . ".gif";
$filetype = 'image/gif';
if (!file_exists("$CFG->dataroot/$CFG->algebraimagedir")) {
make_upload_directory($CFG->algebraimagedir);
}
$pathname = "$CFG->dataroot/$CFG->algebraimagedir/$image";
if (file_exists($pathname)) {
unlink($pathname);
}
$commandpath = "";
$cmd = "";
$texexp = tex_sanitize_formula($texexp);
$texexp = escapeshellarg($texexp);
switch (PHP_OS) {
case "Linux":
$commandpath="$CFG->dirroot/$CFG->texfilterdir/mimetex.linux";
$cmd = "\"$CFG->dirroot/$CFG->texfilterdir/mimetex.linux\" -e \"$pathname\" $texexp";
break;
case "WINNT":
case "WIN32":
case "Windows":
$commandpath="$CFG->dirroot/$CFG->texfilterdir/mimetex.exe";
$cmd = str_replace(' ','^ ',$commandpath);
$cmd .= " ++ -e \"$pathname\" $texexp";
break;
case "Darwin":
$commandpath="$CFG->dirroot/$CFG->texfilterdir/mimetex.darwin";
$cmd = "\"$CFG->dirroot/$CFG->texfilterdir/mimetex.darwin\" -e \"$pathname\" $texexp";
break;
}
if (!$cmd) {
if (is_executable("$CFG->dirroot/$CFG->texfilterdir/mimetex")) { /// Use the custom binary
$commandpath="$CFG->dirroot/$CFG->texfilterdir/mimetex";
$cmd = "$CFG->dirroot/$CFG->texfilterdir/mimetex -e $pathname $texexp";
} else {
error($error_message1);
}
}
system($cmd, $status);
}
if ($return) {
return $image;
}
if ($texexp && file_exists($pathname)) {
$lastmodified = filemtime($pathname);
header("Last-Modified: " . gmdate("D, d M Y H:i:s", $lastmodified) . " GMT");
header("Expires: " . gmdate("D, d M Y H:i:s", time() + $lifetime) . " GMT");
@@ -275,7 +280,7 @@ function tex2image($texexp, $md5, $return=false) {
header("Content-length: ".filesize($pathname));
header("Content-type: $filetype");
readfile("$pathname");
} else {
} else {
$ecmd = "$cmd 2>&1";
echo `$ecmd` . "<br />\n";
echo "The shell command<br />$cmd<br />returned status = $status<br />\n";
@@ -301,7 +306,7 @@ function tex2image($texexp, $md5, $return=false) {
echo "mimetex executable $commandpath not found!<br />";
}
echo "Image not found!";
}
}
}
function slasharguments($texexp, $md5) {
+1 -2
View File
@@ -163,11 +163,10 @@ function algebra_filter ($courseid, $text) {
$algebra = str_replace('epsilon','zepslon',$algebra);
$algebra = str_replace('upsilon','zupslon',$algebra);
$algebra = preg_replace('!\r\n?!',' ',$algebra);
$algebra = escapeshellarg($algebra);
if ( (PHP_OS == "WINNT") || (PHP_OS == "WIN32") || (PHP_OS == "Windows") ) {
$algebra = "\"". str_replace('"','\"',$algebra) . "\"";
$cmd = "cd $CFG->dirroot\\$CFG->algebrafilterdirwin & algebra2tex.pl $algebra";
} else {
$algebra = escapeshellarg($algebra);
$cmd = "cd $CFG->dirroot/$CFG->algebrafilterdir; ./algebra2tex.pl $algebra";
}
$texexp = `$cmd`;
+7 -5
View File
@@ -17,6 +17,7 @@
}
require_once($CFG->libdir.'/filelib.php');
require_once($CFG->dirroot.'/filter/tex/lib.php');
$CFG->texfilterdir = 'filter/tex';
$CFG->algebrafilterdir = 'filter/algebra';
@@ -51,25 +52,26 @@
$texexp = str_replace('&gt;','>',$texexp);
$texexp = preg_replace('!\r\n?!',' ',$texexp);
$texexp = '\Large ' . $texexp;
$texexp = tex_sanitize_formula($texexp);
$texexp = escapeshellarg($texexp);
if ((PHP_OS == "WINNT") || (PHP_OS == "WIN32") || (PHP_OS == "Windows")) {
$texexp = str_replace('"','\"',$texexp);
$cmd = "$CFG->dirroot/$CFG->texfilterdir/mimetex.exe";
$cmd = str_replace(' ','^ ',$cmd);
$cmd .= " ++ -e \"$pathname\" -- \"$texexp\"";
$cmd .= " ++ -e \"$pathname\" -- $texexp";
} else if (is_executable("$CFG->dirroot/$CFG->texfilterdir/mimetex")) { /// Use the custom binary
$cmd = "$CFG->dirroot/$CFG->texfilterdir/mimetex -e $pathname -- ". escapeshellarg($texexp);
$cmd = "$CFG->dirroot/$CFG->texfilterdir/mimetex -e $pathname -- $texexp";
} else { /// Auto-detect the right TeX binary
switch (PHP_OS) {
case "Linux":
$cmd = "\"$CFG->dirroot/$CFG->texfilterdir/mimetex.linux\" -e \"$pathname\" -- ". escapeshellarg($texexp);
$cmd = "\"$CFG->dirroot/$CFG->texfilterdir/mimetex.linux\" -e \"$pathname\" -- $texexp";
break;
case "Darwin":
$cmd = "\"$CFG->dirroot/$CFG->texfilterdir/mimetex.darwin\" -e \"$pathname\" -- ". escapeshellarg($texexp);
$cmd = "\"$CFG->dirroot/$CFG->texfilterdir/mimetex.darwin\" -e \"$pathname\" -- $texexp";
break;
default: /// Nothing was found, so tell them how to fix it.
+4 -4
View File
@@ -194,7 +194,7 @@ function mediaplugin_filter($courseid, $text) {
$replace .= '<param name="controls" value="imagewindow" />';
$replace .= '<param name="console" value="video" />';
$replace .= '<param name="loop" value="true" />';
$replace .= '<embed src="\\2.rm" width=240" height="180" loop="true" type="audio/x-pn-realaudio-plugin" controls="imagewindow" console="video" autostart="true">';
$replace .= '<embed src="\\2.ram" width=240" height="180" loop="true" type="audio/x-pn-realaudio-plugin" controls="imagewindow" console="video" autostart="true">';
$replace .= '</embed>';
$replace .= '</object><br />';
@@ -203,7 +203,7 @@ function mediaplugin_filter($courseid, $text) {
$replace .= '<param name="autostart" value="true" />';
$replace .= '<param name="controls" value="ControlPanel" />';
$replace .= '<param name="console" value="video" />';
$replace .= '<embed src="\\2.rm" width="240" height="30" controls="ControlPanel" type="audio/x-pn-realaudio-plugin" console="video" autostart="true">';
$replace .= '<embed src="\\2.ram" width="240" height="30" controls="ControlPanel" type="audio/x-pn-realaudio-plugin" console="video" autostart="true">';
$replace .= '</embed>';
$replace .= '</object></p>';
@@ -219,7 +219,7 @@ function mediaplugin_filter($courseid, $text) {
$replace .= '<param name="controls" value="imagewindow" />';
$replace .= '<param name="console" value="video" />';
$replace .= '<param name="loop" value="true" />';
$replace .= '<embed src="\\2.rm" width=240" height="180" loop="true" type="audio/x-pn-realaudio-plugin" controls="imagewindow" console="video" autostart="true">';
$replace .= '<embed src="\\2.rpm" width=240" height="180" loop="true" type="audio/x-pn-realaudio-plugin" controls="imagewindow" console="video" autostart="true">';
$replace .= '</embed>';
$replace .= '</object><br />';
@@ -228,7 +228,7 @@ function mediaplugin_filter($courseid, $text) {
$replace .= '<param name="autostart" value="true" />';
$replace .= '<param name="controls" value="ControlPanel" />';
$replace .= '<param name="console" value="video" />';
$replace .= '<embed src="\\2.rm" width="240" height="30" controls="ControlPanel" type="audio/x-pn-realaudio-plugin" console="video" autostart="true">';
$replace .= '<embed src="\\2.rpm" width="240" height="30" controls="ControlPanel" type="audio/x-pn-realaudio-plugin" console="video" autostart="true">';
$replace .= '</embed>';
$replace .= '</object></p>';
+1 -1
View File
@@ -1,4 +1,4 @@
The FLV player is by Jeroen Wijering - www.jeroenwijering.com
and included in Moodle by his permission under the GPL.
and included in Moodle by his permission under the GNU GPL version 2 or later.
Thanks, Jeroen!
Binary file not shown.
Binary file not shown.
+114 -89
View File
@@ -1,10 +1,10 @@
--------------------------------------------------------------------------
January 11, 2004 Version 1.40
September 6, 2008 Version 1.70
m i m e T e X R e a d m e F i l e
Copyright(c) 2002-2004, John Forkosh Associates, Inc. All rights reserved.
Copyright(c) 2002-2008, John Forkosh Associates, Inc. All rights reserved.
--------------------------------------------------------------------------
by: John Forkosh
@@ -12,17 +12,21 @@
This file is part of mimeTeX, which is free software.
You may redistribute and/or modify it under the terms
of the GNU General Public License, version 2 or later,
of the GNU General Public License, version 3 or later,
as published by the Free Software Foundation. See
http://www.gnu.org/licenses/gpl.html
Follow the Quick Start instructions immediately below
or the detailed instructions in Section III to install
mimeTeX on your machine, and then point your browser to
http://www.yourdomain.com/mimetex.html
for a complete discussion, including demo/tutorial and
reference. Installation problems? Point your browser
to my page at
MimeTeX is discussed and illustrated online at
its homepage
http://www.forkosh.com/mimetex.html
Or you can follow the Quick Start instructions below
(or the more detailed instructions in Section III)
to immediately install mimeTeX on your own machine.
Then point your browser to
http://www.yourdomain.com/mimetex.html
for a demo/tutorial and reference.
Installation problems? Point your browser to
mimeTeX's homepage
http://www.forkosh.com/mimetex.html
then click its "full mimeTeX manual" link and see
Section II.
@@ -31,57 +35,63 @@
I. QUICK START
------------------------------------------------------------------------
To compile and install mimeTeX
o unzip mimetex.zip in any convenient working directory
o to produce an executable that emits anti-aliased gif images
* unzip mimetex.zip in any convenient working directory
* to produce an executable that emits anti-aliased
gif images (recommended)
cc -DAA mimetex.c gifsave.c -lm -o mimetex.cgi
-or- for gif images without anti-aliasing
cc -DGIF mimetex.c gifsave.c -lm -o mimetex.cgi
-or- to produce an executable that emits mime xbitmaps
cc -DXBITMAP mimetex.c -lm -o mimetex.cgi
o mv mimetex.cgi to your server's cgi-bin/ directory
o mv mimetex.html to your server's htdocs/ directory
o if the relative path from htdocs to cgi-bin isn't
(For Windows, see "Compile Notes" in Section III below.)
* mv mimetex.cgi to your server's cgi-bin/ directory
* mv mimetex.html to your server's htdocs/ directory
* if the relative path from htdocs to cgi-bin isn't
../cgi-bin then edit mimetex.html and change the
few dozen occurrences as necessary
To quickly learn about mimeTeX
o point your browser to www.yourdomain.com/mimetex.html
few dozen occurrences as necessary.
Then, to quickly learn more about mimeTeX
* point your browser to www.yourdomain.com/mimetex.html
Any problems with the above?
o read the more detailed instructions in Section III below,
or see www.forkosh.com/mimetex.html
* read the more detailed instructions below,
or see http://www.forkosh.com/mimetex.html
II. INTRODUCTION
------------------------------------------------------------------------
MimeTeX is licensed under the gpl. It parses LaTeX math expressions,
emitting either gif images or mime xbitmaps of them, rather than the
usual TeX dvi's. And mimeTeX is an entirely separate little program
that doesn't use TeX in any way. Therefore, mimeTeX images are easily
inserted directly into html documents using a standard html <img> tag,
<img src="../cgi-bin/mimetex.cgi?f(x)=\int_{-\infty}^x~e^{-t^2}dt"
border=0 align=absmiddle>
without intermediate dvi-to-gif conversion, and without storing lots
of little gif image files, one file for each converted expression.
This makes your web site and html documents more easily maintained.
Thus, mimeTeX is primarily intended to help you write native html
documents containing math. In this sense it's a kind of "lightweight"
alternative to MathML, with the advantage that mimeTeX preserves LaTeX
syntax, and works with any browser and server.
MimeTeX, licensed under the gpl, lets you easily embed LaTeX math in
your html pages. It parses a LaTeX math expression and immediately
emits the corresponding gif image, rather than the usual TeX dvi.
And mimeTeX is an entirely separate little program that doesn't
use TeX or its fonts in any way. It's just one cgi that you put in
your site's cgi-bin/ directory, with no other dependencies.
So mimeTeX is very easy to install. And it's equally easy to use.
Just place an html <img> tag in your document wherever you want to
see the corresponding LaTeX expression. For example,
<img src="../cgi-bin/mimetex.cgi?f(x)=\int_{-\infty}^x~e^{-t^2}dt"
border=0 align=absmiddle>
generates and displays the corresponding gif image on-the-fly,
wherever you put that <img> tag. MimeTeX doesn't need intermediate
dvi-to-gif conversion, and it doesn't clutter your filesystem with
separate little gif files for each converted expression. (Optional
image caching does store gif files, and subsequently reads them as
needed, rather than re-rendering the same images every time a page
is reloaded.)
III. COMPILATION AND INSTALLATION
------------------------------------------------------------------------
I've comnpiled and run mimeTeX under Linux and NetBSD using gcc.
The source code is entirely ansi-standard C, and should compile
I've built and run mimeTeX under Linux and NetBSD using gcc.
The source code is ansi-standard C, and should compile
and execute under all environments without any change whatsoever.
Build instructions below are for Unix. Modify them as necessary
for your particular situation.
Build instructions below are for Unix. Modify them as necessary
for your particular situation. Note the -DWINDOWS switch if
applicable.
Unzip mimetex.zip in any convenient working directory.
You should now have files
Your working directory should now contain
mimetex.zip your gnu zipped mimeTeX distribution containing...
README this file (see mimetex.html for demo/tutorial)
LICENSE GPL license, under which you may use mimeTeX
COPYING GPL license, under which you may use mimeTeX
mimetex.c mimeTeX source program and all required functions
mimetex.h header file for mimetex.c (and for gfuntype.c)
gfuntype.c parses output from gftype -i and writes bitmap data
@@ -93,32 +103,35 @@ III. COMPILATION AND INSTALLATION
Conversion for Windows, Macs, VMS, etc, can usually be accomplished
with unzip's -a option, i.e., unzip -a mimetex.zip
Now, to produce an executable that emits anti-aliased gif images
(which is how the "official" www.forkosh.com/mimetex.html page
is displayed), compile mimetex with the command
cc -DAA mimetex.c gifsave.c -lm -o mimetex.cgi
Now, to compile a mimeTeX executable that emits anti-aliased gif
images (recommended for most uses), type the command
cc -DAA mimetex.c gifsave.c -lm -o mimetex.cgi
Or, to produce an executable that emits gif images
without anti-aliasing, compile mimetex with the command
cc -DGIF mimetex.c gifsave.c -lm -o mimetex.cgi
Or, for an executable that emits gif images without
anti-aliasing,
cc -DGIF mimetex.c gifsave.c -lm -o mimetex.cgi
Alternatively, for an executable that emits mime xbitmaps,
just compile mimetex with the command
cc -DXBITMAP mimetex.c -lm -o mimetex.cgi
Alternatively, to compile a mimeTeX executable that emits
mime xbitmaps, just type the command
cc -DXBITMAP mimetex.c -lm -o mimetex.cgi
Several additional command-line options that you may find
useful are discussed in Section IIc (href="#options")
of mimetex.html .
Compile Notes:
* If (and only if) you're compiling a Windows executable
with the -DAA or -DGIF option (but not -DXBITMAP), then
add -DWINDOWS also. For example,
cc -DAA -DWINDOWS mimetex.c gifsave.c -lm -o mimetex.cgi
The above Unix-like syntax works with MinGW (http://www.mingw.org)
and djgpp (http://www.delorie.com/djgpp/) Windows compilers, but
probably not with most others, where it's only intended as a
"template".
* Several additional command-line options that you may find
useful are discussed in Section IId (href="#options")
of your mimetex.html page.
That's all there is to building mimeTeX. You can now test mimetex.cgi
from the Unix command line by typing, e.g.,
./mimetex.cgi x^2+y^2
which should emit an ascii raster something like the left-hand
illustration. And if you've compiled mimeTeX with the anti-aliasing
-DAA option, then you'll also see the right-hand illustration.
It shows asterisks in the same positions as the left-hand illustration,
and anti-aliased grayscale colormap indexes assigned to neighboring
pixels. And you'll also be shown the actual rgb value for each index.
That's all there is to building mimeTeX. You can now test your
mimetex.cgi executable from the Unix command line by typing, e.g.,
./mimetex.cgi "x^2+y^2"
which should emit two ascii rasters something like the following
Ascii dump of bitmap image... Hex dump of colormap indexes...
........**..................**.. .......1**1................1**1.
.......*..*.....*..........*..*. .......*23*.....*..........*23*.
@@ -132,34 +145,50 @@ III. COMPILATION AND INSTALLATION
................*....**......... ................*....**1........
The 5 colormap indexes denote rgb...
.-->255 1-->196 2-->186 3-->177 *-->0
If you get much fancier than x^2+y^2, remember that many characters have
to be escaped from the Unix command line, e.g., x\<y or f\(x\)=x^2, etc.
Of course, you won't need these extra escapes when running mimetex from
a browser.
The right-hand illustration shows asterisks in the same positions as
the left-hand one, along with anti-aliased grayscale colormap indexes
assigned to neighboring pixels, and with the rgb value for each
index. Just typing ./mimetex.cgi without an argument should produce
ascii rasters for the default expression f(x)=x^2. If you see the
two ascii rasters then your binary's good, so mv it to your server's
cgi-bin/ directory and set permissions as necessary.
Once mimetex.cgi is working (and you're done playing with it),
mv it to your server's cgi-bin/ directory, where cgi programs
are expected (and chmod/chown it if necessary). Then mv
mimetex.html to your server's htdocs/ directory. Now point
your browser to www.yourdomain.com/mimetex.html , and it should
be rendered exactly like my page at www.forkosh.com/mimetex.html .
One "gotcha": the two directories are typically of the form
somewhere/www/cgi-bin/ and somewhere/www/htdocs/ , so I set up
mimtex.html to get mimetex.cgi from the relative path ../cgi-bin/ .
If your directories are non-conforming, you may have to edit the
few dozen occurrences of ../cgi-bin/mimetex.cgi in mimetex.html
(globally changing ../cgi-bin/mimetex.cgi should work).
Sometimes a suitable symlink works; if not, you'll have to edit.
Once mimetex.cgi is working, mv it to your server's cgi-bin/ directory
(wherever cgi programs are expected), and chmod/chown it as necessary.
Then mv mimetex.html to your server's htdocs/ directory. Now point
your browser to www.yourdomain.com/mimetex.html and you should see
your mimeTeX user's manual reference page.
Either way, once mimetex.html displays properly, and you've reviewed
the tutorial it contains, you can begin writing html documents using
mimetex.cgi to render your math.
Install Notes:
* These two directories are typically of the form
somewhere/www/cgi-bin/ and somewhere/www/htdocs/
so I set up mimtex.html to access mimetex.cgi from
the relative path ../cgi-bin/ If your directories
are non-conforming, you may have to edit the few dozen
occurrences of ../cgi-bin/mimetex.cgi in mimetex.html
Sometimes a suitable symlink works. If not, you'll
have to edit. In that case, globally changing
../cgi-bin/mimetex.cgi often works.
* Either way, once mimetex.html displays properly, you can
assume everything is working, and can begin authoring html
documents using mimetex.cgi to render your own math.
IV. REVISION HISTORY
------------------------------------------------------------------------
01/11/04 J.Forkosh version 1.40 beta released on www.forkosh.com
LaTeX compatibility and various new features
A more detailed account of mimeTeX's revision history
is maintained at http://www.forkosh.com/mimetexchangelog.html
---
09/06/08 J.Forkosh version 1.70 released.
11/30/04 J.Forkosh version 1.60 released
10/02/04 J.Forkosh version 1.50 released on CTAN with various new
features and fixes, and updated documentation.
07/18/04 J.Forkosh version 1.40 re-released on CTAN with minor
changes, e.g., \mathbb font and nested \array's
now supported.
03/21/04 J.Forkosh version 1.40 released on CTAN, with improved
LaTeX compatibility, various new features and
fixes, including fix to work under Windows.
12/21/03 J.Forkosh version 1.30 released on CTAN, with improved
LaTeX compatibility and anti-aliasing, various new
features, and thoroughly updated documentation.
@@ -183,9 +212,5 @@ V. CONCLUDING REMARKS
I hope you find mimeTeX useful. If so, a contribution to your
country's TeX Users Group, or to the GNU project, is suggested,
especially if you're a company that's currently profitable.
If you also like mimeTeX's source, I'm an independent contractor
incorporated in the US as John Forkosh Associates, Inc. A resume
is at www.forkosh.com or email john@forkosh.com
========================= END-OF-FILE README ===========================
+4 -2
View File
@@ -44,9 +44,11 @@
* @return string the latex document
*/
function construct_latex_document( $formula, $fontsize=12 ) {
// $fontsize don't affects to formula's size. $density can change size
global $CFG;
$formula = tex_sanitize_formula($formula);
// $fontsize don't affects to formula's size. $density can change size
$doc = "\\documentclass[{$fontsize}pt]{article}\n";
$doc .= $CFG->filter_tex_latexpreamble;
$doc .= "\\pagestyle{empty}\n";
+40
View File
@@ -0,0 +1,40 @@
<?php //$Id$
function tex_sanitize_formula($texexp) {
/// Check $texexp against blacklist (whitelisting could be more complete but also harder to maintain)
$tex_blacklist = array(
'include','command','loop','repeat','open','toks','output',
'input','catcode','name','^^',
'\def','\edef','\gdef','\xdef',
'\every','\errhelp','\errorstopmode','\scrollmode','\nonstopmode',
'\batchmode','\read','\write','csname','\newhelp','\uppercase',
'\lowercase','\relax','\aftergroup',
'\afterassignment','\expandafter','\noexpand','\special',
'\let', '\futurelet','\else','\fi','\chardef','\makeatletter','\afterground',
'\noexpand','\line','\mathcode','\item','\section','\mbox','\declarerobustcommand'
);
return str_ireplace($tex_blacklist, 'forbiddenkeyword', $texexp);
}
/**
* Purge all caches when settings changed.
*/
function filter_tex_updatedcallback($name) {
global $CFG;
if (file_exists("$CFG->dataroot/filter/tex")) {
remove_dir("$CFG->dataroot/filter/tex");
}
if (file_exists("$CFG->dataroot/filter/algebra")) {
remove_dir("$CFG->dataroot/filter/algebra");
}
if (file_exists("$CFG->dataroot/temp/latex")) {
remove_dir("$CFG->dataroot/temp/latex");
}
delete_records('cache_filters', 'filter', 'tex');
delete_records('cache_filters', 'filter', 'algebra');
}
?>
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+8 -6
View File
@@ -17,6 +17,7 @@
}
require_once($CFG->libdir.'/filelib.php');
require_once($CFG->dirroot.'/filter/tex/lib.php');
require_once('defaultsettings.php' );
require_once('latex.php');
@@ -65,29 +66,30 @@
$texexp = str_replace('&gt;','>',$texexp);
$texexp = preg_replace('!\r\n?!',' ',$texexp);
$texexp = '\Large ' . $texexp;
$texexp = tex_sanitize_formula($texexp);
$texexp = escapeshellarg($texexp);
if ((PHP_OS == "WINNT") || (PHP_OS == "WIN32") || (PHP_OS == "Windows")) {
$texexp = str_replace('"','\"',$texexp);
$cmd = "$CFG->dirroot/$CFG->texfilterdir/mimetex.exe";
$cmd = str_replace(' ','^ ',$cmd);
$cmd .= " ++ -e \"$pathname\" -- \"$texexp\"";
$cmd .= " ++ -e \"$pathname\" -- $texexp";
} else if (is_executable("$CFG->dirroot/$CFG->texfilterdir/mimetex")) { /// Use the custom binary
$cmd = "$CFG->dirroot/$CFG->texfilterdir/mimetex -e $pathname -- ". escapeshellarg($texexp);
$cmd = "$CFG->dirroot/$CFG->texfilterdir/mimetex -e $pathname -- $texexp";
} else { /// Auto-detect the right TeX binary
switch (PHP_OS) {
case "Linux":
$cmd = "\"$CFG->dirroot/$CFG->texfilterdir/mimetex.linux\" -e \"$pathname\" -- ". escapeshellarg($texexp);
$cmd = "\"$CFG->dirroot/$CFG->texfilterdir/mimetex.linux\" -e \"$pathname\" -- $texexp";
break;
case "Darwin":
$cmd = "\"$CFG->dirroot/$CFG->texfilterdir/mimetex.darwin\" -e \"$pathname\" -- ". escapeshellarg($texexp);
$cmd = "\"$CFG->dirroot/$CFG->texfilterdir/mimetex.darwin\" -e \"$pathname\" -- $texexp";
break;
case "FreeBSD":
$cmd = "\"$CFG->dirroot/$CFG->texfilterdir/mimetex.freebsd\" -e \"$pathname\" ". escapeshellarg($texexp);
$cmd = "\"$CFG->dirroot/$CFG->texfilterdir/mimetex.freebsd\" -e \"$pathname\" $texexp";
break;
default: /// Nothing was found, so tell them how to fix it.
+25
View File
@@ -0,0 +1,25 @@
Description of mimeTeX v 1.70 import into Moodle
Compiling mimeTeX:
===Windows===
1/ get "Automated MinGW Installer" from https://sourceforge.net/projects/mingw/files/
2/ install mingw
3/ go into directory with extracted source files
4/ execute "c:\mingw\bin\gcc -DAA -DWINDOWS mimetex.c gifsave.c -lm -o mimetex.exe"
===Linux===
1/ install gcc
2/ go into directory with extracted source files
3/ execute "cc -DAA mimetex.c gifsave.c -lm -o mimetex.linux"
===FreeBSD===
1/ go into directory with extracted source files
2/ execute "cc -DAA mimetex.c gifsave.c -lm -o mimetex.freebsd"
===Apple OSX===
1/ install gcc
2/ go into directory with extracted source files
3/ execute "cc -DAA mimetex.c gifsave.c -lm -o mimetex.darwin"
skodak
+22 -16
View File
@@ -1,10 +1,8 @@
<?PHP // $Id$
<?php // $Id$
// This function fetches math. images from the data directory
// If not, it obtains the corresponding TeX expression from the cache_tex db table
// and uses mimeTeX to create the image file
$nomoodlecookie = true; // Because it interferes with caching
require_once("../../config.php");
if (empty($CFG->textfilters)) {
@@ -16,9 +14,16 @@
}
}
require_once($CFG->dirroot.'/filter/tex/lib.php');
$CFG->texfilterdir = "filter/tex";
$CFG->teximagedir = "filter/tex";
require_login();
if (!isadmin()) {
error('Sorry, but you do not currently have permissions to do that');
}
$query = urldecode($_SERVER['QUERY_STRING']);
error_reporting(E_ALL);
@@ -111,31 +116,32 @@
}
$commandpath = "";
$cmd = "";
$texexp = tex_sanitize_formula($texexp);
$texexp = escapeshellarg($texexp);
switch (PHP_OS) {
case "Linux":
$commandpath="$CFG->dirroot/$CFG->texfilterdir/mimetex.linux";
$cmd = "\"$CFG->dirroot/$CFG->texfilterdir/mimetex.linux\" -e \"$pathname\" ". escapeshellarg($texexp);
$cmd = "\"$CFG->dirroot/$CFG->texfilterdir/mimetex.linux\" -e \"$pathname\" $texexp";
break;
case "WINNT":
case "WIN32":
case "Windows":
case "WIN32":
case "Windows":
$commandpath="$CFG->dirroot/$CFG->texfilterdir/mimetex.exe";
$texexp = str_replace('"','\"',$texexp);
$cmd = str_replace(' ','^ ',$commandpath);
$cmd .= " ++ -e \"$pathname\" \"$texexp\"";
$cmd = str_replace(' ','^ ',$commandpath);
$cmd .= " ++ -e \"$pathname\" $texexp";
break;
case "Darwin":
$commandpath="$CFG->dirroot/$CFG->texfilterdir/mimetex.darwin";
$cmd = "\"$CFG->dirroot/$CFG->texfilterdir/mimetex.darwin\" -e \"$pathname\" ". escapeshellarg($texexp);
$cmd = "\"$CFG->dirroot/$CFG->texfilterdir/mimetex.darwin\" -e \"$pathname\" $texexp";
break;
}
if (!$cmd) {
if (is_executable("$CFG->dirroot/$CFG->texfilterdir/mimetex")) { /// Use the custom binary
$commandpath="$CFG->dirroot/$CFG->texfilterdir/mimetex";
$cmd = "$CFG->dirroot/$CFG->texfilterdir/mimetex -e $pathname ". escapeshellarg($texexp);
} else {
error($error_message1);
}
if (is_executable("$CFG->dirroot/$CFG->texfilterdir/mimetex")) { /// Use the custom binary
$commandpath="$CFG->dirroot/$CFG->texfilterdir/mimetex";
$cmd = "$CFG->dirroot/$CFG->texfilterdir/mimetex -e $pathname $texexp";
} else {
error($error_message1);
}
}
system($cmd, $status);
}
+9 -6
View File
@@ -6,6 +6,7 @@
$nomoodlecookie = true; // Because it interferes with caching
require_once("../../config.php");
require_once($CFG->dirroot.'/filter/tex/lib.php');
if (empty($CFG->textfilters)) {
error ('Filter not enabled!');
@@ -32,18 +33,20 @@
make_upload_directory($CFG->teximagedir);
}
$pathname = "$CFG->dataroot/$CFG->teximagedir/$image";
$texexp = tex_sanitize_formula($texexp);
$texexp = escapeshellarg($texexp);
switch (PHP_OS) {
case "Linux":
system("$CFG->dirroot/$CFG->texfilterdir/mimetex.linux -e $pathname -- ". escapeshellarg($texexp) );
system("$CFG->dirroot/$CFG->texfilterdir/mimetex.linux -e $pathname -- $texexp" );
break;
case "WINNT":
case "WIN32":
case "Windows":
$texexp = str_replace('"','\"',$texexp);
system("$CFG->dirroot/$CFG->texfilterdir/mimetex.exe -e $pathname -- \"$texexp\"");
case "WIN32":
case "Windows":
system("$CFG->dirroot/$CFG->texfilterdir/mimetex.exe -e $pathname -- $texexp");
break;
case "Darwin":
system("$CFG->dirroot/$CFG->texfilterdir/mimetex.darwin -e $pathname -- ". escapeshellarg($texexp) );
system("$CFG->dirroot/$CFG->texfilterdir/mimetex.darwin -e $pathname -- $texexp" );
break;
}
if (file_exists($pathname)) {
+6 -2
View File
@@ -17,7 +17,7 @@
* @param string text to be filtered
*/
function tidy_filter($courseid, $text) {
global $CFG;
/// Configuration for tidy. Feel free to tune for your needs, e.g. to allow
/// proprietary markup.
$tidyoptions = array(
@@ -39,7 +39,11 @@ function tidy_filter($courseid, $text) {
/// If enabled: run tidy over the entire string
if (function_exists('tidy_repair_string')){
$text = tidy_repair_string($text, $tidyoptions);
if (empty($CFG->unicodedb)) {
$text = tidy_repair_string($text, $tidyoptions);
} else {
$text = tidy_repair_string($text, $tidyoptions, 'utf8');
}
}
return $text;
+1
View File
@@ -7,6 +7,7 @@
$user = optional_param('user', -1);
$group = optional_param('group', -1);
$action = optional_param('action', 'grades');
$cview = optional_param('cview', -1);
if (!$course = get_record('course', 'id', $id)) {
error('No course ID');
+6 -5
View File
@@ -157,7 +157,7 @@ function grade_get_formatted_grades() {
global $CFG;
global $course;
global $preferences;
$i = 1;
$i = 2; // index to differentiate activities with the same name MDL-6876
$grades = grade_get_grades();
if (isset($grades)) {
// iterate through all students
@@ -179,7 +179,7 @@ function grade_get_formatted_grades() {
if ($instance->name != '') {
// duplicate grade item name, the user should know better than to name to things by the same name, but to make sure grades don't disappear lets modify the name slightly
if (isset($all_categories["$cur_category"]["$instance->name"])) {
$instance->name= $instance->name.' *'.$i.'*';
$instance->name= $instance->name.' #'.$i++;
}
if (isset($students_grade->grades) && $students_grade->grades != '') {
@@ -237,7 +237,7 @@ function grade_get_formatted_grades() {
}
$all_categories["$cur_category"]["$instance->name"]['grade_against'] = $all_categories["$cur_category"]["$instance->name"]['scaled_max'];
if (!isset($all_categories["$cur_category"]['stats']['weight'])) {
$weight = grade_get_category_weight($course->id, $cur_category);
$weight = grade_get_category_weight($course->id, addslashes($cur_category));
$all_categories["$cur_category"]['stats']['weight'] = $weight->weight;
}
@@ -247,7 +247,7 @@ function grade_get_formatted_grades() {
$all_categories["$cur_category"]["$instance->name"]['modname'] = $modname->name;
// get bonus points and drop the x lowest
$drop = get_record('grade_category', 'courseid', $course->id, 'name', $cur_category);
$drop = get_record('grade_category', 'courseid', $course->id, 'name', addslashes($cur_category));
$all_categories["$cur_category"]['stats']['drop'] = $drop->drop_x_lowest;
$all_categories["$cur_category"]['stats']['bonus_points'] = $drop->bonus_points;
}
@@ -1594,6 +1594,7 @@ function grade_get_stats($category='all') {
// returns a comma seperated list of the most common values in $items, $items is expected to be a comma sperated list of numbers
function grade_mode($items) {
$all_scores = explode(',',$items);
shuffle($all_scores); //MDL-7571 - shuffle scores
foreach($all_scores as $value) {
if (isset($frequency[$value])) {
$frequency[$value]++;
@@ -2247,7 +2248,7 @@ function grade_set_grade_weights() {
$submitted_category = optional_param($form_catname);
if (is_numeric($submitted_category)) {
// see if there is a weight if so see if it needs to be updated
$weight = grade_get_category_weight($course->id, $category->name);
$weight = grade_get_category_weight($course->id, addslashes($category->name));
if ($weight) {
if ($weight->weight != $submitted_category)
{
+70 -34
View File
@@ -3,7 +3,7 @@
/// If config.php exists already then we are not needed.
if (file_exists('./config.php')) {
if (file_exists('./config.php')) {
header('Location: index.php');
die;
} else {
@@ -97,18 +97,18 @@ if (isset($_POST['stage'])) {
if ($nextstage < 0) $nextstage = WELCOME;
/// Store any posted data
foreach ($_POST as $setting=>$value) {
$INSTALL[$setting] = $value;
}
} else {
$goforward = true;
$nextstage = WELCOME;
}
//==========================================================================//
@@ -125,12 +125,12 @@ $CFG->running_installer = true;
/// Include some moodle libraries
require_once('./lib/adminlib.php');
require_once('./lib/setuplib.php');
require_once('./lib/moodlelib.php');
require_once('./lib/weblib.php');
require_once('./lib/adodb/adodb.inc.php');
require_once('./lib/environmentlib.php');
require_once('./lib/xmlize.php');
require_once('./lib/componentlib.class.php');
require_once('./version.php');
@@ -145,6 +145,20 @@ $db = &ADONewConnection($INSTALL['dbtype']);
if ($INSTALL['wwwroot'] == '') {
list($INSTALL['wwwroot'], $xtra) = explode('/install.php', qualified_me());
$INSTALL['wwwrootform'] = $INSTALL['wwwroot'];
// now try to guess the correct dataroot not accessible via web
$CFG->wwwroot = $INSTALL['wwwroot'];
$i = 0; //safety check - dirname might return some unexpected results
while(is_dataroot_insecure()) {
$parrent = dirname($CFG->dataroot);
$i++;
if ($parrent == '/' or $parrent == '.' or preg_match('/^[a-z]:\\\?$/i', $parrent) or ($i > 100)) {
$CFG->dataroot = ''; //can not find secure location for dataroot
break;
}
$CFG->dataroot = dirname($parrent).'/moodledata';
}
$INSTALL['dataroot'] = $CFG->dataroot;
}
$headstagetext = array(WELCOME => get_string('chooselanguagehead', 'install'),
@@ -184,7 +198,7 @@ if (isset($_GET['help'])) {
/// Are we in config download mode?
if (isset($_GET['download'])) {
header("Content-Type: application/download\n");
header("Content-Type: application/download\n");
header("Content-Disposition: attachment; filename=\"config.php\"");
echo $INSTALL['config'];
exit;
@@ -201,21 +215,21 @@ if (isset($_GET['download'])) {
if ($INSTALL['stage'] == DIRECTORY) {
error_reporting(0);
/// check wwwroot
if (ini_get('allow_url_fopen')) {
if (ini_get('allow_url_fopen') && false) { /// This was not reliable
if (($fh = @fopen($INSTALL['wwwrootform'].'/install.php', 'r')) === false) {
$errormsg .= get_string('wwwrooterror', 'install').'<br />';
$INSTALL['wwwrootform'] = $INSTALL['wwwroot'];
}
}
if ($fh) fclose($fh);
/// check dirroot
if (($fh = @fopen($INSTALL['dirrootform'].'/install.php', 'r')) === false ) {
$errormsg .= get_string('dirrooterror', 'install').'<br />';
$INSTALL['dirrootform'] = $INSTALL['dirroot'];
}
}
if ($fh) fclose($fh);
/// check dataroot
@@ -223,7 +237,7 @@ if ($INSTALL['stage'] == DIRECTORY) {
if (make_upload_directory('sessions', false) === false ) {
$errormsg .= get_string('datarooterror', 'install').'<br />';
}
if ($fh) fclose($fh);
if ($fh) fclose($fh);
if (!empty($errormsg)) $nextstage = DIRECTORY;
@@ -245,7 +259,7 @@ if ($INSTALL['stage'] == DATABASE) {
} else {
$INSTALL['skipdbencodingtest'] = false;
}
/// different format for postgres7 by socket
if ($INSTALL['dbtype'] == 'postgres7' and ($INSTALL['dbhost'] == 'localhost' || $INSTALL['dbhost'] == '127.0.0.1')) {
$INSTALL['dbhost'] = "user='{$INSTALL['dbuser']}' password='{$INSTALL['dbpass']}' dbname='{$INSTALL['dbname']}'";
@@ -267,11 +281,11 @@ if ($INSTALL['stage'] == DATABASE) {
if (empty($errormsg)) {
error_reporting(0); // Hide errors
error_reporting(0); // Hide errors
if (! $dbconnected = $db->Connect($INSTALL['dbhost'],$INSTALL['dbuser'],$INSTALL['dbpass'],$INSTALL['dbname'])) {
/// The following doesn't seem to work but we're working on it
/// If you come up with a solution for creating a database in MySQL
/// If you come up with a solution for creating a database in MySQL
/// feel free to put it in and let us know
if ($dbconnected = $db->Connect($INSTALL['dbhost'],$INSTALL['dbuser'],$INSTALL['dbpass'])) {
switch ($INSTALL['dbtype']) { /// Try to create a database
@@ -316,7 +330,7 @@ if ($INSTALL['stage'] == DATABASE) {
$nextstage = DATABASE;
$INSTALL['showskipdbencodingtest'] = true;
$INSTALL['dbencodingtestresults'] = false;
}
}
} else {
$INSTALL['showskipdbencodingtest'] = true;
$INSTALL['dbencodingtestresults'] = false;
@@ -361,7 +375,7 @@ if ($INSTALL['stage'] == DATABASE) {
/// If we can open a file then we know that the admin name is correct.
if ($nextstage == ADMIN or $INSTALL['stage'] == ADMIN) {
if (!ini_get('allow_url_fopen')) {
if (!ini_get('allow_url_fopen') || true) { // MDL-4218 fopen URL is not reliable
$nextstage = ($goforward) ? ENVIRONMENT : DATABASE;
} else if (($fh = @fopen($INSTALL['wwwrootform'].'/'.$INSTALL['admindirname'].'/site.html', 'r')) !== false) {
$nextstage = ($goforward) ? ENVIRONMENT : DATABASE;
@@ -449,7 +463,7 @@ if ($INSTALL['stage'] == DOWNLOADLANG && $INSTALL['downloadlangpack']) {
$INSTALL['showdownloadlangpack'] = false;
$INSTALL['downloadlangpackerror'] = $downloaderror;
}
}
}
@@ -503,7 +517,7 @@ if ($nextstage == SAVE) {
fwrite($fh, $str);
fclose($fh);
}
$INSTALL['config'] = $str;
}
@@ -554,7 +568,7 @@ if (isset($_GET['help'])) {
<tr>
<td class="td_main" colspan="2">
<?php
if (!empty($errormsg)) echo "<p class=\"errormsg\" align=\"center\">$errormsg</p>\n";
@@ -571,7 +585,7 @@ if ($nextstage == SAVE) {
echo "<tr>\n";
echo "<td width=\"33.3%\">&nbsp;</td>\n";
echo "<td width=\"33.3%\">&nbsp;</td>\n";
echo "<td width=\"33.3%\" align=\"right\">\n";
echo "<td width=\"33.3%\" align=\"right\">\n";
print_single_button("index.php", $options, get_string('continue')." &raquo;");
echo "</td>\n";
echo "</tr>\n";
@@ -579,16 +593,16 @@ if ($nextstage == SAVE) {
} else {
echo "<p class=\"errormsg\">".get_string('configfilenotwritten', 'install')."</p>";
echo "<table cellspacing=\"0\" cellpadding=\"0\" border=\"0\" width=\"100%\">\n";
echo "<tr>\n";
echo "<td width=\"33.3%\">&nbsp;</td>\n";
echo "<td width=\"33.3%\" align=\"center\">\n";
echo "<td width=\"33.3%\" align=\"center\">\n";
$installoptions = array();
$installoptions['download'] = 1;
$installoptions['download'] = 1;
print_single_button("install.php", $installoptions, get_string('download', 'install'));
echo "</td>\n";
echo "<td width=\"33.3%\" align=\"right\">\n";
echo "<td width=\"33.3%\" align=\"right\">\n";
print_single_button("index.php", $options, get_string('continue')." &raquo;");
echo "</td>\n";
echo "</tr>\n";
@@ -626,7 +640,7 @@ if ($nextstage == SAVE) {
<?php
<?php
//==========================================================================//
@@ -644,6 +658,8 @@ function print_object($object) {
function form_table($nextstage = WELCOME, $formaction = "install.php") {
global $INSTALL, $db;
$enablenext = true;
/// Print the standard form if we aren't in the DOWNLOADLANG page
/// because it has its own form.
if ($nextstage != DOWNLOADLANG) {
@@ -675,16 +691,20 @@ function form_table($nextstage = WELCOME, $formaction = "install.php") {
break;
case COMPATIBILITY: /// Compatibilty check
$compatsuccess = true;
/// Check that PHP is of a sufficient version
print_compatibility_row(inst_check_php_version(), get_string('phpversion', 'install'), get_string('phpversionerror', 'install'), 'phpversionhelp');
$enablenext = $enablenext && inst_check_php_version();
/// Check session auto start
print_compatibility_row(!ini_get_bool('session.auto_start'), get_string('sessionautostart', 'install'), get_string('sessionautostarterror', 'install'), 'sessionautostarthelp');
$enablenext = $enablenext && !ini_get_bool('session.auto_start');
/// Check magic quotes
print_compatibility_row(!ini_get_bool('magic_quotes_runtime'), get_string('magicquotesruntime', 'install'), get_string('magicquotesruntimeerror', 'install'), 'magicquotesruntimehelp');
$enablenext = $enablenext && !ini_get_bool('magic_quotes_runtime');
/// Check unsupported PHP configuration
print_compatibility_row(ini_get_bool('magic_quotes_gpc') || (!ini_get_bool('register_globals')), get_string('globalsquotes', 'install'), get_string('globalsquoteserror', 'install'), 'globalsquoteshelp');
/// Check safe mode
print_compatibility_row(!ini_get_bool('register_globals'), get_string('globalsquotes', 'install'), get_string('globalswarning', 'install'));
$enablenext = $enablenext && !ini_get_bool('register_globals');
/// Check safe mode
print_compatibility_row(!ini_get_bool('safe_mode'), get_string('safemode', 'install'), get_string('safemodeerror', 'install'), 'safemodehelp', true);
/// Check file uploads
print_compatibility_row(ini_get_bool('file_uploads'), get_string('fileuploads', 'install'), get_string('fileuploadserror', 'install'), 'fileuploadshelp', true);
@@ -823,7 +843,7 @@ function form_table($nextstage = WELCOME, $formaction = "install.php") {
print_single_button('install.php', $options, get_string('downloadlanguagebutton','install', $languages[$INSTALL['language']]), 'POST');
print_simple_box_end();
} else {
/// Show result info
/// Show result info
/// English lang packs aren't downloaded
if (substr($INSTALL['language'],0,2) == 'en') {
print_simple_box(get_string('downloadlanguagenotneeded', 'install', $languages[$INSTALL['language']]), 'center', '80%');
@@ -856,9 +876,11 @@ function form_table($nextstage = WELCOME, $formaction = "install.php") {
<input type="hidden" name="stage" value="<?php echo $nextstage ?>" />
<?php
}
$disabled = $enablenext ? '' : 'disabled="disabled"';
?>
<?php echo ($nextstage < SAVE) ? "<input type=\"submit\" name=\"next\" value=\"".get_string('next')." &raquo;\" style=\"float: right\"/>\n" : "&nbsp;\n" ?>
<?php echo ($nextstage < SAVE) ? "<input $disabled type=\"submit\" name=\"next\" value=\"".get_string('next')." &raquo;\" style=\"float: right\"/>\n" : "&nbsp;\n" ?>
<?php echo ($nextstage > WELCOME) ? "<input type=\"submit\" name=\"prev\" value=\"&laquo; ".get_string('previous')."\" style=\"float: left\"/>\n" : "&nbsp;\n" ?>
<?php
@@ -873,7 +895,7 @@ function form_table($nextstage = WELCOME, $formaction = "install.php") {
</td>
</tr>
</table>
<?php
if (!$needtoopenform) {
@@ -902,7 +924,9 @@ function print_compatibility_row($success, $testtext, $errormessage, $helpfield=
echo "</p></td>\n";
echo "<td valign=\"top\">";
echo "<p>$errormessage ";
install_helpbutton("install.php?help=$helpfield");
if ($helpfield !== '') {
install_helpbutton("install.php?help=$helpfield");
}
echo "</p></td>\n";
}
echo "</tr>\n";
@@ -922,7 +946,7 @@ function install_helpbutton($url, $title='') {
echo "onClick=\"return window.open('$url', 'Help', 'menubar=0,location=0,scrollbars,resizable,width=500,height=400')\">";
echo "</a>\n";
}
//==========================================================================//
@@ -1021,7 +1045,7 @@ function css_styles() {
<style type="text/css">
body { background-color: #ffeece; }
p, li, td {
p, li, td {
font-family: helvetica, arial, sans-serif;
font-size: 10pt;
}
@@ -1098,6 +1122,18 @@ function css_styles() {
font-size: 10pt;
border-color: #ffc85f;
}
table.environmenttable .error {
background-color : red;
color : inherit;
}
table.environmenttable .warn {
background-color : yellow;
}
table.environmenttable .ok {
background-color : lightgreen;
}
.header {
background-color: #fee6b9;
font-size: 10pt;
+3 -1
View File
@@ -7,12 +7,14 @@
/// keep us informed using http://moodle.org/bugs Thanks!
///
/// File generated by cvs://contrib/lang2installer/installer_builder
/// using strings defined in installer_strings (same dir)
/// using strings defined in stringnames.txt (same dir)
$string['closewindow'] = 'Maak die venster toe';
$string['continue'] = 'Gaan voort';
$string['doyouagree'] = 'Het jy die voorwaardes gelees en verstaan jy dit?';
$string['error'] = 'Fout';
$string['help'] = 'Help';
$string['invalidemail'] = 'Ongeldige email adres';
$string['language'] = 'Taal';
$string['name'] = 'Naam';
$string['next'] = 'Volgende';
+16 -3
View File
@@ -7,11 +7,12 @@
/// keep us informed using http://moodle.org/bugs Thanks!
///
/// File generated by cvs://contrib/lang2installer/installer_builder
/// using strings defined in installer_strings (same dir)
/// using strings defined in stringnames.txt (same dir)
$string['admindirerror'] = 'مجلد الإدارة المحدد غير صحيح';
$string['admindirname'] = 'مجلد الإدارة';
$string['admindirsettinghead'] = 'أعداد دليل المدير';
$string['availablelangs'] = 'حزم اللغة المتوفره';
$string['bypassed'] = 'مرور';
$string['cannotcreatelangdir'] = 'لم يتم أنشاء دليل اللغة';
$string['cannotcreatetempdir'] = 'لم يتم أنشاء الدليل المؤقت';
@@ -23,10 +24,13 @@ $string['cannotsavezipfile'] = 'لم يتم حفظ الملف المضغوط';
$string['cannotunzipfile'] = 'لم يتم فك الملف المضغوط';
$string['caution'] = 'تحذير';
$string['check'] = 'أختر';
$string['chooselanguage'] = 'اختر اللغة';
$string['chooselanguagehead'] = 'اختر اللغة';
$string['closewindow'] = 'أغلق هذه النافذة';
$string['compatibilitysettings'] = 'أفحص إعدادات الـ PHP';
$string['compatibilitysettingshead'] = 'أفحص إعدادات الـ PHP';
$string['configfilewritten'] = 'تم انشاء ملف config.php بنجاح';
$string['configurationcomplete'] = 'تمت عملية الإعداد';
$string['configurationcompletehead'] = 'تمت عملية الإعداد';
$string['continue'] = 'استمر';
$string['database'] = 'قاعدة بيانات';
@@ -35,13 +39,15 @@ $string['datarooterror'] = 'إعداد المعلومات غير صحيح';
$string['dbconnectionerror'] = 'لم يتم التوصيل بقاعدة البيانات المحددة. تأكد من إعدادات قاعدة البيانات.';
$string['dbcreationerror'] = 'خطاء في إنشاء قاعدة البيانات. لم يم انشاء قاعدة البيانات المسماه في الأعدادات المعطاه.';
$string['dbhost'] = 'الخادم المضيف';
$string['dbpass'] = 'كلمة مرور';
$string['dbprefix'] = 'مقدمة الجداول';
$string['dbtype'] = 'نوع';
$string['dirroot'] = 'دليل مودل';
$string['dirrooterror'] = 'إعدادّّّ\"المجلد\" غير صحيح. حاول إعادة الإعداد';
$string['download'] = 'تنزيل';
$string['downloadlanguagehead'] = 'تنزيل حزمة اللغة';
$string['environmenterrortodo'] = 'يجب عليك تصحيح كل المشاكل (الأخطاء) الموضحه أعلاه قبل الأستمرار في ثتبيت هذا الأصدار لمودل';
$string['doyouagree'] = 'هل قمت بقراءة هذه الشروط واستيعابها؟';
$string['environmenterrortodo'] = 'يجب عليك تصحيح كل المشاكل (الأخطاء) الموضحه أعلاه قبل الأستمرار في ثتبيت هذا الأصدار لموّدل';
$string['environmenthead'] = 'يتم فحص البيئة';
$string['environmentrecommendinstall'] = 'ينصح بتثبيته/تمكينه';
$string['environmentrecommendversion'] = 'يفضل الأصدار a$->needed ، وانت تستخدم الأصدار a$->current';
@@ -57,11 +63,14 @@ $string['help'] = 'مساعدة';
$string['iconvrecommended'] = 'ينصح بشدة تثبيت مكتبة ICONV الاختيارية وذلك لتحسين أداء موقعك خصوصا لو كنت تستخدم لغات غير لاتينيه.';
$string['info'] = 'معلومات';
$string['installation'] = 'تثبيت';
$string['invalidemail'] = 'عنوان البريد الإلكتروني غير صحيح';
$string['language'] = 'اللغة';
$string['magicquotesruntimeerror'] = 'هذا يجب ان يكون معطل';
$string['mbstringrecommended'] = 'يفضل وبشدة تثبيت مكتبة (MBSTRING) الاختيارية وذلك لتسحين اداء الموقع وبذات لوكان موقعك يدعم لغات غير لاتينية.';
$string['memorylimit'] = 'حد الذاكرة';
$string['memorylimiterror'] = 'ذاكرة الـ PHP صغيرة جداً... من المحتل ستواجه بعض المشاكل لاحقاً';
$string['missingrequiredfield'] = 'بعض الحقول المطلوبة مفقودة';
$string['moodledocslink'] = 'وثائق مودل لهذه الصفحة';
$string['mysql416bypassed'] = 'على الرغم من أن موقعك يستخدم iso-8859-1 للغات (اللأتينية)فقط، يمكنك الأستمرار في استخدام MySQL 4.1.12 أو أعلى المثبتة حاليا.';
$string['mysql416required'] = 'MySQL 4.1.16 هي الأصدار الأقل المطلوب لاتثبيت أصدار مودل 1.6 وذلك لضمان إمكانية تحويل جميع البيانات إلى UTF-8 في المستقبل.';
$string['name'] = 'الاسم';
@@ -71,19 +80,23 @@ $string['parentlanguage'] = 'المترجمون: أذا كانت لغتك لها
$string['pass'] = 'اجتياز';
$string['password'] = 'كلمة المرور';
$string['phpversion'] = 'أصدار PHP';
$string['phpversionerror'] = 'يجب ان يكون إصدار PHP 4.1.0 على الاقل ';
$string['phpversionerror'] = 'يجب ان يكون إصدار PHP 4.1.0 على الاقل';
$string['phpversionhelp'] = '<p> يتطلب مودل على الاقل الأصدار 4.1.0 لـ PHP </p>
<p> انت تستخدم الأصدار $a </p>
<p> يجب عليك ترقية PHP أو الانتقال إلى مستظيف أخر لديه أصدار اجد لـ PHP.</p>';
$string['previous'] = 'السابق';
$string['report'] = 'تقرير';
$string['restricted'] = 'متحكم فيه';
$string['safemode'] = 'وضع الامان';
$string['safemodeerror'] = 'من الممكن ان مودل يواجه مشاكل عندما يكون وضع الامان نشط';
$string['sessionautostart'] = 'البدء الآلي للجلسة';
$string['sessionautostarterror'] = 'يجب أن يكون هذا معطل';
$string['sessionautostarthelp'] = '<p> يتطلب مودل لدعم الجلسات وبدونها لا يستطع العمل.</p>
<p>.يمكن تمكين الجلسات من خلال ملف php.in ...ابحث عن session.auto_start </p>';
$string['skipdbencodingtest'] = 'تخطى اختبار تشفير قاعدة البيانات';
$string['status'] = 'الحالة';
$string['thischarset'] = 'UTF-8';
$string['thisdirection'] = 'rtl';
$string['thislanguage'] = 'عربي';
$string['user'] = 'مستخدم';
$string['wwwroot'] = 'WWW';
+11 -1
View File
@@ -7,27 +7,36 @@
/// keep us informed using http://moodle.org/bugs Thanks!
///
/// File generated by cvs://contrib/lang2installer/installer_builder
/// using strings defined in installer_strings (same dir)
/// using strings defined in stringnames.txt (same dir)
$string['admindirerror'] = 'Абраны каталог адміністратара няслушны';
$string['admindirname'] = 'Каталог адміністратара';
$string['admindirsetting'] = 'Толькі некаторыя web-сайты выкарыстоўваюць /admin як спецыяльны адрас для доступу да панелі кіравання ці іншага. На жаль, ён канфліктуе з стандартным змяшчэннем старонак адміністравання Moodle. Вы можаце адрэдагаваць гэтую памылку, пераназваў папку admin ў вашай інсталяцыі і пазначыў яе імя тут. Напрыклад:
<br /> <br /><b>moodleadmin</b><br /> <br />
Будзе правільная настроўваць спасылкі на admin ў Moodle.';
$string['caution'] = 'Папярэджанне';
$string['chooselanguage'] = 'Выбярыце мову';
$string['closewindow'] = 'Згарнуць вакно';
$string['compatibilitysettings'] = 'Праверка настроек PHP...';
$string['configfilenotwritten'] = 'Скрыпт ўстаноўкі не змог аўтаматычна стварыць файл config.php, які ўтрымлівае Вамі абраныя настроўкі, па прычыне, што нельга пісаць у папку з устаноўкай Moodle. Вы можаце ўручную скапіяваць наступны код ў файл з назвай config.php і змясць яго ў карнявую папку ўстаноўкі Moodle.';
$string['configfilewritten'] = 'config.php быў паспяхова створаны';
$string['configurationcomplete'] = 'Настройка завершаная';
$string['continue'] = 'Працягнуць';
$string['database'] = 'База Дадзеных';
$string['dataroot'] = 'Каталог дадзеных';
$string['dbhost'] = 'Хост сэрвера';
$string['dbpass'] = 'Пароль';
$string['dbprefix'] = 'Прэфікс табліцаў';
$string['dbtype'] = 'Тып';
$string['dirroot'] = 'Каталог Moodle';
$string['download'] = 'Загрузіць';
$string['doyouagree'] = 'Ці прачыталі Вы ўмовы?';
$string['error'] = 'Памылка';
$string['fail'] = 'Памылка';
$string['gdversion'] = 'GD версія';
$string['help'] = 'Дапамога';
$string['installation'] = 'Ладаванне';
$string['invalidemail'] = 'Няправільны фармат для e-mail';
$string['language'] = 'Мова';
$string['memorylimit'] = 'Мяжа памяці';
$string['name'] = 'Назва';
@@ -37,6 +46,7 @@ $string['password'] = 'Пароль';
$string['previous'] = 'Папярэдні';
$string['status'] = 'Статус';
$string['thischarset'] = 'UTF-8';
$string['thisdirection'] = 'ltr';
$string['thislanguage'] = 'Беларуская';
$string['user'] = 'Карыстальнік';
?>
+4 -1
View File
@@ -7,13 +7,15 @@
/// keep us informed using http://moodle.org/bugs Thanks!
///
/// File generated by cvs://contrib/lang2installer/installer_builder
/// using strings defined in installer_strings (same dir)
/// using strings defined in stringnames.txt (same dir)
$string['closewindow'] = 'Затваряне на прозореца';
$string['continue'] = 'Напред';
$string['doyouagree'] = 'Прочетохте ли и разбрахте ли условията?';
$string['error'] = 'Грешка';
$string['help'] = 'Помощ';
$string['info'] = "Information";
$string['invalidemail'] = 'Невалиден електронен адрес';
$string['language'] = 'Език';
$string['name'] = 'Име';
$string['next'] = 'Напред';
@@ -22,6 +24,7 @@ $string['password'] = 'Парола';
$string['previous'] = 'Предишен';
$string['status'] = 'Състояние';
$string['thischarset'] = 'UTF-8';
$string['thisdirection'] = 'ltr';
$string['thislanguage'] = 'Български';
$string['user'] = 'Потребител';
?>
+16
View File
@@ -0,0 +1,16 @@
<?php
/// Please, do not edit this file manually! It's auto generated from
/// contents stored in your standard lang pack files:
/// (langconfig.php, install.php, moodle.php, admin.php and error.php)
///
/// If you find some missing string in Moodle installation, please,
/// keep us informed using http://moodle.org/bugs Thanks!
///
/// File generated by cvs://contrib/lang2installer/installer_builder
/// using strings defined in stringnames.txt (same dir)
$string['availablelangs'] = 'যে সমস্ত ভাষা ব্যাবহার করতে পারেন';
$string['thischarset'] = 'UTF-8';
$string['thisdirection'] = 'ltr';
$string['thislanguage'] = 'বাংলা';
?>
+58 -4
View File
@@ -7,47 +7,92 @@
/// keep us informed using http://moodle.org/bugs Thanks!
///
/// File generated by cvs://contrib/lang2installer/installer_builder
/// using strings defined in installer_strings (same dir)
/// using strings defined in stringnames.txt (same dir)
$string['admindirerror'] = 'Određeni administratorski direktorij je nepravilan';
$string['admindirname'] = 'Administratorski direktorij';
$string['admindirsetting'] = 'Veoma nekoliko ili priližno nekoliko webhostova koristi administrator kao specijalni URL za Vaš pristup kontrolnoj ploči. Na nesreću ovo je konflikt sa standardnom lokacijom za Moodle administratorsku stranicu. Možete ovo fiksirati preimenovanjem administratorskog direktorija u Vašoj instalaciji, postavijajući ovdje novo ime. Na primjer: <br /> <br /><b>moodleadmin</b><br /> <br />
Ovo će fiksirati administratorski link na Moodle.';
$string['caution'] = 'Pažnja';
$string['chooselanguage'] = 'Izaberite jezik';
$string['closewindow'] = 'Zatvorite prozor';
$string['compatibilitysettings'] = 'Provjerite Vaša PHP podešavanja ...';
$string['configfilenotwritten'] = 'Instalacijska skripta nije u mogućnosti da automatski kreira config.php datoteku koja obuhvata Vaše izabrano podešavanje, vjerovatno zbog Moodle direktorija koji nije pisan. Možete ručno kopirati prateći kod u ime fajla config.php unutar osnovnog direktorija za Moodle.';
$string['configfilewritten'] = 'config.php je bio uspješno kreiran';
$string['configurationcomplete'] = 'Konfiguracija je kompletirana';
$string['continue'] = 'Nastavak';
$string['database'] = 'Baza podataka';
$string['databasesettings'] = 'Sada Vam je potrebno da konfigurišete bazu podataka gdje će i većina Moodle podataka biti pohranjena. Ova baza podataka već mora biti kreirana i korisničko ime i lozinku kreirajte da je dostupno.<br />
<br /> <br />
<b>Tip:</b> mysql or postgres7<br />
<b>Glavni:</b> eg lokalhost ili db.isp.com<br />
<b>Ime:</b> ime baze podataka, eg moodle<br />
<b>Korisnik:</b> Vaše korisničko ime baze podataka<br />
<b>Lozinka:</b> your database password<br />
<b>Tabelarni prefiks:</b> alternativni prefiks da koristi svim imenima tabela';
$string['dataroot'] = 'Direktorij podataka';
$string['datarooterror'] = '\'Directorij podataka\' koji ste naveli ne može biti pronađen ili kreiran. Svaka korekcija puta ili pravljenja ručno tog direktorija.';
$string['dbconnectionerror'] = 'Ne možemo se spojiti na bazu podataka koju ste naveli. Molimo Vas da provjerite svoja podešavanja baze podataka.';
$string['dbcreationerror'] = 'Greška prilikom pravljenja baze podataka. Ne možete napraviti ime date baze podataka sa predviđenim podešavanjima';
$string['dbhost'] = 'Glavni server';
$string['dbpass'] = 'Lozinka';
$string['dbprefix'] = 'Lista prefiksa';
$string['dbtype'] = 'Tip';
$string['directorysettings'] = '<p>Molim Vas potvrdite lokaciju ove Moodle instalacije.</p>
<p><b>Web Adresa:</b>
Navedite punu web adresu gdje će Moodle biti dostupan. Ako je Vaš web sajt dostupan preko više URLa tada izaberite što prirodniji jedan od onih koje će Vaši studenti koristiti. Ne uključujte prateću crticu.</p>
<p><b>Moodle Directorij:</b>
Navedite punu putanju direktorija za ovu instalaciju. Budite sigurni da je gornji/donji slučaj tačan.</p>
<p><b>Directorij podataka:</b>
Potrebno Vam je mjesto gdje Moodle možete spasiti učitavajući datoteke. Ovaj direktorij bi trebao biti čitljiv i pisan od web server korisnika (obično \'niko\' ili \'apache\'), ali to neće biti direktno pristupačno od weba.</p>';
$string['dirroot'] = 'Direktorij Moodla';
$string['dirrooterror'] = 'Podešavanje \'Direktorija Moodla\' izgleda je netačno - ne možemo tamo naći Moodle instalaciju. Niža vrijednost će biti ponovo dovedena na početni položaj.';
$string['download'] = 'Preuzeti';
$string['doyouagree'] = 'Da li ste pročitali i razumjeli ove uslove?';
$string['error'] = 'Greška';
$string['fail'] = 'Izostati';
$string['fileuploads'] = 'Katalog za učitavanja datoteka';
$string['fileuploadserror'] = 'Ovo bi trebalo biti uključeno';
$string['fileuploadshelp'] = '<p>Katalog za učitavanje datoteka izgleda da je nedostupan na Vašem serveru.</p>
<p>Moodle još uvijek može biti instaliran, ali bez ove mogućnosti, nećete biti u mogućnosti da učitavate datoteke kursa ili duplikate novih korisničkih profila.</p>
<p>Da učitavanje datoteke bude dostupno Vi (ili Vaš sistem administratora) trebat ćete promijeniti svoju php.ini datoteku na Vašem sistemu i promijeniti podešavanja za <b>katalog_ucitavanja_datoteka</b> to \'1\'.</p>';
$string['gdversion'] = 'GD verzija';
$string['gdversionerror'] = 'GD datoteka sa izvornim kodom trebala bi prezentirati proces i kreirati duplikate';
$string['gdversionhelp'] = '<p>Vaš server neće izgledati isto imajući GD instalaciju.</p>
<p>GD je datoteka sa izvornim kodom što je potrebno da PHP dozvoli Moodle da izradi duplikate (kao što je ikona korisničkog profila) i da kreira nove duplikate (kao što je operativni registar slika). Moodle će još uvijek raditi bez GD a ova lica jednostavno neće biti dostupna vama.</p>
<p>Da dodate GD u PHP na osnovu Unixa, kompajlirate PHP koristeći se gd parametrom.</p>
<p>Na osnovu Windows obično možete podesiti php.ini i ne bilježiti liniju referencirajući php_gd2.dll.</p>';
$string['help'] = 'Pomoć';
$string['installation'] = 'Instalacija';
$string['invalidemail'] = 'Pogrešna elektronska adresa';
$string['language'] = 'Jezik';
$string['magicquotesruntime'] = 'Čari naznake vremenskog kretanja';
$string['magicquotesruntimeerror'] = 'Ovo bi trebalo biti isključeno';
$string['magicquotesruntimehelp'] = '<p>Čini kvote vremena pokretanja trebalo bi isključiti da Moodle propisno funkcioniše.</p>
<p>Normalno ovo je isključeno po podrazumijevanoj vrijednosti ... pogledaj podešavanje<b>cini_kvote_vremena_pokretanja </b> na Vašoj php.ini datoteci.</p>
<p>Ako nemate pristu na Vaš php.ini, moći ćete biti u mogućnosti da ocjenite prateći liniju u datoteci pozivajući .htapristup unutar Vašeg Moodle direktorija: <blocquote>php_vrijednost_cina_kvote_vremena_pokretanja isključeno</blockquote>
</p>
';
$string['memorylimit'] = 'Ograničenje memorije';
$string['memorylimiterror'] = 'PHP ograničenje je podešeno na potpuno malo memorije ... kasnije se možete kretati unutar problema.';
$string['memorylimithelp'] = '<p>PHP ograničenje memorije za Vaš server je trenutno podešeno na $a.</p>
<p>Ovo možda prouzrokuje Moodlu da kasnije ima problema sa memorijom, posebno ako imate mnogo dozvoljenih modula i /ili mnogo korisnika.</p>
<p>Preporučujemo Vam da konfigurišete PHP sa visokim ograničenjem ako je moguće, kao 16M. Čineći ovo tamo je nekoliko načina pa možete pokušati: </p><ol>
<p>Preporučujemo Vam da konfigurišete PHP sa visokim ograničenjem ako je moguće, kao 40M. Čineći ovo tamo je nekoliko načina pa možete pokušati: </p><ol>
<li>Ako ste, opet kompajlisati PHP sa <i>--dostupnim-memorijskim-ograničenjem</i>. Ovo će dozvoliti Moodle da postavi memorijsko ograničenje sam za sebe.</li>
<li>Ako imate pristup na Vašu php.ini datoteku, možete promijeniti <b>memorijsko_ograničenje</b> podešavanje u nešto kao ovo 16M. Ako nemate pristup možete pitati svog administratora da to uradi za Vas.</li>
<li>Na nekim PHP serverima možete kreirati a.ht pristupnu datoteku u Moodle direktoriju koji se sadrži na ovoj liniji:<br /><blockquote>php_vrijednost memorijskog_ograničenja 16M</blockquote></li>
<li>Ako imate pristup na Vašu php.ini datoteku, možete promijeniti <b>memorijsko_ograničenje</b> podešavanje u nešto kao ovo 40M. Ako nemate pristup možete pitati svog administratora da to uradi za Vas.</li>
<li>Na nekim PHP serverima možete kreirati a.ht pristupnu datoteku u Moodle direktoriju koji se sadrži na ovoj liniji:<br /><blockquote>php_vrijednost memorijskog_ograničenja 40M</blockquote></li>
<br />Kakogod, na istom serveru ovo izbjegavajte <b>sve</b> PHP stranice za rad (vidjet ćete grešku prilkom pregleda stranice) ćete na njima morati izbrisati .htpristupnu datoteku. </li></ol>';
$string['mysqlextensionisnotpresentinphp'] = 'PHP neće biti propisno konfigurisan sa MySQL ekstenzijom tako da može komunicirati sa MySQL. Molimo Vas da provjerite svoju php.ini datoteku ili opet kompajlišite PHP.';
$string['name'] = 'Ime';
@@ -63,10 +108,19 @@ $string['phpversionhelp'] = '<p>Moodle zahtijeva najmanju PHP verziju 4.1.0.</p>
$string['previous'] = 'Prijethodni';
$string['safemode'] = 'Safe Mode';
$string['safemodeerror'] = 'Moodle može imati problema sa uključenim safe mode-om';
$string['safemodehelp'] = '<p>Moodle može imati različite probleme sa ukljiučenim safe modom, ni najmanji taj problem vjerovatno neće dozvoliti kreiranje novih datoteka.</p>
<p>Safe mode je obično jedino dozvoljen od paranoične javnosti web gostiju, tako da Vi možete imati jednostavnu potražnju nove web gostujuće kompanije za Vaš Moodle sajt.</p>
<p>Možete pokušati nastaviti sa instalacijom ako želite, ali očekujte nekoliko problema kasnije.</p>';
$string['sessionautostart'] = 'Automatski početak akcije';
$string['sessionautostarterror'] = 'Ovo bi trebalo biti isključeno';
$string['sessionautostarthelp'] = '<p>Moodle zahtijeva podršku za postupanje i neće funcionisati bez toga.</p>
<p>Etapa u radu može biti dozvoljena u php.ini datoteci ... pogledajte za postupanje.auto_start parameter.</p>';
$string['status'] = 'Status';
$string['thischarset'] = 'UTF-8';
$string['thisdirection'] = 'ltr';
$string['thislanguage'] = 'Bosanski';
$string['user'] = 'Korisnik';
$string['wwwroot'] = 'Web adresa';
+268 -12
View File
@@ -7,15 +7,28 @@
/// keep us informed using http://moodle.org/bugs Thanks!
///
/// File generated by cvs://contrib/lang2installer/installer_builder
/// using strings defined in installer_strings (same dir)
/// using strings defined in stringnames.txt (same dir)
$string['aborting'] = 'S\'està interrompent la instal·lació';
$string['admindirerror'] = 'El directori d\'administració especificat és incorrecte';
$string['admindirname'] = 'Directori d\'administració';
$string['admindirsetting'] = 'Alguns servidors web utilitzen un URL especial /admin per accedir a un tauler de control o quelcom semblant. Malauradament aquesta és també 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:<br /> <br /><b>moodleadmin</b><br /> <br />
Això modificarà els enllaços d\'administració de Moodle.';
$string['admindirsettinghead'] = 'S\'està configurant el directori d\'administració...';
$string['admindirsettingsub'] = 'Alguns proveïdors d\'espai web utilitzen /admin com una adreça URL especial per accedir a un tauler de control o quelcom semblant. Malauradament això interfereix amb la ubicació estàndard de les pàgines d\'administració de Moodle. Podeu solucionar aquest problema canviant el nom del directori admin en la vostra instal·lació i introduint aquí el nou nom. Per exemple: <br /> <br /><b>moodleadmin</b><br /> <br />
Això repararà tots els enllaços d\'administració de Moodle.';
$string['adminemail'] = 'Correu electrònic:';
$string['adminfirstname'] = 'Nom:';
$string['admininfo'] = 'Dades de l\'administrador';
$string['adminlastname'] = 'Cognoms:';
$string['adminpassword'] = 'Contrasenya:';
$string['adminusername'] = 'Nom d\'usuari/ària';
$string['askcontinue'] = 'Continua (sí/no)';
$string['availabledbtypes'] = 'Tipus de base de dades disponibles';
$string['availablelangs'] = 'Llista d\'idiomes disponibles';
$string['bypassed'] = 'S\'ha deixat de banda';
$string['cannotcreatelangdir'] = 'No es pot crear el directori d\'idiomes.';
$string['cannotconnecttodb'] = 'No es pot obrir la connexió amb la base de dades';
$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';
@@ -24,19 +37,39 @@ $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['caution'] = 'Alerta';
$string['check'] = 'Activa';
$string['check'] = 'Reviseu';
$string['checkingphpsettings'] = 'S\'estan comprovant els paràmetres del PHP';
$string['chooselanguage'] = 'Trieu un idioma';
$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['closewindow'] = 'Tanca aquesta finestra';
$string['compatibilitysettings'] = 'S\'estan comprovant els paràmetres del PHP...';
$string['compatibilitysettingshead'] = 'S\'estan comprovant els paràmetres del PHP...';
$string['compatibilitysettingssub'] = 'El vostre servidor hauria de passar totes aquestes proves per tal que Moodle funcioni correctament.';
$string['componentisuptodate'] = 'El component està al dia';
$string['configfilecreated'] = 'El fitxer de configuració s\'ha creat correctament';
$string['configfiledoesnotexist'] = 'El fitxer de configuració no existeix';
$string['configfilenotwritten'] = 'La seqüència d\'instal·lació no ha estat capaç de crear automàticament un fitxer config.php que contingui els paràmetres que heu triat, probablement perquè no pugui escriure al directori de Moodle. Podeu copiar a mà el codi següent en un fitxer anomenat config.php dins del directori arrel de Moodle.';
$string['configfilewritten'] = 'S\'ha creat amb èxit el fitxer config.php';
$string['configfilewritten'] = 'S\'ha creat correctament el fitxer config.php';
$string['configurationcomplete'] = 'S\'ha completat la configuració';
$string['configurationcompletehead'] = 'S\'ha completat la configuració';
$string['configurationcompletesub'] = 'Moodle ha intentat desar la configuració en un fitxer en l\'arrel de la vostra instal·lació de Moodle.';
$string['configurationfileexist'] = 'Ja existeix un fitxer de configuració';
$string['continue'] = 'Continua';
$string['creatingconfigfile'] = 'S\'està creant el fitxer de configuració...';
$string['ctyperecommended'] = 'Es recomana instal·lar l\'extensió de PHP ctype a fi de millorar el rendiment del lloc, especialment si teniu usuaris que treballen amb idiomes no occidentals.';
$string['ctyperequired'] = 'A hores d\'ara Moodle requereix l\'extensió de PHP ctype, a fi de millorar el rendiment del lloc i oferir compatibilitat amb diferents idiomes.';
$string['curlrecommended'] = 'Es recomana instal·lar la biblioteca opcional Curl a fi d\'habilitar la funcionalitat de Moodle en Xarxa.';
$string['curlrequired'] = 'L\'extensió de PHP cURL és ara necessària per a comunicar-se amb repositoris Moodle.';
$string['customcheck'] = 'Altres comprovacions';
$string['database'] = 'Base de dades';
$string['databasecreationsettings'] = 'Ara cal configurar els paràmetres de la base de dades on s\'emmagatzemara la majoria de dades de Moodle. L\'instal·lador Moodle4Windows crearà automàticament aquesta base de dades amb els paràmetres que especifiqueu aquí.<br /><br /><br />
<b>Tipus:</b> mysql (determinat per l\'instal·lador).<br />
<b>Servidor:</b> localhost (determinat per l\'instal·lador.<br />
<b>Nom:</b> nom de la base de dades, p. ex. moodle.<br />
<b>Usuari:</b> root (determinat per l\'instal·lador).<br />
<b>Contrasenya</b>: la vostra contrasenya per a la base de dades.<br />
<b>Prefix de les taules:</b>: prefix opcional per als noms de les taules.';
$string['databasecreationsettingshead'] = 'Ara cal configurar els paràmetres de la base de dades on s\'emmagatzemaran la majoria de dades de Moodle. L\'instal·lador crearà automàticament aquesta base de dades amb els paràmetres que especifiqueu aquí.';
$string['databasecreationsettingssub'] = '<b>Tipus:</b> fixat a \"mysql\" per l\'instal·lador<br />
<b>Servidor:</b> fixat a \"localhost\" per l\'instal·lador<br />
@@ -44,21 +77,99 @@ $string['databasecreationsettingssub'] = '<b>Tipus:</b> fixat a \"mysql\" per l\
<b>Usuari:</b> fixat a \"root\" per l\'instal·lador<br />
<b>Contrasenya:</b> la contrasenya de l\'usuari \"root\" de la base de dades<br />
<b>Prefix de les taules:</b> prefix opcional per utilitzar en els noms de totes les taules';
$string['databasesettingshead'] = 'Ara cal configurar la base de dades on s\'emmagatzemaran la majoria de dades de Moodle. Aquesta base de dades s\'ha d\'haver crear abans i cal tenir un nom d\'usuari i una contrasenya per accedir-hi.';
$string['databasehost'] = 'Servidor de base de dades:';
$string['databasename'] = 'Nom de la base de dades:';
$string['databasepass'] = 'Contrasenya de la base de dades:';
$string['databasesettings'] = 'Ara cal configurar la base de dades on s\'emmagatzemaran la majoria de dades de Moodle. Aquesta base de dades s\'ha d\'haver creat abans i cal tenir un nom d\'usuari i una contrasenya per accedir-hi.<br />
<br /> <br />
<b>Tipus:</b> mysql o postgres7<br />
<b>Servidor:</b> p. ex. localhost o db.isp.com<br />
<b>Nom:</b> nom de la base de dades, p. ex. moodle<br />
<b>Usuari:</b> nom de l\'usuari de la base de dades<br />
<b>Contrasenya:</b> contrasenya de l\'usuari de la base de dades<br />
<b>Prefix de les taules:</b> prefix opcional per utilitzar en els noms de totes les taules';
$string['databasesettingsformoodle'] = 'Paràmetres de la base de dades de Moodle';
$string['databasesettingshead'] = 'Ara cal configurar la base de dades on s\'emmagatzemaran la majoria de dades de Moodle. Aquesta base de dades s\'ha d\'haver creat abans i cal tenir un nom d\'usuari i una contrasenya per accedir-hi.';
$string['databasesettingssub'] = '<b>Tipus:</b> mysql o postgres7<br />
<b>Servidor:</b> p. ex. localhost o db.isp.com<br />
<b>Nom:</b> nom de la base de dades, p. ex. moodle<br />
<b>Usuari:</b> nom de l\'usuari de la base de dades<br />
<b>Contrasenya:</b> contrasenya de l\'usuari de la base de dades<br />
<b>Prefix de les taules:</b> prefix opcional per utilitzar en els noms de totes les taules';
$string['databasesettingssub_mssql'] = '<b>Tipus:</b> SQL*Server (no UTF-8) <b><font color=\"red\">Experimental! (no per a utilitzar en producció)</font></b><br />
<b>Servidor:</b> p. ex. localhost o db.isp.com<br />
<b>Nom:</b> nom de la base de dades, p. ex. moodle<br />
<b>Usuari:</b> el vostre nom d\'usuari de la base de dades<br />
<b>Contrasenya:</b> la vostra contrasenya de la base de dades<br />
<b>Prefix de les taules:</b> prefix que cal anteposar als noms de totes les taules (obligatori)';
$string['databasesettingssub_mssql_n'] = '<b>Tipus:</b> SQL*Server (UTF-8 habilitat)<br />
<b>Servidor:</b> p. ex. localhost o db.isp.com<br />
<b>Nom:</b> nom de la base de dades, p. ex. moodle<br />
<b>Usuari:</b> el vostre nom d\'usuari de la base de dades<br />
<b>Contrasenya:</b> la vostra contrasenya de la base de dades<br />
<b>Prefix de les taules:</b> prefix que cal anteposar als noms de totes les taules (obligatori)';
$string['databasesettingssub_mysql'] = '<b>Tipus:</b> MySQL<br />
<b>Servidor:</b> p. ex. localhost o db.isp.com<br />
<b>Nom:</b> nom de la base de dades, p. ex. moodle<br />
<b>Usuari:</b> el vostre nom d\'usuari de la base de dades<br />
<b>Contrasenya:</b> la vostra contrasenya de la base de dades<br />
<b>Prefix de les taules:</b> prefix que cal anteposar als noms de totes les taules (opcional)';
$string['databasesettingssub_mysqli'] = '<b>Tipus:</b> MySQL Improved<br />
<b>Servidor:</b> p. ex. localhost o db.isp.com<br />
<b>Nom:</b> nom de la base de dades, p. ex. moodle<br />
<b>Usuari:</b> el vostre nom d\'usuari de la base de dades<br />
<b>Contrasenya:</b> la vostra contrasenya de la base de dades<br />
<b>Prefix de les taules:</b> prefix que cal anteposar als noms de totes les taules (opcional)';
$string['databasesettingssub_oci8po'] = '<b>Tipus:</b> Oracle<br />
<b>Servidor:</b> no utilitzat, s\'ha de deixar en blanc<br />
<b>Nom:</b> nom de la connexió tnsnames.ora<br />
<b>Usuari:</b> el vostre nom d\'usuari de la base de dades<br />
<b>Contrasenya:</b> la vostra contrasenya de la base de dades<br />
<b>Prefix de les taules:</b> prefix que cal anteposar als noms de totes les taules (obligatori, màxim 2 caràcters)';
$string['databasesettingssub_odbc_mssql'] = '<b>Tipus:</b> SQL*Server (sobre ODBC) <b><font color=\"red\">Experimental! (no per a utilitzar en producció)</font></b><br />
<b>Servidor:</b> nom del DSN al tauler de control de l\'ODBC<br />
<b>Nom:</b> nom de la base de dades, p. ex. moodle<br />
<b>Usuari:</b> el vostre nom d\'usuari de la base de dades<br />
<b>Contrasenya:</b> la vostra contrasenya de la base de dades<br />
<b>Prefix de les taules:</b> prefix que cal anteposar als noms de totes les taules (obligatori)';
$string['databasesettingssub_postgres7'] = '<b>Tipus:</b> PostgreSQL<br />
<b>Servidor:</b> p. ex. localhost o db.isp.com<br />
<b>Nom:</b> nom de la base de dades, p. ex. moodle<br />
<b>Usuari:</b> el vostre nom d\'usuari de la base de dades<br />
<b>Contrasenya:</b> la vostra contrasenya de la base de dades<br />
<b>Prefix de les taules:</b> prefix que cal anteposar als noms de totes les taules (obligatori)';
$string['databasesettingssub_sqlite3_pdo'] = '<b>Tipus:</b> SQLite 3 (PDO) <b><strong class=\"errormsg\">Experimental! (no l\'utilitzeu en producció)</strong></b><br />
<b>Servidor:</b> camí (complet) del directori on es desarà el fitxer de la base de dades; en blanc o localhost per utilitzar el directori de dades de Moodle<br />
<b>Nom:</b> nom de la base de dades, p. ex. moodle (opcional)<br />
<b>Usuari:</b> el vostre nom d\'usuari de la base de dades (opcional)<br />
<b>Contrasenya:</b> la vostra contrasenya de la base de dades (opcional)<br />
<b>Prefix de les taules:</b> prefix que cal anteposar als noms de totes les taules (obligatori)<br />
El nom del fitxer de la base de dades es determinarà mitjançant el nom d\'usuari, el nom de la base de dades i la contrasenya que definiu més amunt.';
$string['databasesettingswillbecreated'] = '<strong>Nota</strong >: l\'instal·lador intentarà crear automàticament la base de dades si no existeix.';
$string['databasetype'] = 'Tipus de base de dades:';
$string['databaseuser'] = 'Usuari de la base de dades:';
$string['dataroot'] = 'Directori de dades';
$string['datarooterror'] = 'No s\'ha pogut trobar o crear el directori de dades que heu especificat. Corregiu el camí o creeu el directori a mà.';
$string['dbconnectionerror'] = 'No es pot obrir la connexió amb la base de dades que heu especificat. Comproveu els paràmetres de la base de dades.';
$string['dbcreationerror'] = 'Error en la creació de la base de dades. No s\'ha pogut crear la base de dades amb els paràmetres proporcionats.';
$string['dbhost'] = 'Ordinador servidor';
$string['dbpass'] = 'Contrasenya';
$string['dbprefix'] = 'Prefix de taules';
$string['dbtype'] = 'Tipus';
$string['dbwrongencoding'] = 'La base de dades que heu seleccionat està funcionant amb una codificació ($a) no recomanada. Seria millor utilitzar una base de dades amb codificació Unicode (UTF-8). De totes maneres, podeu deixar de banda aquesta prova si seleccioneu més avall \"Omet la prova de codificació de la base de dades\", però podríeu experimentar problemes en el futur.';
$string['dbwronghostserver'] = 'Heu de seguir les regles referents al servidor, exposades més amunt.';
$string['dbwrongnlslang'] = 'La variable d\'entorn NLS_LANG del vostre servidor web ha d\'utilitzar el joc de caràcters AL32UTF8. Consulteu la documentació de PHP sobre la configuració correcta d\'OCI8.';
$string['dbwrongprefix'] = 'Heu de seguir les regles referents al prefix de les taules, exposades més amunt.';
$string['directorysettings'] = '<p>Confirmeu les ubicacions d\'aquesta instal·lació de Moodle.</p>
<p><b>Adreça web:</b>
Especifiqueu l\'adreça web completa per a accedir a Moodle. Si el vostre lloc és accessible per mitjà de diversos URL, trieu el més natural per als estudiants. No inclogueu la barra final.</p>
<p><b>Directori de Moodle:</b>
Especifiqueu el camí complet del directori d\'aquesta instal·lació. Assegureu-vos que les majúscules/minúscules són correctes.</p>
<p><b>Directori de dades:</b>
Necessiteu un lloc on Moodle pugui desar els fitxers que es pengin. L\'usuari del servidor web (generalment \'nobody\' o \'apache\') ha de tenir permisos de lectura i d\'ESCRIPTURA en aquest directori, però no hauria de ser accessible directament per web.</p>';
$string['directorysettingshead'] = 'Confirmeu les ubicacions d\'aquesta instal·lació de Moodle.';
$string['directorysettingssub'] = '<b>Adreça web:</b>
Especifiqueu l\'adreça web completa per a accedir a Moodle. Si el vostre lloc és accessible per mitjà de diversos URL, trieu el més natural per als estudiants. No inclogueu la barra final.</p>
@@ -70,38 +181,91 @@ Especifiqueu el camí complet del directori d\'aquesta instal·lació. Assegureu
Necessiteu un lloc on Moodle pugui desar els fitxers que es pengin. L\'usuari del servidor web (generalment \'nobody\' o \'apache\') ha de tenir permisos de lectura i d\'ESCRIPTURA en aquest directori, però no hauria de ser accessible directament via web.</p>';
$string['dirroot'] = 'Directori de Moodle';
$string['dirrooterror'] = 'El paràmetre \'Directori de Moodle\' sembla incorrecte: no s\'hi ha pogut trobat cap instal·lació de Moodle. S\'ha reiniciat el valor del paràmetre.';
$string['disagreelicense'] = 'No es pot continuar l\'actualització sense acceptar la GPL.';
$string['download'] = 'Baixa';
$string['downloadedfilecheckfailed'] = 'Ha fallat la comprovació del fitxer baixat';
$string['downloadlanguagebutton'] = 'Baixa el paquet d\'idioma &quot;$a&quot;';
$string['downloadedfilecheckfailed'] = 'Ha fallat la comprovació del fitxer baixat.';
$string['downloadlanguagebutton'] = 'Baixa el paquet d\'idioma \"$a\"';
$string['downloadlanguagehead'] = 'Baixa paquet d\'idioma';
$string['downloadlanguagenotneeded'] = 'Podeu continuar el procés d\'instal·lació amb el paquet d\'idioma per defecte \"$a\".';
$string['downloadlanguagepack'] = 'Voleu baixar ara el paquet d\'idioma (sí/no)?';
$string['downloadlanguagesub'] = 'Ara teniu l\'opció de baixar un paquet d\'idioma i continuar el procés d\'instal·lació en aquest idioma.<br /><br />Si no podeu baixar el paquet, el procés d\'instal·lació prosseguirà en anglès. (Després que s\'hagi completat la instal·lació, tindreu l\'oportunitat de baixar i instal·lar paquets d\'idioma addicionals.)';
$string['downloadsuccess'] = 'El paquet d\'idioma s\'ha baixat correctament';
$string['doyouagree'] = 'Esteu d\'acord (sí/no)?';
$string['environmenterrortodo'] = 'Abans d\'instal·lar aquesta versió de Moodle heu de resoldre tots els problemes d\'entorn (errors) que s\'han trobat.';
$string['environmenthead'] = 'S\'està comprovant el vostre entorn';
$string['environmentrecommendcustomcheck'] = 'si aquesta prova falla, això indica un problema en potència';
$string['environmentrecommendinstall'] = 'es recomana instal·lar/habilitar';
$string['environmentrecommendversion'] = 'esteu executant la versió $a->current i es recomana la $a->needed';
$string['environmentrequirecustomcheck'] = 'cal passar aquesta prova';
$string['environmentrequireinstall'] = 'es requereix instal·lar/habilitar';
$string['environmentrequireversion'] = 'esteu executant la versió $a->current i es requereix la $a->needed';
$string['environmentsub'] = 'S\'està comprovant si els diferents components del vostre sistema satisfan els requeriments';
$string['environmentxmlerror'] = 'S\'ha produït un error en llegir les dades de l\'entorn ($a->error_code)';
$string['error'] = 'Error';
$string['errorsinenvironment'] = 'Hi ha errors en l\'entorn.';
$string['fail'] = 'Error';
$string['fileuploads'] = 'Càrrega de fitxers';
$string['fileuploadserror'] = 'Hauria d\'estar habilitada';
$string['fileuploadshelp'] = '<p>Sembla que la càrrega de fitxers està inhabilitada al vostre servidor.</p>
<p>Moodle es pot instal·lar igualment, però sense aquesta capacitat no podreu penjar fitxers als cursos o imatges dels usuaris.</p>
<p>Per habilitar la càrrega de fitxers cal editar el fitxer php.ini principal del sistema i posar el paràmetre <b>file_uploads</b> a \'1\'.</p>';
$string['gdversion'] = 'Versió GD';
$string['gdversionerror'] = 'La biblioteca GD hauria d\'estar present per processar i crear imatges';
$string['gdversionhelp'] = '<p>Sembla que el vostre servidor no instal·lat el GD.</p>
<p>GD és una biblioteca requerida pel PHP per tal que Moodle pugui processar imatges (p. ex. les icones dels perfils d\'usuari) i crear imatges noves (p. ex. els gràfics dels registres d\'activitat). Moodle pot funcionar sense GD, però aquestes característiques no estaran disponibles.</p>
<p>Per afegir GD al PHP en Unix, compileu el PHP amb el paràmetre --with-gd.</p>
<p>En Windows generalment es pot editar el fitxer php.ini i treure el comentari de la línia que porti la referència a php_gd2.dll.</p>';
$string['globalsquotes'] = 'Gestió insegura dels globals';
$string['globalsquoteserror'] = 'Arregleu els paràmetres del vostre PHP: inhabiliteu register_globals i/o habiliteu magic_quotes_gpc';
$string['globalsquoteshelp'] = '<p>No s\'aconsella tenir inhabilitat Magic Quotes GPC i tenir alhora habilitat Register Globals.</p>
<p>La configuració recomanada és <b>magic_quotes_gpc = On</b> i <b>register_globals = Off</b> en el fitxer php.ini</p>
<p>Si no teniu accés al php.ini, potser podreu afegir les línies següents en un fitxer anomenat .htaccess dins del directori Moodle:
<blockquote>php_value magic_quotes_gpc On</blockquote>
<blockquote>php_value register_globals Off</blockquote>
</p>';
$string['globalswarning'] = '<p><strong>Avís de seguretat</strong>: per a operar adequadament, Moodle necessita <br />que feu certs canvis en els paràmetres actuals del PHP.<p/><p><em>Cal</em> que definiu <code>register_globals=off</code>.<p>Aquest paràmetre es defineix en el fitxer <code>php.ini</code>, en la configuració d\'Apache/IIS <br />o en el fitxer <code>.htaccess</code>.</p>';
$string['help'] = 'Ajuda';
$string['iconvrecommended'] = 'És sumament recomanable instal·lar la biblioteca opcional ICONV a fi de millorar el rendiment del lloc, especialment si el vostre lloc utilitza llengües no romàniques.';
$string['info'] = 'Informació';
$string['inputdatadirectory'] = 'Directori de dades:';
$string['inputwebadress'] = 'Adreça web:';
$string['inputwebdirectory'] = 'Directori de Moodle';
$string['installation'] = 'Instal·lació';
$string['installationiscomplete'] = 'S\'ha completat la instal·lació';
$string['invalidargumenthelp'] = 'Error: els arguments no són vàlids.
Ús: $php cliupgrade.php OPCIONS
Utilitzeu l\'opció --help per a més informació';
$string['invalidemail'] = 'L\'adreça de correu no és vàlida';
$string['invalidhost'] = 'El servidor no és vàlid';
$string['invalidint'] = 'Error: el valor no és un enter';
$string['invalidintrange'] = 'Error: el valor és fora dels límits';
$string['invalidmd5'] = 'El md5 no és vàlid';
$string['invalidpath'] = 'El camí no és vàlid';
$string['invalidsetelement'] = 'Error: el valor que heu proporcionat no coincideix amb cap de les opcions permeses';
$string['invalidtextvalue'] = 'El text no és vàlid';
$string['invalidurl'] = 'L\'URL no és vàlid';
$string['invalidvalueforlanguage'] = 'El valor no és vàlid per a l\'opció --lang. Utilitzeu --help per a més informació';
$string['invalidyesno'] = 'Error: el valor no és un argument vàlid sí/no.';
$string['langdownloaderror'] = 'Dissortadament l\'idioma \"$a\" no està instal·lat. La instal·lació prosseguirà en anglès.';
$string['langdownloadok'] = 'L\'dioma \"$a\" s\'ha instal·lat amb èxit. La instal·lació prosseguirà en aquest idioma.';
$string['language'] = 'Idioma';
$string['locationanddirectories'] = 'Ubicació i directoris';
$string['magicquotesruntime'] = 'Magic Quotes Run Time';
$string['magicquotesruntimeerror'] = 'Hauria d\'estar desactivat';
$string['magicquotesruntimehelp'] = '<p>Aquest paràmetre hauria d\'estar desactivat per tal que Moodle funcioni correctament.</p>
<p>Normalment està desactivat per defecte. Comproveu el valor de <b>magic_quotes_runtime</b> al vostre fitxer php.ini.</p>
<p>Si no teniu accés al php.ini, hauríeu de col·locar la línia següent en un fitxer anomenat .htaccess dins del directori de Moodle:
<blockquote>php_value magic_quotes_runtime Off</blockquote>
</p>';
$string['mbstringrecommended'] = 'És sumament recomanable instal·lar la biblioteca opcional MBSTRING a fi de millorar el rendiment del lloc, especialment si el vostre lloc utilitza llengües no romàniques.';
$string['memorylimit'] = 'Límit de memòria';
$string['memorylimiterror'] = 'El límit de memòria del PHP està definit una mica baix. Podeu tenir problemes més endavant.';
@@ -109,42 +273,130 @@ $string['memorylimithelp'] = '<p>El límit de memòria del PHP del vostre servid
<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>
<p>És recomanable que configureu el PHP amb un límit superior, com ara 16 MB, sempre que sigui possible. Hi ha diverses maneres de fer això:</p>
<p>És recomanable que configureu el PHP amb un límit superior, com ara 40 MB, sempre que sigui 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 defineixi 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 16M. Si no hi teniu accés podeu demanar al vostre administrador que ho faci ell.</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 faci ell.</li>
<li>En alguns servidors PHP podeu crear un fitxer .htaccess dins del directori de Moodle amb aquesta línia:
<p><blockquote>php_value memory_limit 16M</blockquote></p>
<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['missingrequiredfield'] = 'Falta algun camp necessari';
$string['moodledocslink'] = 'Documentació de Moodle per a aquesta pàgina';
$string['mssql'] = 'SQL*Server (mssql)';
$string['mssqlextensionisnotpresentinphp'] = 'El PHP no s\'ha configurat correctament amb l\'extensió MSSQL de manera que pugui comunicar-se amb SQL*Server. Reviseu el fitxer php.ini o recompileu PHP.';
$string['mssql_n'] = 'SQL*Server amb UTF-8 (mssql_n)';
$string['mysql'] = 'MySQL (mysql)';
$string['mysql416bypassed'] = 'Tanmateix, si el vostre lloc fa servir NOMÉS llengües romàniques (iso-8859-1), podeu seguir utilitzant el MySQL 4.1.12 (o superior) instal·lat.';
$string['mysql416required'] = 'MySQL 4.1.16 és la versió mínima requerida per Moodle 1.6 a fi de garantir la conversió de totes les dades a UTF-8 en el futur.';
$string['mysqlextensionisnotpresentinphp'] = 'El PHP no s\'ha configurat correctament amb l\'extensió MySQL per tal que es pugui comunicar amb MySQL. Comproveu el fitxer php.ini o recompileu el PHP.';
$string['mysqlextensionisnotpresentinphp'] = 'El PHP no s\'ha configurat correctament amb l\'extensió MySQL de manera que pugui comunicar-se amb MySQL. Reviseu el fitxer php.ini o recompileu el PHP.';
$string['mysqli'] = 'MySQL Improved (mysqli)';
$string['mysqliextensionisnotpresentinphp'] = 'El PHP no ha estat configurat adequadament amb l\'extensió MySQLi de manera que pugui comunicar-se amb MySQL. Reviseu el fitxer php.ini o recompileu el PHP. L\'extensió MySQLi no està disponible per a PHP 4.';
$string['name'] = 'Nom';
$string['next'] = 'Següent';
$string['oci8po'] = 'Oracle (oci8po)';
$string['ociextensionisnotpresentinphp'] = 'El PHP no s\'ha configurat correctament amb l\'extensió OCI8 de manera que pugui comunicar-se amb Oracle. Reviseu el fitxer php.ini o recompileu el PHP.';
$string['odbcextensionisnotpresentinphp'] = 'El PHP no s\'ha configurat correctament amb l\'extensió ODBC de manera que pugui comunicar-se amb Oracle. Reviseu el fitxer php.ini o recompileu el PHP.';
$string['odbc_mssql'] = 'SQL*Server over ODBC (odbc_mssql)';
$string['ok'] = 'OK';
$string['opensslrecommended'] = 'Es recomana instal·lar la biblioteca OpenSSL per habilitar la funcionalitat de Moodle en Xarxa.';
$string['pass'] = 'Correcte';
$string['password'] = 'Contrasenya';
$string['pgsqlextensionisnotpresentinphp'] = 'El PHP no s\'ha configurat correctament amb l\'extensió PGSQL de manera que pugui comunicar-se amb PostgreSQL. Reviseu el fitxer php.ini o recompileu el PHP.';
$string['php50restricted'] = 'PHP 5.0 té alguns problemes coneguts. Actualitzeu-vos si us plau a 5.1.x o torneu a 4.3.x o 4.4.x';
$string['php52versionerror'] = 'La versió de PHP ha de ser 5.2.0 o superior';
$string['php52versionhelp'] = '<p>Moodle requereix una versió de PHP 5.2.0 o superior.</p>
<p>A hores d\'ara esteu utilitzant la versió $a.</p>
<p>Heu d\'actualitzar el PHP o canviar de servidor.</p>';
$string['phpversion'] = 'Versió PHP';
$string['phpversionerror'] = 'La versió del PHP ha de ser com a mínim la 4.1.0';
$string['phpversionerror'] = 'La versió del PHP ha de ser com a mínim la 4.1.0'; // ORPHANED
$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>Us caldrà actualitzar el PHP o traslladar Moodle a un ordinador amb una versió de PHP més recent.</p>';
$string['postgres7'] = 'PostgreSQL (postgres7)';
$string['previous'] = 'Anterior';
$string['qtyperqpwillberemoved'] = 'Durant l\'actualització, el tipus de pregunta RPQ se suprimirà. No estàveu utilitzant aquest tipus de pregunta, de manera que no hauríeu d\'experimentar cap problema.';
$string['qtyperqpwillberemovedanyway'] = 'Durant l\'actualització, el tipus de pregunta RPQ se suprimirà. Teniu algunes preguntes RQP en la base de dades que deixaran de funcionar si no reinstal·leu el codi de http://moodle.org/mod/data/view.php?d=13&amp;rid=797 abans de prosseguir l\'actualització.';
$string['releasenoteslink'] = 'Per a més informació sobre aquesta versió de Moodle, consulteu les Notes de llançament en $a';
$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í.';
$string['remotedownloadnotallowed'] = 'El vostre servidor no permet baixar components ((allow_url_fopen inhabilitat).<br /><br />Baixeu manualment el fitxer <a href=\"$a->url\">$a->url</a>, copieu en la ubicació \"$a->dest\" del vostre servidor i descomprimiu-lo allí.';
$string['report'] = 'Informe';
$string['restricted'] = 'Restringit';
$string['safemode'] = 'Mode segur';
$string['safemodeerror'] = 'Moodle pot tenir problemes amb el mode segur activat';
$string['safemodehelp'] = '<p>Moodle pot tenir diversos problemes amb el mode segur activat. Probablement no podrà crear fitxers nous.</p>
<p>Normalment el mode segur només està habilitat en servidors webs públics una mica paranoics, de manera que és probable que hàgiu de buscar un altre servei d\'allotjament per al vostre Moodle.</p>
<p>Podeu continuar la instal·lació si voleu, però trobareu problemes de funcionament més endavant.</p>';
$string['selectlanguage'] = 'Selecció d\'idioma per a la instal·lació';
$string['serverchecks'] = 'Proves del servidor';
$string['sessionautostart'] = 'Autoinici de sessió';
$string['sessionautostarterror'] = 'Hauria d\'estar desactivat';
$string['sessionautostarthelp'] = '<p>Moodle necessita suport per a sessions i no funcionarà sense.</p>
<p>Les sessions es poden habilitar en el fitxer php.ini. Comproveu el paràmetre session.auto_start.</p>';
$string['sitefullname'] = 'Nom complet del lloc';
$string['siteinfo'] = 'Detalls del lloc';
$string['sitenewsitems'] = 'Titulars de notícies:';
$string['siteshortname'] = 'Nom curt del lloc:';
$string['sitesummary'] = 'Resum del lloc:';
$string['skipdbencodingtest'] = 'Omet la prova de codificació de la base de dades';
$string['sqlite3_pdo'] = 'SQLite 3 (PDO) <b><strong class=\"errormsg\">Experimental! (no l\'utilitzeu en producció)</strong></b>';
$string['sqliteextensionisnotpresentinphp'] = 'El PHP no ha estat configurat correctament amb l\'extensió SQLite. Reviseu el fitxer php.ini o torneu a compilar el PHP.';
$string['status'] = 'Estat';
$string['tableprefix'] = 'Prefix de taules:';
$string['thischarset'] = 'UTF-8';
$string['thisdirection'] = 'ltr';
$string['thislanguage'] = 'Català';
$string['unicoderecommended'] = 'Es recomana emmagatzemar totes les dades en Unicode (UTF-8). Les noves instal·lacions s\'haurien de realitzar en bases de dades que tinguin definit com a Unicode el conjunt de caràcters per defecte. Si esteu fent una actualització, hauríeu de passar el procés de migració a UTF-8 (vg. la pàgina d\'Administració).';
$string['unicoderequired'] = 'Es requereix emmagatzemar totes les dades en format Unicode (UTF-8). Les noves instal·lacions s\'han de realitzar en bases de dades que tinguin definit com a Unicode el conjunt de caràcters per defecte. Si esteu fent una actualització, hauríeu de passar el procés de migració a UTF-8 (vg. la pàgina d\'Administració).';
$string['upgradingactivitymodule'] = 'S\'està actualitzant el mòdul d\'activitat';
$string['upgradingbackupdb'] = 'S\'està actualitzant la base de dades de còpies de seguretat';
$string['upgradingblocksdb'] = 'S\'està actualitzant la base de dades de blocs';
$string['upgradingblocksplugin'] = 'S\'està actualitzant el connector de blocs';
$string['upgradingcompleted'] = 'S\'ha completat l\'actualització...';
$string['upgradingcourseformatplugin'] = 'S\'està actualitzant el connector de format de curs';
$string['upgradingenrolplugin'] = 'S\'està actualitzant el connector d\'inscripcions';
$string['upgradinggradeexportplugin'] = 'S\'està actualitzant el connector d\'exportació de qualificacions';
$string['upgradinggradeimportplugin'] = 'S\'està actualitzant el connector d\'importació de qualificacions';
$string['upgradinggradereportplugin'] = 'S\'està actualitzant el connector d\'informes de qualificacions';
$string['upgradinglocaldb'] = 'S\'està actualitzant la base de dades local';
$string['upgradingmessageoutputpluggin'] = 'S\'està actualitzant el connector de sortida de missatges';
$string['upgradingqtypeplugin'] = 'S\'està actualitzant el connector de tipus de preguntes';
$string['upgradingrpcfunctions'] = 'S\'estan actualitzant les funcions RPC';
$string['usagehelp'] = 'Sinopsi:
$php cliupgrade.php OPCIONS
OPCIONS
--lang Idioma vàlid instal·lat per a la instal·lació. Per defecte anglès (en)
--webaddr Adreça web per al lloc Moodle
--moodledir Ubicació del directori web de moodle
--datadir Ubicació del directori de dades de moodle (no hauria de ser visible per web)
--dbtype Tipus de base de dades. Per defecte mysql
--dbhost Servidor de la base de dade. Per defecte localhost
--dbname Nom de la base de dades. Per defecte moodle
--dbuser Usuari d\'accés a la base de dades. Per defecte en blanc
--dbpass Contrasenya d\'accés a la base de dades. Per defecte en blanc
--prefix Prefix de les taules de la base de dades. Per defecte mdl
--verbose 0 sense sortida, 1 sortida resumida (per defecte), 2 sortida detallada
--interactivelevel 0 no interactiu, 1 semiinteractiu (per defecte), 2 interactiu
--agreelicense Yes (per defecte) o No
--confirmrelease Yes (per defecte) o No
--sitefullname Nom complet del lloc. Per defecte: Moodle Site (canvieu-lo!)
--siteshortname Nom curt del lloc. Per defecte: moodle
--sitesummary Resum del lloc. Per defecte en blanc
--adminfirstname Nom de l\'administrador/a. Per defecte Admin
--adminlastname Cognom de l\'administrador/a. Per defecte User
--adminusername Nom d\'usuari/ària de l\'administrador/a. Per defecte admin
--adminpassword Contrasenya de l\'administrador/a. Per defecte admin
--adminemail Correu electrònic de l\'administrador/a. Per defecte root@localhost
--help mostra aquesta ajuda
Ús:
$php cliupgrade.php --lang=en --webaddr=http://www.example.com --moodledir=/var/www/html/moodle --datadir=/var/moodledata --dbtype=mysql --dbhost=localhost --dbname=moodle --dbuser=root --prefix=mdl --agreelicense=yes --confirmrelease=yes --sitefullname=\"Lloc Moodle de mostra\" --siteshortname=moodle --sitesummary=siteforme --adminfirstname=Admin --adminlastname=User --adminusername=admin --adminpassword=admin --adminemail=admin@example.com --verbose=1 --interactivelevel=2';
$string['user'] = 'Usuari';
$string['versionerror'] = 'L\'usuari ha interromput per un error de versió';
$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['welcomep30'] = 'Aquesta versió de <strong>$a->installername</strong> inclou les aplicacions necessàries per crear un entorn en el qual funcioni <strong>Moodle</strong>:';
@@ -154,9 +406,13 @@ $string['welcomep50'] = 'L\'ús de totes les aplicacions d\'aquest paquet és go
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>.';
$string['welcometext'] = '--- Benvinguts a l\'instal·lador de línia d\'ordres de Moodle ---';
$string['writetoconfigfilefaild'] = 'Error: no s\'ha pogut escriure el fitxer de configuració';
$string['wrongdestpath'] = 'El camí de destinació és erroni';
$string['wrongsourcebase'] = 'L\'adreça (URL) base de la font és errònia';
$string['wrongzipfilename'] = 'El nom del fitxer ZIP és erroni';
$string['wwwroot'] = 'Adreça web';
$string['wwwrooterror'] = 'L\'adreça web no sembla vàlida. La instal·lació de Moodle no sembla que sigui en aquesta ubicació,';
$string['xmlrpcrecommended'] = 'Instal·lar l\'extensió opcional xmlrpc és útil per a la funcionalitat de Moodle en Xarxa.';
$string['yourchoice'] = 'La vostra elecció:';
?>
+161 -10
View File
@@ -7,36 +7,54 @@
/// keep us informed using http://moodle.org/bugs Thanks!
///
/// File generated by cvs://contrib/lang2installer/installer_builder
/// using strings defined in installer_strings (same dir)
/// using strings defined in stringnames.txt (same dir)
$string['admindirerror'] = 'Adresář pro správu (admin) není zadán správně.';
$string['admindirname'] = 'Adresář pro správu (admin)';
$string['admindirsetting'] = '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 Moodlu. Máte-li tento problém, přejmenujte adresář \'admin\' ve vaší instalaci Moodlu a do tohoto pole zadejte jeho nový název. Příklad: <br /> <br /><b>moodleadmin</b><br /> <br />
Všechny generované odkazy na stránky správy Moodlu budou používat tento nový název.';
$string['admindirsettinghead'] = 'Nastavování adresáře \'admin\'...';
$string['admindirsettingsub'] = '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 Moodlu. Máte-li tento problém, přejmenujte adresář \'admin\' ve vaší instalaci Moodlu a do tohoto pole zadejte jeho nový název. Příklad: <br /> <br /><b>moodleadmin</b><br /> <br />
Všechny generované odkazy na stránky správy Moodlu budou používat tento nový název.';
$string['availablelangs'] = 'Dostupné jazykové balíčky';
$string['bypassed'] = 'Přeskočeno';
$string['cannotcreatelangdir'] = 'Nelze vytvořit adresář pro jazykové soubory.';
$string['cannotcreatelangdir'] = 'Nelze vytvořit adresář pro jazykové soubory';
$string['cannotcreatetempdir'] = 'Nelze vytvořit dočasný adresář.';
$string['cannotdownloadcomponents'] = 'Nelze stáhnout komponenty.';
$string['cannotdownloadzipfile'] = 'Nelze stáhnout soubor ZIP.';
$string['cannotfindcomponent'] = 'Komponenta nenalezena.';
$string['cannotdownloadcomponents'] = 'Nelze stáhnout komponenty';
$string['cannotdownloadzipfile'] = 'Nelze stáhnout soubor ZIP';
$string['cannotfindcomponent'] = 'Komponenta nenalezena';
$string['cannotsavemd5file'] = 'Nelze uložit soubor MD5.';
$string['cannotsavezipfile'] = 'Nelze uložit soubor ZIP.';
$string['cannotunzipfile'] = 'Nelze dekomprimovat soubor.';
$string['caution'] = 'Varování';
$string['check'] = 'Prověřit';
$string['chooselanguage'] = 'Vyberte jazyk';
$string['chooselanguagehead'] = 'Vyberte jazyk';
$string['chooselanguagesub'] = 'Zvolte si jazyk PRO INSTALOVÁNÍ. Jazyk pro stránky Moodlu a pro uživatele budete moci vybrat později.';
$string['closewindow'] = 'Zavřít toto okno';
$string['compatibilitysettings'] = 'Kontrola nastavení PHP...';
$string['compatibilitysettingshead'] = 'Kontrola nastavení PHP...';
$string['compatibilitysettingssub'] = 'Pro správný běh Moodlu by váš server měl vyhovět ve všech následujících testech.';
$string['componentisuptodate'] = 'Komponenta je aktuální.';
$string['configfilenotwritten'] = 'Instalačnímu skriptu se nepodařilo automaticky vytvořit soubor config.php s vaší konfigurací -- proces webového serveru zřejmě nemá právo zapisovat do adresáře s instalací Moodlu. Můžete ručně zkopírovat následující kód do souboru s názvem config.php a uložit jej do kořenového adresáře vaší instalace Moodlu.';
$string['configfilewritten'] = 'Soubor config.php byl úspěšně vytvořen.';
$string['configurationcomplete'] = 'Konfigurace dokončena';
$string['configurationcompletehead'] = 'Konfigurace dokončena';
$string['configurationcompletesub'] = 'Moodle se pokusil uložit soubor s konfigurací do kořenového adresáře instalace Moodlu.';
$string['continue'] = 'Pokračovat';
$string['ctyperecommended'] = 'Rozšíření PHP ctype je velmi doporučováno z důvodů výkonu vašich stránek, obzvláště když pracujete s jazyky, které nepoužívají latinku.';
$string['ctyperequired'] = 'Rozšíření PHP ctype je Moodlem vyžadováno z důvodů výkonu a vícejazyčné podpory.';
$string['curlrecommended'] = 'Pro běh síťových funkcionalit (\"Moodle Networking\") je potřeba nainstalovat volitelnou knihovnu Curl.';
$string['customcheck'] = 'Další kontroly';
$string['database'] = 'Databáze';
$string['databasecreationsettings'] = 'Nyní musíte nastavit připojení k databázi, kam si bude Moodle ukládat většinu svých dat. Tato databáze může být vytvořena instalátorem automaticky podle následujícího nastavení.<br/>
<br /> <br />
<b>Typ:</b> instalátor nastaví na \"mysql\"<br />
<b>Hostitel:</b> instalátor nastaví na \"localhost\"<br />
<b>Název:</b> název databáze, např. moodle<br />
<b>Uživatel:</b> instalátor nastaví na \"root\"<br />
<b>Heslo:</b> heslo k tomuto účtu<br />
<b>Předpona tabulek:</b> volitelná předpona, která se vloží před názvy všech tabulek (umožňuje používat jednu databázi pro více instalací Moodlu)';
$string['databasecreationsettingshead'] = 'Nyní musíte nastavit připojení k databázi, kam si bude Moodle ukládat většinu svých dat. Tato databáze může být vytvořena instalátorem automaticky podle následujícího nastavení.';
$string['databasecreationsettingssub'] = '<b>Typ:</b> instalátor nastaví na \"mysql\"<br />
<b>Hostitel:</b> instalátor nastaví na \"localhost\"<br />
@@ -44,6 +62,14 @@ $string['databasecreationsettingssub'] = '<b>Typ:</b> instalátor nastaví na \"
<b>Uživatel:</b> instalátor nastaví na \"root\"<br />
<b>Heslo:</b> heslo k tomuto účtu<br />
<b>Předpona tabulek:</b> volitelná předpona, která se vloží před názvy všech tabulek (umožňuje používat jednu databázi pro více instalací Moodlu)';
$string['databasesettings'] = 'Nyní musíte nastavit připojení k databázi, kam si bude Moodle ukládat většinu svých dat. Tato databáze již musí být vytvořena, stejně jako musí být nastaveno uživatelské jméno a heslo pro přístup k .<br/>
<br /> <br />
<b>Typ:</b> mysql nebo postgres7<br />
<b>Hostitel:</b> např. localhost nebo db.naseskola.cz<br />
<b>Název:</b> název databáze, např. moodle<br />
<b>Uživatel:</b> uživatelské jméno účtu pro přístup k databázi<br />
<b>Heslo:</b> heslo k tomuto účtu<br />
<b>Předpona tabulek:</b> volitelná předpona, která se vloží před názvy všech tabulek (umožňuje používat jednu databázi pro více instalací Moodlu)';
$string['databasesettingshead'] = 'Nyní musíte nastavit připojení k databázi, kam si bude Moodle ukládat většinu svých dat. Tato databáze již musí být vytvořena, stejně jako musí být nastaveno uživatelské jméno a heslo pro přístup k ní.';
$string['databasesettingssub'] = '<b>Typ:</b> mysql nebo postgres7<br />
<b>Hostitel:</b> např. localhost nebo db.naseskola.cz<br />
@@ -51,14 +77,72 @@ $string['databasesettingssub'] = '<b>Typ:</b> mysql nebo postgres7<br />
<b>Uživatel:</b> uživatelské jméno účtu pro přístup k databázi<br />
<b>Heslo:</b> heslo k tomuto účtu<br />
<b>Předpona tabulek:</b> volitelná předpona, která se vloží před názvy všech tabulek (umožňuje používat jednu databázi pro více instalací Moodlu)';
$string['databasesettingssub_mssql'] = '<b>Typ:</b> SQL*Server (bez UTF-8) <b><font color=\"red\">Jen pro experimentování! (není určeno pro produkční servery)</font></b><br />
<b>Hostitel (Host):</b> např. localhost nebo db.naseskola.cz<br />
<b>Název (Name):</b> název databáze, např. moodle<br />
<b>Uživatel (User):</b> uživatel oprávněný pro práci s databází<br />
<b>Heslo (Password):</b> heslo pro uživatele<br />
<b>Předpona (Tables Prefix):</b> jednotná předpona názvů všech tabulek, např. mdl_ (povinné)';
$string['databasesettingssub_mssql_n'] = '<b>Typ:</b> SQL*Server (s UTF-8) <br />
<b>Hostitel (Host):</b> např. localhost nebo db.naseskola.cz<br />
<b>Název (Name):</b> název databáze, např. moodle<br />
<b>Uživatel (User):</b> uživatel oprávněný pro práci s databází<br />
<b>Heslo (Password):</b> heslo pro uživatele<br />
<b>Předpona (Tables Prefix):</b> jednotná předpona názvů všech tabulek, např. mdl_ (povinné)';
$string['databasesettingssub_mysql'] = '<b>Typ:</b> MySQL<br />
<b>Hostitel (Host):</b> např. localhost nebo db.naseskola.cz<br />
<b>Název (Name):</b> název databáze, např. moodle<br />
<b>Uživatel (User):</b> uživatel oprávněný pro práci s databází<br />
<b>Heslo (Password):</b> heslo pro uživatele<br />
<b>Předpona (Tables Prefix):</b> jednotná předpona názvů všech tabulek, např. mdl_ (volitelné)';
$string['databasesettingssub_mysqli'] = '<b>Typ:</b> vylepšené MySQL<br />
<b>Hostitel:</b> např. localhost nebo db.naseskola.cz<br />
<b>Název:</b> název databáze, např. moodle<br />
<b>Uživatel:</b> uživatel dané databáze<br />
<b>Heslo:</b> heslo uživatele k databázi<br />
<b>Předpona:</b> jednotná předpona názvů všech tabulek (volitelné)';
$string['databasesettingssub_oci8po'] = '<b>Typ:</b> Oracle<br />
<b>Hostitel (Host):</b> nepoužito, musí být prázdné<br />
<b>Název (Name):</b> daný název připojení tnsnames.ora<br />
<b>Uživatel (User):</b> uživatel oprávněný pro práci s databází<br />
<b>Heslo (Password):</b> heslo pro uživatele<br />
<b>Předpona (Tables Prefix):</b> jednotná předpona názvů všech tabulek (povinné, max 2 znaky)';
$string['databasesettingssub_odbc_mssql'] = '<b>Typ:</b> SQL*Server (přes ODBC) <b><font color=\"red\">Jen pro experimentování! (není určeno pro produkční servery)</font></b><br />
<b>Hostitel (Host):</b> název DSN podle řídicího panelu ODBC<br />
<b>Název (Name):</b>název databáze, např. moodle <br />
<b>Uživatel (User):</b> uživatel oprávněný pro práci s databází<br />
<b>Heslo (Password):</b> heslo pro uživatele<br />
<b>Předpona (Tables Prefix):</b> jednotná předpona názvů všech tabulek (povinné)';
$string['databasesettingssub_postgres7'] = '<b>Typ:</b> PostgreSQL<br />
<b>Hostitel (Host):</b> např. localhost nebo db.naseskola.cz<br />
<b>Název (Name):</b> název databáze, např. moodle<br />
<b>Uživatel (User):</b> uživatel oprávněný pro práci s databází<br />
<b>Heslo (Password):</b> heslo pro uživatele<br />
<b>Předpona (Tables Prefix):</b> jednotná předpona názvů všech tabulek, např. mdl_ (povinné)';
$string['databasesettingswillbecreated'] = '<b>Poznámka:</b> instalátor se pokusí vytvořit databázi automaticky, pokud ještě neexistuje';
$string['dataroot'] = 'Datový adresář';
$string['datarooterror'] = 'Zadaný datový adresář se nepodařilo nalézt nebo vytvořit. Buď opravte zadanou cestu, nebo vytvořte adresář ručně.';
$string['datarootpublicerror'] = 'Zadaný datový adresář (dataroot) je přímo dostupný přes WWW. Zvolte jiné umístění.';
$string['dbconnectionerror'] = 'Nepodařilo se připojit k databázi, kterou jste zadali. Zkontrolujte prosím nastavení databáze.';
$string['dbcreationerror'] = 'Chyba při vytváření databáze. Nelze vytvořit databázi zadaného jména a nastavení.';
$string['dbhost'] = 'Hostitelský server';
$string['dbpass'] = 'Heslo';
$string['dbprefix'] = 'Předpona tabulek';
$string['dbtype'] = 'Typ';
$string['dbwrongencoding'] = 'Vybraná databáze používá nedoporučené kódování $a. Vhodnější by bylo používat databázi s kódováním Unicode (UTF-8). Tuto kontrolu můžete přeskočit zaškrtnutím pole \"Přeskočit test kódování DB\", můžete však v budoucnu narazit na problémy.';
$string['dbwronghostserver'] = 'Chyba v názvu hostitele.';
$string['dbwrongnlslang'] = 'Proměnná prostředí Vašeho serveru NLS_LANG musí používat znakovou sadu AL32UTF8. Viz dokumentaci PHP o konfiguraci vlastnosti OCI8.';
$string['dbwrongprefix'] = 'Chyba v předponě názvů tabulek.';
$string['directorysettings'] = '<p>Potvrďte prosím základní adresy této instalace Moodlu.</p>
<p><b>Webová adresa</b>
Zadejte úplnou webovou adresu, na níž bude Moodle dostupný. Jsou-li vaše stránky dostupné na více URL, vyberte z nich tu, kterou budou vaši studenti používat nejčastěji. Na konci adresy neuvádějte lomítko.</p>
<p><b>Adresář Moodlu</b>
Zadejte úplnou cestu k adresáři s touto instalací. Ujistěte se, že jsou v správně uvedena malá/VELKÁ písmena.</p>
<p><b>Datový adresář</b>
Potřebujete diskový prostor, kam bude Moodle ukládat nahrané (uploadované) soubory. K tomuto adresáři musí mít proces webového serveru právo ke čtení I ZÁPISU (webový server bývá spouštěn pod uživatelem \'nobody\' nebo \'apache\' nebo podobně). Tento adresář by ale zároveň neměl být dostupný přímo přes webové rozhraní (může obsahovat neveřejná data).</p>';
$string['directorysettingshead'] = 'Potvrďte prosím adresy této instalace Moodlu.';
$string['directorysettingssub'] = '<b>Webová adresa</b>:
zadejte úplnou webovou adresu, na níž bude Moodle dostupný. Jsou-li vaše stránky dostupné na více URL, vyberte z nich tu, kterou budou vaši studenti používat nejčastěji. Na konci adresy neuvádějte lomítko.
@@ -78,10 +162,13 @@ $string['downloadlanguagebutton'] = 'Stáhnout jazykový balíček \"$a\"';
$string['downloadlanguagehead'] = 'Stáhnout jazykový balíček';
$string['downloadlanguagenotneeded'] = 'V instalaci lze nyní pokračovat v jazyce \"$a\".';
$string['downloadlanguagesub'] = 'Nyní máte možnost stáhnout si některý z jazykových balíčků Moodlu a pokračovat v tomto jazyce.<br /><br />Pokud si momentálně nemůžete nebo nechcete stáhnout jazykový balíček, bude instalační proces pokračovat v angličtině. Jazykové balíčky si budete moci stáhnout i později po ukončení instalace.';
$string['doyouagree'] = 'Přečetli jste si tyto podmínky a rozumíte jim?';
$string['environmenterrortodo'] = 'Pro pokračování v instalaci této verze Moodlu je nutné nejdříve vyřešit problémy v programovém prostředí (chyby) serveru uvedené výše!';
$string['environmenthead'] = 'Kontrola programového prostředí...';
$string['environmentrecommendcustomcheck'] = 'Pokud tento test selhal, znamená to možné problémy';
$string['environmentrecommendinstall'] = 'doporučená komponenta';
$string['environmentrecommendversion'] = 'doporučena je verze $a->needed, nyní používáte verzi $a->current';
$string['environmentrequirecustomcheck'] = 'Tebto test musí projít';
$string['environmentrequireinstall'] = 'vyžadovaná komponenta';
$string['environmentrequireversion'] = 'vyžadována je verze $a->needed, nyní používáte verzi $a->current';
$string['environmentsub'] = 'Nyní se prověřuje, zda vybrané komponenty vašeho systému splňují požadavky instalace.';
@@ -90,20 +177,51 @@ $string['error'] = 'Chyba';
$string['fail'] = 'Selhalo';
$string['fileuploads'] = 'Nahrávání souborů (FIle Uploads)';
$string['fileuploadserror'] = 'Mělo by být zapnuto';
$string['fileuploadshelp'] = '<p>Na vašem serveru zřejmě není možné nahrávat soubory.</p>
<p>Moodle může být i přesto nainstalován, bez této funkce ale nebudete moci nahrávat žádné soubory (např. studijní materiály, fotografie uživatelů atd.).</p>
<p>Chcete-li povolit nahrávání souborů, budete muset vy (nebo správce serveru) upravit hlavní soubor php.ini na serveru a změnit nastavení
<b>file_uploads</b> na \'1\'.</p>';
$string['gdversion'] = 'Verze GD';
$string['gdversionerror'] = 'Knihovna GD se používá pro zpracovávání a tvorbu obrázků (např. fotografií, grafů apod.).';
$string['gdversionhelp'] = '<p>Na vašem serveru zřejmě není nainstalována knihovna GD.</p>
<p>GD je knihovna, kterou vyžaduje PHP k tomu, aby mohl Moodle zpracovávat obrázky (např. ikony uživatelů) a vytvářet nové obrázky (např. grafy přístupů na vaše stránky). Moodle bude fungovat i bez GD, ale tyto funkce nebudou dostupné.</p>
<p>V Unixu můžete přidat GD do PHP tak, že zkompilujte PHP s parametrem --with-gd.</p>
<p>Ve Windows stačí většinou upravit php.ini a odkomentovat řádek odkazující na php_gd2.dll.</p>';
$string['globalsquotes'] = 'Nezabezpečené zacházení s globálními proměnnými';
$string['globalsquoteserror'] = 'Upravte nastavení PHP: zakažte register_globals a/nebo povolte magic_quotes_gpc';
$string['globalsquoteshelp'] = '<p>Vaše nastavení PHP nepovoluje Magic Quotes GPC a zároveň povoluje Register Globals. Tato kombinace není doporučována.</p>
<p>Doporučujeme nastavit ve vašem souboru php.ini <b>magic_quotes_gpc = On</b> a <b>register_globals = Off</b></p>
Nemáte-li přístup k souboru php.ini, nebo pokud nemůžete/nechcete měnit toto nastavení pro celý server, umístěte do kořenového adresáře instalace Moodlu soubor nazvaný .htaccess s následujícím obsahem:
<blockquote>php_value magic_quotes_gpc On</blockquote>
<blockquote>php_value register_globals Off</blockquote>
</p>';
$string['globalswarning'] = '<p><strong>Bezpečnostní varování</strong>: Aby Moodle pracoval správně, potřebuje udělat změny v nastavení PHP.<p/><p><em>Musíte</em> nastavit <code>register_globals=off</code>. Tohoto nastavení dosáhnete buď úpravou soubor <code>php.ini</code> (Apache nebo IIS), nebo nastavením pomocí <code>.htaccess</code>.';
$string['help'] = 'Nápověda';
$string['iconvrecommended'] = 'Instalace volitelné knihovny ICONV je silně doporučena, neboť zvyšuje výkon stránek, zejména pokud používáte jazyky nezaložené na latince.';
$string['info'] = 'Informace';
$string['installation'] = 'Instalace';
$string['invalidemail'] = 'Neplatná e-mailová adresa';
$string['invalidmd5'] = 'Neplatný MD5 hash';
$string['invalidurl'] = 'Neplatná URL';
$string['langdownloaderror'] = 'Bohužel, jazyk \"$a\" se nepodařilo nainstalovat. Instalace bude pokračovat v angličtine.';
$string['langdownloadok'] = 'Podařilo se úspěšně nainstalovat jazykový balíček \"$a\". Instalace bude pokračovat v tomto jazyce.';
$string['language'] = 'Jazyk';
$string['magicquotesruntime'] = 'Magic Quotes Run Time';
$string['magicquotesruntimeerror'] = 'Mělo by být vypnuto';
$string['magicquotesruntimehelp'] = '<p>Pro správné fungování Moodlu by nastavení \'Magic quotes runtime\' mělo být vypnuto.</p>
<p>Obvykle bývá tato funkce ve výchozím nastavení vypnutá ... zkontrolujte nastavení <b>magic_quotes_runtime</b> ve vašem php.ini.</p>
<p>Pokud nemáte přístup k souboru php.ini, zkuste umístit následující řádek do souboru .htaccess v kořenovém adresáři vaší instalace Moodlu:
<blockquote>php_value magic_quotes_runtime Off</blockquote>
</p>';
$string['mbstringrecommended'] = 'Instalace volitelné knihovny MBSTRING je silně doporučena, neboť zvyšuje výkon stránek, zejména pokud používáte jazyky nezaložené na latince.';
$string['memorylimit'] = 'Limit paměti';
$string['memorylimiterror'] = 'Limit paměti pro PHP skripty je nastaven relativně nízko ... v budoucnu byste mohli narazit na problémy.';
@@ -111,25 +229,39 @@ $string['memorylimithelp'] = '<p>Limit paměti pro PHP skripty je na vašem serv
<p>To může později způsobovat Moodlu problémy, zvláště při větším množství modulů a/nebo uživatelů.</p>
<p>Je-li to možné, doporučujeme vám nastavit v PHP vyšší limit, např. 16M. Můžete to provést několika způsoby:
<p>Je-li to možné, doporučujeme vám nastavit v PHP vyšší limit, např. 40M. Můžete to provést několika způsoby:
<ol>
<li>Můžete-li, překompilujte PHP s volbou <i>--enable-memory-limit</i>.
Moodle si tak bude sám moci nastavit potřebný limit.</li>
<li>Máte-li přístup k souboru php.ini, změňte nastavení <b>memory_limit</b>
na hodnotu blízkou 16M. Nemáte-li taková práva, požádejte správce vašeho webového serveru, aby toto nastavení provedl on.</li>
na hodnotu blízkou 40M. Nemáte-li taková práva, požádejte správce vašeho webového serveru, aby toto nastavení provedl on.</li>
<li>Na některých serverech můžete v kořenovém adresáři Moodlu vytvořit soubor .htaccess s následujícím řádkem:
<p><blockquote>php_value memory_limit 16M</blockquote></p>
<p><blockquote>php_value memory_limit 40M</blockquote></p>
<p>Bohužel, v některých případech tím vyřadíte z provozu <b>všechny</b> PHP stránky (při jejich prohlížení uvidíte chybová hlášení), takže budete muset soubor .htaccess zase odstranit.</li>
</ol>';
$string['missingrequiredfield'] = 'Chybí některé z povinných polí';
$string['moodledocslink'] = 'Dokumentace k této stránce';
$string['mssql'] = 'SQL*Server (mssql)';
$string['mssqlextensionisnotpresentinphp'] = 'PHP nebylo korektně nakonfigurováno pro komunikaci s SQL*Server přes rozšíření MSSQL. Zkontrolujte váš php.ini nebo překompilujte PHP.';
$string['mssql_n'] = 'SQL*Server s podporou UTF-8 (mssql_n)';
$string['mysql'] = 'MySQL (mysql)';
$string['mysql416bypassed'] = 'Pokud ovšem ve vaší instalaci Moodlu používáte POUZE jazyky založené na latince (iso-8859-1), můžete nadále používat momentálně nainstalovanou verzi MySQL 4.1.12 (nebo vyšší).';
$string['mysql416required'] = 'Minimální verzí požadovanou pro Moodle 1.6 -- a pro pozdější bezpečný převod všech dat do UTF-8 -- je MySQL 4.1.16.';
$string['mysqlextensionisnotpresentinphp'] = 'PHP nebylo korektně nakonfigurováno pro komunikaci v MySQL. Zkontrolujte váš php.ini nebo překompilujte PHP.';
$string['mysqlextensionisnotpresentinphp'] = 'PHP nebylo korektně nakonfigurováno pro komunikaci s MySQL. Zkontrolujte váš php.ini nebo překompilujte PHP.';
$string['mysqli'] = 'Vylepšené MySQL (mysqli)';
$string['mysqliextensionisnotpresentinphp'] = 'PHP není korektně nakonfigurováno, aby mohlo s MySQL serverem komunikovat s podporou rozšíření MySQLi. Zkontrolujte nastavení v souboru php.ini nebo překompilujte PHP. Rozšíření MySQLi není k dispozici ve verzi PHP 4.';
$string['name'] = 'Název';
$string['next'] = 'Další';
$string['oci8po'] = 'Oracle (oci8po)';
$string['ociextensionisnotpresentinphp'] = 'PHP nebylo korektně nakonfigurováno pro komunikaci s Oracle přes rozšíření OCI8. Zkontrolujte váš php.ini nebo překompilujte PHP.';
$string['odbcextensionisnotpresentinphp'] = 'PHP nebylo korektně nakonfigurováno pro komunikaci s SQL*Server přes rozšíření ODBC. Zkontrolujte váš php.ini nebo překompilujte PHP.';
$string['odbc_mssql'] = 'SQL*Server přes ODBC (odbc_mssql)';
$string['ok'] = 'OK';
$string['opensslrecommended'] = 'Pro běh síťových funkcionalit (\"Moodle Networking\") je potřeba nainstalovat volitelnou knihovnu OpenSSL.';
$string['parentlanguage'] = '<< Pokud chcete definovat sekundární jazyk, který má Moodle používat v případech, kdy řetězce ve vašem jazykovém balíčku chybí, specifikujte jeho kód zde. Příklad: sk_utf8>>';
$string['pass'] = 'V pořádku';
$string['password'] = 'Heslo';
$string['pgsqlextensionisnotpresentinphp'] = 'PHP nebylo korektně nakonfigurováno pro komunikaci s PostgreSQL přes rozšíření PGSQL. Zkontrolujte váš php.ini nebo překompilujte PHP.';
$string['php50restricted'] = 'V PHP 5.0.x bylo nalezeno množství chyb; přejděte buď na vyšší verzi 5.1.x, nebo na nižší verzi 4.3.x či 4.4.x.';
$string['phpversion'] = 'Verze PHP';
$string['phpversionerror'] = 'Verze PHP musí být alespoň 4.3.0 nebo 5.1.0 (PHP 5.0.x obsahuje množství chyb).';
@@ -137,18 +269,35 @@ $string['phpversionhelp'] = '<p>Moodle vyžaduje PHP alespoň verze 4.3.0 nebo 5
<p>Nyní používáte PHP verze $a.</p>
<p>Musíte PHP upgradovat, nebo přejít k hostiteli s vyšší verzí!<br />
(U PHP 5.0.x můžete také přejít na nižší verzi 4.4.x či 4.3.x.)</p>';
$string['postgres7'] = 'PostgreSQL (postgres7)';
$string['previous'] = 'Předchozí';
$string['qtyperqpwillberemoved'] = 'Během upgrade bude odstraněn typ testové úlohy RQP. Tento typ jste nepoužívali, takže byste neměli zaznamenta žádné problémy.';
$string['qtyperqpwillberemovedanyway'] = 'Během upgrade bude odstraněn typ testové úlohy RQP. Ve vaší databázi existuje několik takových úloh a ty nebudou fungovat, dokud nepřeinstalujete kód z http://moodle.org/mod/data/view.php?d=13&amp;rid=797 před pokračováním upgrade.';
$string['releasenoteslink'] = 'Informace o této verzi Moodlu najdete v <a target=\"_new\" href=\"$a\">Poznámkách k verzi</a>';
$string['remotedownloaderror'] = 'Stahování komponenty na váš server selhalo. Prověřte nastavení proxy. Vřele doporučujeme PHP rozšíření cURL.<br /><br />Nyní musíte stáhnout soubor <a href=\"$a->url\">$a->url</a> ručně, překopírovat jej do \"$a->dest\" na vašem serveru a tam jej rozbalit.';
$string['remotedownloadnotallowed'] = 'Stahování komponent na server není povoleno (direktiva allow_url_fopen je ve stavu \'vypnuto\').<br /><br />Musíte soubor stáhnout <a href=\"$a->url\">$a->url</a> ručně, zkopírovat jej na serveru do umístění \"$a->dest\" a tam jej dekomprimovat.';
$string['report'] = 'Protokol';
$string['report'] = 'Sestava';
$string['restricted'] = 'Nedostupné';
$string['safemode'] = 'Bezpečný režim (Safe Mode)';
$string['safemodeerror'] = 'Se zapnutým bezpečným režimem (Safe Mode) může mít Moodle problémy.';
$string['safemodehelp'] = '<p>Při zapnutém bezpečném režimu PHP (tzv. Safe Mode) může Moodle narazit na řadu problémů. Jedním z nich je, že pravděpodobně nebude moci vytvářet nové soubory.</p>
<p>Bezpečný režim používají obvykle pouze paranoidní veřejní poskytovatelé webového prostoru, takže možná bude stačit najít si pro váš Moodle jiného poskytovatele.</p>
<p>Můžete zkusit pokračovat v instalaci, ale připravte se na problémy.</p>';
$string['serverchecks'] = 'Kontroly serveru';
$string['sessionautostart'] = 'Session Auto Start';
$string['sessionautostarterror'] = 'Mělo by být vypnuto';
$string['sessionautostarthelp'] = '<p>Moodle vyžaduje podporu session a nebude bez fungovat.</p>
<p>Podporu session můžete povolit v souboru php.ini ... hledejte parametr session.auto_start.</p>';
$string['skipdbencodingtest'] = 'Přeskočit test kódování DB';
$string['status'] = 'Stav';
$string['thischarset'] = 'UTF-8';
$string['thisdirection'] = 'ltr';
$string['thislanguage'] = 'Čeština';
$string['unicoderecommended'] = 'Doporučujeme ukládání dat v kódování Unicode (UTF-8). Nové instalace by měly být založeny nad databází s výchozím kódováním Unicode. Pokud přecházíte z nižších verzí, měli byste podstoupit proces migrace na UTF-8 (viz stránku Správa).';
$string['unicoderequired'] = 'Je nezbytné ukládání dat v kódování Unicode (UTF-8). Nové instalace musí být založeny nad databází s výchozím kódováním Unicode. Pokud přecházíte z nižších verzí, měli byste podstoupit proces migrace na UTF-8 (viz stránku Správa).';
$string['user'] = 'Uživatel';
$string['welcomep10'] = '$a->installername ($a->installerversion)';
$string['welcomep20'] = 'Podařilo se vám úspěšně nainstalovat a spustit balíček <strong>$a->packname $a->packversion</strong>. Gratulujeme!';
@@ -162,4 +311,6 @@ $string['wrongsourcebase'] = 'Chybné URL zdrojového serveru';
$string['wrongzipfilename'] = 'Chybné jméno souboru ZIP';
$string['wwwroot'] = 'Webová adresa';
$string['wwwrooterror'] = 'Parametr \'Webová adresa\' je zřejmě nastaven nesprávně -- v zadaném umístění se nepodařilo najít instalaci Moodlu. Ve formuláři níže byla automaticky nastavena výchozí hodnota.';
$string['xmlrpcrecommended'] = 'Instalace rozšíření pro podporu XML-RPC je velmi užitečná pro síťové funkce Moodlu.';
$string['ziprequired'] = 'PHP rozšíření ZIP je povinné. Nelze již používat binárky info-ZIP nebo knihovnu PclZip.';
?>
+335
View File
@@ -0,0 +1,335 @@
<?php
/// Please, do not edit this file manually! It's auto generated from
/// contents stored in your standard lang pack files:
/// (langconfig.php, install.php, moodle.php, admin.php and error.php)
///
/// If you find some missing string in Moodle installation, please,
/// keep us informed using http://moodle.org/bugs Thanks!
///
/// File generated by cvs://contrib/lang2installer/installer_builder
/// using strings defined in stringnames.txt (same dir)
$string['admindirerror'] = 'Mae cyfeiriadur y gweinyddwr a roddwyd yn anghywir';
$string['admindirname'] = 'Cyfeiriadur y Gweinyddwr';
$string['admindirsetting'] = 'Nifer fach iawn o westeiwyr gwe sy\'n defnyddio /admin fel URL arbennig i chi gael mynd i mewn i\'r
panel rheoli neu beth bynnag. Yn anffodus, mae hyn yn gwrthdaro â
lleoliad safonol tudalennau gweinyddol Moodle. Gallwch drwsio hyn drwy
ailenwi cyfeiriadur y gweinyddwr wrth osod y rhaglen, a rhoi\'r
enw newydd yma. Er enghraifft: <br /> <br /><b>gweinyddmoodle</b><br /> <br />
Bydd hyn yn trwsio\'r dolenni gweinyddol yn Moodle.';
$string['admindirsettinghead'] = 'Gosod cyfeiriadur y gweinyddwr...';
$string['admindirsettingsub'] = 'Nifer fach iawn o westeiwyr gwe sy\'n defnyddio /admin fel URL arbennig i chi gael mynd i mewn i\'r
panel rheoli neu beth bynnag. Yn anffodus, mae hyn yn gwrthdaro â
lleoliad safonol tudalennau gweinyddol Moodle. Gallwch drwsio hyn drwy
ailenwi cyfeiriadur y gweinyddwr wrth osod y rhaglen, a rhoi\'r
enw newydd yma. Er enghraifft: <br /> <br /><b>gweinyddmoodle</b><br /> <br />
Bydd hyn yn trwsio dolenni gweinyddol yn Moodle.';
$string['availablelangs'] = 'Y pecynnau iaith sydd ar gael';
$string['bypassed'] = 'Pasio Heibio';
$string['cannotcreatelangdir'] = 'Does dim modd creu cyfeiriadur iaith.';
$string['cannotcreatetempdir'] = 'Does dim modd creu cyfeiriadur dros dro.';
$string['cannotdownloadcomponents'] = 'Does dim modd llwytho cydrannau i lawr.';
$string['cannotdownloadzipfile'] = 'Does dim modd llwytho ffeil ZIP i lawr.';
$string['cannotfindcomponent'] = 'Does dim modd canfod cydran.';
$string['cannotsavemd5file'] = 'Does dim modd cadw ffeil md5.';
$string['cannotsavezipfile'] = 'Does dim modd cadw ffeil ZIP.';
$string['cannotunzipfile'] = 'Does dim modd dadzipio\'r ffeil.';
$string['caution'] = 'Gofal';
$string['check'] = 'Gwirio';
$string['chooselanguage'] = 'Dewiswch iaith';
$string['chooselanguagehead'] = 'Dewis iaith';
$string['chooselanguagesub'] = 'Dewiswch iaith ar gyfer y broses osod YN UNIG. Gallwch ddewis yr iaith ar gyfer y safle ac ar gyfer defnyddwyr yn nes ymlaen ar sgrin arall.';
$string['closewindow'] = 'Cau\'r ffenstr hon';
$string['compatibilitysettings'] = 'Wrthi\'n profi eich gosodiadau PHP ...';
$string['compatibilitysettingshead'] = 'Wrthi\'n profi eich gosodiadau PHP ...';
$string['compatibilitysettingssub'] = 'Dylai\'ch gweinydd basio\'r holl brofion hyn fel bod Moodle yn rhedeg yn llwyddiannus';
$string['componentisuptodate'] = 'Mae\'r gydran wedi\'i diweddaru.';
$string['configfilenotwritten'] = 'Nid oedd y sgript gosod wedi llwyddo i greu ffeil config.php yn awtomatig a oedd yn cynnwys eich gosodiadau personol, fwy na thebyg oherwydd na ellir ysgrifennu dros y cyfeiriadur Moodle. Gallwch gopïo\'r cod canlynol eich hun i ffeil o\'r enw config.php yng nghyfeiriadur gwraidd Moodle.';
$string['configfilewritten'] = 'Wedi llwyddo i greu\'r ffeil config.php yn llwyddiannus';
$string['configurationcomplete'] = 'Wedi gorffen ffurfweddu';
$string['configurationcompletehead'] = 'Wedi gorffen ffurfweddu';
$string['configurationcompletesub'] = 'Ceisiodd Moodle gadw eich ffurfwedd mewn ffeil yng ngwraidd eich rhaglen Moodle.';
$string['continue'] = 'Bwrw ymlaen';
$string['curlrecommended'] = 'Argymhellir yn gryf eich bod yn gosod y llyfrgell Curl ddewisol fel bo Rhwydweithio Moodle yn gallu gweithio.';
$string['customcheck'] = 'Archwiliadau Eraill';
$string['database'] = 'Cronfa ddata';
$string['databasecreationsettings'] = 'Nawr, bydd angen i chi ffurfweddu gosodiadau\'r gronfa ddata lle y caiff y rhan fwyaf o ddata Moodle ei storio. Caiff y gronfa ddata hon ei chreu\'n awtomatig gan y rhaglen osod
â\'r gosodiadau a roddir isod.<br />
<br /> <br />
<b>Math:</b> wedi\'i osod i \"mysql\" gan y rhaglen osod<br />
<b>Gwesteiwr:</b> wedi\'i osod i \"localhost\" gan y rhaglen osod<br />
<b>Enw:</b> enw\'r gronfa ddata, ee moodle<br />
<b>Defnyddiwr:</b> wedi\'i osod i\'r \"gwraidd\" gan y rhaglen osod<br />
<b>Cyfrinair:</b> cyfrinair eich cronfa ddata<br />
<b>Llythrennau Blaen Tablau:</b> dewis i roi llythrennau o flaen pob enw tabl';
$string['databasecreationsettingshead'] = 'Nawr mae angen i chi ffurfweddu gosodiadau\'r gronfa ddata lle caiff y rhan fwyaf o ddata Moodle
ei storio. Caiff y gronfa ddata hon ei chreu\'n awtomatig gan y rhaglen osod â\'r gosodiadau a bennir isod.';
$string['databasecreationsettingssub'] = '<b>Math:</b> wedi\'i osod i \"mysql\" gan y rhaglen osod<br />
<b>Gwesteiwr:</b> wedi\'i osod i \"localhost\" gan y rhaglen osod<br />
<b>Enw:</b> enw\'r gronfa ddata, ee moodle<br />
<b>Defnyddiwr:</b> wedi\'i osod i\'r \"gwraidd\" gan y rhaglen osod<br />
<b>Cyfrinair:</b> cyfrinair eich cronfa ddata<br />
<b>Llythrennau Blaen Tablau:</b> dewis i roi llythrennau o flaen pob enw tabl';
$string['databasesettings'] = 'Nawr mae angen i chi ffurfweddu\'r gronfa ddata lle caiff y rhan fwyaf o ddata Moodle
ei storio. Mae\'n rhaid bod y gronfa ddata hon wedi cael ei chreu a bod enw defnyddiwr a chyfrinair wedi\'u gosod i fynd i mewn iddi.<br />
<br /> <br />
<b>Math:</b> mysql neu postgres7<br />
<b>Gwesteiwr:</b> ee localhost neu db.isp.com<br />
<b>Enw:</b> enw\'r gronfa ddata, ee moodle<br />
<b>Defnyddiwr:</b> enw defnyddiwr ar gyfer eich cronfa ddata<br />
<b>Cyfrinair:</b> cyfrinair ar gyfer eich cronfa ddata<br />
<b>Llythrennau Blaen Tablau:</b> dewis i roi llythrennau o flaen pob enw tabl';
$string['databasesettingshead'] = 'Nawr mae angen i chi ffurfweddu\'r gronfa ddata lle caiff y rhan fwyaf o ddata Moodle
ei storio. Mae\'n rhaid bod y gronfa ddata hon wedi cael ei chreu a bod enw defnyddiwr a chyfrinair wedi\'u gosod i fynd i mewn iddi.';
$string['databasesettingssub'] = '<b>Math:</b> mysql neu postgres7<br />
<b>Gwesteiwr:</b> ee localhost neu db.isp.com<br />
<b>Enw:</b> enw\'r gronfa ddata, ee moodle<br />
<b>Defnyddiwr:</b> enw defnyddiwr ar gyfer eich cronfa ddata<br />
<b>Cyfrinair:</b> cyfrinair ar gyfer eich cronfa ddata<br />
<b>Llythrennau Blaen Tablau:</b> dewis i roi llythrennau o flaen pob enw tabl';
$string['databasesettingssub_mssql'] = '<b>Math:</b> SQL*Server (dim UTF-8) <b><font color=\"red\">Arbrawf! (nid ar gyfer ei ddefnyddio)</font></b><br />
<b>Gwesteiwr:</b> ee localhost neu db.isp.com<br />
<b>Enw:</b> enw\'r gronfa ddata, ee moodle<br />
<b>Defnyddiwr:</b> enw defnyddiwr ar gyfer eich cronfa ddata<br />
<b>Cyfrinair:</b> cyfrinair ar gyfer eich cronfa ddata<br />
<b>Llythrennau Blaen Tablau:</b> llythrennau blaen i\'w defnyddio ar gyfer pob enw tabl (gorfodol)';
$string['databasesettingssub_mssql_n'] = '<b>Math:</b> SQL*Server (wedi galluogi UTF-8)<br />
<b>Gwesteiwr:</b> ee localhost neu db.isp.com<br />
<b>Enw:</b> enw\'r gronfa ddata, ee moodle<br />
<b>Defnyddiwr:</b> enw defnyddiwr ar gyfer eich cronfa ddata<br />
<b>Cyfrinair:</b> cyfrinair ar gyfer eich cronfa ddata<br />
<b>Llythrennau Blaen Tablau:</b> llythrennau blaen i\'w defnyddio ar gyfer pob enw tabl (gorfodol)';
$string['databasesettingssub_mysql'] = '<b>Math:</b> MySQL<br />
<b>Gwesteiwr:</b> ee localhost neu db.isp.com<br />
<b>Enw:</b> enw\'r gronfa ddata, ee moodle<br />
<b>Defnyddiwr:</b> enw defnyddiwr ar gyfer eich cronfa ddat<br />
<b>Cyfrinair:</b> cyfrinair ar gyfer eich cronfa ddata<br />
<b>Llythrennau Blaen Tablau:</b> llythrennau blaen i\'w defnyddio ar gyfer pob enw tabl (dewisol)';
$string['databasesettingssub_oci8po'] = '<b>Math:</b> Oracle<br />
<b>Gwesteiwr:</b> heb ei ddefnyddio, rhaid ei adael yn wag<br />
<b>Enw:</b> yr enw a roddwyd i\'r cysylltiad tnsnames.ora<br />
<b>Defnyddiwr:</b> enw defnyddiwr ar gyfer eich cronfa ddata<br />
<b>Cyfrinair:</b> cyfrinair ar gyfer eich cronfa ddata<br />
<b>Llythrennau Blaen Tablau:</b> llythrennau blaen i\'w defnyddio ar gyfer pob enw tabl (gorfodol, dim mwy na 2cc.)';
$string['databasesettingssub_odbc_mssql'] = '<b>Math:</b> SQL*Server (dros ODBC) <b><font color=\"red\">Arbrawf! (nid ar gyfer ei ddefnyddio)</font></b><br />
<b>Gwesteiwr:</b> yr enw a roddwyd i\'r DSN yn y panel rheoli ODBC<br />
<b>Enw:</b> enw\'r gronfa ddata, ee moodle<br />
<b>Defnyddiwr:</b> enw defnyddiwr ar gyfer eich cronfa ddata<br />
<b>Cyfrinair:</b> cyfrinair ar gyfer eich cronfa ddata<br />
<b>Llythrennau Blaen Tablau:</b> llythrennau blaen i\'w defnyddio ar gyfer pob enw tabl (gorfodol)';
$string['databasesettingssub_postgres7'] = '<b>Math:</b> PostgreSQL<br />
<b>Gwesteiwr:</b> ee localhost neu db.isp.com<br />
<b>Enw:</b> enw\'r gronfa ddata, ee moodle<br />
<b>Defnyddiwr:</b> enw defnyddiwr eich cronfa ddata<br />
<b>Cyfrinair:</b> cyfrinair ar gyfer eich cronfa ddata<br />
<b>Llythrennau Blaen Tablau:</b> llythrennau blaen i\'w defnyddio ar gyfer pob enw tabl (gorfodol)';
$string['dataroot'] = 'Cyfeiriadur Data';
$string['datarooterror'] = 'Heb lwyddo i ddod o hyd i\'r \'Cyfeiriadur Data\' a nodoch neu ni lwyddwyd i\'w greu. Gallwch naill ai gywiro\'r llwybr neu greu\'r cyfeiriadur hwn eich hun.';
$string['dbconnectionerror'] = 'Heb lwyddo i gysylltu â\'r gronfa ddata a nodoch. Tarwch olwg dros osodiadau eich cronfa ddata.';
$string['dbcreationerror'] = 'Gwall wrth greu cronfa ddata. Heb lwyddo i greu\'r gronfa ddata a enwyd â\'r gosodiadau a roddwyd.';
$string['dbhost'] = 'Gweinydd y Gwesteiwr';
$string['dbpass'] = 'Cyfrinair';
$string['dbprefix'] = 'Llythrennau Blaen Tablau';
$string['dbtype'] = 'Math';
$string['dbwrongencoding'] = 'Mae\'r gronfa ddata a ddewiswyd yn rhedeg dan un cod nad yw\'n cael ei argymell ($a).Byddai\'n well defnyddio un cronfa ddata wedi\'i hamgodio gydag Unicode (UTF-8) yn lle hynny. Gallwch hepgor y prawf hwn drwy ddewis \"Hepgor y Prawf Amgodio DB\" isod, ond mae\'n bosib y byddwch yn dod ar draws problemau yn y dyfodol.';
$string['dbwronghostserver'] = 'Rhaid i chi ddilyn rheolau\'r \"Gwesteiwr\" fel a eglurwyd uchod.';
$string['dbwrongnlslang'] = 'Rhaid i\'r newidyn amgylchedd NLS_LANG yn eich gweinydd gwe ddefnyddio\'r set nodau AL32UTF8. Darllenwch y dogfennau am PHP am sut i ffurfweddu OCI8 yn gywir.';
$string['dbwrongprefix'] = 'Rhaid i chi ddilyn rheolau \"Llythrennau Blaen Tablau\" fel a eglurwyd uchod';
$string['directorysettings'] = '<p>A wnewch chi gadarnhau lleoliadau\'r rhaglen Moodle hon.</p>
<p><b>Cyfeiriad ar y We:</b>
Rhowch y cyfeiriad ar y we llawn lle byddwch yn mynd i mewn i Moodle.
Os gellir defnyddio sawl URL i fynd i mewn i\'ch gwefan yna dewiswch
yr un fyddai\'ch myfyrwyr yn fwyaf tebygol o\'i ddefnyddio. Peidiwch â chynnwys
slaes ar y diwedd.</p>
<p><b>Cyfeiriadur Moodle:</b>
Rhowch y llwybr cyfeiriadur llawn i\'r rhaglen a osodwyd.
Gwnewch yn siŵr eich bod yn defnyddio\'r llythrennau bach/mawr cywir.</p>
<p><b>Cyfeiriadur Data:</b>
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.</p>';
$string['directorysettingshead'] = 'Cadarnhewch leoliadau\'r rhaglen Moodle hon';
$string['directorysettingssub'] = '<b>Cyfeiriad ar y We:</b>
Rhowch y cyfeiriad ar y we llawn lle byddwch yn mynd i mewn i Moodle.
Os gellir defnyddio sawl URL i fynd i mewn i\'ch gwefan yna dewiswch
yr un fyddai\'ch myfyrwyr yn fwyaf tebygol o\'i ddefnyddio. Peidiwch â chynnwys slaes ar y diwedd.
<br />
<br />
<b>Cyfeiriadur Moodle:</b>
Rhowch y llwybr cyfeiriadur llawn i\'r rhaglen a osodwyd
Gwnewch yn siŵr eich bod yn defnyddio\'r llythrennau bach/mawr cywir.
<br />
<br />
<b>Cyfeiriadur Data:</b>
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.';
$string['dirroot'] = 'Cyfeiriadur Moodle';
$string['dirrooterror'] = 'Yn ôl pob tebyg, mae gosodiadau \'Cyfeiriadur Moodle\' yn anghywir - nid ydym wedi gallu dod o hyd i raglen Moodle yn y fan honno. Mae\'r gwerth isod wedi cael ei ailosod.';
$string['download'] = 'Llwytho i lawr';
$string['downloadedfilecheckfailed'] = 'Heb lwyddo i wirio\'r ffeil a lwythwyd i lawr.';
$string['downloadlanguagebutton'] = 'Llwytho\'r pecyn iaith &quot;$a&quot;';
$string['downloadlanguagehead'] = 'Llwytho\'r pecyn iaith i lawr';
$string['downloadlanguagenotneeded'] = 'Gallwch barhau â\'r broses osod gan ddefnyddio\'r pecyn iaith diofyn, \"$a\".';
$string['downloadlanguagesub'] = 'Nawr, gallwch ddewis llwytho pecyn iaith i lawr a bwrw ymlaen â\'r broses osod yn yr iaith honno.<br /><br />Os nad ydych chi\'n gallu llwytho\'r pecyn iaith i lawr, bydd y broses osod yn cario ymlaen yn Saesneg. (Ar ôl i\'r broses osod ddod i ben, bydd gennych gyfle i lwytho a gosod pecynnau iaith ychwanegol.)';
$string['doyouagree'] = 'Ydych chi wedi darllen a deall yr amodau hyn?';
$string['environmenterrortodo'] = 'Rhaid datrys yr holl broblemau amgylcheddol (gwallau) uchod cyn parhau i osod y fersiwn hwn o Moodle!';
$string['environmenthead'] = 'Wrthi\'n profi eich amgylchedd ...';
$string['environmentrecommendcustomcheck'] = 'os yw\'r prawf hwn yn methu, mae\'n dangos problem bosibl';
$string['environmentrecommendinstall'] = 'wedi\'i argymell i\'w osod/ei alluogi';
$string['environmentrecommendversion'] = 'argymhellir fersiwn $a->needed ac rydych yn defnyddio $a->current';
$string['environmentrequirecustomcheck'] = 'rhaid i\'r prawf hwn basio';
$string['environmentrequireinstall'] = 'angen ei osod/ei alluogi.';
$string['environmentrequireversion'] = 'Mae angen fersiwn $a->needed ac rydych yn defnyddio $a->current';
$string['environmentsub'] = 'Rydym yn gwneud yn siŵr fod gwahanol gydrannu eich system yn bodloni gofynion y system';
$string['environmentxmlerror'] = 'Gwall wrth ddarllen data amgylchedd ($a->error_code)';
$string['error'] = 'Gwall';
$string['fail'] = 'Methu';
$string['fileuploads'] = 'Llwytho ffeiliau i fyny';
$string['fileuploadserror'] = 'Dylai hwn fod ymlaen';
$string['fileuploadshelp'] = '<p>Yn ôl pob golwg, nid yw eich gweinydd wedi galluogi llwytho ffeiliau i fyny.</p>
<p>Byddwch dal yn gallu gosod Moodle, ond os nad ydych yn gallu gwneud hyn, ni fyddwch yn gallu
llwytho ffeiliau cyrsiau na delweddau proffil defnyddwyr i fyny.</p>
<p>I alluogi llwytho ffeiliau i fyny, bydd angen i chi (neu weinyddwr eich system)
olygu\'r brif ffeil php.ini ar eich system a newid y gosodiad ar gyfer
<b>file_uploads</b> to \'1\'.</p>';
$string['gdversion'] = 'Fersiwn GD';
$string['gdversionerror'] = 'Dylai\'r llyfrgell GD fod ar gael i brosesu a chreu delweddau';
$string['gdversionhelp'] = '<p>Yn ôl pob golwg, nid oes GD wedi\'i osod ar eich gweinydd.</p>
<p>Llyfrgell yw GD sydd ei hangen ar PHP i adael Moodle i brosesu delweddau
(megis yr eiconau proffil defnyddwyr) ac i greu delweddau newydd (megis
y graffiau log). Bydd Moodle dal yn gweithio heb GD - ond ni fydd y nodweddion hyn ar gael i chi.</p>
<p>I ychwanegu GD at PHP dan Unix, crynhowch PHP gan ddefnyddio\'r paramedr --with-gd.</p>
<p>fel arfer, gallwch olygu php.ini yn Windows drwy dynnu\'r ddwy slaes o flaen y llinell php_gd2.dll.</p>';
$string['globalsquotes'] = 'Gafael Anniogel o Ddyfynodau\'r Safle Cyfan';
$string['globalsquoteserror'] = 'Trwsio eich gosodiadau PHP: analluogi register_globals a/neu galluogi magic_quotes_gpc';
$string['globalsquoteshelp'] = '<p>Nid ydym yn argymell analluogi Dyfynodau Hud GPC a galluogi Cofrestru Dyfynodau Safle Cyfan ar yr un pryd.</p>
<p>Dyma\'r gosodiad sy\'n cael ei argymell <b>magic_quotes_gpc = Ymlaen</b> a <b>register_globals = Diffodd</b> yn eich ffeil php.ini</p>
<p>Os nad ydych yn gallu mynd i mewn i\'ch php.ini, efallai gallwch roi\'r llinell ganlynol mewn ffeil .htaccess yn eich cyfeiriadur Moodle:
<blockquote>php_value magic_quotes_gpc On</blockquote>
<blockquote>php_value register_globals Off</blockquote>
</p>';
$string['help'] = 'Help';
$string['iconvrecommended'] = 'Argymhellir yn gryf eich bod yn gosod y llyfrgell ICONV ddewisol er mwyn gwella perfformiad y safle, yn enwedig os gall eich safle ddelio ag ieithoedd heblaw rhai Lladin.';
$string['info'] = 'Gwybodaeth';
$string['installation'] = 'Gosod';
$string['invalidemail'] = 'Cyfeiriad e-bost annilys';
$string['invalidmd5'] = 'md5 annilys';
$string['langdownloaderror'] = 'Yn anffodus, ni osodwyd yr iaith ganlynol: \"$a\". Bydd y broses osod yn cario ymlaen yn Saesneg.';
$string['langdownloadok'] = 'Wedi gosod \"$a\" yn llwyddiannus. Bydd y broses osod yn cario ymlaen yn yr iaith hon.';
$string['language'] = 'Iaith';
$string['magicquotesruntime'] = 'Amser Rhedeg Dyfynodau Hud';
$string['magicquotesruntimeerror'] = 'Dylai hwn fod wedi\'i ddiffodd';
$string['magicquotesruntimehelp'] = '<p>Dylid diffodd Amser Rhedeg Dyfynodau Hud fel bo Moodle yn gweithio\'n iawn.</p>
<p>Fel arfer, mae wedi\'i ddiffodd yn ddiofyn ... tarwch olwg ar y gosodiad <b>magic_quotes_runtime</b> yn eich ffeil php.ini.</p>
<p><p>Os nad ydych yn gallu mynd i mewn i\'ch php.ini, efallai gallwch roi\'r llinell ganlynol mewn ffeil .htaccess yn eich cyfeiriadur Moodle:
<blockquote>php_value magic_quotes_runtime Off</blockquote>
</p>';
$string['mbstringrecommended'] = 'Argymhellir yn gryf eich bod yn gosod y llyfrgell MBSTRING ddewisol er mwyn gwella perfformiad y safle, yn enwedig os gall eich safle ddelio ag ieithoedd heblaw rhai Lladin.';
$string['memorylimit'] = 'Maint y Cof';
$string['memorylimiterror'] = 'Mae maint y cof PHP wedi\'i osod yn eitaf isel ...efallai y cewch broblemau yn nes ymlaen.';
$string['memorylimithelp'] = '<p>Mae maint y cof PHP yn eich gweinydd ar hyn o bryd yn $a.</p>
<p>Gall hyn arwain at broblemau â\'r cof yn nes ymlaen, yn enwedig
os ydych wedi galluogi llawer o fodiwlau a/neu lawer o ddefnyddwyr.</p>
<p>Rydym yn argymell eich bod yn ffurfweddu PHP gyda mwy o gof os yn bosib, megis 40M.
Mae sawl ffordd o wneud hyn:</p>
<ol>
<li>Os ydych yn gallu, ceisiwch ail-grynhoi PHP gyda <i>--enable-memory-limit</i>.
Bydd hyn yn gadael i Moodle osod maint y cof ei hun.</li>
<li>Os ydych yn gallu mynd i mewn i\'ch ffeil php.ini, gallwch newid y gosodiad <b>memory_limit</b>
yn y fan honno i tua 40M. Os nad ydych chi\'n gallu gwneud hyn eich hun, efallai
y gallech ofyn i\'ch gweinyddwr wneud hyn i chi.</li>
<li>Ar rai gweinyddion PHP, gallwch greu ffeil .htaccess yng nghyfeiriadur Moodle
sy\'n cynnwys y llinell hon:
<p><blockquote>php_value memory_limit 40M</blockquote></p>
<p>Fodd bynnag, ar rai gweinyddion bydd hyn yn atal <b>pob</b> tudalen PHP rhag gweithio
(bydd gwallau\'n ymddangos pan fyddwch yn edrych ar dudalennau) felly bydd rhaid i chi dynnu\'r ffeil .htaccess file.</p></li>
</ol>';
$string['missingrequiredfield'] = 'Mae maes gofynnol ar goll';
$string['moodledocslink'] = 'Dogfennau Moodle ar gyfer y dudalen hon';
$string['mssql'] = 'SQL*Server (mssql)';
$string['mssqlextensionisnotpresentinphp'] = 'Nid yw\'r PHP wedi cael ei ffurfweddu\'n iawn gyda\'r estyniad MSSQL er mwyn iddo allu cyfathrebu â SQL*Server. Tarwch olwg dros eich ffeil php.ini neu ail-grynhoi PHP.';
$string['mssql_n'] = 'SQL*Server gyda chefnogaeth UTF-8t (mssql_n)';
$string['mysql'] = 'MySQL (mysql)';
$string['mysql416bypassed'] = 'Fodd bynnag, os yw eich safle\'n defnyddio ieithoedd iso-8859-1 (Lladin) YN UNIG, gallwch barhau i ddefnyddio\'r MySQL 4.1.12 (neu uwch) sydd wedi\'i osod gennych ar hyn o bryd.';
$string['mysql416required'] = 'MySQL 4.1.16 yw\'r fersiwn sylfaenol sy\'n ofynnol ar gyfer Moodle 1.6 er mwyn sicrhau y gellir trosi\'r holl ddata i UTF-8 yn y dyfodol.';
$string['mysqlextensionisnotpresentinphp'] = 'Nid yw\'r PHP wedi cael ei ffurfweddu\'n iawn gyda\'r estyniad MSSQL er mwyn iddo allu cyfathrebu â MySQL. Tarwch olwg dros eich ffeil php.ini neu ail-grynhoi PHP.';
$string['name'] = 'Enw';
$string['next'] = 'Nesaf';
$string['oci8po'] = 'Oracle (oci8po)';
$string['ociextensionisnotpresentinphp'] = 'Nid yw\'r PHP wedi cael ei ffurfweddu\'n iawn gyda\'r estyniad OCI8 er mwyn iddo allu cyfathrebu ag Oracle. Tarwch olwg dros eich ffeil php.ini neu ail-grynhoi PHP.';
$string['odbcextensionisnotpresentinphp'] = 'Nid yw\'r PHP wedi cael ei ffurfweddu\'n iawn gyda\'r estyniad ODBC er mwyn iddo allu cyfathrebu â SQL*Server. Tarwch olwg dros eich ffeil php.ini neu ail-grynhoi PHP.';
$string['odbc_mssql'] = 'SQL*Server over ODBC (odbc_mssql)';
$string['ok'] = 'IAWN';
$string['opensslrecommended'] = 'Argymhellir yn gryf eich bod yn gosod y llyfrgell OpenSSL ddewisol -- mae\'n galluogi Rhwydweithio Moodle.';
$string['pass'] = 'Pasio';
$string['password'] = 'Cyfrinair';
$string['pgsqlextensionisnotpresentinphp'] = 'Nid yw\'r PHP wedi cael ei ffurfweddu\'n iawn gyda\'r estyniad PGSQL er mwyn iddo allu cyfathrebu â PostgreSQL. Tarwch olwg dros eich ffeil php.ini neu ail-grynhoi PHP.';
$string['php50restricted'] = 'Mae PHP 5.0.x yn frith o broblemau hysbys; uwchraddiwch i 5.1.x neu israddiwch i 4.3.x neu 4.4.x';
$string['phpversion'] = 'Fersiwn PHP';
$string['phpversionerror'] = 'Mae\'n rhaid i\'r fersiwn PHP fod yn o leiaf 4.3.0 neu 5.1.0 (mae llawer o broblemau gyda 5.0.x).';
$string['phpversionhelp'] = '<p>Mae angen o leiaf fersiwn PHP 4.3.0 neu 5.1.0 ar Moodle (mae llawer o broblemau gyda 5.0.x).</p>
<p>Ar hyn o bryd, rydych yn rhedeg fersiwn $a</p>
<p>Rhaid i chi uwchraddio PHP neu newid i westeiwr â fersiwn diweddarach o PHP!<br/>
(Os oes gennych 5.0.x gallwch hefyd is-raddio i fersiwn 4.4.x)</p>';
$string['postgres7'] = 'PostgreSQL (postgres7)';
$string['previous'] = 'Blaenorol';
$string['releasenoteslink'] = 'I gael gwybodaeth am y fersiwn hwn o Moodle, gweler y <a target=\"_new\" href=\"$a\">Nodiadau Rhyddhau</a> ar-lein';
$string['remotedownloadnotallowed'] = 'Ni chaniateir llwytho cydrannau i lawr i\'ch gweinydd (mae allow_url_fopen wedi\'i analluogi).<br /><br />Rhaid i chi lwytho\'r ffeil <a href=\"$a->url\">$a->url</a> i lawr eich hun, ei chopïo i \"$a->dest\" yn eich gweinydd, a\'i dadzipio yno.';
$string['report'] = 'Adroddiad';
$string['restricted'] = 'Wedi\'i wahardd';
$string['safemode'] = 'Modd Diogel';
$string['safemodeerror'] = 'Mae\'n bosibl y bydd Moodle yn profi problemau os yw\'r modd diogel ymlaen';
$string['safemodehelp'] = '<p>Mae\'n bosibl y bydd Moodle yn profi llawer o broblemau os yw\'r modd diogel ymlaen. Un broblem y gallech ddod ar ei thraws yw
na fyddwch o bosib yn gallu creu ffeiliau newydd.</p>
<p>Fel arfer, dim ond gwesteiwyr gwe cyhoeddus paranoid sy\'n troi\'r modd diogel ymlaen, felly efallai y
bydd rhaid i chi gael cwmni gwesteiwr gwe newydd ar gyfer eich safle Moodle.</p>
<p>Gallwch roi cynnig ar fwrw ymlaen i osod, ond mae\'n siŵr y byddwch yn dod ar draws rhai problemau yn nes ymlaen.</p>';
$string['serverchecks'] = 'Archwiliadau Gweinydd';
$string['sessionautostart'] = 'Awto Gychwyn y Sesiwn';
$string['sessionautostarterror'] = 'Dylai hwn fod wedi\'i ddiffodd';
$string['sessionautostarthelp'] = '<p>Mae angen cefnogaeth sesiwn ar Moodle ac ni fydd yn gweithio hebddo.</p>
<p>Gallwch alluogi sesiynau yn y ffeil php.ini file ... chwiliwch am y paramedr session.auto_start.</p>';
$string['skipdbencodingtest'] = 'Hepgor Prawf Amgodio DB';
$string['status'] = 'Statws';
$string['thischarset'] = 'UTF-8';
$string['thisdirection'] = 'ltr';
$string['thislanguage'] = 'Cymraeg';
$string['unicoderecommended'] = 'Argymhellir storio eich holl ddata yn Unicode (UTF-8). Dylid gosod fersiynau newydd mewn cronfeydd data sydd ag Unicode fel set nodau ddiofyn. Os ydych chi\'n uwchraddio, dylech gyflawni\'r broses mudo UTF-8 (gweler y dudalen Gweinyddwyr).';
$string['unicoderequired'] = 'Mae\'n ofynnol eich bod yn storio eich holl ddata ar fformat Unicode (UTF-8). Rhaid gosod fersiynau newydd mewn cronfeydd data sydd ag Unicode fel set nodau ddiofyn. Os ydych chi\'n uwchraddio, dylech gyflawni\'r broses mudo UTF-8 (gweler y dudalen Gweinyddwyr).';
$string['user'] = 'Defnyddiwr';
$string['welcomep10'] = '$a->installername ($a->installerversion)';
$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
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>
<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
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['wrongdestpath'] = 'Llwybr cyrchfan anghywir.';
$string['wrongsourcebase'] = 'Bôn URL ffynhonnell anghywir.';
$string['wrongzipfilename'] = 'Enw ffeil ZIP anghywir.';
$string['wwwroot'] = 'Cyfeiriad ar y we';
$string['wwwrooterror'] = 'Nid yw\'r \'Cyfeiriad ar y We\' yn ddilys - yn ôl pob tebyg, nid yw\'r rhaglen Moodle yn y cyfeiriad hwn. Mae\'r gwerth isod wedi cael ei ailosod.';
?>
+244 -18
View File
@@ -7,74 +7,300 @@
/// keep us informed using http://moodle.org/bugs Thanks!
///
/// File generated by cvs://contrib/lang2installer/installer_builder
/// using strings defined in installer_strings (same dir)
/// using strings defined in stringnames.txt (same dir)
$string['admindirerror'] = 'Det angivende admin biblioteket er forkert';
$string['admindirerror'] = 'Det angivne adminbibliotek er forkert';
$string['admindirname'] = 'Adminbibliotek';
$string['admindirsetting'] = 'Nogle web-hoteller bruger /admin som en speciel URL til at administrere web-hotellet. Det er et problem da Moodle også bruger /admin som standard til administrationssiderne. Hvis det er kan du omdøbe adminbiblioteket og angive den nye sti til admin biblioteket her. For eksempel: <br /> <br /><b>moodleadmin</b><br /> <br />
Dette vil rette admin linkene i Moodle.';
$string['admindirsettinghead'] = 'Sætter admin-biblioteket...';
$string['admindirsettingsub'] = 'Nogle får webhoteller bruger /admin adresse til kontrolpanelet el.lign. Desværre konflikter dette med standardplaceringen af Moodles administrationssider. Du kan i tilfælde omdøbe admin-biblioteket i din installation og skrive navnet her. Eksempel:<br /> <br /><b>moodleadmin</b><br /> <br />
Dette vil sikre admin-links i Moodle.';
$string['availablelangs'] = 'Tilgængelige sprogpakker';
$string['bypassed'] = 'Forbigået';
$string['cannotcreatelangdir'] = 'Kan ikke oprette sprogmappe';
$string['cannotcreatetempdir'] = 'Kan ikke oprette temp-mappe';
$string['cannotdownloadcomponents'] = 'Kan ikke downloade komponenter';
$string['cannotdownloadzipfile'] = 'Kan ikke downloade zip-fil';
$string['cannotfindcomponent'] = 'Kan ikke finde komponent';
$string['cannotsavemd5file'] = 'Kan ikke gemme md5-fil';
$string['cannotsavezipfile'] = 'Kan ikke gemme zip-fil';
$string['cannotunzipfile'] = 'Kan ikke unzippe filen';
$string['caution'] = 'Pas på';
$string['check'] = 'Kontroller';
$string['chooselanguage'] = 'Vælg et sprog';
$string['chooselanguagehead'] = 'Vælg et sprog';
$string['chooselanguagesub'] = 'Vælg et sprog til brug under installationen. Senere vil du kunne vælge hvilke sprog Moodle skal kunne bruge.';
$string['closewindow'] = 'Luk dette vindue';
$string['configfilenotwritten'] = 'Installationsscriptet var ikke i stand til at oprette config.php filen der indeholder de valgte indstillinger, sandsynligvis fordi den bruger hvis apache(PHP) kører med (apache, nobody ell) ikke har rettigheder til at skrive til moodlebiblioteket. Du kan manuelt kopiere den følgende kode ind i en fil med navnet \"config.php\" i roden af moodle-biblioteket.';
$string['compatibilitysettings'] = 'Kontrollerer dine PHP-indstillinger...';
$string['compatibilitysettingshead'] = 'Kontrollerer dine PHP-indstillinger...';
$string['compatibilitysettingssub'] = 'For at Moodle kan køre uden problemer skal din server \"bestå\" alle disse test.';
$string['componentisuptodate'] = 'Komponenten er ajour';
$string['configfilenotwritten'] = 'Installationsscriptet var ikke i stand til at oprette config.php-filen, der indeholder de valgte indstillinger, sandsynligvis fordi Moodlebiblioteket er skrivebeskyttet. Du kan manuelt kopiere den følgende kode ind i en fil med navnet \"config.php\" i roden af Moodle-biblioteket.';
$string['configfilewritten'] = 'config.php er blevet oprettet';
$string['configurationcomplete'] = 'Konfigurationen er færdig.';
$string['configurationcompletehead'] = 'Konfigurationen er færdig.';
$string['configurationcompletesub'] = 'Moodle har forsøgt at gemme din konfiguration i en fil i roden af Moodle-installationen';
$string['continue'] = 'Fortsæt';
$string['database'] = 'Database';
$string['dataroot'] = 'DataBibliotek';
$string['datarooterror'] = 'DataBiblioteket du specificerede kan ikke findes eller oprettes. Ret stien til biblioteket eller opret det manuelt.';
$string['databasecreationsettings'] = 'Nu skal du konfigurere indstillingerne i databasen for hvor de fleste Moodle-data skal gemmes. Databasen vil blive oprettet automatisk af installationsprogrammet med indstillingerne herunder.<br />
<br /> <br />
<b>Type:</b> fikseret til \"mysql\" af installationsprogrammet<br />
<b>Host:</b> fikseret til \"localhost\" af installationsprogrammet<br />
<b>Name:</b> database-navn, f.eks. Moodle<br />
<b>User:</b> fikseret til \"root\" af installationsprogrammet<br />
<b>Password:</b> adgangskoden til din database<br />
<b>Tables Prefix:</b> valgfrit fornavn (prefix) til alle tabelnavne';
$string['databasecreationsettingshead'] = 'Nu skal du konfigurere databaseindstillingerne for hvor de fleste Moodle-data skal gemmes. Denne database vil automatisk blive oprettet af installationsprogrammet med indstillingerne herunder.';
$string['databasecreationsettingssub'] = '<b>Type:</b> fikseret til \"mysql\" af installationsprogrammet<br />
<b>Host:</b> fikseret til \"localhost\" af installationsprogrammet<br />
<b>Name:</b> database-navn, f.eks. Moodle<br />
<b>User:</b> fikseret til \"root\" af installationsprogrammet<br />
<b>Password:</b> adgangskoden til din database<br />
<b>Tables Prefix:</b> valgfrit fornavn (prefix) til alle tabelnavne';
$string['databasesettings'] = 'Du skal nu konfigurere databasen hvor det meste af Moodle\'s data vil blive gemt. Databaseserveren skal allerede være oprettet og du skal bruge brugernavn og password til en brugerkonto der har rettigheder til at oprette og hente data.<br />
<br /> <br />
<b>Type:</b> mysql eller postgres7<br />
<b>Vært:</b> f.eks. localhost eller db.isp.com<br />
<b>Database:</b> database-navn, f.eks. Moodle<br />
<b>Bruger:</b> Brugernavnet til databasen<br />
<b>Password:</b> Password til databasebrugeren<br />
<b>Tabel Præfix:</b> Valgfrit fornavn (prefix) der bliver sat foran alle tabelnavne (kan anbefales hvis der er flere systemer der skal bruge samme database).';
$string['databasesettingshead'] = 'Du skal nu konfigurere databasen hvor det meste af Moodle\'s data vil blive gemt. Databaseserveren skal allerede være oprettet og du skal bruge brugernavn og adgangskode til en brugerkonto der har adgang til den.';
$string['databasesettingssub'] = '<b>Type:</b> mysql eller postgres7<br />
<b>Vært:</b> f.eks. localhost eller db.isp.com<br />
<b>Database:</b> database-navn, f.eks. Moodle<br />
<b>Bruger:</b> Brugernavnet til databasen<br />
<b>Password:</b> Password til databasebrugeren<br />
<b>Tabel Præfix:</b> Valgfrit fornavn (prefix) der bliver sat foran alle tabelnavne (kan anbefales hvis der er flere systemer der skal bruge samme database).';
$string['databasesettingssub_mssql'] = '<b>Type:</b> SQL*Server (non UTF-8) <b><font color=\"red\">Experimentiel! (ikke til brug i et produktionsmiljø)</font></b><br />
<b>Vært:</b> f.eks. localhost eller db.isp.com<br />
<b>Navn:</b> databasenavn, f.eks. Moodle<br />
<b>Bruger:</b> brugernavnet til din database<br />
<b>Password:</b> din databases adgangskode<br />
<b>Tabelprefix:</b> prefix for alle tabelnavne (mandatory)';
$string['databasesettingssub_mssql_n'] = '<b>Type:</b> SQL*Server (non UTF-8 aktiveret) <b><font color=\"red\">Experimentiel! (ikke til brug i et produktionsmiljø)</font></b><br />
<b>Vært:</b> f.eks. localhost eller db.isp.com<br />
<b>Navn:</b> databasenavn, f.eks. Moodle<br />
<b>Bruger:</b> brugernavnet til din database<br />
<b>Password:</b> din databases adgangskode<br />
<b>Tabelprefix:</b> prefix for alle tabelnavne (mandatory)';
$string['databasesettingssub_mysql'] = '<b>Type:</b> MySQL<br />
<b>Vært:</b> f.eks. localhost eller db.isp.com<br />
<b>Navn:</b> databasenavn, f.eks. Moodle<br />
<b>Bruger:</b> brugernavnet til din database<br />
<b>Password:</b> din databases adgangskode<br />
<b>Tabelprefix:</b> prefix for alle tabelnavne (mandatory)';
$string['databasesettingssub_mysqli'] = '<b>Type:</b> Forbedret MySQL<br />
<b>Vært:</b> ex localhost eller db.isp.com<br />
<b>Navn:</b> databasenavn, ex moodle<br />
<b>Bruger:</b> dit brugernavn til databasen<br />
<b>Adgangskode:</b> din adgangskode til databasen<br />
<b>Tabelprefix:</b> prefix til alle navne i tabellen (valgfri)';
$string['databasesettingssub_oci8po'] = '<b>Type:</b> Oracle<br />
<b>Vært:</b> ikke brugt, skal være blank<br />
<b>Navn:</b> navnet forbindelsen fra tnsnames.ora <br />
<b>Bruger:</b> dit database brugernavn<br />
<b>Password:</b> brugerens password<br />
<b>Tabel Præfix:</b> præfix til alle tabellerne (nødvendigt,højst 2 karaktere)';
$string['databasesettingssub_odbc_mssql'] = '<b>Type:</b> SQL*Server (over ODBC) <b><font color=\"red\">Eksperimentielt! (ikke beregnet til brug i produktionsmiljø)</font></b><br />
<b>Vært:</b> navnet DSN forbindelsen i ODBC kontrolpanelet<br />
<b>Navn:</b> databasenavnet , f.eks. moodle<br />
<b>Bruger:</b> dit databasebrugernavn<br />
<b>Password:</b> dit database password<br />
<b>Tabel Præfix:</b> præfix der bruges til alle tabelnavnene (nødvendigt)';
$string['databasesettingssub_postgres7'] = '<b>Type:</b> PostgreSQL<br />
<b>Vært:</b> f.eks. localhost eller db.isp.com<br />
<b>Navn:</b> databasenavn, f.eks. moodle<br />
<b>Bruger:</b> dit databasebrugernavn<br />
<b>Password:</b> dit database password<br />
<b>Tables Præfix:</b> præfix der bruges foran alle tabelnavnene (nødvendigt)';
$string['databasesettingswillbecreated'] = '<b>Note:</b> Installationsprocessen vil søge at oprette en database hvis ikke den findes allerede.';
$string['dataroot'] = 'Databibliotek';
$string['datarooterror'] = 'Data-biblioteket du specificerede kan ikke findes eller oprettes. Ret stien til biblioteket eller opret det manuelt.';
$string['datarootpublicerror'] = 'Den datamappe du har angivet har direkte adgang fra internettet, du skal bruge en anden mappe.';
$string['dbconnectionerror'] = 'Den angive database kunne ikke kontaktes. Kontroller eller ret venligst databaseinformationerne.';
$string['dbcreationerror'] = 'Fejl ved oprettelse af databasen. Kan ikke oprette den givne database med de angivne indstillinger.';
$string['dbhost'] = 'Værts Server';
$string['dbprefix'] = 'præfix for tabeller';
$string['dbhost'] = 'Værtsserver';
$string['dbpass'] = 'Password';
$string['dbprefix'] = 'Præfix for tabeller';
$string['dbtype'] = 'Type';
$string['dirroot'] = 'Moodle bibliotek';
$string['dirrooterror'] = 'Det angivne moodle-bibliotek lader ikke til at være rigtigt - der kan ikke findes en Moodle-installation. Den nedenstående værdi er blevet fjernet.';
$string['dbwrongencoding'] = 'Den valgte database kører under en ikke anbefalet encoding ($a). Det vil være bedre at benytte en Unicode (UTF-8) encoded database i stedet.
Du kan alligevel springe denne test over ved at vælge \"Skip DB Encoding Test\" tjek herunder, men det kan give problemer fremover.';
$string['dbwronghostserver'] = 'Du skal følge \"Værtsreglerne\" som forklaret ovenfor.';
$string['dbwrongnlslang'] = 'Environment variablen NLS_LANG på din webserver skal bruge AL32UTF8 tegnsættet. Se PHP documentationen for hvordan man konfigurere OCI8 korrekt.';
$string['dbwrongprefix'] = 'Du skal følge Tabel-prefix-reglerne som forklaret ovenfor.';
$string['directorysettings'] = '<p>Kontroller venligst placeringen af af Moodle-installationen.</p>
<p><b>Web-adresse:<b>
Angiv den fulde web-adresse (URL) til Moodle. Hvis sitet kan tilgås fra flere URL\'er vælg den mest naturlige, den som de studerende oftest vil bruge. Der ikke være en skråstreg til sidst.</p>
<p><b>Moodle-bibliotek:</b>
Angiv den fulde sti til Moodle-installationen. Stien er casesensitiv.</p>
<p><b>Moodles Databibliotek</b>
Det bibliotek hvor Moodle kan gemme uploadede filer. Dette bibliotek skal være læsbart OG SKRIVBART af den bruger apache kører under, (typisk \'nobody\' eller \'apache\') men der må ikke være direkte adgang til det fra internettet.</p>';
$string['directorysettingshead'] = 'Bekræft hvor Moodle skal installeres';
$string['directorysettingssub'] = '<b>Web-adresse:</b>
Angiv den fulde adresse til Moodle. Hvis der skal være adgang til siden fra flere URL\'er vælg den naturligste, den deltagerne vil bruge. Adressen ikke slutte med en skråstreg (slash).
<br />
<br />
<b>Moodle-bibliotek:</b>
Angiv den fulde sti til installationen. Vær påpasselig med små og store bogstaver, adressen er casesensitiv.
<br />
<br />
<b>Data-bibliotek:</b>
Det sted, hvor Moodle placerer uploadede filer. Dette bibliotek skal være læse- OG SKRIVBART for web-server-brugeren (typisk \'nobody\' eller \'apache\'), men der må ikke være direkte adgang fra internettet.';
$string['dirroot'] = 'Moodle-bibliotek';
$string['dirrooterror'] = 'Det angivne Moodle-bibliotek lader ikke til at være rigtigt - der kan ikke findes en Moodle-installation. Den nedenstående værdi er blevet fjernet.';
$string['download'] = 'Download';
$string['downloadedfilecheckfailed'] = 'Downloadet fil-tjek fejlede';
$string['downloadlanguagebutton'] = 'Download \"$a\"-sprogpakken';
$string['downloadlanguagehead'] = 'Download sprogpakke';
$string['downloadlanguagenotneeded'] = 'Du kan fortsætte installationen med standard-sprogpakken,\"$a\".';
$string['downloadlanguagesub'] = 'Du har nu mulighed for at downloade en sprogpakke og fortsætte installationsprocessen i dette sprog.<br /><br />
Kan du ikke downloade sprogpakken vil installationen fortsætte engelsk.
(Når installationsprocessen er færdig kan du downloade og installere flere sprogpakker.)';
$string['doyouagree'] = 'Har du læst og forstået disse betingelser?';
$string['environmenterrortodo'] = 'Du bliver nødt til at løse de ovenstående problemer (fejl) der er ved serveropsætningen før du kan installere denne version af Moodle';
$string['environmenthead'] = 'Kontrollere din serveropsætning...';
$string['environmentrecommendinstall'] = 'det anbefales installeret/aktiveret';
$string['environmentrecommendversion'] = 'version $a->needed er anbefalet og du kører $a->current';
$string['environmentrequireinstall'] = 'det er nødvendigt at installere/aktivere';
$string['environmentrequireversion'] = 'version $a->needed er nødvendigt og du kører $a->current';
$string['environmentsub'] = 'Vi tjekker om de forskellige komponenter i dit system lever op til de Moodles krav.';
$string['environmentxmlerror'] = 'Fejl ved læsning af serveropsætningens data ($a->error_code)';
$string['error'] = 'Fejl';
$string['fail'] = 'Mislykkedes';
$string['fileuploads'] = 'Fil uploads';
$string['fileuploadserror'] = 'Denne skulle være aktiveret';
$string['fileuploadshelp'] = '<p>Fil-upload lader til at være slået fra din server.</p>
<p>Moodle kan stadig installeres, men uden senere mulighed for at uploade kursusfiler og profilbilleder.</p>
<p>For at tillade upload skal du (eller systemadministratoren) rette i php.ini og ændre indstillingen for <b>fil_uploads</b> til \'1\'.</p>';
$string['gdversion'] = 'GD version';
$string['gdversionerror'] = 'GD library skal være tilgængelig for PHP for at der kan billeder kan manipuleres og oprettes.';
$string['gdversionerror'] = 'GD library skal være tilgængelig for PHP for at der billeder kan manipuleres og oprettes.';
$string['gdversionhelp'] = '<p>Det lader til at din server ikke har GD installeret.</p>
<p>GD er et bibliotek som PHP bruger til at behandle billeder (såsom brugerprofil-billeder) og til at oprette nye billeder såsom loggrafer. Moodle kan stadig fungere uden GD - men disse funktioner vil ikke være til rådighed.</p>
<p>For at tilføje GD unix skal PHP kompileres med \'--with-gd\" parameteret.</p>
<p>Under windows er det normalt nok at udkommentere den linje i php.ini der refererer til libgd.dll </p>';
$string['globalsquotes'] = 'Usikker håndtering af Globale variabler';
$string['globalsquoteserror'] = 'Fix dine PHP-indstillinger: aktiver register_globals and/or slå magic_quotes_gpc til';
$string['globalsquoteshelp'] = '<p>
Kombinationen af deaktiveret \"Magic Quotes GPC\" og aktiveret \"Register Globals\" samtidig anbefales ikke.</p>
<p>Den anbefalede indstilling er
<b>magic_quotes_gpc = On</b> og <b>register_globals = Off</b> i php.ini</p>
<p>Har du ikke adgang til php.ini, kan du sikkert ikke indsætte denne linje i filen .htaccess i dit Moodle-bibliotek:
<blockquote>php_value magic_quotes_gpc On</blockquote>
<blockquote>php_value register_globals Off</blockquote>
</p>';
$string['help'] = 'Hjælp';
$string['iconvrecommended'] = 'Det anbefales at installere/aktivere ICONV udvidelsen for at forbedre sitets hastighed, især hvis dit site understøtter sprog med ikke-latinske tegn.';
$string['info'] = 'Information';
$string['installation'] = 'Installation';
$string['invalidemail'] = 'Ugyldig e-mail-adresse';
$string['invalidmd5'] = 'Ugyldig md5';
$string['invalidurl'] = 'Ugyldig URL';
$string['langdownloaderror'] = 'Sproget \"$a\" blev desværre ikke installeret. Installationen vil fortsætte på engelsk.';
$string['langdownloadok'] = 'Sproget \"$a\" blev installeret. Installationen vil fortsætte på dette sprog.';
$string['language'] = 'Sprog';
$string['magicquotesruntime'] = 'Magic Quotes Run Time';
$string['magicquotesruntimeerror'] = 'Denne skulle være deaktiveret';
$string['memorylimit'] = 'Hukommelses begrænsning';
$string['magicquotesruntimehelp'] = '<p>\'Magic quotes runtime\' bør slås fra for at Moodle kan fungere ordentligt.</p>
<p>Normalt er denne indstilling slået fra som standard. Den slås til og fra vha. indstillingen <b>\'magic_quotes_runtime\'</b> i php.ini fil.</p>
<p>Hvis du ikke har adgang til webserverens php.ini fil kan du evt. lave en tekstfil, kalde den .htaccess og gemme den i Moodle-biblioteket. Den skal indholde linjen. <blockquote>php_value magic_quotes_runtime Off</blockquote>
</p>';
$string['mbstringrecommended'] = 'Det anbefales at installere/aktivere MBSTRING udvidelsen for at forbedre sitets ydeevne, især hvis sitet understøtter ikke-latinske sprog og tegn.';
$string['memorylimit'] = 'Hukommelsesbegrænsning';
$string['memorylimiterror'] = 'Den tilgængelige hukommelse til PHP er ret lav... Det kan være at der opstår problemer senere.';
$string['memorylimithelp'] = '<p>Mængden af hukommelse som 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 installeret eller mange brugere.</p>
<p>Vi anbefaler at du konfigurere PHP til at kunne bruge mere hukommelse, f.eks. 16Mb.
<p>Vi anbefaler at du konfigurerer PHP til at kunne bruge mere hukommelse, f.eks. 16Mb.
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>.
Dette 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>
<li>Hvis du har adgang til php.ini filen kan du ændre <b>memory_limit</b>-
indstillingen der er minimum 16Mb til rådighed. Hvis du ikke har direkte adgang til den kan du spørge systemadministratoren om han han vil gøre det for dig.</li>
<li> nogle servere kan du oprette en \'.htaccess\' fil, gemme den i moodle biblioteket med linjen <p><blockquote>php_value memory_limit 16M</blockquote></p>
<p>Det kan dog nogle servere forårsage en fejl <b>alle</b> PHPsiderne. i fald kan du blive nødt til at fjerne \'.htaccess\' filen igen.</p></li>
<li> nogle servere kan du oprette en \'.htaccess\' fil, gemme den i Moodle-biblioteket med linjen <p><blockquote>php_value memory_limit 16M</blockquote></p>
<p>Det kan dog nogle servere forårsage en fejl <b>alle</b> PHP-siderne. I fald kan du blive nødt til at fjerne \'.htaccess\' filen igen.</p></li>
</ol>';
$string['missingrequiredfield'] = 'Der mangler nogle obligatoriske felter';
$string['moodledocslink'] = 'Moodle Docs for denne side';
$string['mssql'] = 'SQL*Server (mssql)';
$string['mssqlextensionisnotpresentinphp'] = 'PHP er ikke konfigureret ordentligt med MSSQL-extensionen så den kan kommunikere med SQL*Serveren. Vær venlig at tjekke din php.ini-fil eller genkompiler PHP.';
$string['mssql_n'] = 'SQL*Server med UTF-8 support (mssql_n)';
$string['mysql'] = 'MySQL (mysql)';
$string['mysql416bypassed'] = 'Hvis sitet kun benytter iso-8859-1 (latin-1) sprog/tegnsæt, kan du fortsætte med at benytte den nuværende version 4.1.12 af MySQL (eller nyere)';
$string['mysql416required'] = 'Moodle 1.6 skal som minimum bruge MySql version 4.1.16 for at garantere at data kan konverteres til UTF-8 fremover.';
$string['mysqlextensionisnotpresentinphp'] = 'PHP er ikke blevet ordentligt konfigureret med MySQL udvidelsen så den kan kommunikere med MySQL. Det kan skyldes at MySQL extension/dll ikke er loadet. Kontroller venlist phpinfo() og php.ini filen eller rekompiler PHP.';
$string['mysqli'] = 'Forbedret MySql (mysqli)';
$string['mysqliextensionisnotpresentinphp'] = 'PHP er ikke konfigureret korrekt med MySqli extensionen så den kan kommunikere med MySql. Tjek php.ini eller rekompiler PHP, MySqli extensionen er ikke tilgængelig for PHP 4';
$string['name'] = 'Navn';
$string['next'] = 'Næste';
$string['oci8po'] = 'Oracle (oci8po)';
$string['ociextensionisnotpresentinphp'] = 'PHP er ikke konfigureret ordentligt med OCI8-extensionen så den kan kommunikere med Oracle. Vær venlig at tjekke din php.ini-fil eller genkompiler PHP.';
$string['odbcextensionisnotpresentinphp'] = 'PHP er ikke blevet korrekt konfigureret med PHP\'s ODBC modul så den kan kommunikere med SQL*Serveren. Kontroller venligst php.ini filen eller rekompiler PHP.';
$string['odbc_mssql'] = 'SQL*Server over ODBC (odbc_mssql)';
$string['ok'] = 'OK';
$string['pass'] = 'OK';
$string['password'] = 'Password';
$string['password'] = 'Adgangskode';
$string['pgsqlextensionisnotpresentinphp'] = 'PHP er ikke blevet korrekt konfigureret med PHP\'s PGSQL modul så den kan kommunikere med PostgreSQL. Kontroller venligst php.ini filen eller rekompiler PHP.';
$string['php50restricted'] = 'PHP 5.0.x har nogle kendte fejl og problemer. Opgrader venligst til 5.1.x eller nedgradér til 4.3.x eller 4.4.x';
$string['phpversion'] = 'PHP version';
$string['phpversionerror'] = 'PHP versionen skal være nyere end 4.1.0';
$string['phpversionhelp'] = '<p>Moodle kræver en PHP version der er nyere end 4.1.0.</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['postgres7'] = 'PostgreSQL (postgres7)';
$string['previous'] = 'Forrige';
$string['releasenoteslink'] = 'For information om denne version af Moodle kan du læse <a target=\"_new\" href=\"$a\">Versions info</a> online';
$string['remotedownloadnotallowed'] = 'Download af komponenter til din server er ikke tilladt (\"allow_url_fopen\" er deaktiveret).<br /><br />Du må downloade
<a href=\"$a->url\">$a->url</a>-filen manuelt, kopiere den til \"$a->dest\" til din server og unzippe den der.';
$string['report'] = 'Rapport';
$string['restricted'] = 'Afvist';
$string['safemode'] = 'Safe mode';
$string['safemodeerror'] = 'Moodle kan have problemer med \"Safe mode : on\"';
$string['safemodehelp'] = '<p>Moodle kan have flere problemer når \'safe mode\' er slået til, ikke mindst kan systemet sandsynligvis ikke oprette nye filer.</p>
<p>\'Safe Mode\' er oftest slået til hos paranoide offentlige webhoteller, det kan være at du bliver nødt til at finde et andet webhotel til Moodle.</p>
<p>Du kan godt fortsætte installationen, men der vil sandsynligvis opstå problemer senere.</p>';
$string['sessionautostart'] = 'Session autostart';
$string['sessionautostarterror'] = 'Denne skulle være deaktiveret';
$string['sessionautostarthelp'] = '<p>Moodle kræver at PHP understøtter sessions.</p>
<p>Sessions kan aktiveres i php.ini filen ... kik efter parameteren session.auto_start</p>';
$string['skipdbencodingtest'] = 'Spring DB tegnsæts testen over';
$string['status'] = 'Status';
$string['thischarset'] = 'UTF-8';
$string['thisdirection'] = 'ltr';
$string['thislanguage'] = 'Dansk';
$string['unicoderecommended'] = 'Alle data skal helst gemmes i Unicode (UTF-8). Nye installationer skal helst installeres i databaser der har UTF-8 som standard karaktersæt. Hvis du opgraderer fra en tidligere installation bør du migrere eksisterende data til UTF-8 (se Admin siderne)';
$string['unicoderequired'] = 'Alle data skal gemmes i Unicode (UTF-8). Nye installationer skal helst installeres i databaser der har UTF-8 som standard karaktersæt. Hvis du opgraderer fra en tidligere installation bør du migrere eksisterende data til UTF-8 (se Admin siderne)';
$string['user'] = 'Bruger';
$string['wwwroot'] = 'Web adresse';
$string['wwwrooterror'] = 'Webadressen lader ikke til at være korrekt - Moodleinstallationen kunne ikke findes der.';
$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.
Tillykke med det!';
$string['welcomep30'] = 'Denne udgave af <strong>$a->installername</strong> inkluderer programmerne til at oprette et miljø hvori <strong>Moodle</strong> vil operaere, nemlig:';
$string['welcomep40'] = 'Pakken indeholder også <strong>Moodle $a->moodlerelease ($a->moodleversion)</strong>.';
$string['welcomep50'] = 'Brugen af programmerne i denne pakke er styret af deres respektive licenser. Hele <strong>$a->installername</strong>-pakken er <a href=\"http://www.opensource.org/docs/definition_plain.html\">open source</a> og distribueret under <a href=\"http://www.gnu.org/copyleft/gpl.html\">GPL</a>-licensen.';
$string['welcomep60'] = 'De følgende sider vil hjælpe dig gennem nogle nemme trin til konfiguration og opsætning af <strong>Moodle</strong> på din computer. Du kan acceptere standardindstillingerne eller vælge at ændre dem så de bedre svarer til dine egne behov.';
$string['welcomep70'] = 'Klik på \"Næste\" herunder for at forsætte opsætningen af <strong>Moodle</strong>.';
$string['wrongdestpath'] = 'Forkert destinationssti';
$string['wrongsourcebase'] = 'Forkert kilde-URL';
$string['wrongzipfilename'] = 'Forkert zip-filnavn.';
$string['wwwroot'] = 'Web-adresse';
$string['wwwrooterror'] = 'Webadressen lader ikke til at være korrekt - Moodle-installationen kunne ikke findes der.';
?>
+164 -13
View File
@@ -7,21 +7,172 @@
/// keep us informed using http://moodle.org/bugs Thanks!
///
/// File generated by cvs://contrib/lang2installer/installer_builder
/// using strings defined in installer_strings (same dir)
/// using strings defined in stringnames.txt (same dir)
$string['closewindow'] = 'Dieses Fenster schließen';
$string['continue'] = 'Weiter';
$string['error'] = 'Fehler';
$string['help'] = 'Hilfe';
$string['language'] = 'Sprache';
$string['name'] = 'Name';
$string['next'] = 'Nächste';
$string['ok'] = 'OK';
$string['admindirsetting'] = 'Einige wenige Webhosting-Anbieter benutzen /admin als spezielles Verzeichnis für den Zugang zum Administrationstool oder andere Dinge. Leider kommt es dadurch zu Konflikten mit dem Standard für das Administrationsverzeichnis von Moodle. Du kannst dies ändern, indem du das Verzeichnis /admin in der Moodle-Installation umbenennst. Den geänderten Namen dieses Verzeichnisses musst du hier eingeben, z.B.: <br /> <br /><b>moodleadmin</b><br />
Dies ändert die Links für das Admin-Verzeichnis in Moodle.';
$string['admindirsettingsub'] = 'Einige wenige Webhosting-Anbieter benutzen /admin als spezielles Verzeichnis für den Zugang zum Administrationstool oder andere Dinge. Leider kommt es dadurch zu Konflikten mit dem Standard für das Administrationsverzeichnis von Moodle. Du kannst dies ändern, indem du das Verzeichnis /admin in der Moodle-Installation umbenennst. Den geänderten Namen dieses Verzeichnisses musst du hier eingeben.
z.B.: <br /> <br /><b>moodleadmin</b><br />
Dies ändert die Links für das Admin-Verzeichnis in Moodle.';
$string['chooselanguagesub'] = 'Wähle eine Sprache, die du während der Installation verwenden möchtest. Nach der Installation kannst du die Sprache für die Oberfläche und die Nutzer/innen festlegen.';
$string['configfilenotwritten'] = 'Das Installationsscript kann die Datei config.php, welche die gewählten Einstellungen enthält, nicht automatisch erstellen. Der webuser hat keine Schreibrechte für das Moodle-Verzeichnis. Du kannst den folgenden Code manuell in der Datei config.php speichern und diese dann ins Hauptverzeichnis Ihrer Moodle-Installation kopieren.';
$string['configurationcompletesub'] = 'Moodle speichert deine Konfigurationseinstellungen nun im Hauptverzeichnis deiner Moodle-Installation.';
$string['databasecreationsettings'] = 'Du musst die Datenbankeinstellungen für die Speicherung der Moodle-Daten konfigurieren. Die Datenbank wird automatisch vom Moodle4Windows-Installationsprozess mit den unten festgelegten Einstellungen angelegt:
<br />
<br /> <br />
<b>Typ:</b> \"mysql\" vom Installer festgelegt<br />
<b>Host:</b> \"localhost\" vom Installer festgelegt<br />
<b>Name:</b> Datenbankname, z.B. moodle<br />
<b>User:</b> \"root\" vom Installer festgelegt<br />
<b>Password:</b> Dein Datenbankpasswort<br />
<b>Tables Prefix:</b> optionaler Prefix für alle Tabellennamen';
$string['databasecreationsettingshead'] = 'Du musst Einstellungen für die Datenbank konfigurieren, in der die meisten Moodle-Daten abgelegt werden. Der Installationsprozess erstellt die Datenbanktabellen automatisch auf der Grundlage der Einstellungen.';
$string['databasecreationsettingssub'] = '<b>Typ:</b> \"mysql\" vom Installer festgelegt<br />
<b>Host:</b> \"localhost\" vom Installer festgelegt<br />
<b>Name:</b> Datenbankname, z.B. moodle<br />
<b>User:</b> \"root\" vom Installer festgelegt<br />
<b>Password:</b> Dein Datenbankpasswort<br />
<b>Tables Prefix:</b> optionaler Prefix für alle Tabellennamen';
$string['databasesettings'] = 'Jetzt wird die Datenbank erstellt, in der die meisten Moodle-Daten gespeichert werden. Diese Datenbank muss bereits vorher angelegt sein und du musst den Datenbankuser und das Passwort kennen.<br />
<br />
<b>Typ:</b> mysql oder postgres7<br />
<b>Host:</b> z.B. localhost oder db.isp.com<br />
<b>Name:</b> Datenbankname, z.B. moodle<br />
<b>Nutzer:</b> Dein Benutzername für die Datenbank<br />
<b>Passwort:</b> Dein Passwort für die Datenbank<br />
<b>Tabellen Prefix:</b> optionaler Prefix, der für alle Tabellen genutzt wird';
$string['databasesettingshead'] = 'Du musst nun die Einstellungen für die Datenbank konfigurieren, in der die meisten Moodle-Daten abgelegt werden. Diese Datenbank muss bereits vorher angelegt und mit Nutzernamen und Passwort versehen worden sein, um auf sie zugreifen zu können.';
$string['databasesettingssub'] = '<b>Typ:</b> mysql oder postgres7<br />
<b>Host:</b> z.B. localhost oder db.isp.com<br />
<b>Name:</b> Datenbankname, z.B. moodle<br />
<b>Nutzer:</b> Dein Anmeldename für die Datenbank<br />
<b>Passwort:</b> Dein Passwort für die Datenbank<br />
<b>Tabellen-Prefix:</b> optionaler Prefix für alle Tabellen';
$string['databasesettingssub_mssql'] = '<b>Typ:</b> SQL*Server (ohne UTF-8)<br />
<b>Host:</b> z.B. localhost oder db.isp.com<br />
<b>Name:</b> Datenbankname, z.B. moodle<br />
<b>User:</b> Dein Anmeldename für die Datenbank<br />
<b>Password:</b> Dein Passwort für die Datenbank<br />
<b>Tabellen-Prefix:</b> Prefix für alle Tabellen (notwendig)';
$string['databasesettingssub_mssql_n'] = '<b>Typ:</b> SQL*Server (mit UTF-8)<br />
<b>Host:</b> z.B. localhost oder db.isp.com<br />
<b>Name:</b> Datenbankname, z.B. moodle<br />
<b>User:</b> Dein Anmeldename für die Datenbank<br />
<b>Password:</b> Dein Passwort für die Datenbank<br />
<b>Tabellen-Prefix:</b> Prefix für alle Tabellen (notwendig)';
$string['databasesettingssub_mysql'] = '<b>Typ:</b> MySQL<br />
<b>Host:</b> z.B. localhost oder db.isp.com<br />
<b>Name:</b> Datenbankname, z.B. moodle<br />
<b>User:</b> Dein Anmeldename für die Datenbank<br />
<b>Password:</b> Dein Passwort für die Datenbank<br />
<b>Tabellen-Prefix:</b> Prefix für alle Tabellen (optional)';
$string['databasesettingssub_oci8po'] = '<b>Typ:</b> Oracle<br />
<b>Host:</b> unbenutzt - muss leer bleiben!<br />
<b>Name:</b> vorgegebener Verbindungname zu tnsnames.ora<br />
<b>User:</b> Dein Anmeldename für die Datenbank<br />
<b>Password:</b> Dein Passwort für die Datenbank<br />
<b>Tabellen-Prefix:</b> Prefix für alle Tabellen (notwendig, 2cc. max)';
$string['databasesettingssub_odbc_mssql'] = '<b>Typ:</b> SQL*Server (over ODBC) <b><font color=\"red\">Experimentell! (nicht für den produktiven Einsatz)</font></b><br />
<b>Host:</b> vorgegebener DSN-Name im ODBC-Kontrolldialog<br />
<b>Name:</b> Datenbankname, z.B. moodle<br />
<b>User:</b> Dein Anmeldename für die Datenbank<br />
<b>Password:</b> Dein Passwort für die Datenbank<br />
<b>Tabellen-Prefix:</b> Prefix für alle Tabellen (notwendig)';
$string['databasesettingssub_postgres7'] = '<b>Typ:</b> PostgreSQL<br />
<b>Host:</b> z.B. localhost oder db.isp.com<br />
<b>Name:</b> Datenbankname, z.B. moodle<br />
<b>User:</b> Dein Anmeldename für die Datenbank<br />
<b>Password:</b> Dein Passwort für die Datenbank<br />
<b>Tabellen-Prefix:</b> Prefix für alle Tabellen (notwendig)';
$string['datarooterror'] = 'Das angegebene Datenverzeichnis ist nicht vorhanden und kann nicht angelegt werden. Korrigiere die Pfad-Eingabe oder lege das Verzeichnis manuell an.';
$string['dbconnectionerror'] = 'Eine Verbindung zur angegebenen Datenbank konnte nicht hergestellt werden. Bitte überprüfe deine Eingaben.';
$string['dbwrongencoding'] = 'Die ausgewählte Datenbank läuft unter einem nicht empfohlenen Zeichensatz. Es wäre besser, wenn du eine Unicode (UTF-8) basierte Datenbank verwenden würdest. Du hast die Möglichkeit diesen Schritt zu überspringen. Vermutlich wird dies später bei der Nutzung aber zu Problemen führen.';
$string['dbwronghostserver'] = 'Du musst den oben genannten \"Host\"-Regeln folgen.';
$string['dbwrongnlslang'] = 'Die Umgebungsvariable NLS_LANG deines Webservers muss den Zeichensatz AL32UTF8 benutzen. Lies in der PHP-Dokumentation nach, wie du OCI8 richtig einstellst.';
$string['dbwrongprefix'] = 'Du musst den oben genannten \"Tabellen-Prefix\"- Regeln folgen.';
$string['directorysettings'] = '<p>Bitte überprüfe das Verzeichnis für diese Moodle-Installation.</p>
<p><b>URL-Adresse:</b>
Gib hier die vollständige URL für deine Moodle-Installation an. Sollte deine Seite über mehrere Adressen erreichbar sein, gib die Adresse an, die am häufigsten genutzt wird. Bitte gib am Ende kein Slash ein.</p>
<p><b>Moodle-Verzeichnis:</b>
Gib den absoluten Pfad für deine Moodle-Installation an. Bitte prüfe, ob die Groß-/ Kleinschreibung korrekt ist.</p>
<p><b>Datenverzeichnis:</b>
Moodle benötigt ein Verzeichnis, indem hochgeladene Dateien abgelegt werden. Dieses Verzeichnis muss Lese- und Schreibrechte für den webuser des Servers haben. (üblicherweise \'nobody\' or \'apache\'), aber es sollte nicht direkt über das Internet erreichbar sein.</p>';
$string['directorysettingshead'] = 'Bestätige bitte die Verzeichniseinträge für deine Moodle-Installation';
$string['directorysettingssub'] = '<p><b>URL-Adresse:</b>
Gib hier die vollständige URL für deine Moodle-Installation an. Sollte deine Seite über mehrere Adressen erreichbar sein, gib die Adresse an, die am häufigsten genutzt wird. Bitte gib am Ende kein Slash ein.</p>
<p><b>Moodle-Verzeichnis:</b>
Gib den absoluten Pfad für deine Moodle-Installation an. Bitte prüfe, ob die Groß-/ Kleinschreibung korrekt ist.</p>
<p><b>Datenverzeichnis:</b>
Moodle benötigt ein Verzeichnis, indem hochgeladene Dateien abgelegt werden. Dieses Verzeichnis muss Lese- und Schreibrechte für den webuser des Servers haben. (üblicherweise \'nobody\' or \'apache\'), aber es sollte nicht direkt über das Internet erreichbar sein.</p>';
$string['downloadedfilecheckfailed'] = 'Die Prüfung der heruntergeladenen Datei ist gescheitert';
$string['downloadlanguagenotneeded'] = 'Du kannst die Installation mit dem Sprachpaket \"$a\" fortsetzen.';
$string['downloadlanguagesub'] = 'Du hast nun die Möglichkeit, ein Sprachpaket herunterzuladen und den Installationsprozess mit dieser Sprache fortzusetzen. <br /><br /> Falls du keinen Download durchführen kannst, wird die Installation auf Englisch fortgeführt. (Wenn die Installation abgeschlossen ist, hast du die Option weitere Sprachpakete herunterzuladen.)';
$string['doyouagree'] = 'Hast du diese Bedingungen gelesen, verstanden und stimmst ihnen zu?';
$string['environmenterrortodo'] = 'Du musst zunächst alle Probleme mit der Server-Konfiguration beheben, bevor du mit der Installation dieser Moodle-Version fortfahren kannst.';
$string['environmentsub'] = 'Es wird geprüft, ob die verschiedenen Komponenten deines Systems die Installationsanforderungen erfüllen.';
$string['fileuploadshelp'] = '<p>Dateien hochladen ist auf diesem Server abgestellt.</p>
<p>Moodle kann installiert werden. Es ist aber nicht möglich, Dateien für Kurse oder Bilder in den Profilen hochzuladen.</p>
<p>Um das Hochladen von Dateien zu ermöglichen, musst du oder der Administrator des Servers die Datei php.ini anpassen und die Einstellungen für<b>file_uploads</b> ändern auf \'1\'.</p>';
$string['gdversionhelp'] = '<p>Auf deinem Server ist vermutlich GD nicht installiert. </p>
<p>GD ist eine Bibliothek, die von PHP benötigt wird, um damit Bilder von Moodle angezeigt werden können, z.B. Nutzer-Bilder oder grafische Darstellungen der Log-Daten. Moodle arbeitet auch ohne GD. Die o.g. Funktionen stehen dir dann jedoch nicht zur Verfügung.</p>
<p> Wenn du GD unter UNIX zu PHP hinzufügen möchtest, kompilierst du PHP unter Verwendung des Parameters with-gd </p>
<p>Unter Windows kannst du die Datei php.ini bearbeiten und die Zeile libgd.dll auskommentieren.</p>';
$string['globalsquoteserror'] = 'Prüfe die PHP-Einstellungen: deaktiviere register_globals und/oder aktiviere magic_quotes_gpc';
$string['globalsquoteshelp'] = '<p>Die Kombination von deaktivierten Magic Quotes GPC und aktivierten Register Globals zur gleichen Zeit sind nicht empfehlenswert.</p>
<p>Die empfohlene Einstellung ist <b>magic_quotes_gpc = On</b> und <b>register_globals = Off</b> in deiner php.ini-Datei</p>
<p>Wenn du keinen Zugriff auf die Datei php.ini hast, kannst du die folgende Zeile in der Datei .htaccess im Moodle Verzeichnis einfügen:
<blockquote>php_value magic_quotes_gpc On</blockquote>
<blockquote>php_value register_globals Off</blockquote>
</p>';
$string['iconvrecommended'] = 'Die Installation der ICONV Bibliothek wird zur Leistungsverbesserung dringend empfohlen. Dies ist besonders wichtig, wenn du Sprachen mit anderen als lateinischen Zeichensätzen verwendst.';
$string['magicquotesruntimehelp'] = '<p>Magic Quotes Runtime sollte abgeschaltet \'off\' sein, damit Moodle richtig läuft. </p>
<p>Normalerweise ist dies der Fall. Prüfe die Einstellung <b>magic_quotes_runtime</b> in der Datei php.ini. </p>
<p>Wenn du keinen Zugriff zur Datei php.ini hast, solltest du die folgende Zeile in eine Datei .htacess in deinem Moodle-Verzeichnis einfügen: <blockquote>php_value magic_quotes_runtime Off</blockquote></p>';
$string['mbstringrecommended'] = 'Die Installation der Bibliothek MBSTRING wird zur Leistungsverbesserung dringend empfohlen. Dies ist besonders wichtig, wenn du Sprachen mit anderen als lateinischen Zeichensätzen verwendest.';
$string['memorylimithelp'] = '<p>Die PHP-Einstellung memory_limit für deinen Server ist zur Zeit auf $a eingestellt. </p>
<p>Dies wird vermutlich zu Problemen führen, wenn du Moodle mit vielen Aktivitäten oder vielen Nutzer/innen verwendst. </p>
<p>Wir empfehlen die Einstellung zu erhöhen. Empfohlen werden 40M oder mehr. Dies kannst du auf verschiedene Arten machen:</p>
<ol>
<li>Wenn du PHP neu kompilieren kannst, nimm die Einstellung <i>--enable-memory-limit</i>. Dann kann Moodle die Einstellung selber vornehmen.
<li>Wenn du Zugriff auf die Datei php.ini hast, kannst du die Einstellung <b>memory_limit</b> selber auf z.B. 40M anpassen. Wenn du selber keinen Zugriff hast, fragst du den Server-Admin, dies für dich zu tun.
<li>Auf einigen PHP-Servern kannst du eine .htaccess-Datei im Moodle-Verzeichnis einrichten. Trage darin die folgende Zeile ein: <p><blockquote>php_value memory_limit 40M</blockquote></p>
<p>Achtung: auf einigen Servern hindert diese Einstellung <b>alle</b> PHP-Seiten und du erhältst Fehlermeldungen. Entferne dann den Eintrag in der .htaccess-Datei wieder.</p></li>
</ol>';
$string['mssqlextensionisnotpresentinphp'] = 'PHP wurde nicht richtig konfiguriert, um über die MSSQL-Erweiterung mit SQL*Server zu kommunizieren. Bitte prüfe die Datei php.ini oder kompiliere PHP neu.';
$string['mysql416bypassed'] = 'Wenn du in deiner Website ausschließlich ISO-8859-1 (lateinische) Sprachen verwenden, kannst du eine MySQL-Version ab 4.1.12 (oder höher) verwenden.';
$string['mysqlextensionisnotpresentinphp'] = 'PHP wurde nicht richtig konfiguriert, um über die MySQL-Erweiterung mit MySQL zu kommunizieren. Bitte prüfe die Datei php.ini oder kompiliere PHP neu.';
$string['ociextensionisnotpresentinphp'] = 'PHP wurde nicht richtig konfiguriert, um über die OCI8-Erweiterung mit Oracle zu kommunizieren. Bitte prüfe die Datei php.ini oder kompiliere PHP neu.';
$string['odbcextensionisnotpresentinphp'] = 'PHP wurde nicht richtig konfiguriert, um über die ODBC-Erweiterung mit SQL*Server zu kommunizieren. Bitte prüfe die Datei php.ini oder kompiliere PHP neu.';
$string['parentlanguage'] = 'de_utf8';
$string['password'] = 'Kennwort';
$string['previous'] = 'Frühere';
$string['status'] = 'Status';
$string['pgsqlextensionisnotpresentinphp'] = 'PHP wurde nicht richtig konfiguriert, um über die PGSQL-Erweiterung mit PostgreSQL zu kommunizieren. Bitte prüfe die Datei php.ini oder kompiliere PHP neu.';
$string['php50restricted'] = 'PHP 5.0.x hat eine Reihe bekannter Fehler! Du solltest stattdessen die Versionen 5.1.x bzw. 4.3.x/4.4.x benutzen.';
$string['phpversionhelp'] = '<p>Moodle erwartet PHP mindestens in der Version 4.3.0/4.4.0 oder 5.1.0 (5.0.x weist eine Reihe bekannter Fehler auf).</p>
<p>Du benutzt zur Zeit die Version $a.</p>
<p>Du musst deine PHP-Verson aktualisieren oder auf einen Rechner wechseln, der eine neuere Version von PHP nutzt.<br />
(Im Falle von 5.0.x könntest du auch zu einer Version 4.3.x/4.4.x downgraden)</p>';
$string['releasenoteslink'] = 'Weitere Informationen über diese Version findest du online: <a target=\"_new\" href=\"$a\">Versionsinformation</a>';
$string['remotedownloadnotallowed'] = 'Der Download von Komponenten auf deinen Server ist nicht erlaubt (allow_url_fopen ist deaktiviert). <br /><br /> Die Datei <a href=\"$a->url\">$a->url</a> muss manuell heruntergeladen werden. Kopiere die Datei nach \"$a->dest\" auf deinen Server und entpacke sie dort.';
$string['safemodehelp'] = '<p>Moodle kann beim Betrieb im Safe Mode verschiedene Probleme haben, nicht zuletzt kann es unmöglich sein, neue Dateien zu erzeugen. </p>
<p>Safe Mode ist zumeist nur auf einigen öffentlichen Webservern eingestellt. Suche dir einen Anbieter, der auf diese Einstellung verzichtet oder bitte deinen Dienstleister, dass du auf einen Server \'umziehen\' kannst, der diese Einstellung nicht verwendet.</p>
<p>Du kannst versuchen, die Installation fortzusetzen. Du musst aber später mit Problemen rechnen. </p>';
$string['sessionautostarthelp'] = '<p>Moodle benötigt den Session Support und kann ohne diese Einstellung nicht funktionieren.</p>
<p>Sessions sind durch Einstellungen in der Datei php.ini möglich. Bitte suche nach der Einstellung für session.auto_start </p>';
$string['thischarset'] = 'UTF-8';
$string['thisdirection'] = 'ltr';
$string['thislanguage'] = 'Deutsch - Du';
$string['user'] = 'Nutzer';
$string['unicoderecommended'] = 'Es wird empfohlen, alle Daten im Format Unicode UTF8 zu speichern. Neuinstallationen sollten mit Datenbanken vorgenommen werden, die als Standardzeichensatz UTF8 benutzen. Wenn du ein Upgrade durchführst, solltest du die UTF8-Migration starten (Admin-Seite).';
$string['unicoderequired'] = 'Es ist notwendig, alle Daten im Format Unicode UTF8 zu speichern. Neuinstallationen müssen mit Datenbanken vorgenommen werden, die als Standardzeichensatz UTF8 benutzen. Wenn du ein Upgrade durchführst, solltest du die UTF8-Migration starten (Admin-Seite).';
$string['welcomep20'] = 'Du hast das Paket <strong>$a->packname $a->packversion</strong> erfolgreich auf deinem Computer installiert.';
$string['welcomep30'] = 'Diese Version von <strong>$a->installername</strong> enthält folgende Anwendungen, mit denen du <strong>Moodle</strong> ausführen kannst:';
$string['welcomep60'] = 'Die folgenden Seiten führen dich in einfachen Schritten durch die Konfiguration und Installation von <strong>Moodle</strong> auf deinem Computer. Du kannst die vorgeschlagenen Einstellungen übernehmen oder an deine Bedürfnisse anpassen.';
$string['welcomep70'] = 'Klicke auf den \"Weiter\"-Button, um mit dem Setup von <string>Moodle</string> fortzufahren.';
?>
+342 -78
View File
@@ -7,156 +7,420 @@
/// keep us informed using http://moodle.org/bugs Thanks!
///
/// File generated by cvs://contrib/lang2installer/installer_builder
/// using strings defined in installer_strings (same dir)
/// using strings defined in stringnames.txt (same dir)
$string['aborting'] = 'Installation abbrechen';
$string['admindirerror'] = 'Das angegebene Admin-Verzeichnis ist falsch.';
$string['admindirname'] = 'Name für das Admin-Verzeichnis';
$string['admindirsettinghead'] = 'Admin-Verzeichnis festlegen ...';
$string['admindirsettingsub'] = 'Einige wenige Webhosting-Anbieter benutzen /admin als spezielles Verzeichnis für den Zugang zum Administrationstool oder andere Dinge. Leider kommt es dadurch zu Konflikten mit dem Standard für das Administrationsverzeichnis von Moodle. Sie können dies ändern, indem Sie das admin-Verzeichnis in der Moodle-Installation umbenennen. Den gewählten Namen dieses Verzeichnisses müssen Sie hier eingeben.
Zum Beispiel: <br /> <br /><b>moodleadmin</b><br />
$string['admindirsetting'] = 'Einige wenige Webhosting-Anbieter benutzen /admin als spezielles Verzeichnis für den Zugang zum Administrationstool oder andere Dinge. Leider kommt es dadurch zu Konflikten mit dem Standard für das Administrationsverzeichnis von Moodle. Sie können dies ändern, indem Sie das Verzeichnis /admin in der Moodle-Installation umbenennen. Den geänderten Namen dieses Verzeichnisses müssen Sie hier eingeben, z.B.: <br /> <br /><b>moodleadmin</b><br />
Dies ändert die Links für das Admin-Verzeichnis in Moodle.';
$string['bypassed'] = 'Uberbrückt';
$string['cannotcreatelangdir'] = 'Das Verzeichnis lang kann nicht angelegt werden.';
$string['cannotcreatetempdir'] = 'Das Verzeichnis temp kann nicht angelegt werden.';
$string['cannotdownloadcomponents'] = 'Komponenten können nicht heruntergeladen werden.';
$string['admindirsettinghead'] = 'Admin-Verzeichnis festlegen ...';
$string['admindirsettingsub'] = 'Einige wenige Webhosting-Anbieter benutzen /admin als spezielles Verzeichnis für den Zugang zum Administrationstool oder andere Dinge. Leider kommt es dadurch zu Konflikten mit dem Standard für das Administrationsverzeichnis von Moodle. Sie können dies ändern, indem Sie das Verzeichnis /admin in der Moodle-Installation umbenennen. Den geänderten Namen dieses Verzeichnisses müssen Sie hier eingeben.
z.B.: <br /> <br /><b>moodleadmin</b><br />
Dies ändert die Links für das Admin-Verzeichnis in Moodle.';
$string['adminemail'] = 'E-Mail :';
$string['adminfirstname'] = 'Vorname :';
$string['admininfo'] = 'Administratordetails';
$string['adminlastname'] = 'Nachname :';
$string['adminpassword'] = 'Passwort :';
$string['adminusername'] = 'Anmeldename :';
$string['askcontinue'] = 'Fortsetzen (ja/nein) :';
$string['availabledbtypes'] = 'Verfügbare Datenbank-Typen';
$string['availablelangs'] = 'Liste der verfügbaren Sprachen';
$string['bypassed'] = 'Unberücksichtigt';
$string['cannotconnecttodb'] = 'Verbindung zur Datenbank gescheitert';
$string['cannotcreatelangdir'] = 'Verzeichnis \"lang\" kann nicht angelegt werden';
$string['cannotcreatetempdir'] = 'Das Verzeichnis \"temp\" kann nicht angelegt werden.';
$string['cannotdownloadcomponents'] = 'Einige Komponenten können nicht heruntergeladen werden.';
$string['cannotdownloadzipfile'] = 'ZIP-Datei kann nicht heruntergeladen werden.';
$string['cannotfindcomponent'] = 'Komponente wurde nicht gefunden.';
$string['cannotsavemd5file'] = 'md5-Datei konnte nicht gespeichert werden.';
$string['cannotsavezipfile'] = 'ZIP-Datei konnte nicht gespeichert werden';
$string['cannotunzipfile'] = 'Datei konnte nicht entpackt werden.';
$string['cannotfindcomponent'] = 'Eine Komponente kann nicht gefunden werden';
$string['cannotsavemd5file'] = 'Die md5-Datei kann nicht gespeichert werden.';
$string['cannotsavezipfile'] = 'Die ZIP-Datei kann nicht gespeichert werden.';
$string['cannotunzipfile'] = 'Die Datei kann nicht entpackt werden.';
$string['caution'] = 'Warnung';
$string['check'] = 'Prüfen';
$string['chooselanguagehead'] = 'Einige wenige Webhosting-Anbieter benutzen /admin als spezielles Verzeichnis für den Zugang zum Administrationstool oder andere Dinge. Leider kommt es dadurch zu Konflikten mit dem Standard für das Administrationsverzeichnis von Moodle. Sie können dies ändern, indem Sie das admin-Verzeichnis in der Moodle-Installation umbenennen. Den gewählten Namen dieses Verzeichnisses müssen Sie hier eingeben.';
$string['chooselanguagesub'] = 'Wählen Sie eine Sprache die Sie während der Installation verwenden wollen. Nach der Installation können Sie die Sprache für die Oberfläche und die Nutzer/innen festlegen.';
$string['checkingphpsettings'] = 'PHP-Einstellungen prüfen';
$string['chooselanguage'] = 'Sprache wählen';
$string['chooselanguagehead'] = 'Sprache wählen';
$string['chooselanguagesub'] = 'Wählen Sie eine Sprache, die Sie während der Installation verwenden wollen. Nach der Installation können Sie die Sprache für die Oberfläche und die Nutzer/innen festlegen.';
$string['closewindow'] = 'Dieses Fenster schließen';
$string['compatibilitysettingshead'] = 'Prüfung Ihrer PHP- Einstellungen ...';
$string['compatibilitysettings'] = 'Prüfung Ihrer PHP-Einstellungen ...';
$string['compatibilitysettingshead'] = 'Prüfung Ihrer PHP-Einstellungen ...';
$string['compatibilitysettingssub'] = 'Alle Tests sollten vom Server bestätigt werden, damit Moodle später reibungslos laufen kann.';
$string['componentisuptodate'] = 'Die Komponente ist nicht aktuell.';
$string['configfilenotwritten'] = 'Ds Installationsscript kann die Datei config.php, welche die gewählten Einstellungen enthält, nicht automatisch erstellen, weil der web-user keine Schreibrechte für das Moodle-Verzeichnis hat. Sie können den folgenden Code manuell in einer Datei config.php speichern und diese ins Moodle- Hauptverzeichnis kopieren.';
$string['componentisuptodate'] = 'Die Komponente ist aktuell.';
$string['configfilecreated'] = 'Konfiguartionsdatei wurde erfolgreich erstellt';
$string['configfiledoesnotexist'] = 'Keine Konfiguarationsdatei gefunden!!!';
$string['configfilenotwritten'] = 'Das Installationsscript kann die Datei config.php, welche die gewählten Einstellungen enthält, nicht automatisch erstellen. Der web-user hat keine Schreibrechte für das Moodle-Verzeichnis. Sie können den folgenden Code manuell in der Datei config.php speichern und diese dann ins Hauptverzeichnis Ihrer Moodle-Installation kopieren.';
$string['configfilewritten'] = 'Die Datei config.php wurde erfolgreich erstellt';
$string['configurationcompletehead'] = 'Die Konfiguration ist abgeschlossen.';
$string['configurationcompletesub'] = 'Moodle speichert Ihre Konfigurationseinstellungen nun im root-Verzeichnis Ihrer Moodle-Installation.';
$string['configurationcomplete'] = 'Konfiguration ist abgeschlossen.';
$string['configurationcompletehead'] = 'Konfiguration ist abgeschlossen';
$string['configurationcompletesub'] = 'Moodle speichert Ihre Konfigurationseinstellungen nun im Hauptverzeichnis Ihrer Moodle-Installation.';
$string['configurationfileexist'] = 'Konfiguarationsdatei existiert bereits!';
$string['continue'] = 'Weiter';
$string['creatingconfigfile'] = 'Konfiguarationsdatei wird erstellt ...';
$string['ctyperecommended'] = 'Die Installation der optionalen Bibliothek ctype wird empfohlen, um die Geschwindigkeit der Website zu steigern. Dies ist besonders wichtig, wenn Sie Sprachen mit anderen als lateinischen Zeichensätzen verwenden.';
$string['ctyperequired'] = 'Die PHP-Erweiterung ctype wird von Moodle benötigt, um die Geschwindigkeit der Website zu steigern und die Mehrsprachkompatibilität zu ermöglichen.';
$string['curlrecommended'] = 'Die Installation der optionalen Bibliothek cURL wird empfohlen, um die Netzwerk-Funktionalität von Moodle einzuschalten.';
$string['curlrequired'] = 'Die PHP-Erweiterung cURL wird von Moodle benötigt, um mit den Moodle Repositories zu kommunizieren';
$string['customcheck'] = 'Weitere Überprüfungen';
$string['database'] = 'Datenbank';
$string['databasecreationsettingshead'] = 'Sie müssen nun die Einstellungen für die Datenbank, in der die meisten Moodle-Daten abgelegt werden, konfigurieren. Der Istallationsprozess erstellt die Datenbanktabellen automatisch auf der Grundlage der Einstellungen.';
$string['databasecreationsettingssub'] = '<b>Typ:</b> \"mysql\" vom Installer festgelegt<br />
<b>Host:</b> \"localhost\" vom Installer festgelegt<br />
$string['databasecreationsettings'] = 'Sie müssen die Datenbankeinstellungen für die Speicherung der Moodle-Daten konfigurieren. Die Datenbank wird automatisch vom Moodle4Windows-Installationsprozess mit den unten festgelegten Einstellungen angelegt:
<br />
<br /> <br />
<b>Typ:</b> vom Installer festgelegt auf \"mysql\"<br />
<b>Host:</b> vom Installer festgelegt auf \"localhost\"<br />
<b>Name:</b> Datenbankname, z.B. moodle<br />
<b>User:</b> \"root\" vom Installer festgelegt<br />
<b>Password:</b> Ihr Datenbankpasswort<br />
<b>Tables Prefix:</b> optionaler Prefix für alle Tabellennamen';
$string['databasesettingshead'] = 'Sie müssen nun die Einstellungen für die Datenbank, in der die meisten Moodle-Daten abgelegt werden, konfigurieren. Die Datenbank muss bereits mit Nutzernamen und Passwort angelegt worden sein, um auf sie zugreifen zu können.';
<b>Nutzer:</b> vom Installer festgelegt auf \"root\"<br />
<b>Passwort:</b> Ihr Datenbankpasswort<br />
<b>Tabellen-Prefix:</b> optionaler Prefix für alle Tabellennamen';
$string['databasecreationsettingshead'] = 'Sie müssen Einstellungen für die Datenbank konfigurieren, in der die meisten Moodle-Daten abgelegt werden. Der Installationsprozess erstellt die Datenbanktabellen automatisch auf der Grundlage der Einstellungen.';
$string['databasecreationsettingssub'] = '<b>Typ:</b> vom Installer festgelegt auf \"mysql\" <br />
<b>Host:</b> vom Installer festgelegt auf \"localhost\"<br />
<b>Name:</b> Datenbankname, z.B. moodle<br />
<b>Nutzer:</b> vom Installer festgelegt auf \"root\"<br />
<b>Passwort:</b> Ihr Datenbankpasswort<br />
<b>Tabellen-Prefix:</b> optionaler Prefix für alle Tabellennamen';
$string['databasecreationsettingssub2'] = '<b>Typ:</b> vom Installer festgelegt auf \"mysqli\"<br />
<b>Host:</b> vom Installer festgelegt auf \"localhost\"<br />
<b>Name:</b> Datenbankname, z.B. moodle<br />
<b>Nutzer:</b> vom Installer festgelegt auf \"root\"<br />
<b>Passwort:</b> Ihr Datenbankpasswort<br />
<b>Tabellen-Prefix:</b> optionaler Prefix für alle Tabellennamen';
$string['databasehost'] = 'Datenbank-Server :';
$string['databasename'] = 'Datenbank-Name :';
$string['databasepass'] = 'Datenbank-Passwort :';
$string['databasesettings'] = 'Jetzt wird die Datenbank erstellt, in der die meisten Moodle-Daten gespeichert werden. Diese Datenbank muss bereits vorher angelegt sein und Sie müssen den Datenbankuser und das Passwort kennen.<br />
<br />
<b>Typ:</b> mysql oder postgres7<br />
<b>Host:</b> z.B. localhost oder db.isp.com<br />
<b>Name:</b> Datenbankname, z.B. moodle<br />
<b>Nutzer:</b> Ihr Benutzername für die Datenbank<br />
<b>Passwort:</b> Ihr Passwort für die Datenbank<br />
<b>Tabellen Prefix:</b> optionaler Prefix für alle Tabellennamen';
$string['databasesettingsformoodle'] = 'Datenbank-Einstellungen für Moodle';
$string['databasesettingshead'] = 'Sie müssen nun die Einstellungen für die Datenbank konfigurieren, in der die meisten Moodle-Daten abgelegt werden. Diese Datenbank muss bereits vorher angelegt und mit Nutzernamen und Passwort versehen worden sein, um auf sie zugreifen zu können.';
$string['databasesettingssub'] = '<b>Typ:</b> mysql oder postgres7<br />
<b>Host:</b> z.B. localhost oder db.isp.com<br />
<b>Name:</b> Datenbankname, z.B. moodle<br />
<b>Nutzer:</b> Ihr Benutzername für die Datenbank<br />
<b>Passwort:</b> Ihr Passwort für die Datenbank<br />
<b>Tabellen Prefix:</b> optionaler Prefix, der für aller Tabellen genutzt wird ';
$string['dataroot'] = 'Datenverzeichnis';
$string['datarooterror'] = 'Das angegebene Datenverzeichnis ist nicht vorhanden und kann nicht angelegt werden. Korrigieren Sie diese Eingabe oder legen Sie das Verzeichnis manuell an.';
<b>Tabellen-Prefix:</b> optionaler Prefix für alle Tabellennamen';
$string['databasesettingssub_mssql'] = '<b>Typ:</b> SQL*Server (ohne UTF-8)<b><strong class=\"errormsg\">Experimentell! (nicht für Produktivumgebungen)</strong></b><br /><br />
<b>Host:</b> z.B. localhost oder db.isp.com<br />
<b>Name:</b> Datenbankname, z.B. moodle<br />
<b>Nutzer:</b> Ihr Benutzername für die Datenbank<br />
<b>Passwort:</b> Ihr Passwort für die Datenbank<br />
<b>Tabellen-Prefix:</b> Prefix für alle Tabellennamen (notwendig)';
$string['databasesettingssub_mssql_n'] = '<b>Typ:</b> SQL*Server (mit UTF-8)<br />
<b>Host:</b> z.B. localhost oder db.isp.com<br />
<b>Name:</b> Datenbankname, z.B. moodle<br />
<b>Nutzer:</b> Ihr Anmeldename für die Datenbank<br />
<b>Passwort:</b> Ihr Passwort für die Datenbank<br />
<b>Tabellen-Prefix:</b> Prefix für alle Tabellen (notwendig)';
$string['databasesettingssub_mysql'] = '<b>Typ:</b> MySQL<br />
<b>Host:</b> z.B. localhost oder db.isp.com<br />
<b>Name:</b> Datenbankname, z.B. moodle<br />
<b>Nutzer:</b> Ihr Benutzername für die Datenbank<br />
<b>Passwort:</b> Ihr Passwort für die Datenbank<br />
<b>Tabellen-Prefix:</b> Prefix für alle Tabellen (optional)';
$string['databasesettingssub_mysqli'] = '<b>Typ:</b> Improved MySQL<br />
<b>Host:</b> z.B. localhost oder db.domain.com<br />
<b>Name:</b> Datenbank-Name, z.B moodle<br />
<b>Nutzer:</b> Ihr Benutzername für die Datenbank<br />
<b>Passwort:</b> Ihr Passwort für die Datenbank<br />
<b>Tabellen-Prefix:</b> Prefix für alle Tabellen (optional)';
$string['databasesettingssub_oci8po'] = '<b>Typ:</b> Oracle<br />
<b>Host:</b> unbenutzt - muss leer bleiben!<br />
<b>Name:</b> vorgegebener Verbindungname zu tnsnames.ora<br />
<b>Nutzer:</b> Ihr Benutzername für die Datenbank<br />
<b>Passwort:</b> Ihr Passwort für die Datenbank<br />
<b>Tabellen-Prefix:</b> Prefix für alle Tabellen (notwendig, 2cc. max)';
$string['databasesettingssub_odbc_mssql'] = '<b>Typ:</b> SQL*Server (over ODBC) <b><font color=\"red\">Experimentell! (nicht für den produktiven Einsatz)</font></b><br />
<b>Host:</b> vorgegebener DSN-Name im ODBC-Kontrolldialog<br />
<b>Name:</b> Datenbankname, z.B. moodle<br />
<b>Nutzer:</b> Ihr Benutzername für die Datenbank<br />
<b>Passwort:</b> Ihr Passwort für die Datenbank<br />
<b>Tabellen-Prefix:</b> Prefix für alle Tabellen (notwendig)';
$string['databasesettingssub_postgres7'] = '<b>Typ:</b> PostgreSQL<br />
<b>Host:</b> z.B. localhost oder db.isp.com<br />
<b>Name:</b> Datenbankname, z.B. moodle<br />
<b>Nutzer:</b> Ihr Benutzername für die Datenbank<br />
<b>Passwort:</b> Ihr Passwort für die Datenbank<br />
<b>Tabellen-Prefix:</b> Prefix für alle Tabellen (notwendig)';
$string['databasesettingssub_sqlite3_pdo'] = '<b>Typ:</b> SQLite 3 (PDO) <b><strong class=\"errormsg\">Experimentell! (nicht für produktive Server benutzen!!)</strong></b><br />
<b>Host:</b> Pfad zum Verzeichnis, in dem die Datenbankdatei gespeichert werden soll (vollständiger Pfad); mit localhost oder einem leeren Feld wird dasdas Moodle Datenverzeichnis verwendet<br />
<b>Name:</b> Datenbankname, z.B. moodle (optional)<br />
<b>Nutzer:</b> Ihr Benutzername für die Datenbank (optional)<br />
<b>Passwort:</b> Ihr Passwort für die Datenbank (optional)<br />
<b>Tabellen-Prefix:</b> optionaler Prefix für alle Tabellen<br />
Der Name der Datenbankdatei wird über den Nutzernamen erkannt, der Datenbankname und das Passwort sind oben angegeben.';
$string['databasesettingswillbecreated'] = '<b>Hinweis: </b> Das Installationsprogramm wird versuchen, automatisch eine Datenbank anzulegen, sofern diese noch nicht besteht.';
$string['databasetype'] = 'Datenbank-Typ :';
$string['databaseuser'] = 'Datenbank-Nutzer :';
$string['dataroot'] = 'Daten-Verzeichnis';
$string['datarooterror'] = 'Das angegebene Datenverzeichnis ist nicht vorhanden und kann nicht angelegt werden. Korrigieren Sie die Pfad-Eingabe oder legen Sie das Verzeichnis manuell an.';
$string['datarootpublicerror'] = 'Das von Ihnen angegebene Verzeichnis dataroot ist direkt aus dem Internet zugänglich. Sie müssen das Verzeichnis ändern!';
$string['dbconnectionerror'] = 'Eine Verbindung zur angegebenen Datenbank konnte nicht hergestellt werden. Bitte überprüfen Sie Ihre Eingaben.';
$string['dbcreationerror'] = 'Fehler beim Anlegen der Datenbank. Die Datenbank konnte mit diesen Einstellungen nicht erstellt werden.';
$string['dbhost'] = 'Name des Datenbankservers';
$string['dbprefix'] = 'Prefix für alle Tabellen';
$string['dbtype'] = 'Datenbankart';
$string['dbwrongencoding'] = 'Die ausgewählte Datenbank läuft unter einem nicht empfohlenen Zeichensatz. Es wäre besser wenn Sie eine Unicode (UTF-8) basierte Datenbank verwenden würden. Sie haben die Möglichkeit diesen Schritt zu überspringen. Vermutlch wirddies später bei der Nutzung aber zu Problemen führen.';
$string['directorysettingshead'] = 'Bestätigen Sie bitte die Verzeichniseinträge für Ihre Moodle-Installation';
$string['directorysettingssub'] = '<b>URL Adresse:</b>
Geben Sie hier die vollständige URL für Ihre Moodle Installation an. Sollte Ihre Seite über mehrere Adressen erreichbar sein, geben Sie die Adresse an, die am häufigsten genutzt wird. Bitte geben Sie am Ende kein Backslash ein.<br /><br />
$string['dbhost'] = 'Server';
$string['dbpass'] = 'Passwort';
$string['dbprefix'] = 'Tabellen-Prefix';
$string['dbtype'] = 'Typ';
$string['dbwrongencoding'] = 'Die ausgewählte Datenbank läuft unter einem nicht empfohlenen Zeichensatz. Es wäre besser, wenn Sie eine Unicode (UTF-8) basierte Datenbank verwenden würden. Sie haben die Möglichkeit diesen Schritt zu überspringen. Vermutlch wird dies später bei der Nutzung aber zu Problemen führen.
Die ausgewählte Datenbank läuft unter einem nicht empfohlenen Zeichensatz. Es wäre besser, wenn Sie eine Unicode (UTF-8) basierte Datenbank verwenden würden. Sie haben die Möglichkeit diesen Schritt zu überspringen. Vermutlich wird dies später bei der Nutzung aber zu Problemen führen.';
$string['dbwronghostserver'] = 'Sie müssen den oben genannten \"Server\"-Regeln folgen.';
$string['dbwrongnlslang'] = 'Die Umgebungsvariable NLS_LANG Ihres Webservers muss den Zeichensatz AL32UTF8 benutzen. Lesen Sie in der PHP-Dokumentation nach, wie Sie OCI8 richtig einstellen.';
$string['dbwrongprefix'] = 'Sie müssen den oben genannten \"Tabellen-Prefix\"- Regeln folgen.';
$string['directorysettings'] = '<p>Bitte überprüfen Sie das Verzeichnis für diese Moodle-Installation.</p>
<b>Moodle Verzeichnis:</b>
Geben Sie den absoluten Pfad für Ihre Moodle Installation an. Bitte beachten Sie, ob die Groß- und Kleinschreibung korrekt ist.<br /><br />
<p><b>URL-Adresse:</b>
Geben Sie hier die vollständige URL für Ihre Moodle-Installation an. Sollte Ihre Seite über mehrere Adressen erreichbar sein, geben Sie die Adresse an, die am häufigsten genutzt wird. Bitte geben Sie am Ende kein Slash ein.</p>
<b>Datenverzeichnis:</b>
<p><b>Moodle-Verzeichnis:</b>
Geben Sie den absoluten Pfad für Ihre Moodle-Installation an. Bitte prüfen Sie, ob die Groß- und Kleinschreibung korrekt ist.</p>
<p><b>Datenverzeichnis:</b>
Moodle benötigt ein Verzeichnis, indem hochgeladene Dateien abgelegt werden. Dieses Verzeichnis muss Lese- und Schreibrechte für den
Webuser des Servers haben. (üblicherweise \'nobody\' or \'apache\'), aber es sollte nicht direkt über das Internet erreichbar sein.';
web-user des Servers haben. (üblicherweise \'nobody\' or \'apache\'), aber es sollte nicht direkt über das Internet erreichbar sein.</p>';
$string['directorysettingshead'] = 'Bestätigen Sie bitte die Verzeichniseinträge für Ihre Moodle-Installation';
$string['directorysettingssub'] = '<p><b>URL-Adresse:</b>
Geben Sie hier die vollständige URL für Ihre Moodle-Installation an. Sollte Ihre Seite über mehrere Adressen erreichbar sein, geben Sie die Adresse an, die am häufigsten genutzt wird. Bitte geben Sie am Ende kein Slash ein.</p>
<p><b>Moodle-Verzeichnis:</b>
Geben Sie den absoluten Pfad für Ihre Moodle-Installation an. Bitte prüfen Sie, ob die Groß- und Kleinschreibung korrekt ist.</p>
<p><b>Datenverzeichnis:</b>
Moodle benötigt ein Verzeichnis, indem hochgeladene Dateien abgelegt werden. Dieses Verzeichnis muss Lese- und Schreibrechte für den
web-user des Servers haben. (üblicherweise \'nobody\' or \'apache\'), aber es sollte nicht direkt über das Internet erreichbar sein.</p>';
$string['dirroot'] = 'Moodle-Verzeichnis';
$string['dirrooterror'] = 'Die Einstellungen für das Moodle-Verzeichnis sind nicht korrekt. Es wurde keine Moodle-Installation gefunden. Die anderen Werte wurden gelöscht.';
$string['disagreelicense'] = 'Das Upgrade wird nicht ohne Zustimmung zur GPL durchgeführt!';
$string['download'] = 'Herunterladen';
$string['downloadedfilecheckfailed'] = 'Prüfung der heruntergeladenen Datei ist gescheitert';
$string['downloadlanguagebutton'] = 'Download des \"$a\" Sprachpakets';
$string['downloadedfilecheckfailed'] = 'Die Überprüfung der heruntergeladenen Datei ist gescheitert';
$string['downloadlanguagebutton'] = 'Download des Sprachpakets: $a';
$string['downloadlanguagehead'] = 'Download der Sprachpakete';
$string['downloadlanguagenotneeded'] = 'Sie können die Installation mit dem Sprachpaket \"$a\" fortsetzen.';
$string['downloadlanguagesub'] = 'Sie haben nun die Möglichkeit ein Sprachpaket herunterzuladen und den Installationsprozess mit dieser Sprache fortzusetzen. <br /><br /> Falls sie keinen Download durchführen können, wird die Installation auf Englisch fortgeführt. (Wenn die Installation abgeschlossen ist, haben Sie die Option weitere Sprachpakete herunterzuladen.)';
$string['environmenterrortodo'] = 'Sie müssen zunächst alle Probleme mit Einstellungen des Servers beheben, bevor Sie mit der Installation von Moodle fortfahren können.';
$string['downloadlanguagepack'] = 'Möchten Sie jetzt das Sprachpaket herunterladen (ja/nein) :';
$string['downloadlanguagesub'] = 'Sie haben nun die Möglichkeit, ein Sprachpaket herunterzuladen und den Installationsprozess mit dieser Sprache fortzusetzen. <br /><br /> Falls sie keinen Download durchführen können, wird die Installation auf Englisch fortgeführt. (Wenn die Installation abgeschlossen ist, haben Sie die Option weitere Sprachpakete herunterzuladen.)';
$string['downloadsuccess'] = 'Sprachpaket erfolgreich heruntergeladen';
$string['doyouagree'] = 'Stimmen Sie zu ? (ja/nein)';
$string['environmenterrortodo'] = 'Sie müssen zunächst alle Probleme mit der Server-Konfiguration beheben, bevor Sie mit der Installation dieser Moodle-Version fortfahren können.';
$string['environmenthead'] = 'Prüfung der Installationsvoraussetzungen';
$string['environmentrecommendinstall'] = 'sollte installiert bzw. aktiviert werden';
$string['environmentrecommendversion'] = 'Version $a->needed wird empfohlen. Derzeit ist $a->current installiert.';
$string['environmentrequireinstall'] = 'muss installiert /aktiviert werden.';
$string['environmentrequireversion'] = 'Version $a->needed muss installiert werden. Derzeit ist $a->current installiert.';
$string['environmentsub'] = 'Wir prüfen nun, ob die verschiedenen Komponenten Ihres Systems die Installationsanforderungen erfüllen.';
$string['environmentxmlerror'] = 'Beim Auslesen der Einstellungen auf dem Server ist ein Fehler aufgetreten ($a->error_code)';
$string['environmentrecommendcustomcheck'] = 'Wenn dieser Test fehlschlägt, dann ist ein mögliches Problem vorhanden.';
$string['environmentrecommendinstall'] = 'sollte installiert und aktiviert sein.';
$string['environmentrecommendversion'] = 'Version $a->needed wird empfohlen - aktuell ist $a->current installiert.';
$string['environmentrequirecustomcheck'] = 'Dieser Test muss erfolgreich verlaufen.';
$string['environmentrequireinstall'] = 'muss installiert und aktiviert sein.';
$string['environmentrequireversion'] = 'Version $a->needed ist erforderlich - aktuell ist $a->current installiert.';
$string['environmentsub'] = 'Es wird geprüft, ob die verschiedenen Komponenten Ihres Systems die Installationsanforderungen erfüllen.';
$string['environmentxmlerror'] = 'Fehler beim Auslesen der Server-Konfiguration ($a->error_code)';
$string['error'] = 'Fehler';
$string['errorsinenvironment'] = 'Fehler bei den Anforderungen!';
$string['fail'] = 'Fehlgeschlagen';
$string['fileuploads'] = 'Dateien hochladen';
$string['fileuploadserror'] = 'Dies sollte auf \'on\' stehen';
$string['fileuploadserror'] = 'Dies sollte eingeschaltet sein';
$string['fileuploadshelp'] = '<p>Dateien hochladen ist auf diesem Server abgestellt.</p> <p>Moodle kann installiert werden. Es ist aber nicht möglich, Dateien für Kurse oder Bilder in den Profilen hochzuladen.</p> <p>Um das Hochladen von Dateien zu ermöglichen, müssen Sie oder der Administrator des Servers die Datei php.ini anpassen und die Einstellungen für<b>file_uploads</b> ändern auf \'1\'.</p>';
$string['gdversion'] = 'GD-Version';
$string['gdversionerror'] = 'Die GD-Bibliothek sollte verfügbar sein, um Bilder zu erzeugen und anzuzeigen.';
$string['globalsquotes'] = 'Unsichere Einstellung von Globals';
$string['gdversionhelp'] = '<p>Auf Ihrem Server ist vermutlich GD nicht installiert. </p>
<p>GD ist eine Bibliothek, die von PHP benötigt wird, um damit Bilder von Moodle angezeigt werden können, z.B. Nutzer-Bilder oder grafische Darstellungen der Log-Daten. Moodle arbeitet auch ohne GD. Die o.g. Funktionen stehen Ihnen dann jedoch nicht zur Verfügung.</p>
<p> Wenn Sie GD unter UNIX zu PHP hinzufügen wollen, kompilieren Sie PHP unter Verwendung des Parameters with-gd </p>
<p>Unter Windows können Sie die Datei php.ini bearbeiten und die Zeile libgd.dll auskommentieren.</p>';
$string['globalsquotes'] = 'Unsichere Einstellung von Globalparametern';
$string['globalsquoteserror'] = 'Prüfen Sie die PHP-Einstellungen: deaktivieren Sie register_globals und/oder aktivieren Sie magic_quotes_gpc';
$string['globalsquoteshelp'] = '<p>Die Kombination von deaktivierten Magic Quotes GPC und aktivierten Register Globals zur gleichen Zeit sind nicht empfehlenswert.</p>
<p>Die empfohlene Einstellung ist <b>magic_quotes_gpc = On</b> und <b>register_globals = Off</b> in Ihrer php.ini-Datei</p>
<p>Wenn Sie keinen Zugriff auf die Datei php.ini haben, können Sie die folgende Zeile in der Datei .htaccess im Moodle Verzeichnis einfügen:
<blockquote><div>php_value magic_quotes_gpc On</div></blockquote>
<blockquote><div>php_value register_globals Off</div></blockquote>
</p>';
$string['globalswarning'] = '<p><strong>Sicherheitshinweis</strong>: Um ordnungsgemäß funktionieren zu können, benötigt <br />Moodle mehrere Änderungen in Ihren aktuellen PHP-Einstellungen.<p/> <p>Sie <em>müssen</em> den Parameter <code>register_globals=off</code> setzen.<p>Diese Einstellung können Sie vornehmen, in dem Sie die Datei <code>php.ini</code>, die Apache/IIS <br />Konfiguration oder die Datei <code>.htaccess</code> bearbeiten.</p>';
$string['help'] = 'Hilfe';
$string['iconvrecommended'] = 'Die Installation der ICONV Bibliothek wird zur Leistungsverbesserung dringend empfohlen. Dies ist besonders wichtig wenn Sie Sprachen mit anderen als lateinischen Zeichensätzen verwenden.';
$string['info'] = 'Information';
$string['iconvrecommended'] = 'Die Installation der ICONV Bibliothek wird zur Leistungsverbesserung dringend empfohlen. Dies ist besonders wichtig, wenn Sie Sprachen mit anderen als lateinischen Zeichensätzen verwenden.';
$string['info'] = 'Informationen';
$string['inputdatadirectory'] = 'Daten-Verzeichnis :';
$string['inputwebadress'] = 'Web-Adresse';
$string['inputwebdirectory'] = 'Moodle-Verzeichnis :';
$string['installation'] = 'Installation';
$string['installationiscomplete'] = 'Die Installation ist abgeschlossen!';
$string['invalidargumenthelp'] = 'Fehler: Ungültige Argumente
Benutzung: $php cliupgrade.php OPTIONS
Geben Sie --help ein, um weitere Hilfe zu bekommen';
$string['invalidemail'] = 'Ungültige E-Mail';
$string['invalidhost'] = 'Ungültiger Server';
$string['invalidint'] = 'Fehler: Wert ist keine Zahl';
$string['invalidintrange'] = 'Fehler: Wert ist außerhalb des Bereichs';
$string['invalidmd5'] = 'md5 ungültig';
$string['langdownloaderror'] = 'Leider konnte die Sprache \"$a\" nicht installiert werden. Die Installation wird auf Englisch fortgesetzt. ';
$string['invalidpath'] = 'Ungültiger Pfad';
$string['invalidsetelement'] = 'Fehler: Wert ist nicht in den vorgegebenen Optionen enthalten';
$string['invalidtextvalue'] = 'Ungültiger Text';
$string['invalidurl'] = 'Ungültige URL';
$string['invalidvalueforlanguage'] = 'Ungültiger Wert für die Option --lang. Geben Sie --help ein, um mehr Hilfe zu bekommen';
$string['invalidyesno'] = 'Fehler: Wert ist kein gültiges Ja/Nein-Argument';
$string['langdownloaderror'] = 'Leider konnte die Sprache \"$a\" nicht installiert werden. Die Installation wird auf Englisch fortgesetzt.';
$string['langdownloadok'] = 'Die Installation der Sprache \"$a\" war erfolgreich. Der weitere Installationsprozess erfolgt nun in dieser Sprache.';
$string['language'] = 'Sprache';
$string['locationanddirectories'] = 'Speicherort und -verzeichnisse';
$string['magicquotesruntime'] = 'Magic Quotes Run Time';
$string['magicquotesruntimeerror'] = 'Dies sollte ausgeschaltet sein (\'off\')';
$string['mbstringrecommended'] = 'Die Installation der MBSTRING Bibliothek wird zur Leistungsverbesserung dringend empfohlen. Dies ist besonders wichtig wenn Sie Sprachen mit anderen als lateinischen Zeichensätzen verwenden.';
$string['magicquotesruntimehelp'] = '<p>Magic Quotes Runtime sollte abgeschaltet \'off\' sein, damit Moodle richtig läuft. </p>
<p>Normalerweise ist dies der Fall. Prüfen Sie die Einstellung <b>magic_quotes_runtime</b> in der Datei php.ini. </p>
<p>Wenn Sie keinen Zugriff zur Datei php.ini haben sollten Sie die folgende Zeile in eine Datei .htacess in Ihrem Moodle-Verzeichnis einfügen: <blockquote><div>php_value magic_quotes_runtime Off</div></blockquote></p>';
$string['mbstringrecommended'] = 'Die Installation der Bibliothek MBSTRING wird zur Leistungsverbesserung dringend empfohlen. Dies ist besonders wichtig, wenn Sie Sprachen mit anderen als lateinischen Zeichensätzen verwenden.';
$string['memorylimit'] = 'Memory Limit';
$string['memorylimiterror'] = 'Die Speichereinstellung PHP memory_limit ist zu niedrig. Es wird bei der künftigen Nutzung vermutlich zu Problemen kommen.';
$string['memorylimithelp'] = '<p>Die Einstellung der PHP memory_limit für Ihren Server ist zur Zeit auf $a eingestellt. </p>
<p>Dies wird vermutlich zu Problemen führen wenn Sie Moodle mit vielen Aktivitäten oder vielen Nutzer/innen verwenden. </p>
<p>Wir empfehlen die Einstellung zu erhöhen. Empfohlen werden 16M oder mehr. Dies können Sie auf verschiedene Arten machen:</p>
$string['memorylimiterror'] = 'Die PHP-Speichereinstellung memory_limit ist zu niedrig. Dies könnte später zu Problemen führen.';
$string['memorylimithelp'] = '<p>Die PHP-Einstellung memory_limit für Ihren Server ist zur Zeit auf $a eingestellt. </p>
<p>Dies wird vermutlich zu Problemen führen, wenn Sie Moodle mit vielen Aktivitäten oder vielen Nutzer/innen verwenden. </p>
<p>Wir empfehlen die Einstellung zu erhöhen. Empfohlen werden 40M oder mehr. Dies können Sie auf verschiedene Arten machen:</p>
<ol>
<li>Wenn Sie PHP neu kompilieren können, nehmen Sie die Einstellung <i>--enable-memory-limit</i>. Dann kann Moodle die Einstellung selber vornehmen.
<li>Wenn Sie Zugriff auf die Datei php.ini haben, können Sie die Einstellung <b>memory_limit</b> selber auf z.B. 16M anpassen. Wenn Sie selber keinen Zugriff haben, fragen Sie den/die Administrator/in, dies für Sie zu tun.
<li>Auf einigen PHP-Servern können Sie eine .htaccess-Datei im Moodle-Verzeichnis einrichten. Tragen Sie darin die folgende Zeile ein: <p><blockquote>php_value memory_limit 16M</blockquote></p>
<li>Wenn Sie Zugriff auf die Datei php.ini haben, können Sie die Einstellung <b>memory_limit</b> selber auf z.B. 40M anpassen. Wenn Sie selber keinen Zugriff haben, fragen Sie den Server-Admin, dies für Sie zu tun.
<li>Auf einigen PHP-Servern können Sie eine .htaccess-Datei im Moodle-Verzeichnis einrichten. Tragen Sie darin die folgende Zeile ein: <p><blockquote><div>php_value memory_limit 40M</div></blockquote></p>
<p>Achtung: auf einigen Servern hindert diese Einstellung <b>alle</b> PHP-Seiten und Sie erhalten Fehlermeldungen. Entfernen Sie dann den Eintrag in der .htaccess-Datei wieder.</p></li>
</ol>';
$string['missingrequiredfield'] = 'Einige erforderliche Felder sind nicht ausgefüllt.';
$string['mysql416bypassed'] = 'Wenn Sie auf Ihrer Site NUR iso-8859-1 (lateinische) Sprachen verwenden, können Sied ie derzeitige MySQL-Version 4.1.12 (oder höher) verwenden.';
$string['mysql416required'] = 'MySQL 4.1.16 odereine höhere Version ist für Moodle 1.6 unbedingt erforderlich, um sicher zu stellen, dass alle Daten künftig nach UTF-8 konvertiert werden können.';
$string['mysqlextensionisnotpresentinphp'] = 'PHP wurde noch nicht richtig r diese MySQL Erweiterung konfiguriert. Daher kann es nicht mit MySQL kommunizieren. Prüfen Sie bitte die php.ini-Einstellungen oder kompilieren Sie PHP neu.';
$string['moodledocslink'] = 'Moodle-Dokumentation für diese Seite';
$string['mssql'] = 'SQL*Server (mssql)';
$string['mssqlextensionisnotpresentinphp'] = 'PHP wurde nicht richtig konfiguriert, um über die MSSQL-Erweiterung mit SQL*Server zu kommunizieren. Bitte prüfen Sie die Datei php.ini oder kompilieren Sie PHP neu.';
$string['mssql_n'] = 'SQL*Server mit UTF-8-Unterstützung (mssql_n)';
$string['mysql'] = 'MySQL (mysql)';
$string['mysql416bypassed'] = 'Wenn Sie in Ihrer Website ausschließlich ISO-8859-1 (lateinische) Sprachen verwenden, können Sie eine MySQL-Version ab 4.1.12 (oder höher) verwenden.';
$string['mysql416required'] = 'MySQL 4.1.16 (oder höher) ist für Moodle 1.6 unbedingt erforderlich, um eine Datenkonvertierung nach UTF-8 sicherzustellen.';
$string['mysqlextensionisnotpresentinphp'] = 'PHP wurde nicht richtig konfiguriert, um über die MySQL-Erweiterung mit MySQL zu kommunizieren. Bitte prüfen Sie die Datei php.ini oder kompilieren Sie PHP neu.';
$string['mysqli'] = 'Improved MySQL (mysqli)';
$string['mysqliextensionisnotpresentinphp'] = 'PHP wurde nicht ordnungsgemäß für die MySQLi-Erweiterung konfiguriert, um mit MySQL zu kommunizieren. Bitte überprüfen Sie die Datei php.ini oder übersetzen Sie PHP neu. Die MySQLi-Erweiterung ist nicht für PHP4 verfügbar.';
$string['name'] = 'Name';
$string['nativemysqli'] = 'Verbessertes MySQL (nativ/mysqli)';
$string['next'] = 'Nächste';
$string['oci8po'] = 'Oracle (oci8po)';
$string['ociextensionisnotpresentinphp'] = 'PHP wurde nicht richtig konfiguriert, um über die OCI8-Erweiterung mit Oracle zu kommunizieren. Bitte prüfen Sie die Datei php.ini oder kompilieren Sie PHP neu.';
$string['odbcextensionisnotpresentinphp'] = 'PHP wurde nicht richtig konfiguriert, um über die ODBC-Erweiterung mit SQL*Server zu kommunizieren. Bitte prüfen Sie die Datei php.ini oder kompilieren Sie PHP neu.';
$string['odbc_mssql'] = 'SQL*Server über ODBC (odbc_mssql)';
$string['ok'] = 'OK';
$string['opensslrecommended'] = 'Die optionale Installation der OpenSSL Bibliothek wird dringend empfohlen. Dadurch wird die Moodle-Netzwerk-Funktionalität ermöglicht.';
$string['parentlanguage'] = 'en_utf8';
$string['pass'] = 'Durchgang';
$string['password'] = 'Kennwort';
$string['php50restricted'] = 'PHP 5.0.x hat eine Zahl von bekannten Fehlern Sie können die Versionen 5.1.x bzw. 4.3.x oder 4.4.x benutzen';
$string['pgsqlextensionisnotpresentinphp'] = 'PHP wurde nicht richtig konfiguriert, um über die PGSQL-Erweiterung mit PostgreSQL zu kommunizieren. Bitte prüfen Sie die Datei php.ini oder kompilieren Sie PHP neu.';
$string['php50restricted'] = 'PHP 5.0.x hat eine Reihe bekannter Fehler! Sie sollten die Versionen 5.1.x bzw. 4.3.x/4.4.x benutzen.';
$string['php52versionerror'] = 'PHP-Version muss mindestens 5.2.4 sein.';
$string['php52versionhelp'] = '<p>Moodle benötigt mindestens PHP Version 5.2.4</p>
<p>Sie nutzen zur Zeit Version $a.</p>
<p>Ihre PHP-Version muss aktualisiert oder ein anderer Host genutzt werden.</p>';
$string['phpversion'] = 'PHP-Version';
$string['phpversionerror'] = 'PHP muss mindestens in der Version 4.3.0 oder 5.1.0 installiert sein (5.0.x weist eine Reihe bekannter Fehler auf).';
$string['phpversionhelp'] = '<p>Moodle erwartet PHP mindestens in der Version 4.3.0 oder 5.1.0 (5.0.x weist eine Reihe bekannter Fehler auf).</p>
$string['phpversionerror'] = 'PHP muss mindestens in der Version 4.3.0 oder 5.1.0 installiert sein (5.0.x weist eine Reihe bekannter Fehler auf).'; // ORPHANED
$string['phpversionhelp'] = '<p>Moodle erwartet PHP mindestens in der Version 4.3.0/4.4.0 oder 5.1.0 (5.0.x weist eine Reihe bekannter Fehler auf).</p>
<p>Sie nutzen zur Zeit die Version $a.</p>
<p>Sie müssen Ihre PHP-Verson aktualisieren oder auf einen Rechner wechseln, der eine neuere Version von PHP nutzt.<br />
(Im Falle von 5.0.x könnten Sie auch zu einer Version 4.4.x downgraden)</p>';
(Im Falle von 5.0.x könnten Sie auch zu einer Version 4.3.x/4.4.x downgraden)</p>';
$string['postgres7'] = 'PostgreSQL (postgres7)';
$string['prefixcannotbeempty'] = '<p>Fehler: Datenbanktabellen-Prefix kann nicht leer sein.(§a)</p>
<p>Der Administrator muss dieses Problem beseitigen.</p>';
$string['prefixtoolong'] = '<p>Fehler: Datenbanktabellen-Prefix ist zu lang ($a->dbfamily)</p>
<p>Der Administrator muß dieses Problem anpassen. Tabellen -Prefixes in $a->dbfamily ist max. $a->maxlength Zeichen lang.</p>';
$string['previous'] = 'Frühere';
$string['remotedownloadnotallowed'] = 'Der Download von Komponenten auf Ihren Server ist nicht erlaubt (allow_url_fopen ist deaktiviert). <br /><br /> Die Datei <a href=\"$a->url\">$a->url</a> muss manuell heruntergeladen werden. Kopieren Sie die Datei nach \"$a->dest\" auf dem Server und entpacken Sie sie dort.';
$string['qtyperqpwillberemoved'] = 'Während des Updates wird der Fragentyp RQP entfernt. Da Sie diesen Fragentyp nicht benutzen, sollten Sie keinerlei Probleme bekommen.';
$string['qtyperqpwillberemovedanyway'] = 'Während des Updates wird der Fragentyp RQP entfernt. Sie haben einige RQP Fragen in Ihrer Datenbank, die nicht mehr funktionieren werden, falls Sie nicht den dafür notwendigen Code vor der Fortsetzung dieses Updates installieren. http://moodle.org/mod/data/view.php?d=13&amp;rid=797';
$string['releasenoteslink'] = 'Um Informationen über diese Moodle-Version zu erhalten, schauen Sie bitte in die Release-Hinweise auf $a';
$string['remotedownloaderror'] = 'Der Download auf Ihren Server konnte nicht ausgeführt werden. Prüfen Sie bitte die Proxy-Einstellungen, die PHP CURL Erweiterung wird dringend empfohlen.<br /><br />Die Datei <a href=\"$a->url\">$a->url</a> muss nun manuell herunter geladen, entpackt und auf den Server nach \"$a->dest\" kopiert werden. there.';
$string['remotedownloadnotallowed'] = 'Der Download von Komponenten auf Ihren Server ist nicht erlaubt (allow_url_fopen ist deaktiviert). <br /><br /> Die Datei <a href=\"$a->url\">$a->url</a> muss manuell heruntergeladen werden. Kopieren Sie die Datei nach \"$a->dest\" auf Ihren Server und entpacken Sie sie dort.';
$string['report'] = 'Bericht';
$string['restricted'] = 'eingeschränkt';
$string['requiredentrieschanged'] = '<strong>WICHTIG - UNBEDINGT LESEN<br />Die Warnung wird ausschließlich bei dieser Aktualisierung gezeigt!</strong><br />
Infolge einer Fehlerkorrektur wird sich das Verhalten von Datenbankaktivitäten ändern, die die Einstellungen \'Required entries\' und \'Required entries before viewing settings\' nutzen.
Weitere Erklärungen entnehmen Sie bitte den <a href=\"http://docs.moodle.org/en/Adding/editing_a_database#Required_entries\" target=\"_blank\">Moodle Docs</a>.
<br/><br/>Diese Änderung betrifft die folgenden Daten in Ihrem System . Bitte sichern Sie die nachfolgende Liste und prüfen Sie nach der Aktualisierung, ob alle Aktivitäten noch wie beabsichtigt funktionieren.<br/><strong style=\"color:red\">$a->text</strong><br/>';
$string['restricted'] = 'Eingeschränkt';
$string['safemode'] = 'Safe Mode';
$string['safemodeerror'] = 'Die Nutzung von Moodle im Safe Mode kann zu Schwierigkeiten führen.';
$string['safemodehelp'] = '<p>Moodle kann beim Betrieb im Safe Mode verschiedene Probleme haben, nicht zuletzt kann es unmöglich sein, neue Dateien zu erzeugen. </p>
<p>Safe Mode ist zumeist nur auf einigen öffentlichen Webservern eingestellt. Suchen Sie sich einen Anbieter, der auf diese Einstellung verzichtet oder bitten Sie Ihren Dienstleister, dass Sie auf einen Server \'umziehen\' können, der diese Einstellung nicht verwendet.</p>
<p>Sie können versuchen, die Installation fortzusetzen. Sie müssen aber später mit Problemen rechnen. </p>';
$string['selectlanguage'] = 'Sprache für die Installation auswählen';
$string['serverchecks'] = 'Server-Überprüfung';
$string['sessionautostart'] = 'Session Auto Start';
$string['sessionautostarterror'] = 'Diese Option sollte abgeschaltet sein.';
$string['sessionautostarterror'] = 'Diese Option sollte abgeschaltet sein';
$string['sessionautostarthelp'] = '<p>Moodle benötigt den Session Support und kann ohne diese Einstellung nicht funktionieren.</p>
<p>Sessions sind durch Einstellungen in der Datei php.ini möglich. Bitte suchen Sie nach der Einstellung für session.auto_start </p>';
$string['sitefullname'] = 'Name der gesamten Website :';
$string['siteinfo'] = 'Details der Website';
$string['sitenewsitems'] = 'Anzahl neuer Nachrichten :';
$string['siteshortname'] = 'Kurzname der Website :';
$string['sitesummary'] = 'Beschreibung der Website :';
$string['skipdbencodingtest'] = 'Prüfung der Datenbank-Verschlüsselung überspringen';
$string['sqlite3_pdo'] = 'SQLite 3 (PDO) <b><strong class=\"errormsg\">Experimentell! (nicht für produktive Server benutzen!!)</strong></b>';
$string['sqliteextensionisnotpresentinphp'] = 'PHP ist für die Erweiterung SQLite nicht richtig konfiguriert. Bitte prüfen Sie Ihre php.ini oder übersetzen Sie PHP neu.';
$string['status'] = 'Status';
$string['tableprefix'] = 'Tabellen-Prefix :';
$string['thischarset'] = 'UTF-8';
$string['thisdirection'] = 'ltr';
$string['thislanguage'] = 'Deutsch';
$string['user'] = 'Nutzer/in';
$string['unicoderecommended'] = 'Es wird empfohlen, alle Daten im Format Unicode UTF-8 zu speichern. Neuinstallationen sollten mit Datenbanken vorgenommen werden, die als Standardzeichensatz UTF-8 benutzen. Wenn Sie ein Upgrade durchführen, sollten Sie die UTF-8-Migration starten (Admin-Seite).';
$string['unicoderequired'] = 'Es ist notwendig, alle Daten im Format Unicode UTF-8 zu speichern. Neuinstallationen müssen mit Datenbanken vorgenommen werden, die als Standardzeichensatz UTF-8 benutzen. Wenn Sie ein Upgrade durchführen, sollten Sie die UTF-8-Migration starten (Admin-Seite).';
$string['upgradingactivitymodule'] = 'Aktivitäten-Module aktualisieren';
$string['upgradingbackupdb'] = 'Datenbanktabelle zum Backup aktualisieren';
$string['upgradingblocksdb'] = 'Datenbanktabelle für Blöcke aktualisieren';
$string['upgradingblocksplugin'] = 'Plugin für Blöcke aktualisieren';
$string['upgradingcompleted'] = 'Aktualisierung abgeschlossen ...';
$string['upgradingcourseformatplugin'] = 'Plugin für das Kursformat aktualisieren';
$string['upgradingenrolplugin'] = 'Plugin zur Einschreibung aktualisieren';
$string['upgradinggradeexportplugin'] = 'Plugin zum Bewertungsexport aktualisieren';
$string['upgradinggradeimportplugin'] = 'Plugin zum Bewertungsimport aktualisieren';
$string['upgradinggradereportplugin'] = 'Plugin zum Bewertungsbericht aktualisieren';
$string['upgradinglocaldb'] = 'Lokale Datenbank aktualisieren';
$string['upgradingmessageoutputpluggin'] = 'Plugin zur Mitteilungsausgabe aktualisieren';
$string['upgradingqtypeplugin'] = 'Plugin für Frage/Typ aktualisieren';
$string['upgradingrpcfunctions'] = 'RPC-Funktionen aktualisieren';
$string['usagehelp'] = 'Übersicht:
$php cliupgrade.php --Parameter
Parameter:
--lang : Spracheinstellung für die Installation (Standard Englisch (en))
--webaddr : Web-Adresse der Moodle-Site
--moodledir : Pfad zum Moodle-Verzeichnis
--datadir : Pfad zum Daten-Verzeichnis (sollte vor direktem Zugriff geschützt sein!!)
--dbtype : Datenbank-Typ (Standard mysql)
--dbhost : Datenbank-Server (Standard localhost)
--dbname : Datenbank-Name (Standard moodle)
--dbuser : Datenbank-Nutzer
--dbpass : Datenbank-Passwort
--prefix : Tabellen-Prefix für alle Datenbank-Tabellen. (Standard mdl_)
--verbose : 0 keine Ausgabe, 1 Zusammenfassung (Standard), 2 Ausgabe aller Details
--interactivelevel : 0 nicht interaktiv, 1 semi-interaktiv (Standard), 2 interaktiv
--agreelicense : Yes (Standard) oder No
--confirmrelease : Yes (Standard) oder No
--sitefullname : Name der Website. (Standard \"Moodle Site\" - bitte ändern!!)
--siteshortname : Kurzname der Website (Standard moodle)
--sitesummary : Bescheibung der Website
--adminfirstname : Vorname des Adminstrators (Standard Admin)
--adminlastname : Nachname des Adminstrators (Standard User)
--adminusername : Anmeldename des Adminstrators (Standard admin)
--adminpassword : Passwort für den Adminstrator (Standard admin)
--adminemail : E-Mail-Adresse des Adminstrators (Standard root@localhost)
--help : Hilfe anzeigen
Nutzungsbeispiel:
$php cliupgrade.php --lang=en --webaddr=http://www.example.com --moodledir=/var/www/html/moodle --datadir=/var/moodledata --dbtype=mysql --dbhost=localhost --dbname=moodle --dbuser=root --prefix=mdl --agreelicense=yes --confirmrelease=yes --sitefullname=\"Example Moodle Site\" --siteshortname=moodle --sitesummary=siteforme --adminfirstname=Admin --adminlastname=User --adminusername=admin --adminpassword=admin --adminemail=admin@example.com --verbose=1 --interactivelevel=2';
$string['user'] = 'Nutzer';
$string['versionerror'] = 'Fehler: Nutzerabbruch bei der Versionsabfrage';
$string['welcomep10'] = '$a->installername ($a->installerversion)';
$string['welcomep20'] = 'Sie haben das Paket <strong>$a->packname $a->packversion</strong> erfolgreich auf Ihrem Computer installiert.';
$string['welcomep30'] = 'Diese Version von <strong>$a->installername</strong> enthält folgende Anwendungen, mit denen Sie <strong>Moodle</strong> ausführen können:';
$string['welcomep40'] = 'Das Paket enthält: <strong>Moodle $a->moodlerelease ($a->moodleversion)</strong>.';
$string['welcomep50'] = 'Die Nutzung dieser Anwendungen ist lizenzrechtlich geprüft. Alle Anwendungen von <strong>$a->installername</strong> sind
<a href=\"http://www.opensource.org/docs/definition_plain.html\">Open Source</a> und unterliegen der <a href=\"http://www.gnu.org/copyleft/gpl.html\">GPL</a> Lizenz.';
<a href=\"http://www.opensource.org/docs/definition_plain.html\"> Open Source </a> und unterliegen der <a href=\"http://www.gnu.org/copyleft/gpl.html\"> GPL</a> Lizenz.';
$string['welcomep60'] = 'Die folgenden Seiten führen Sie in einfachen Schritten durch die Konfiguration und Installation von <strong>Moodle</strong> auf Ihrem Computer. Sie können die vorgeschlagenen Einstellungen übernehmen oder an Ihre Bedürfnisse anpassen.';
$string['welcomep70'] = 'Klicken Sie auf den \"Weiter\"-Button, um mit dem Setup von <string>Moodle</string> fortzufahren.';
$string['welcometext'] = '--- Moodle-Installation über die Komandozeile ---';
$string['writetoconfigfilefaild'] = 'Fehler beim Schreiben der Konfigurationsdatei';
$string['wrongdestpath'] = 'Falscher Pfad';
$string['wrongsourcebase'] = 'URL-Quelle ist falsch.';
$string['wrongzipfilename'] = 'ZIP-Dateiname ist falsch';
$string['wwwroot'] = 'URL-Adresse';
$string['wwwrooterror'] = 'Diese URL scheint nicht gültig zu sein. Moodle ist nicht unter dieser Adresse installiert. ';
$string['wrongsourcebase'] = 'Falsche URL-Quelle';
$string['wrongzipfilename'] = 'Falscher ZIP-Dateiname';
$string['wwwroot'] = 'Web-Adresse';
$string['wwwrooterror'] = 'Diese Web-Adresse scheint nicht gültig zu sein. Moodle ist nicht unter dieser Adresse installiert.';
$string['xmlrpcrecommended'] = 'Die Installation der optionalen xmlrpc Erweiterung ist für die Moodle-Network Funktionen nützlich.';
$string['yourchoice'] = 'Ihre Wahl :';
$string['ziprequired'] = 'Die PHP-Erweiterung zip wird ab sofort von Moodle gefordert. Die Pakete info-ZIP oder PclZip werden nicht weiter eingesetzt.';
?>
+14 -2
View File
@@ -7,19 +7,31 @@
/// keep us informed using http://moodle.org/bugs Thanks!
///
/// File generated by cvs://contrib/lang2installer/installer_builder
/// using strings defined in installer_strings (same dir)
/// using strings defined in stringnames.txt (same dir)
$string['availablelangs'] = 'Διαθέσιμα γλωσσικά πακέτα';
$string['check'] = 'Επιλογή';
$string['closewindow'] = 'Κλείστε αυτό το παράθυρο';
$string['continue'] = 'Συνέχεια';
$string['download'] = 'Κατέβασμα';
$string['doyouagree'] = 'Έχετε διαβάσει και κατανοήσει αυτούς τους όρους;';
$string['error'] = 'Σφάλμα';
$string['gdversion'] = 'Έκδοση GD';
$string['help'] = 'Βοήθεια';
$string['info'] = 'Πληροφορίες';
$string['invalidemail'] = 'Εσφαλμένη διεύθυνση ηλεκτρονικού ταχυδρομείου';
$string['language'] = 'Γλώσσα';
$string['moodledocslink'] = 'Αρχεία βοήθειας για αυτήν την σελίδα';
$string['name'] = 'Όνομα';
$string['next'] = 'Επόμενος';
$string['next'] = 'Επόμενο';
$string['ok'] = 'OK';
$string['password'] = 'Κωδικός πρόσβασης';
$string['previous'] = 'Προηγούμενο';
$string['report'] = 'Αναφορά';
$string['restricted'] = 'Περιορισμένο';
$string['status'] = 'Κατάσταση';
$string['thischarset'] = 'UTF-8';
$string['thisdirection'] = 'ltr';
$string['thislanguage'] = 'Ελληνικά';
$string['user'] = 'Χρήστης';
?>
+1 -1
View File
@@ -7,7 +7,7 @@
/// keep us informed using http://moodle.org/bugs Thanks!
///
/// File generated by cvs://contrib/lang2installer/installer_builder
/// using strings defined in installer_strings (same dir)
/// using strings defined in stringnames.txt (same dir)
$string['parentlanguage'] = 'en_utf8';
$string['thischarset'] = 'iso-8859-1';

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