Compare commits

..

293 Commits

Author SHA1 Message Date
moodler 8a6cafc806 Release of 1.0.7 2002-12-10 03:58:07 +00:00
moodler d34189e123 Added styles for forum posts 2002-12-10 02:48:05 +00:00
mits c6f0c3a455 polished 2002-12-09 21:06:27 +00:00
mits 8e664e00b9 Polished 2002-12-09 20:50:44 +00:00
moodler c6d09f2157 More information 2002-12-09 17:27:21 +00:00
moodler 4ba1e2d42a Increment 2002-12-09 17:08:56 +00:00
moodler bf1969570e Fixed blue a little 2002-12-09 16:21:02 +00:00
moodler 8120317e2e Changes for new styles and scheme 2002-12-09 16:10:57 +00:00
moodler e545445874 More fixes for course formats 2002-12-09 14:07:52 +00:00
moodler da00d31744 Latest Japanese files from Mits. This is now a COMPLETE TRANSLATION!
Well done, Mits.   That's LOTS of work.
2002-12-09 13:53:41 +00:00
moodler 2338465770 Tweak to etxt in box 2002-12-09 13:48:31 +00:00
moodler 920bb7ab2f Fix typo 2002-12-09 13:45:44 +00:00
moodler 1d43ffdeab Font size tweaks 2002-12-09 13:40:18 +00:00
moodler 7541bc3e87 More styles 2002-12-09 13:36:55 +00:00
moodler 21ba1d796b testing wrong thing 2002-12-09 12:12:42 +00:00
moodler 469e5eb18e More style and layout tweaking 2002-12-09 12:09:33 +00:00
moodler 4499b2e273 Slight alteration of colouring on printed posts 2002-12-09 10:49:44 +00:00
moodler 69d1973c07 New string readytosend 2002-12-09 10:48:59 +00:00
moodler 42fddf0237 Finish off topics display 2002-12-09 09:03:15 +00:00
moodler fb23e3cbb9 Slight changes 2002-12-09 08:53:49 +00:00
moodler 9307692fdf Add a javascript confirmation when submitting a quiz attempt 2002-12-09 08:20:19 +00:00
moodler 776dc2709f Allow print_all_courses to have width 2002-12-09 07:52:47 +00:00
moodler d9fd5e8b86 Allow course listing to have specified width 2002-12-09 07:51:31 +00:00
moodler 041b1712c6 Slightly adjust column width 2002-12-09 07:48:12 +00:00
moodler b27f9a32bc Slight changes 2002-12-09 07:45:45 +00:00
moodler 24a34da28c Updated version 2002-12-09 07:36:48 +00:00
moodler 5e367a2d56 Various little tweaks to improve the display of course home
pages and front page ... still have some work to do though
2002-12-09 07:35:40 +00:00
moodler 7a4c13797a Default with showrecent ON 2002-12-09 06:35:14 +00:00
moodler 64a92277da Fixed US spelling 2002-12-09 03:25:48 +00:00
moodler 1e6700a749 Restored "locale" string 2002-12-09 03:10:44 +00:00
moodler 651ba4e63c Latest changes in French, from Sebastien Nam?che 2002-12-09 03:00:54 +00:00
moodler 4be38f8bb2 CHanges from Antonio Navarro 2002-12-09 02:39:19 +00:00
moodler 2e4b204b26 Changes to make makeClassFromFile() in makeclass.php work better 2002-12-09 02:12:37 +00:00
moodler 1ed2b03af3 Fixed some names 2002-12-08 17:32:11 +00:00
moodler 339bb5599f New code to use locale information from language packs if necessary 2002-12-08 17:26:21 +00:00
moodler a8b7b66158 Use language string for "changes saved" 2002-12-08 17:21:10 +00:00
moodler 2893d91e46 Fixed name 2002-12-08 17:16:58 +00:00
moodler df0594edee Added locale codes to all languages 2002-12-08 17:01:13 +00:00
moodler 517f323637 US flavor of English to keep the yanks happy. ;-) 2002-12-08 16:49:49 +00:00
moodler 520283b4e4 Added Mitsuhiro's credit for Japanese 2002-12-08 11:28:32 +00:00
moodler 15a2a4e555 Updates for 1.0.7 and better-looking throughout 2002-12-08 03:45:03 +00:00
moodler 261be01672 More changes from Mits. 2002-12-07 16:19:58 +00:00
moodler 6ab29e19a4 Going back to simpler version numbers! 2002-12-07 08:53:07 +00:00
moodler 86400f05f5 Small changes to help display of Japanese and on Netscape 2002-12-07 08:44:21 +00:00
moodler 467aaec630 Small changes to tables to make them display better with Japanese 2002-12-07 08:39:24 +00:00
moodler a8a71844e4 If the database doesn't work then just die before anything else 2002-12-07 07:27:58 +00:00
moodler 657423c8f3 get rid of short_open_tags 2002-12-07 07:27:18 +00:00
moodler 95ea4a41ad Some info about forcetables 2002-12-07 07:19:28 +00:00
moodler 2348daf12c Updated the dox 2002-12-07 04:37:21 +00:00
moodler ec2e229a0f General purpose function to produce a class based on a library
of simple functions.  Can be used to provide a class interface
to Moodle functions.

Thanks to Greg Barnett!
2002-12-07 04:31:23 +00:00
moodler d72788c346 Added php mime type 2002-12-07 04:24:22 +00:00
moodler 81ef6a5ee5 Removed the "zero" value altogether 2002-12-07 04:20:35 +00:00
moodler ff4f23fdcc Better checking of existing value, in case it's not in the list 2002-12-07 04:00:05 +00:00
moodler 0fa2146388 More changes from Mits! 2002-12-06 12:22:59 +00:00
moodler 3e8ff7019f Fixed up CVS Id tag 2002-12-06 11:36:20 +00:00
moodler 2ccb36740b Wrapper file to make moodlelib.php functions accessible as a class
called moodlelib.  Based on idea from Greg Barnett:
http://moodle.com/mod/forum/discuss.php?d=356
2002-12-06 11:23:42 +00:00
moodler a7ce613296 First version of Japanese translation by Mitsuhiro Yoshida !
Still missing quiz.php, survey.php, auth.php and the help files

Helpers wanted!
2002-12-05 13:50:01 +00:00
moodler 035cdbff1a Improved removal of leading zeroes, but with some efficiency lost 2002-12-02 01:35:18 +00:00
moodler bea7a51e3c Slight change to get rid of leading zeroes in dates 2002-12-02 01:13:14 +00:00
moodler 8ea300947d These includes are actually required 2002-12-02 01:12:06 +00:00
moodler 666122b94b Upgraded ADOdb to 2.50 because it fixes some bugs with PHP 4.3.0 2002-11-30 13:23:39 +00:00
moodler 8da0e0e031 IMS/SCORM 2002-11-30 12:04:33 +00:00
moodler 3ad6393067 Revised 2002-11-30 12:00:47 +00:00
moodler 17820bd5bd New version of Italian translation - compatible with 1.0.6.3 2002-11-29 15:17:59 +00:00
moodler 39246b72f8 Some colour difference for my courses .... I'm not sure about it ... 2002-11-29 14:22:34 +00:00
moodler 85098089d1 Some improvements to the layout of courses when there are categories
and they are on the front page
2002-11-29 14:17:36 +00:00
moodler 3475d55ee7 Slight fix 2002-11-29 05:12:01 +00:00
moodler c1e735bb28 Added credit for Indonesian - Arfan Hidayat 2002-11-29 05:02:59 +00:00
moodler a08fe5809a Complete new Indonesian translation!
Thanks to Arfan Hidayat, http://www.kursusmaya.com, ivanh@telkom.net!
2002-11-29 04:58:27 +00:00
moodler b419cb6e28 Update version 2002-11-28 14:39:26 +00:00
moodler 3086f3f6cf With external authentication, the change password button on the user
page now does the same thing as the one on the login page.  It takes you
to the specified URL is it exists, and just doesn't appear if there is no URL
2002-11-28 12:31:46 +00:00
moodler 048ccc473a Highlight matches in post subject and discussion name too 2002-11-28 09:10:22 +00:00
moodler 88e729beed Add searching of subjects as well as messages 2002-11-28 09:04:04 +00:00
moodler d391e3b1ee First quick version of help on CVS 2002-11-28 03:05:24 +00:00
moodler 6cc0361107 Fixed heading 2002-11-28 02:53:25 +00:00
moodler c655755d92 Updates 2002-11-28 02:47:50 +00:00
moodler 64efda84b5 Fixes to increase the number of options available to limit assignment
upload size, and also to limit the list based on PHP limits
2002-11-28 02:41:56 +00:00
moodler f42cf95f3c Added missing </BODY> and </HTML> tags 2002-11-27 13:11:02 +00:00
carlesbellver 5c36a37c9f *** empty log message *** 2002-11-26 10:10:04 +00:00
moodler 0581a9f7c8 More info about database user 2002-11-26 03:19:15 +00:00
moodler b275ff65cb Additions and clean ups 2002-11-26 03:07:49 +00:00
moodler 71d552f677 Fix display of grades when there aren't any grades 2002-11-26 02:36:16 +00:00
moodler 83173d563c For the case when there are forums using ratings, but no ratings, and
the teacher is looking at grades, don't try and loop on an empty array
2002-11-26 02:29:54 +00:00
moodler fc05fccb64 Strip slashes from filenames 2002-11-26 02:11:05 +00:00
compuproggy 33651b3d3e *** empty log message *** 2002-11-25 06:45:08 +00:00
moodler 4d35cddd8a More fixes 2002-11-24 15:59:58 +00:00
moodler 2f0c25fc75 More tweaks 2002-11-24 15:44:59 +00:00
moodler 982d256d95 Yet more details 2002-11-24 15:40:07 +00:00
moodler 66fe2bb262 Updated versionm, ready for 1.0.6.4 2002-11-24 15:30:01 +00:00
moodler e746ec3416 More tweaks 2002-11-24 15:22:28 +00:00
moodler d40c314a0a More fixes 2002-11-24 15:20:29 +00:00
moodler 56b21759e5 More details 2002-11-24 15:16:49 +00:00
moodler 9ae472a374 New message about users being automatically unenrolled 2002-11-22 17:28:55 +00:00
moodler 7f1717c61e ALL LANGUAGE EDITORS PLEASE NOTICE THIS CHECKIN
I've changed htmlentities to htmlspecialchars in this file, to fix
bugs with editing multibyte languages (ie Japanese).  Please be
cautious and let me know if this causes any problems when editing
your language (it shouldn't, but I don't want to spoil your day!)
2002-11-22 17:27:56 +00:00
moodler 708964056e Update for kicks 2002-11-22 10:00:50 +00:00
moodler bcd6e7184f Hide password and unenrolment buttons from guest users 2002-11-22 09:59:31 +00:00
moodler 92710226a5 Tidy up some of the dox 2002-11-22 09:38:15 +00:00
moodler 466558e349 Changes to allow admin to control the "forgot password" function
and a bug fix for set_config
2002-11-22 08:43:35 +00:00
compuproggy caa963b03b Suche noch Lernwillige und Tutoren f?r http://www.selaction.de
Auch Mithelfer sind gerne gesehen wie ?bersetzer oder Moderatoren.
2002-11-22 07:39:08 +00:00
compuproggy 0cf3883167 Suche noch Lernwillige und Tutoren f?r http://www.selaction.de 2002-11-22 07:37:26 +00:00
paca70 ef62651f02 Fixed some typos 2002-11-21 18:40:33 +00:00
moodler b335cae1d3 Updated version 2002-11-21 16:59:41 +00:00
moodler cff8ba5a98 Moodle CVS is exactly 1 year old. :-) 2002-11-21 16:58:29 +00:00
moodler c351cf2799 For long courses reduce the text printed on x axis 2002-11-21 16:19:19 +00:00
moodler d751ddcb5d Reduce errorlevel reporting 2002-11-21 16:07:58 +00:00
moodler 372ce3d10c COnverted it to DOS format to make it easier for Windows users 2002-11-21 16:00:18 +00:00
moodler ad40c8a23c Updates 2002-11-21 15:30:53 +00:00
moodler 3b9a79f977 Fixes to allow graphs to be translated 2002-11-21 14:57:10 +00:00
moodler 89b5432563 Allow admin user to always get in, no matter what the authentication method 2002-11-21 12:39:33 +00:00
paca70 fd6a7ee524 New files for translation 2002-11-21 12:17:15 +00:00
moodler 6ae24de0e1 No longer need the getuserinfo parameter 2002-11-21 11:28:46 +00:00
moodler 7c58aee6c7 Added full configuration to LDAP (ie transferrable fields etc) 2002-11-21 11:27:44 +00:00
moodler 7ff671df29 Bug fix for dbtype menu 2002-11-21 11:12:55 +00:00
moodler b3f9585bcb Daily changes 2002-11-21 10:33:24 +00:00
moodler 02accd9c6a Fixed a bug from reusing newsubmission variable 2002-11-21 10:26:54 +00:00
moodler f10ed36d8d Error checking on image writes 2002-11-21 10:23:10 +00:00
moodler b913b369e8 Small bugfix with uploading new user images 2002-11-21 10:17:08 +00:00
paca70 f74dcc5e08 some updates 2002-11-21 08:26:27 +00:00
moodler 009b59336b Updated version (authentication tweaks) 2002-11-21 07:53:35 +00:00
moodler 34daec9b3b Tweaks to authentication system. Database method now allows other
fields to be specified so that things like email, names etc can be
pulled in from external database when new Moodle accounts are created
2002-11-21 07:37:21 +00:00
moodler 780db23080 Slight improvements to file security (scan for more bad characters) 2002-11-21 02:51:50 +00:00
moodler 6e07f68039 Fixed background colours of recent activity and news 2002-11-20 15:24:34 +00:00
moodler 1e77d2035c Update version slightly 2002-11-20 15:17:03 +00:00
moodler d26c7f1740 Forgot a comma 2002-11-20 15:16:03 +00:00
moodler bb90c4e867 Added guestloginbutton as default 2002-11-20 15:04:21 +00:00
moodler 277d2d9f3e Make sure guestloginbutton is set to 1 as a default 2002-11-20 15:03:06 +00:00
moodler 3790f3a151 New string for general form errors 2002-11-20 15:01:59 +00:00
moodler 15e4b2ecd9 User pictures no longer are links on main view page 2002-11-20 14:58:24 +00:00
moodler a406cdec66 Made the user profile a little more robust.
Uploaded images are now saved even if the rest of the form
has errors.

If errors are found in the form then a message is printed up
the top to make it clearer that they need to fix something.
2002-11-20 14:52:32 +00:00
moodler bd4707bf29 Er.. aligned center works better ;-) 2002-11-20 09:41:02 +00:00
moodler 68e1b65291 Fixed alignment on category boxes in some circumstances 2002-11-20 07:18:55 +00:00
moodler b66265fe0b Spacing 2002-11-19 16:16:37 +00:00
moodler bdbf373097 New version before release 2002-11-19 16:15:51 +00:00
moodler 8afe23aa9a New features and fixes 2002-11-19 16:14:47 +00:00
moodler 4ef1e78349 New files (not translated yet) 2002-11-19 15:54:12 +00:00
moodler 3c1cb3178b Checking in new updates from Fabricio 2002-11-19 15:52:25 +00:00
moodler b03b72770b Daily changes 2002-11-19 15:07:40 +00:00
moodler 076b229292 Changed it to DOS format to help Windows users 2002-11-19 14:35:07 +00:00
moodler 62c13a2f3e Changed all references of %e to %d to fix strftime on Windows 2002-11-19 14:27:57 +00:00
moodler 60459ef768 Added Authentication to admin_links 2002-11-19 09:55:54 +00:00
moodler 8297c9a012 More fixes 2002-11-19 09:09:11 +00:00
moodler 2827f134cf Fixed some strings 2002-11-19 09:06:42 +00:00
moodler 35a48c9ae4 A significant new system for authentication configuration that
exposes the wide array of authentication possibilities.

Authentication now has it's own page separate from other variables.

Most of this work was done by Petri Asikainen <paca@sci.fi>, who started
these changes off.

I've done some cleanups and additions which is why I'm checking it in.

It's all working pretty well at the moment but could use some testing.

Thanks, Petri!  :-)
2002-11-19 08:51:33 +00:00
moodler dfe952f2ea Small change to allow the same user (by email) be deleted more than
once.  Also some security in making deleted usernames very hard to guess.
2002-11-18 12:21:27 +00:00
compuproggy e1e499e02c An alle English-Deutsch ?bersetzer, wer hilf mit? -
To all english german translators, who wants to help me?
2002-11-18 07:00:24 +00:00
compuproggy 9127aca8cd *** empty log message *** 2002-11-18 06:57:57 +00:00
moodler 2b8d022c20 Fixed the O's 2002-11-18 01:57:32 +00:00
moodler e3234db924 Added Norwegian 2002-11-18 01:56:09 +00:00
moodler dbd019866f Removed an empty file 2002-11-18 01:42:26 +00:00
moodler c49de76319 Complete Norwegian translation by Joran Sorbo! joran.sorbo@teleweb.no 2002-11-18 01:41:20 +00:00
moodler e1fb2ab5e8 New imap type (imaptls) solved problems with TLS capable servers (eg Courier) 2002-11-17 15:11:35 +00:00
moodler da978ae4c7 Minor formatting 2002-11-17 11:03:59 +00:00
moodler b9b2750adb Added info about $CFG->buggy_referer 2002-11-17 11:00:55 +00:00
moodler 303077fdb5 Updated version for those using CVS etc 2002-11-17 10:46:02 +00:00
moodler 60f18531c8 A default format for format_text() and a workaround embedded
for sites with the buggy referer problem :

  define $CFG->buggy_referer = true in the config.php to activate it
2002-11-17 10:45:34 +00:00
moodler 123d2ebbc5 Now displays instructions for any authentication method 2002-11-17 10:07:01 +00:00
moodler 817c698e8f Slight updates 2002-11-17 09:57:34 +00:00
moodler 704da28e4d Remove { error, and move things around 2002-11-17 02:51:36 +00:00
moodler 23cbf014c0 When someone logs out, cler all sessions and send them to home page 2002-11-16 14:24:49 +00:00
moodler bf09e379a4 Some docs added 2002-11-16 04:26:54 +00:00
moodler 98bc913c2c Slight fixes with defaults etc 2002-11-16 03:56:00 +00:00
moodler df3988ea8b Separated code for IMAP into IMAP, POP3 and NNTP 2002-11-16 03:49:32 +00:00
moodler 3829c7bdd0 Added es_mx from Claudio ... :-) 2002-11-15 16:59:15 +00:00
moodler bb56980c83 Small tidy up of names 2002-11-15 12:49:21 +00:00
moodler d5b94ef46c Nothing missing, just needs testing and debugging 2002-11-15 09:13:31 +00:00
moodler d17bdf2b37 More options and faster (use IPs always) 2002-11-15 08:59:30 +00:00
moodler d1b4e17267 More authentication possibilities 2002-11-15 08:42:40 +00:00
moodler dce48fc85a First version of code to authenticate against external database.
This NOT TESTED yet, and has parameters hardcoded ... it will of
course be using Petri's config interface later when that's ready.
2002-11-15 08:25:24 +00:00
carlesbellver b2649432db *** empty log message *** 2002-11-15 07:21:56 +00:00
moodler 085bd98e7e Add option that allows students to resubmit after being graded 2002-11-15 03:32:30 +00:00
moodler 0431bd7c73 Extend the range of allowable timezones up to 13 hours ... (NZ Daylight savings) 2002-11-15 02:46:48 +00:00
moodler cc94d11b83 Some updates 2002-11-14 13:33:19 +00:00
moodler d483bcd35d Typo in variable 2002-11-14 11:48:01 +00:00
moodler 98c4eae3ac Set the character set of email to be the same as the default language 2002-11-14 11:45:14 +00:00
carlesbellver db5b2eaa17 *** empty log message *** 2002-11-14 07:59:31 +00:00
moodler 661890114b Re-rolling 1.0.6.3 2002-11-14 06:34:15 +00:00
moodler a15803d3d8 Argh ... fix for Netscape fix - was causing problems on other browsers 2002-11-14 06:22:13 +00:00
compuproggy 2f2e3a49a3 *** empty log message *** 2002-11-14 06:01:26 +00:00
moodler 82af8447ed Updated link for Antonio 2002-11-14 04:14:32 +00:00
moodler 5f29b7e9c5 Mention the fix for very large classes 2002-11-14 03:59:44 +00:00
moodler f8ef7d66a2 Getting ready for 1.0.6.3 release today 2002-11-14 03:14:10 +00:00
moodler cfc12f2d97 Changes from Antonio to bring it up to date with 1.0.6.2! 2002-11-14 02:43:01 +00:00
moodler a6fcdf98af Update course cache when creating new standard forums! 2002-11-14 02:33:48 +00:00
moodler 7e72f66016 Catalan translation by Carles Bellver (with the help of Merc? Renau,
Clara Andr?s and Jordi Adell).
2002-11-13 15:23:29 +00:00
moodler 21d7e306b1 Spanish (Spain) provided by Antonio Navarro (based on es_mx) 2002-11-13 13:49:30 +00:00
moodler 4a16445a3a Returning to previous version 2002-11-13 13:30:45 +00:00
moodler 34e46e5787 Small script to force tables to be created even if the database already
contains tables ... useful for sharing with other applications.
2002-11-13 12:09:18 +00:00
moodler fcf8e83671 WHoops bad typo ... made everyone a guest! 2002-11-13 06:26:36 +00:00
moodler 910d1731af Guest language ALWAYS the same as the current site language 2002-11-13 02:11:50 +00:00
moodler 9769da67ab Improvements in appearance for Netscape browsers 2002-11-12 17:20:36 +00:00
moodler 81b635c360 Improvements to formatting on old Netscape browsers 2002-11-12 17:20:04 +00:00
paca70 e0dfdf25f8 More updates 2002-11-12 14:19:24 +00:00
compuproggy 342f96b5a3 *** empty log message *** 2002-11-12 13:28:22 +00:00
compuproggy 54262b876f *** empty log message *** 2002-11-12 13:21:25 +00:00
paca70 05da6502ba added support for list users from ldap. 2002-11-12 12:10:08 +00:00
paca70 0aea12d689 Some updates 2002-11-12 06:00:09 +00:00
moodler ff446576af Small fix just in case numfiles isn't set ... it will still try to display
files if timemodified is set ... workaround for possible bug
2002-11-12 05:05:21 +00:00
moodler c75f5b4348 Small tweak to specify specifically number of files in an update 2002-11-12 04:59:28 +00:00
moodler b68de3e4d9 Updated version number 2002-11-12 04:29:49 +00:00
moodler 13beeacbcd New course option to enable/disable display of "recent activity" 2002-11-12 04:26:16 +00:00
moodler cbb0fee071 For very large classes don't even try to show all the participants 2002-11-12 03:02:51 +00:00
moodler 553064412d Better looking headings with right-to-left languages 2002-11-12 02:19:44 +00:00
compuproggy 469a4e8568 *** empty log message *** 2002-11-11 12:27:58 +00:00
moodler 3b5bf411db Updates 2002-11-11 08:35:09 +00:00
moodler 48e4f8bc3a Missing file 2002-11-11 08:32:31 +00:00
moodler 0aa65a3935 Slight update to release notes for clarity 2002-11-11 08:28:39 +00:00
moodler 3635d82ff3 Updated version for final release of 1.0.6.2 2002-11-11 08:25:41 +00:00
moodler 7304b852cd Slightly more info in error message 2002-11-11 08:25:05 +00:00
moodler 07358d40a4 30 per page 2002-11-11 08:03:54 +00:00
moodler ad81212ec3 Rearranged code so some output is printed before tackling the big table 2002-11-11 07:58:11 +00:00
compuproggy 8f1370c603 *** empty log message *** 2002-11-10 21:48:28 +00:00
moodler 7c0f298426 Update course cache when modules are moved up or down 2002-11-10 14:45:11 +00:00
moodler 76d6be7020 Put a menu on the documentation 2002-11-10 14:05:52 +00:00
moodler e34461f5ea Use #defines for resource types ... just esthetics 2002-11-10 14:03:25 +00:00
moodler cdc27f74a3 Added navmenu for journal edit page 2002-11-10 11:44:58 +00:00
moodler f7e4436690 Fixed front page display of modules 2002-11-10 11:14:06 +00:00
moodler 26d037e63a New info, ready for 1.0.6.2 release 2002-11-10 11:10:19 +00:00
moodler 2ee50b1a5d Added paging now, so this page is now usable with many users 2002-11-10 11:00:57 +00:00
moodler 723974203f New string 2002-11-10 10:40:02 +00:00
moodler 584f0a10ed Starting to speed up this page 2002-11-10 10:19:06 +00:00
moodler 7bee16d404 More sensible varible names 2002-11-10 08:55:39 +00:00
moodler c408b0c49b print_section now uses cached course modinfo to lessen load in database 2002-11-10 08:55:11 +00:00
moodler dfc9ba9bbe Added navmenu in more places 2002-11-10 08:43:44 +00:00
moodler 3e50a13968 Fix to break out of frames 2002-11-10 08:08:23 +00:00
moodler 4359e8f715 Typo in navmenu 2002-11-10 07:59:01 +00:00
moodler f0207959ab Bring back button to home page, update versions etc 2002-11-10 07:57:11 +00:00
moodler b1ae5fb0a8 Added menu stuff to other themes 2002-11-10 07:44:01 +00:00
moodler d897cae419 Changes to enable jumping between activity modules, using a new menu in
the upper-right corner.   Caution: Not well tested at this stage.
2002-11-10 07:37:15 +00:00
moodler 14272cdc38 Latest from Gilberto 2002-11-09 08:35:06 +00:00
moodler 4fdb415494 New version date 2002-11-09 06:52:30 +00:00
moodler f39d5f4576 Use course setting for "student" 2002-11-09 06:29:21 +00:00
moodler b309c289db WHoops typo 2002-11-09 06:24:21 +00:00
moodler f762c448ef FINALLY! Surveys are now translatable! :-) 2002-11-09 06:22:57 +00:00
moodler 8dfc9d0f19 Using LOCALE defines, not strings 2002-11-08 01:33:04 +00:00
moodler cdb56e3dc5 Modified files from Fabricio 2002-11-07 12:05:17 +00:00
moodler f426a62eff Header "login" link now breaks out of possible frame 2002-11-07 11:18:18 +00:00
moodler 8552044d4d Update for course format changes etc 2002-11-07 09:34:51 +00:00
moodler 9a22359743 Fixes to course display, tidy up of some code (could do with more)
and mainly - addition of section 0 display.
2002-11-07 09:30:41 +00:00
compuproggy 8f577101f4 *** empty log message *** 2002-11-07 08:53:53 +00:00
moodler 9fc3aa87b4 Tweaks 2002-11-07 03:01:53 +00:00
moodler 6f3ba7c93d Make a $homepage flag for use in footers 2002-11-06 15:46:12 +00:00
moodler 405ea757e6 Fixed some more missing strings 2002-11-06 09:13:19 +00:00
moodler 941dd21efb Fixes and simplification 2002-11-06 08:54:28 +00:00
moodler 4242a73f37 Bug fix on record counting 2002-11-06 08:44:44 +00:00
moodler aa96df8fef New version and release notes for 1.0.6.1 2002-11-06 08:30:33 +00:00
moodler f9f48383e3 New string 2002-11-06 08:24:54 +00:00
moodler 22710216f2 Add link to module editing ... back to module type list 2002-11-06 08:24:29 +00:00
moodler b7b4287462 Added new type of assignment - offline.
This type of assignment doesn't require anything of the student online,
it just tells them about an assignment and the teacher can provide
feedback and grades.  Useful for offline activities, and also for the
teacher to add manual columns to the grades page
2002-11-06 08:12:06 +00:00
moodler 65ccdd8cc8 When using loginas to be a student, you can now return to being
yourself using a link in the footer.  Improvements to footer display
2002-11-06 07:54:44 +00:00
moodler 7cbfca14c7 Added string for search results 2002-11-06 07:40:56 +00:00
moodler 46217d06b5 Language fixes 2002-11-06 07:40:36 +00:00
moodler 5ebe27e22c Fixed notices a bit 2002-11-05 16:47:30 +00:00
moodler cb909d74ca Fixes to prevent teachers using loginas to enter other courses as that student 2002-11-05 16:38:02 +00:00
moodler 34fdf5b933 Minor wording changes 2002-11-05 07:06:36 +00:00
moodler 3ea810dab0 Added Spanish 2002-11-05 07:04:44 +00:00
compuproggy 4249e34fbf *** empty log message *** 2002-11-05 06:34:57 +00:00
moodler 9f58537a53 Added SMTP authentication for email delivery 2002-11-05 06:06:18 +00:00
moodler 54e90f2d97 Checking in for Holger 2002-11-03 14:35:37 +00:00
moodler 9368247eb6 Simple help about assignment types 2002-11-03 09:34:17 +00:00
moodler 5331c4645b Changes from Fabricio Valadares 2002-11-02 17:34:35 +00:00
moodler 55dace4186 Updates from Claudio 2002-11-01 02:53:50 +00:00
moodler ad6c33dcaa New guest language is same as site 2002-11-01 01:11:46 +00:00
compuproggy 6f4db0e365 *** empty log message *** 2002-10-31 05:52:11 +00:00
paca70 32385d38a1 Initial Finnish translation 2002-10-30 19:20:48 +00:00
moodler b176f8e4cb Updated name of thislanguage 2002-10-30 02:40:46 +00:00
moodler 8b303d1d15 Updated version a little 2002-10-30 02:19:23 +00:00
moodler effdbf913f A very early Arabic translation 2002-10-30 02:09:19 +00:00
moodler b7808b3d97 Spanish translation (Mexican flavour) from Gilberto Rodr?guez et al 2002-10-30 02:00:40 +00:00
moodler ebaf37b55d Checking in CHanges to be part of a 1.0.6 rebuild to include the last
few days of minor changes (documentation etc)
2002-10-29 16:47:16 +00:00
moodler 7209909ec9 On second thoughts, don't apply locale to numbers because it may
affect some calculations.   Just strings and times.
2002-10-29 15:33:09 +00:00
moodler fa0c7d6d91 Use the locale to set everything (eg string conversions, comparisons,
money numbers etc instead of just the time)
2002-10-29 15:25:22 +00:00
moodler 024172be96 Fixed links back to top 2002-10-29 15:02:09 +00:00
moodler 27c82ede5e added documentation 2002-10-29 14:57:12 +00:00
moodler e149249bd2 Improvements to documentation formatting, content etc 2002-10-29 14:48:58 +00:00
moodler 533e975551 Added session.auto_start (off) ... having it turned on will break Moodle
on some versions of PHP
2002-10-29 12:30:31 +00:00
compuproggy 95152d474a *** empty log message *** 2002-10-29 06:24:12 +00:00
moodler 53f2259aa9 Added short_open_tag 2002-10-29 04:04:08 +00:00
moodler a5d34d51cb Removed UPGRADING.txt (replaced by doc/upgrade.html) and updated README.txt
to make it a bit clearer about where all the docs are.
2002-10-29 03:52:10 +00:00
moodler d6cd6ec4f6 New upgrading page (replaces the old UPGRADING.txt) 2002-10-29 03:47:43 +00:00
compuproggy 3129b66906 *** empty log message *** 2002-10-28 13:24:25 +00:00
compuproggy cb87603810 *** empty log message *** 2002-10-28 12:12:16 +00:00
moodler 41f2f344ab Show date in red if assignment date has passed 2002-10-28 02:25:18 +00:00
moodler f59d8272e8 Use translated strings for all upload feedback 2002-10-28 02:24:38 +00:00
moodler 660c20a6ba Added some new strings 2002-10-28 02:24:01 +00:00
moodler 52ab14dd82 Fixed "uploaded assignment" (uploadsuccess) string 2002-10-28 01:30:00 +00:00
compuproggy 519c5a76cd *** empty log message *** 2002-10-27 15:04:30 +00:00
moodler 627de17eda Typo (Survey mentioned twice) 2002-10-27 03:10:10 +00:00
moodler 4a3e5f7e25 Missing a bracket ) 2002-10-26 14:36:01 +00:00
moodler 97f3bedc10 I mean it!! This is 1.0.6!!!! 2002-10-26 06:16:33 +00:00
moodler 3a50203f34 Fixed small bug that was displaying fractions with too many decimal places
(eg 0.9999 instead of just 1)
2002-10-26 06:11:43 +00:00
moodler e386617506 OK, this is 1.0.6 2002-10-26 05:50:09 +00:00
moodler 06a609e91e One more thing - I' moved the RELEASE.html into the other documentation
to make it easier to find later on.
2002-10-26 05:37:31 +00:00
moodler 736458f308 Moving ../RELEASE.html to here 2002-10-26 05:32:26 +00:00
666 changed files with 41406 additions and 20736 deletions
+2219 -6
View File
File diff suppressed because it is too large Load Diff
+39 -33
View File
@@ -1,33 +1,39 @@
README $Id$
------
Here is a basic outline of the installation process,
which normally takes me only a few minutes:
1) Move the Moodle files into your web directory.
2) Create an empty directory somewhere to store
uploaded files (NOT accessible via the web).
This directory must be writeable by the web server
process.
3) Create a single database for Moodle to store all
it's tables in.
4) Copy the file config-dist.php to config.php, and
edit it with all your own settings.
5) Visit your new home page with a web browser. Moodle
will lead you through the rest of the setup,
creating an admin account and so on.
6) Set up a cron task to call the file admin/cron.php
every five minutes or so.
For more details, I highly recommend you read the
full installation documentation, which is stored
in the "doc" directory or found at http://moodle.com/doc/.
Cheers!
Martin Dougiamas
README $Id$
------
I highly recommend you read the detailed help on
installation, upgrading and use of Moodle, stored
in the doc subdirectory of this installation, or
read at:
http://moodle.com/doc/
For the impatient, here is a basic outline of the
installation process, which normally takes me only
a few minutes:
1) Move the Moodle files into your web directory.
2) Create an empty directory somewhere to store
uploaded files (NOT accessible via the web).
This directory must be writeable by the web server
process.
3) Create a single database for Moodle to store all
it's tables in.
4) Copy the file config-dist.php to config.php, and
edit it with all your own settings.
5) Visit your new home page with a web browser. Moodle
will lead you through the rest of the setup,
creating an admin account and so on.
6) Set up a cron task to call the file admin/cron.php
every five minutes or so.
Cheers!
Martin Dougiamas
-78
View File
@@ -1,78 +0,0 @@
<H3> Release notes for Moodle 1.0.6</H3>
<P> Major changes in this release (since 1.0.5): </P>
<UL><DL>
<DT> New feature - WYSIWYG Text editing!
<DD> A WYSIWYG text editor has been added to many of the forms in Moodle. These are currently
only visible when using Microsoft Internet Explorer 5.5 or later - other browsers see the
normal forms exactly as before.<BR><BR>
<DT> New feature - Quiz module!
<DD> Finally, the most requested new module is here! Multiple choice, short answer, and true-false
questions with automatic marking, multiple attempts, teacher regrading and many other features.
Questions are stored in a categorised database, and may be "published" to other courses.<BR><BR>
<DT> New feature - Grade manager!
<DD> A new tool has been added for teachers to see all grades for a course on one page.
You can also download/export grades as a tab-separated text file or an Excel
Spreadsheet. In future more features will be added to this page like sorting, manual
columns and calculations, but it's still pretty useful right now.<BR><BR>
<DT> New feature - LDAP authentication!
<DD> Moodle can now authenticate against external directories that use the
LDAP protocol (including Novell etc). Many thanks to Petri Asikainen for
developing this authentication plug-in!<BR><BR>
<DT> New feature - New smilies
<DD> Many new smilies have been added, and are now also accessible using a GUI in the text editor.<BR><BR>
<DT> Improved text editing
<DD> You can now include all major HTML tags in all texts. This is now safe because
of newly added functionality that strips all Javascript and faulty tags from texts
before they can cause security or display problems.<BR><BR>
<DT> Languages
<DD> German and Italian have been added! Many thanks to the translators (see the credits).<BR><BR>
<DT> Reading module => Resource module
<DD> After much thought and a vote of support (21 "yes" to 6 "no") on the "Using Moodle"
web site I changed the name of the "reading" module to "resource" (at the code level
and also the language packs). It was better to do this earlier than later.
This more generic name will be more meaningful to more people and opens the way to
some real development on a resource library.
But I don't want to ever change a module name again! :-)
If you have any hard-coded URLs pointing to readings that you don't want to break,
you can add a line like this to your Apache httpd.conf to redirect them:
<B><CODE>Redirect /mod/reading http://yourserver.com/mod/resource</CODE></B><BR><BR>
<FONT COLOR=RED>Note: if upgrading to 1.0.6 you may have some "reading" errors in "Recent activity" ... logging
out and then logging in again will fix this</FONT><BR><BR>
<DT> Other additions
<DD> An admin script to totally delete the Moodle data directory has been included (admin/delete.php)
for people who need to tear down a Moodle installation but don't have root access on their
server.<BR><BR>
<DT> Miscellaneous
<DD> Many small improvements have been made to the interface, and many small bugs have been fixed.
Some examples:
<UL>
<LI> Big "Edit this page" buttons at the top of pages (replacing the tiny icon)
<LI> LDAP authentication module (thanks to Petri)
<LI> Authentication from external sources can now import any fields
<LI> Student assignment list now shows submission status properly
<LI> Default language for users is now the site language
<LI> Users have a 'Change Password' button on their profile page
<LI> Journals that need teacher feedback are highlighted
<LI> More documentation and more context help buttons
<LI> Database-specific upgrade code
<LI> Uses character-set codes to make the browser do the right thing
<LI> User's name in footer is now a link
<LI> News and social forums are now editable
<LI> Forums that don't allow posting don't have uneccessary "discuss" links
<LI> Improved algorithm for shortening posts in forum listings
<LI> Choice module now allows up to six choices
</UL>
</DL></UL>
-88
View File
@@ -1,88 +0,0 @@
UPGRADING $Id$
---------
As Moodle grows, there are changes to the code and
sometimes changes to the database structures.
Moodle is able to upgrade its own databases, using
information in files called version.php. There is
one of these for the main tables (in this directory)
and one for each module.
In the following instructions I will include some
sample Unix shell commands - there are obviously
graphical ways to do the same things.
Before the upgrade
------------------
Before upgrading any version of Moodle, I recommend
making a backup copy of the moodle directory, your
data directory and your database, to guard against
the very unlikely event that something in the upgrade
goes wrong.
At the very least, make a copy of your config.php file
and any languages, custom themes or plug-ins you have
added to Moodle.
Upgrading the files using CVS
--------------------------------
If you are using CVS, just go to the Moodle root
directory and update the files:
cvs update -dP
If you have been editing Moodle files watch the
messages very closely for possible conflicts
(and consider sending your fixes in to me as patches :)
Upgrading the files using a downloaded archive
-------------------------------------------------
Rename the current installation directory (as backup)
mv moodle moodle.backup
and then unpack the new tar or zip file into the old
location. DO NOT OVERWRITE AN OLD INSTALLATION
unless you know what you are doing - sometimes old
files can cause problems in new installations.
tar xvzf moodle-1.0.6.tgz
Next, copy the config.php file from your old installation
into the new installation (or make a new one by editing
config-dist.php). If you have created new themes or
other plug-ins then make sure you copy those back too.
cp moodle.backup/config.php moodle
cp -pr moodle.backup/theme/mytheme moodle/theme/mytheme
Finishing the upgrade
---------------------
Visit the admin page of your installation to complete
the upgrade (eg http://example.com/moodle/admin).
It doesn't matter if you are logged in as admin or not.
Moodle will automatically detect the new version
and perform any database or filesystem upgrades that
might be necessary.
If all goes well (no error messages) then you can just
go on using the new version!
If you have problems with this procedure, let me know.
Cheers, and have fun!
Martin
+142
View File
@@ -0,0 +1,142 @@
<?PHP // $Id$
// config.php - allows admin to edit all configuration variables
include("../config.php");
require_login();
if (!$site = get_site()) {
redirect("index.php");
}
if (!isadmin()) {
error("Only the admin can use this page");
}
/// If data submitted, then process and store.
if (match_referer() && isset($HTTP_POST_VARS)) {
$config = (object)$HTTP_POST_VARS;
validate_form($config, $err);
if (count($err) == 0) {
print_header();
foreach ($config as $name => $value) {
if (! set_config($name, $value)) {
notify("Problem saving config $name as $value");
}
}
redirect("auth.php", get_string("changessaved"), 1);
exit;
} else {
foreach ($err as $key => $value) {
$focus = "form.$key";
}
}
}
/// Otherwise fill and print the form.
if (!isset($config)) {
$config = $CFG;
}
$modules = get_list_of_plugins("auth");
foreach ($modules as $module) {
$options[$module] = get_string("auth_$module"."title", "auth");
}
asort($options);
if (isset($_GET['auth'])) {
$auth = $_GET['auth'];
} else {
$auth = $config->auth;
}
if (! isset($config->guestloginbutton)) {
$config->guestloginbutton = 1;
}
$guestoptions[0] = get_string("hide");
$guestoptions[1] = get_string("show");
$stradministration = get_string("administration");
$strauthentication = get_string("authentication");
$strauthenticationoptions = get_string("authenticationoptions","auth");
$strsettings = get_string("settings");
print_header("$site->shortname: $strauthenticationoptions", "$site->fullname",
"<A HREF=\"index.php\">$stradministration</A> -> $strauthenticationoptions", "$focus");
echo "<CENTER><P><B>";
echo "<form TARGET=\"_top\" NAME=\"authmenu\" method=\"post\" action=\"auth.php\">";
print_string("chooseauthmethod","auth");
choose_from_menu ($options, "auth", $auth, "","top.location='auth.php?auth='+document.authmenu.auth.options[document.authmenu.auth.selectedIndex].value", "");
echo "</B></P></CENTER>";
print_simple_box_start("center", "100%", "$THEME->cellheading");
print_heading($options[$auth]);
echo "<BLOCKQUOTE><CENTER><P>";
print_string("auth_$auth"."description", "auth");
echo "</P></CENTER></BLOCKQUOTE>";
echo "<HR>";
print_heading($strsettings);
echo "<table border=\"0\" width=\"100%\" cellpadding=\"4\">";
require("$CFG->dirroot/auth/$auth/config.html");
if ($auth != "email" and $auth != "none") {
echo "<tr valign=\"top\">";
echo "<td align=right nowrap><p>";
print_string("changepassword", "auth");
echo ":</p></td>";
echo "<td>";
echo "<INPUT TYPE=\"text\" NAME=\"changepassword\" SIZE=40 VALUE=\"$config->changepassword\">";
echo "</td>";
echo "<td>";
print_string("changepasswordhelp","auth");
echo "</td></tr>";
}
echo "<tr valign=\"top\">";
echo "<td align=right nowrap><p>";
print_string("guestloginbutton", "auth");
echo ":</p></td>";
echo "<td>";
choose_from_menu($guestoptions, "guestloginbutton", $config->guestloginbutton, "");
echo "</td>";
echo "<td>";
print_string("showguestlogin","auth");
echo "</td></tr></table>";
echo "<CENTER><P><INPUT TYPE=\"submit\" VALUE=\"";
print_string("savechanges");
echo "\"></P></CENTER></FORM>";
print_simple_box_end();
print_footer();
exit;
/// Functions /////////////////////////////////////////////////////////////////
function validate_form(&$form, &$err) {
// if (empty($form->fullname))
// $err["fullname"] = get_string("missingsitename");
return;
}
?>
+17 -16
View File
@@ -1,22 +1,6 @@
<FORM METHOD="post" action="config.php" NAME="form">
<TABLE cellpadding=9 cellspacing=0 >
<TR VALIGN=TOP>
<TD ALIGN=RIGHT><P>auth:</TD>
<TD>
<? $modules = get_list_of_plugins("auth");
foreach ($modules as $module) {
$options[$module] = $module;
}
choose_from_menu ($options, "auth", $config->auth, "", "", "");
formerr($err["auth"]);
unset($options);
?>
</TD>
<TD>
<? print_string("configauth") ?>
</TD>
</TR>
<TR VALIGN=TOP>
<TD ALIGN=RIGHT><P>lang:</TD>
<TD>
@@ -62,6 +46,23 @@
<? print_string("configsmtphosts") ?>
</TD>
</TR>
<TR VALIGN=TOP>
<TD ALIGN=RIGHT><P>smtpuser:</TD>
<TD>
<INPUT NAME=smtpuser TYPE=text SIZE=10 VALUE="<?=$config->smtpuser?>">
<? formerr($err["smtpuser"]); ?>
</TD>
<TD ROWSPAN=2>
<? print_string("configsmtpuser") ?>
</TD>
</TR>
<TR VALIGN=TOP>
<TD ALIGN=RIGHT><P>smtppass:</TD>
<TD>
<INPUT NAME=smtppass TYPE=text SIZE=10 VALUE="<?=$config->smtppass?>">
<? formerr($err["smtppass"]); ?>
</TD>
</TR>
<TR VALIGN=TOP>
<TD ALIGN=RIGHT><P>gdversion:</TD>
<TD>
+42
View File
@@ -0,0 +1,42 @@
<?PHP // $Id$
require("../config.php");
/// Normally this file is never used.
///
/// It can be useful to jump-start a new moodle installation when
/// it is being installed into a database that already contains
/// some tables.
///
/// For this case you would call this script directly
///
/// Warning: this method ASSUMES that all existing tables with
/// have different names to any Moodle tables, so make sure
/// there aren't any Moodle-named tables in your database before
/// using this script. See lib/db/mysql.sql and mod/*/db/mysql.sql
if ($CFG->version) { // To avoid this being used on a working site.
echo "No need to use this";
} else {
$strdatabasesetup = get_string("databasesetup");
$strdatabasesuccess = get_string("databasesuccess");
print_header($strdatabasesetup, $strdatabasesetup, $strdatabasesetup);
if (file_exists("$CFG->libdir/db/$CFG->dbtype.sql")) {
$db->debug = true;
if (modify_database("$CFG->libdir/db/$CFG->dbtype.sql")) {
$db->debug = false;
notify($strdatabasesuccess);
} else {
$db->debug = false;
error("Error: Main databases NOT set up successfully");
}
} else {
error("Error: Your database ($CFG->dbtype) is not yet fully supported by Moodle.
See the lib/db directory.");
}
print_continue("index.php");
}
+3 -2
View File
@@ -115,7 +115,7 @@
}
print_continue("index.php");
print_simple_box_start("CENTER");
include("$CFG->dirroot/RELEASE.html");
include("$CFG->dirroot/doc/release.html");
print_simple_box_end();
print_continue("index.php");
exit;
@@ -251,7 +251,8 @@
"<P><A HREF=\"../course/delete.php\">".get_string("deletecourse")."</A></P>".
"<P><A HREF=\"../course/categories.php\">".get_string("categories")."</A></P>";
$table->data[0][2] = "<P><A HREF=\"user.php?newuser=true\">".get_string("addnewuser")."</A></P>".
"<P><A HREF=\"user.php\">".get_string("edituser")."</A></P>";
"<P><A HREF=\"user.php\">".get_string("edituser")."</A></P>".
"<P><A HREF=\"auth.php\">".get_string("authentication")."</A></P>";
print_table($table);
+3 -3
View File
@@ -87,7 +87,7 @@
$first = true;
foreach ($enstring as $key => $value) {
if (!isset($string[$key])) {
$value = htmlentities($value);
$value = htmlspecialchars($value);
$value = str_replace("$"."a", "\\$"."a", $value);
if ($first) {
echo "</PRE><HR><P><B>".get_string("stringsnotset","","$langdir/$file")."</B></P><PRE>";
@@ -179,7 +179,7 @@
}
echo "<TABLE WIDTH=\"100%\" CELLPADDING=2 CELLSPACING=3 BORDER=0>";
foreach ($enstring as $key => $envalue) {
$envalue = nl2br(htmlentities($envalue));
$envalue = nl2br(htmlspecialchars($envalue));
$envalue = str_replace("\$a","<B>\$a</B>", $envalue); // Make variables bold
// TODO: It would be nice if all the $a->something variables were bold too
@@ -188,7 +188,7 @@
echo "<TD WIDTH=40% BGCOLOR=\"$THEME->cellheading\" VALIGN=TOP>$envalue</TD>";
$value = str_replace("\\","",$string[$key]); // Delete all slashes
$value = htmlentities($value);
$value = htmlspecialchars($value);
if ($editable) {
echo "<TD WIDTH=40% VALIGN=TOP>";
if (isset($string[$key])) {
+51 -5
View File
@@ -4,11 +4,14 @@
require("../user/lib.php");
require("../lib/countries.php");
$recordsperpage = 30;
optional_variable($newuser, "");
optional_variable($delete, "");
optional_variable($confirm, "");
optional_variable($sort, "name");
optional_variable($dir, "ASC");
optional_variable($page, 0);
if (! record_exists_sql("SELECT * FROM user_admins")) { // No admin user yet
$user->firstname = "Admin";
@@ -107,7 +110,7 @@
exit;
} else if (!$user->deleted) {
$user->deleted = "1";
$user->username = $user->email; // Remember it just in case
$user->username = "$user->email.".time(); // Remember it just in case
$user->email = ""; // Clear this field to free it up
$user->timemodified = time();
if (update_record("user", $user)) {
@@ -123,6 +126,12 @@
// Carry on with the user listing
if (!$user = get_record_sql("SELECT count(*) as count FROM user WHERE username <> 'guest' AND deleted <> '1'")) {
error("Could not search for users?");
}
$usercount = $user->count;
$columns = array("name", "email", "city", "country", "lastaccess");
foreach ($columns as $column) {
@@ -144,8 +153,47 @@
$sort = "firstname";
}
if ($users = get_records_sql("SELECT * from user WHERE username <> 'guest'
AND deleted <> '1' ORDER BY $sort $dir")) {
if ($users = get_records_sql("SELECT id, username, email, firstname, lastname, city, country, lastaccess from user WHERE username <> 'guest'
AND deleted <> '1' ORDER BY $sort $dir LIMIT $page,$recordsperpage")) {
print_heading("$usercount ".get_string("users"));
$a->start = $page;
$a->end = $page + $recordsperpage;
if ($a->end > $usercount) {
$a->end = $usercount;
}
echo "<TABLE align=center cellpadding=10><TR>";
echo "<TD>";
if ($page) {
$prevpage = $page - $recordsperpage;
if ($prevpage < 0) {
$prevpage = 0;
}
$options["dir"] = $dir;
$options["page"] = 0;
$options["sort"] = $sort;
print_single_button("user.php", $options, " << ");
echo "</TD><TD>";
$options["page"] = $prevpage;
print_single_button("user.php", $options, " < ");
}
echo "</TD><TD>";
print_heading(get_string("displayingusers", "", $a));
echo "</TD><TD>";
$nextpage = $page + $recordsperpage;
if ($nextpage < $usercount) {
$options["dir"] = $dir;
$options["page"] = $nextpage;
$options["sort"] = $sort;
print_single_button("user.php", $options, " > ");
echo "</TD><TD>";
$options["page"] = $usercount-$recordsperpage;
print_single_button("user.php", $options, " >> ");
}
echo "</TD></TR></TABLE>";
flush();
foreach ($users as $key => $user) {
$users[$key]->country = $COUNTRIES[$user->country];
@@ -161,8 +209,6 @@
$users = $nusers;
}
print_heading(get_string("chooseuser"));
$table->head = array ($name, $email, $city, $country, $lastaccess, "", "");
$table->align = array ("LEFT", "LEFT", "LEFT", "LEFT", "LEFT", "CENTER", "CENTER");
$table->width = "95%";
+37 -1
View File
@@ -39,5 +39,41 @@ ldap - Uses an external LDAP server
- if correct, user is logged in
- optionally, info is copied from the LDAP
database to the Moodle user database
(see the ldap/README for more details on config etc...)
imap - Uses an external IMAP server
- user logs in using username and password
- these are checked against an IMAP server
- if correct, user is logged in
- if the username doesn't already exist then
a new account is created
pop3 - Uses an external POP3 server
- user logs in using username and password
- these are checked against a POP3 server
- if correct, user is logged in
- if the username doesn't already exist then
a new account is created
nntp - Uses an external NNTP server
- user logs in using username and password
- these are checked against an NNTP server
- if correct, user is logged in
- if the username doesn't already exist then
a new account is created
db - Uses an external database to check username/password
- user logs in using username and password
- these are checked against an external database
- if correct, user is logged in
- if the username doesn't already exist then
a new Moodle account is created
+191
View File
@@ -0,0 +1,191 @@
<tr valign="top" BGCOLOR="<?=$THEME->cellheading2 ?>">
<TD ALIGN=RIGHT><P>auth_dbhost:</TD>
<TD>
<INPUT name=auth_dbhost TYPE=text SIZE=30 VALUE="<?=$config->auth_dbhost?>">
<? formerr($err["auth_dbhost"]); ?>
</TD>
<TD>
<? print_string("auth_dbhost","auth") ?>
</TD>
</TR>
<TR VALIGN=TOP BGCOLOR="<?=$THEME->cellheading2 ?>">
<TD ALIGN=RIGHT><P>auth_dbtype:</TD>
<TD>
<? $dbtypes = array("access","ado_access", "ado", "ado_mssql", "borland_ibase", "csv", "db2", "fbsql", "firebird", "ibase", "informix72", "informix", "mssql", "mysql", "mysqlt", "oci805", "oci8", "oci8po", "odbc", "odbc_mssql", "odbc_oracle", "oracle", "postgres64", "postgres7", "postgres", "proxy", "sqlanywhere", "sybase", "vfp");
foreach ($dbtypes as $dbtype) {
$dboptions[$dbtype] = $dbtype;
}
choose_from_menu($dboptions, "auth_dbtype", $config->auth_dbtype, "");
?>
</TD>
<TD>
<? print_string("auth_dbtype","auth") ?>
</TD>
</TR>
<TR VALIGN=TOP BGCOLOR="<?=$THEME->cellheading2 ?>">
<TD ALIGN=RIGHT><P>auth_dbname:</TD>
<TD>
<INPUT name=auth_dbname TYPE=text SIZE=30 VALUE="<?=$config->auth_dbname?>">
<? formerr($err["auth_dbname"]); ?>
</TD>
<TD>
<? print_string("auth_dbname","auth") ?>
</TD>
</TR>
<TR VALIGN=TOP BGCOLOR="<?=$THEME->cellheading2 ?>">
<TD ALIGN=RIGHT><P>auth_dbuser:</TD>
<TD>
<INPUT name=auth_dbuser TYPE=text SIZE=30 VALUE="<?=$config->auth_dbuser?>">
<? formerr($err["auth_dbuser"]); ?>
</TD>
<TD>
<? print_string("auth_dbuser","auth") ?>
</TD>
</TR>
<TR VALIGN=TOP BGCOLOR="<?=$THEME->cellheading2 ?>">
<TD ALIGN=RIGHT><P>auth_dbpass:</TD>
<TD>
<INPUT name="auth_dbpass" TYPE="text" SIZE="30" VALUE="<?=$config->auth_dbpass?>">
<? formerr($err["auth_dbpass"]); ?>
</TD>
<TD>
<? print_string("auth_dbpass","auth") ?>
</TD>
</TR>
<TR VALIGN=TOP BGCOLOR="<?=$THEME->cellheading2 ?>">
<TD ALIGN=RIGHT><P>auth_dbtable:</TD>
<TD>
<INPUT name="auth_dbtable" TYPE="text" SIZE="30" VALUE="<?=$config->auth_dbtable?>">
<? formerr($err["auth_dbtable"]); ?>
</TD>
<TD>
<? print_string("auth_dbtable","auth") ?>
</TD>
</TR>
<TR VALIGN=TOP BGCOLOR="<?=$THEME->cellheading2 ?>">
<TD ALIGN=RIGHT><P>auth_dbfielduser:</TD>
<TD>
<INPUT name="auth_dbfielduser" TYPE="text" SIZE="30" VALUE="<?=$config->auth_dbfielduser?>">
<? formerr($err["auth_dbfielduser"]); ?>
</TD>
<TD>
<? print_string("auth_dbfielduser","auth") ?>
</TD>
</TR>
<TR VALIGN=TOP BGCOLOR="<?=$THEME->cellheading2 ?>">
<TD ALIGN=RIGHT><P>auth_dbfieldpass:</TD>
<TD>
<INPUT name="auth_dbfieldpass" TYPE="text" SIZE="30" VALUE="<?=$config->auth_dbfieldpass?>">
<? formerr($err["auth_dbfieldpass"]); ?>
</TD>
<TD>
<? print_string("auth_dbfieldpass","auth") ?>
</TD>
</TR>
<TR>
<TD ALIGN=RIGHT><P><? print_string("firstname") ?>:</TD>
<TD>
<INPUT name="auth_user_firstname" TYPE="text" SIZE="30" VALUE="<?=$config->auth_user_firstname?>">
</TD>
<TD rowspan=12 VALIGN=CENTER>
<? print_string("auth_dbextrafields","auth") ?>
</TD>
</TR>
<TR VALIGN=TOP>
<TD ALIGN=RIGHT><P><? print_string("lastname") ?>:</TD>
<TD>
<INPUT name="auth_user_lastname" TYPE="text" SIZE="30" VALUE="<?=$config->auth_user_lastname?>">
</TD>
</TR>
<TR VALIGN=TOP>
<TD ALIGN=RIGHT><P><? print_string("email") ?>:</TD>
<TD>
<INPUT name="auth_user_email" TYPE="text" SIZE="30" VALUE="<?=$config->auth_user_email?>">
</TD>
</TR>
<TR VALIGN=TOP>
<TD ALIGN=RIGHT><P><? print_string("phone") ?> 1:</TD>
<TD>
<INPUT name="auth_user_phone1" TYPE="text" SIZE="30" VALUE="<?=$config->auth_user_phone1?>">
</TD>
</TR>
<TR VALIGN=TOP>
<TD ALIGN=RIGHT><P><? print_string("phone") ?> 2:</TD>
<TD>
<INPUT name="auth_user_phone2" TYPE="text" SIZE="30" VALUE="<?=$config->auth_user_phone2?>">
</TD>
</TR>
<TR VALIGN=TOP>
<TD ALIGN=RIGHT><P><? print_string("department") ?>:</TD>
<TD>
<INPUT name="auth_user_department" TYPE="text" SIZE="30" VALUE="<?=$config->auth_user_department?>">
</TD>
</TR>
<TR VALIGN=TOP>
<TD ALIGN=RIGHT><P><? print_string("address") ?>:</TD>
<TD>
<INPUT name="auth_user_address" TYPE="text" SIZE="30" VALUE="<?=$config->auth_user_address?>">
</TD>
</TR>
<TR VALIGN=TOP>
<TD ALIGN=RIGHT><P><? print_string("city") ?>:</TD>
<TD>
<INPUT name="auth_user_city" TYPE="text" SIZE="30" VALUE="<?=$config->auth_user_city?>">
</TD>
</TR>
<TR VALIGN=TOP>
<TD ALIGN=RIGHT><P><? print_string("country") ?>:</TD>
<TD>
<INPUT name="auth_user_country" TYPE="text" SIZE="30" VALUE="<?=$config->auth_user_country?>">
</TD>
</TR>
<TR VALIGN=TOP>
<TD ALIGN=RIGHT><P><? print_string("description") ?>:</TD>
<TD>
<INPUT name="auth_user_description" TYPE="text" SIZE="30" VALUE="<?=$config->auth_user_description?>">
</TD>
</TR>
<TR VALIGN=TOP>
<TD ALIGN=RIGHT><P><? print_string("idnumber") ?>:</TD>
<TD>
<INPUT name="auth_user_idnumber" TYPE="text" SIZE="30" VALUE="<?=$config->auth_user_idnumber?>">
</TD>
</TR>
<TR VALIGN=TOP>
<TD ALIGN=RIGHT><P><? print_string("language") ?>:</TD>
<TD>
<INPUT name="auth_user_lang" TYPE="text" SIZE="30" VALUE="<?=$config->auth_user_lang?>">
</TD>
</TR>
<TR VALIGN=TOP>
<TD ALIGN=RIGHT><P><? print_string("instructions", "auth") ?>:</TD>
<TD>
<TEXTAREA NAME=auth_instructions COLS=30 ROWS=10 WRAP=virtual><? p($config->auth_instructions) ?></TEXTAREA>
</TD>
<TD>
<? print_string("authinstructions","auth") ?>
<? helpbutton("text", get_string("helptext")) ?>
</TD>
</TR>
+66
View File
@@ -0,0 +1,66 @@
<?PHP // $Id$
// Authentication by looking up an external database table
// This code is completely untested so far - IT NEEDS TESTERS!
// Looks like it should work though ...
function auth_user_login ($username, $password) {
// Returns true if the username and password work
// and false if they are wrong or don't exist.
global $CFG;
ADOLoadCode($CFG->auth_dbtype);
$authdb = &ADONewConnection();
$authdb->PConnect($CFG->auth_dbhost,$CFG->auth_dbuser,$CFG->auth_dbpass,$CFG->auth_dbname);
$rs = $authdb->Execute("SELECT * FROM $CFG->auth_dbtable
WHERE $CFG->auth_dbfielduser = '$username'
AND $CFG->auth_dbfieldpass = '$password' ");
if (!$rs) {
notify("Could not connect to the specified authentication database...");
return false;
}
if ( $rs->RecordCount() ) {
return true;
} else {
return false;
}
}
function auth_get_userinfo($username){
// Reads any other information for a user from external database,
// then returns it in an array
global $CFG;
$config = (array) $CFG;
ADOLoadCode($CFG->auth_dbtype);
$authdb = &ADONewConnection();
$authdb->PConnect($CFG->auth_dbhost,$CFG->auth_dbuser,$CFG->auth_dbpass,$CFG->auth_dbname);
$fields = array("firstname", "lastname", "email", "phone1", "phone2",
"department", "address", "city", "country", "description",
"idnumber", "lang");
$result = array();
foreach ($fields as $field) {
if ($config["auth_user_$field"]) {
if ($rs = $authdb->Execute("SELECT ".$config["auth_user_$field"]." FROM $CFG->auth_dbtable
WHERE $CFG->auth_dbfielduser = '$username'")) {
if ( $rs->RecordCount() == 1 ) {
$result["$field"] = $rs->fields[$config["auth_user_$field"]];
}
}
}
}
return $result;
}
?>
+1
View File
@@ -0,0 +1 @@
<!-- No config needed -->
+47
View File
@@ -0,0 +1,47 @@
<tr valign="top" BGCOLOR="<?=$THEME->cellheading2 ?>">
<TD ALIGN=RIGHT><P>auth_imaphost:</TD>
<TD>
<INPUT name=auth_imaphost TYPE=text SIZE=30 VALUE="<?=$config->auth_imaphost?>">
<? formerr($err["ldap_host_url"]); ?>
</TD>
<TD>
<? print_string("auth_imaphost","auth") ?>
</TD>
</TR>
<TR VALIGN=TOP BGCOLOR="<?=$THEME->cellheading2 ?>">
<TD ALIGN=RIGHT><P>auth_imaptype:</TD>
<TD>
<? $imaptypes = array("imap","imapssl", "imapcert", "imaptls");
foreach($imaptypes as $imaptype) {
$imapoptions[$imaptype] = $imaptype;
}
choose_from_menu($imapoptions, "auth_imaptype", $config->auth_imaptype, "");
?>
</TD>
<TD>
<? print_string("auth_imaptype","auth") ?>
</TD>
</TR>
<TR VALIGN=TOP BGCOLOR="<?=$THEME->cellheading2 ?>">
<TD ALIGN=RIGHT><P>auth_imapport:</TD>
<TD>
<INPUT name=auth_imapport TYPE=text SIZE=6 VALUE="<?=$config->auth_imapport?>">
<? formerr($err["auth_imapport"]); ?>
</TD>
<TD>
<? print_string("auth_imapport","auth") ?>
</TD>
</TR>
<TR VALIGN=TOP>
<TD ALIGN=RIGHT><P><? print_string("instructions", "auth") ?>:</TD>
<TD>
<TEXTAREA NAME=auth_instructions COLS=30 ROWS=10 WRAP=virtual><? p($config->auth_instructions) ?></TEXTAREA>
</TD>
<TD>
<? print_string("authinstructions","auth") ?>
<? helpbutton("text", get_string("helptext")) ?>
</TD>
</TR>
+41
View File
@@ -0,0 +1,41 @@
<?PHP // $Id$
// Authentication by looking up an IMAP server
function auth_user_login ($username, $password) {
// Returns true if the username and password work
// and false if they are wrong or don't exist.
global $CFG;
switch ($CFG->auth_imaptype) {
case "imapssl":
$host = "{".$CFG->auth_imaphost.":$CFG->auth_imapport/imap/ssl}";
break;
case "imapcert":
$host = "{".$CFG->auth_imaphost.":$CFG->auth_imapport/imap/ssl/novalidate-cert}";
break;
case "imaptls":
$host = "{".$CFG->auth_imaphost.":$CFG->auth_imapport/imap/notls}";
break;
default:
$host = "{".$CFG->auth_imaphost.":$CFG->auth_imapport}";
}
error_reporting(0);
$connection = imap_open($host, $username, $password, OP_HALFOPEN);
error_reporting(7);
if ($connection) {
imap_close($connection);
return true;
} else {
return false;
}
}
?>
-34
View File
@@ -2,37 +2,3 @@ LDAP-module README
07.10.2002 Version 0.1, Petri Asikainen <paca@sci.fi>
Ldap-authetication module is work in progress.
Right now we are building config-interface to use also with all other auth-modules,
but it will take sometime.
If you like to try ldap-authentication now , create following $CFG->variables to
/moodle/config.php or directly to config-table and activate ldap authentication
from admin-configuration page.
Variable Description
$CFG->ldap_bind_dn "If your like to use bind-user to search
users, specify it here. Something like
'cn=ldapuser,ou=public,o=org'"
$CFG->ldap_bind_pw "Password for bind-user."
$CFG->ldap_contexts "List of contexts where users are located.
Separate different contexts with ';'.
Something like
'ou=users,o=org; ou=other,o=org'"
$CFG->ldap_host_url "Specify LDAP host in URL-form, like
'ldap://ldap.myorg.com/' or
'ldaps//ldap.myorg.com/' "
$CFG->ldap_search_sub "Put value <> 0 if you like to
search users from subcontexts.
(Subsearching is sometimes slow)"
$CFG->ldap_user_attribute "What attribute is used to name/search
users. Usually 'cn' when using
Novell e-directory
And if you like to _very_ experimental:
Edit /auth/ldap/lib.php function auth_get_userinfo() attribute-mappings and
set $CFG->auth_update_userinfo = 1
Then moodle will get user first-, lastname and other information from ldap
when user is login first time.
+168
View File
@@ -0,0 +1,168 @@
<tr valign="top" BGCOLOR="<?=$THEME->cellheading2 ?>">
<TD ALIGN=RIGHT><P>ldap_host_url:</TD>
<TD>
<INPUT name=ldap_host_url TYPE=text SIZE=30 VALUE="<?=$config->ldap_host_url?>">
<? formerr($err["ldap_host_url"]); ?>
</TD>
<TD>
<? print_string("auth_ldap_host_url","auth") ?>
</TD>
</TR>
<TR VALIGN=TOP BGCOLOR="<?=$THEME->cellheading2 ?>">
<TD ALIGN=RIGHT><P>ldap_user_context:</TD>
<TD>
<INPUT name=ldap_contexts TYPE=text SIZE=30 VALUE="<?=$config->ldap_contexts?>">
<? formerr($err["ldap_contexts"]); ?>
</TD>
<TD>
<? print_string("auth_ldap_contexts","auth") ?>
</TD>
</TR>
<TR VALIGN=TOP BGCOLOR="<?=$THEME->cellheading2 ?>">
<TD ALIGN=RIGHT><P>ldap_user_attribute:</TD>
<TD>
<INPUT name=ldap_user_attribute TYPE=text SIZE=30 VALUE="<?=$config->ldap_user_attribute?>">
<? formerr($err["ldap_user_attribute"]); ?>
</TD>
<TD>
<? print_string("auth_ldap_user_attribute","auth") ?>
</TD>
</TR>
<TR VALIGN=TOP BGCOLOR="<?=$THEME->cellheading2 ?>">
<TD ALIGN=RIGHT><P>ldap_search_sub:</TD>
<TD>
<INPUT name=ldap_search_sub TYPE=text SIZE=1 VALUE="<?=$config->ldap_search_sub?>">
<? formerr($err["ldap_search_sub"]); ?>
</TD>
<TD>
<? print_string("auth_ldap_search_sub","auth") ?>
</TD>
</TR>
<TR VALIGN=TOP BGCOLOR="<?=$THEME->cellheading2 ?>">
<TD ALIGN=RIGHT><P>ldap_bind_dn:</TD>
<TD>
<INPUT name=ldap_bind_dn TYPE=text SIZE=30 VALUE="<?=$config->ldap_bind_dn?>">
<? formerr($err["ldap_bind_dn"]); ?>
</TD><TD>
<? print_string("auth_ldap_bind_dn","auth") ?>
</TD>
</TR>
<TR VALIGN=TOP BGCOLOR="<?=$THEME->cellheading2 ?>">
<TD ALIGN=RIGHT><P>ldap_bind_password:</TD>
<TD>
<INPUT name=ldap_bind_pw TYPE=text SIZE=30 VALUE="<?=$config->ldap_bind_pw?>">
<? formerr($err["ldap_bind_pw"]); ?>
</TD><TD>
<? print_string("auth_ldap_bind_pw","auth") ?>
</TD>
</TR>
<TR>
<TD ALIGN=RIGHT><P><? print_string("firstname") ?>:</TD>
<TD>
<INPUT name="auth_user_firstname" TYPE="text" SIZE="30" VALUE="<?=$config->auth_user_firstname?>">
</TD>
<TD rowspan=12 VALIGN=CENTER>
<? print_string("auth_ldapextrafields","auth") ?>
</TD>
</TR>
<TR VALIGN=TOP>
<TD ALIGN=RIGHT><P><? print_string("lastname") ?>:</TD>
<TD>
<INPUT name="auth_user_lastname" TYPE="text" SIZE="30" VALUE="<?=$config->auth_user_lastname?>">
</TD>
</TR>
<TR VALIGN=TOP>
<TD ALIGN=RIGHT><P><? print_string("email") ?>:</TD>
<TD>
<INPUT name="auth_user_email" TYPE="text" SIZE="30" VALUE="<?=$config->auth_user_email?>">
</TD>
</TR>
<TR VALIGN=TOP>
<TD ALIGN=RIGHT><P><? print_string("phone") ?> 1:</TD>
<TD>
<INPUT name="auth_user_phone1" TYPE="text" SIZE="30" VALUE="<?=$config->auth_user_phone1?>">
</TD>
</TR>
<TR VALIGN=TOP>
<TD ALIGN=RIGHT><P><? print_string("phone") ?> 2:</TD>
<TD>
<INPUT name="auth_user_phone2" TYPE="text" SIZE="30" VALUE="<?=$config->auth_user_phone2?>">
</TD>
</TR>
<TR VALIGN=TOP>
<TD ALIGN=RIGHT><P><? print_string("department") ?>:</TD>
<TD>
<INPUT name="auth_user_department" TYPE="text" SIZE="30" VALUE="<?=$config->auth_user_department?>">
</TD>
</TR>
<TR VALIGN=TOP>
<TD ALIGN=RIGHT><P><? print_string("address") ?>:</TD>
<TD>
<INPUT name="auth_user_address" TYPE="text" SIZE="30" VALUE="<?=$config->auth_user_address?>">
</TD>
</TR>
<TR VALIGN=TOP>
<TD ALIGN=RIGHT><P><? print_string("city") ?>:</TD>
<TD>
<INPUT name="auth_user_city" TYPE="text" SIZE="30" VALUE="<?=$config->auth_user_city?>">
</TD>
</TR>
<TR VALIGN=TOP>
<TD ALIGN=RIGHT><P><? print_string("country") ?>:</TD>
<TD>
<INPUT name="auth_user_country" TYPE="text" SIZE="30" VALUE="<?=$config->auth_user_country?>">
</TD>
</TR>
<TR VALIGN=TOP>
<TD ALIGN=RIGHT><P><? print_string("description") ?>:</TD>
<TD>
<INPUT name="auth_user_description" TYPE="text" SIZE="30" VALUE="<?=$config->auth_user_description?>">
</TD>
</TR>
<TR VALIGN=TOP>
<TD ALIGN=RIGHT><P><? print_string("idnumber") ?>:</TD>
<TD>
<INPUT name="auth_user_idnumber" TYPE="text" SIZE="30" VALUE="<?=$config->auth_user_idnumber?>">
</TD>
</TR>
<TR VALIGN=TOP>
<TD ALIGN=RIGHT><P><? print_string("language") ?>:</TD>
<TD>
<INPUT name="auth_user_lang" TYPE="text" SIZE="30" VALUE="<?=$config->auth_user_lang?>">
</TD>
</TR>
<TR VALIGN=TOP>
<TD ALIGN=RIGHT><P><? print_string("instructions", "auth") ?>:</TD>
<TD>
<TEXTAREA NAME=auth_instructions COLS=30 ROWS=10 WRAP=virtual><? p($config->auth_instructions) ?></TEXTAREA>
</TD>
<TD>
<? print_string("authinstructions","auth") ?>
<? helpbutton("text", get_string("helptext")) ?>
</TD>
</TR>
+49 -24
View File
@@ -42,31 +42,33 @@ function auth_get_userinfo($username){
global $CFG;
//reads userinformation from ldap and return it in array()
$result = array();
$ldap_connection=auth_ldap_connect();
$config = (array)$CFG;
$fields = array("firstname", "lastname", "email", "phone1", "phone2",
"department", "address", "city", "country", "description",
"idnumber", "lang");
$moodleattributes = array();
//atribute mappings between moodle and ldap
foreach ($fields as $field) {
if ($config["auth_user_$field"]) {
$moodleattributes[$field] = $config["auth_user_$field"];
}
}
$moodleattributes['firstname'] ='givenname';
$moodleattributes['lastname'] ='sn';
$moodleattributes['email'] ='mail';
$moodleattributes['phone1'] ='telephonenumber';
//$moodleattributes['phone2'] ='facsimiletelephonenumber';
//$moodleattributes['institution'] ='institution';
$moodleattributes['department'] ='ou';
$moodleattributes['address'] ='street';
$moodleattributes['city'] ='physicaldeliveryofficename';
//$moodleattributes['country'] ='country';
$moodleattributes['description'] ='description';
$ldap_connection=auth_ldap_connect();
$result = array();
$search_attribs = array();
foreach ($moodleattributes as $key=>$value) {
array_push($search_attribs, $value);
}
$user_dn = auth_ldap_find_userdn($ldap_connection, $username);
$user_info_result = ldap_read($ldap_connection,$user_dn,"objectClass=*", $search_attribs);
if (! isset($CFG->ldap_objectclass)) {
$CFG->ldap_objectclass="objectClass=*";
}
$user_info_result = ldap_read($ldap_connection,$user_dn,$CFG->ldap_objectclass, $search_attribs);
if ($user_info_result) {
$user_entry = ldap_get_entries($ldap_connection, $user_info_result);
foreach ($moodleattributes as $key=>$value){
@@ -77,15 +79,38 @@ function auth_get_userinfo($username){
}
@ldap_close($ldap_connection);
//Hardcoded defaults
if(! isset($result['description'])) {
$result['description'] = "Description";
}
$result['country']='FI';
return $result;
return $result;
}
function auth_get_userlist() {
//returns all users from ldap servers
global $CFG;
$fresult = array();
$ldap_connection = auth_ldap_connect();
auth_ldap_bind($ldap_connection);
if (! isset($CFG->ldap_objectclass)) {
$CFG->ldap_objectclass="objectClass=*";
}
$contexts=explode(";",$CFG->ldap_contexts);
foreach ($contexts as $context) {
if($CFG->ldap_search_sub){
//use ldap_search to find first user from subtree
$ldap_result = ldap_search($ldap_connection, $context, "(".$CFG->ldap_objectclass.")", array($CFG->ldap_user_attribute));
} else {
//search only in this context
$ldap_result = ldap_list($ldap_connection, $context, "(".$CFG->ldap_objectclass.")", array($CFG->ldap_user_attribute));
}
$users = ldap_get_entries($ldap_connection,$ldap_result);
//add found users to list
for ($i=0;$i<$users['count'];$i++) {
array_push($fresult,($users[$i][$CFG->ldap_user_attribute][0]));
}
}
return $fresult;
}
function auth_ldap_connect(){
//connects to ldap-server
global $CFG;
@@ -96,8 +121,8 @@ function auth_ldap_connect(){
error("LDAP-module cannot connect to server: $CFG->ldap_host_url");
return false;
}
}
function auth_ldap_bind($ldap_connection){
//makes bind to ldap for searching users
//uses ldap_bind_dn or anonymous bind
+32
View File
@@ -0,0 +1,32 @@
<tr valign="top" BGCOLOR="<?=$THEME->cellheading2 ?>">
<TD ALIGN=RIGHT><P>auth_nntphost:</TD>
<TD>
<INPUT name="auth_nntphost" TYPE="text" SIZE=30 VALUE="<?=$config->auth_nntphost?>">
<? formerr($err["ldap_nntphost"]); ?>
</TD>
<TD>
<? print_string("auth_nntphost","auth") ?>
</TD>
</TR>
<TR VALIGN=TOP BGCOLOR="<?=$THEME->cellheading2 ?>">
<TD ALIGN=RIGHT><P>auth_nntpport:</TD>
<TD>
<INPUT name=auth_imapport TYPE=text SIZE=6 VALUE="<?=$config->auth_nntpport?>">
<? formerr($err["auth_nntpport"]); ?>
</TD>
<TD>
<? print_string("auth_nntpport","auth") ?>
</TD>
</TR>
<TR VALIGN=TOP>
<TD ALIGN=RIGHT><P><? print_string("instructions", "auth") ?>:</TD>
<TD>
<TEXTAREA NAME=auth_instructions COLS=30 ROWS=10 WRAP=virtual><? p($config->auth_instructions) ?></TEXTAREA>
</TD>
<TD>
<? print_string("authinstructions","auth") ?>
<? helpbutton("text", get_string("helptext")) ?>
</TD>
</TR>
+30
View File
@@ -0,0 +1,30 @@
<?PHP // $Id$
// Authentication by looking up an NNTP server
// This code is completely untested so far - IT NEEDS TESTERS!
// Looks like it should work though ...
function auth_user_login ($username, $password) {
// Returns true if the username and password work
// and false if they are wrong or don't exist.
global $CFG;
$host = "{".$CFG->auth_nntphost.":$CFG->auth_nntpport/nntp}";
error_reporting(0);
$connection = imap_open($host, $username, $password, OP_HALFOPEN);
error_reporting(7);
if ($connection) {
imap_close($connection);
return true;
} else {
return false;
}
}
?>
+1
View File
@@ -0,0 +1 @@
<!-- No config needed -->
+48
View File
@@ -0,0 +1,48 @@
<tr valign="top" BGCOLOR="<?=$THEME->cellheading2 ?>">
<TD ALIGN=RIGHT><P>auth_pop3host:</TD>
<TD>
<INPUT name=auth_pop3host TYPE=text SIZE=30 VALUE="<?=$config->auth_pop3host?>">
<? formerr($err["ldap_host_url"]); ?>
</TD>
<TD>
<? print_string("auth_pop3host","auth") ?>
</TD>
</TR>
<TR VALIGN=TOP BGCOLOR="<?=$THEME->cellheading2 ?>">
<TD ALIGN=RIGHT><P>auth_pop3type:</TD>
<TD>
<? $pop3types = array("pop3","pop3cert");
foreach($pop3types as $pop3type) {
$pop3options[$pop3type] = $pop3type;
}
choose_from_menu($pop3options, "auth_pop3type", $config->auth_pop3type, "");
?>
<? formerr($err["auth_pop3type"]); ?>
</TD>
<TD>
<? print_string("auth_pop3type","auth") ?>
</TD>
</TR>
<TR VALIGN=TOP BGCOLOR="<?=$THEME->cellheading2 ?>">
<TD ALIGN=RIGHT><P>auth_pop3port:</TD>
<TD>
<INPUT name=auth_pop3port TYPE=text SIZE=6 VALUE="<?=$config->auth_pop3port?>">
<? formerr($err["auth_pop3port"]); ?>
</TD>
<TD>
<? print_string("auth_pop3port","auth") ?>
</TD>
</TR>
<TR VALIGN=TOP>
<TD ALIGN=RIGHT><P><? print_string("instructions", "auth") ?>:</TD>
<TD>
<TEXTAREA NAME=auth_instructions COLS=30 ROWS=10 WRAP=virtual><? p($config->auth_instructions) ?></TEXTAREA>
</TD>
<TD>
<? print_string("authinstructions","auth") ?>
<? helpbutton("text", get_string("helptext")) ?>
</TD>
</TR>
+36
View File
@@ -0,0 +1,36 @@
<?PHP // $Id$
// Authentication by looking up a POP3 server
// This code is completely untested so far - IT NEEDS TESTERS!
// Looks like it should work though ...
function auth_user_login ($username, $password) {
// Returns true if the username and password work
// and false if they are wrong or don't exist.
global $CFG;
switch ($CFG->auth_pop3type) {
case "pop3":
$host = "{".$CFG->auth_pop3host.":$CFG->auth_pop3port/pop3}INBOX";
break;
case "pop3cert":
$host = "{".$CFG->auth_pop3host.":$CFG->auth_pop3port/pop3/ssl/novalidate-cert}INBOX";
break;
}
error_reporting(0);
$connection = imap_open($host, $username, $password, OP_HALFOPEN);
error_reporting(7);
if ($connection) {
imap_close($connection);
return true;
} else {
return false;
}
}
?>
+86 -76
View File
@@ -1,76 +1,86 @@
<?PHP // $Id$
///////////////////////////////////////////////////////////////////////////
// //
// Moodle configuration file //
// //
// This file should be renamed "config.php" in the top-level directory //
// //
///////////////////////////////////////////////////////////////////////////
// //
// NOTICE OF COPYRIGHT //
// //
// Moodle - Modular Object-Oriented Dynamic Learning Environment //
// http://moodle.com //
// //
// Copyright (C) 2001-2002 Martin Dougiamas http://dougiamas.com //
// //
// 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: //
// //
// http://www.gnu.org/copyleft/gpl.html //
// //
///////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////
// First, you need to configure the database where all Moodle data //
// will be stored. This database must already have been created //
// and a username/password created to access it. If you specify mysql //
// then Moodle can set up all your tables for you. If you try to use //
// a different database you will need to set up all your tables by hand //
// which could be a big job. See doc/install.html //
$CFG->dbtype = "mysql"; // eg mysql (postgres7, oracle, access etc)
$CFG->dbhost = "localhost"; // eg localhost
$CFG->dbname = "moodle"; // eg moodle
$CFG->dbuser = "username";
$CFG->dbpass = "password";
///////////////////////////////////////////////////////////////////////////
// Now you need to tell Moodle where it is located. Specify the full
// web address where moodle has been installed (without trailing slash)
$CFG->wwwroot = "http://example.com/moodle";
///////////////////////////////////////////////////////////////////////////
// Next, specify the full OS directory path to this same location
// For Windows this might be something like "C:\apache\htdocs\moodle"
$CFG->dirroot = "/web/moodle";
///////////////////////////////////////////////////////////////////////////
// Now you need a place where Moodle can save uploaded files. This
// directory should be writeable by the web server user (usually 'nobody'
// or 'apache'), but it should not be accessible directly via the web.
$CFG->dataroot = "/home/moodledata";
///////////////////////////////////////////////////////////////////////////
// To continue the setup, use your web browser to go to your Moodle page //
///////////////////////////////////////////////////////////////////////////
$CFG->libdir = "$CFG->dirroot/lib"; // Do not change this
require("$CFG->libdir/setup.php"); // Do not change this
?>
<?PHP // $Id$
///////////////////////////////////////////////////////////////////////////
// //
// Moodle configuration file //
// //
// This file should be renamed "config.php" in the top-level directory //
// //
///////////////////////////////////////////////////////////////////////////
// //
// NOTICE OF COPYRIGHT //
// //
// Moodle - Modular Object-Oriented Dynamic Learning Environment //
// http://moodle.com //
// //
// Copyright (C) 2001-2002 Martin Dougiamas http://dougiamas.com //
// //
// 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: //
// //
// http://www.gnu.org/copyleft/gpl.html //
// //
///////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////
// First, you need to configure the database where all Moodle data //
// will be stored. This database must already have been created //
// and a username/password created to access it. If you specify mysql //
// then Moodle can set up all your tables for you. If you try to use //
// a different database you will need to set up all your tables by hand //
// which could be a big job. See doc/install.html //
$CFG->dbtype = "mysql"; // eg mysql (postgres7, oracle, access etc)
$CFG->dbhost = "localhost"; // eg localhost
$CFG->dbname = "moodle"; // eg moodle
$CFG->dbuser = "username";
$CFG->dbpass = "password";
///////////////////////////////////////////////////////////////////////////
// Now you need to tell Moodle where it is located. Specify the full
// web address where moodle has been installed (without trailing slash)
$CFG->wwwroot = "http://example.com/moodle";
///////////////////////////////////////////////////////////////////////////
// Next, specify the full OS directory path to this same location
// For Windows this might be something like "C:\apache\htdocs\moodle"
$CFG->dirroot = "/web/moodle";
///////////////////////////////////////////////////////////////////////////
// Now you need a place where Moodle can save uploaded files. This
// directory should be writeable by the web server user (usually 'nobody'
// or 'apache'), but it should not be accessible directly via the web.
$CFG->dataroot = "/home/moodledata";
///////////////////////////////////////////////////////////////////////////
// A very small percentage of servers have a bug which causes HTTP_REFERER
// not to work. The symptoms of this are that you fill out the configure
// form during Moodle setup but when hit save you find yourself on the
// same form, unable to progress. If this happens to you, come back here
// and set the following to true. Otherwise this should always be false.
$CFG->buggy_referer = false;
///////////////////////////////////////////////////////////////////////////
// To continue the setup, use your web browser to go to your Moodle page //
///////////////////////////////////////////////////////////////////////////
$CFG->libdir = "$CFG->dirroot/lib"; // Do not change this
require("$CFG->libdir/setup.php"); // Do not change this
?>
+1 -1
View File
@@ -98,7 +98,7 @@
/// Print the table of all categories
$table->head = array ($strcategory, $strcourses, $straction);
$table->align = array ("LEFT", "CENTER", "CENTER");
$table->size = array ("50", "20", "20");
$table->size = array ("80", "50", "50");
$table->width = 100;
echo "<FORM ACTION=categories.php METHOD=post>";
+10
View File
@@ -98,6 +98,16 @@
formerr($err["numsections"]);
?></td>
</tr>
<tr valign=top>
<td><P><? print_string("showrecent") ?>:</td>
<td><?
unset($choices);
$choices["0"] = get_string("no");
$choices["1"] = get_string("yes");
choose_from_menu ($choices, "showrecent", $form->showrecent, "");
helpbutton("courserecent", get_string("showrecent")); ?>
</td>
</tr>
<tr valign=top>
<td><P><? print_string("wordforteacher") ?>:</td>
<td><input type="text" name="teacher" size=25 value="<? p($form->teacher) ?>">
+1
View File
@@ -91,6 +91,7 @@
$form->format = "weeks";
$form->numsections = 10;
$form->newsitems = 5;
$form->showrecent = 1;
$form->category = 1;
}
}
+2
View File
@@ -83,6 +83,8 @@
$grades[$student->id][] = $modgrades->grades[$student->id]; // may be empty, that's ok
if ($modgrades->maxgrade) {
$totals[$student->id] = (float)($totals[$student->id]) + (float)($modgrades->grades[$student->id]);
} else {
$totals[$student->id] = (float)($totals[$student->id]) + 0;
}
}
}
+1 -2
View File
@@ -34,7 +34,6 @@
if ($showcategories) {
echo "<TABLE WIDTH=\"100%\" CELLPADDING=10 BORDER=0>";
echo "<TR><TD WIDTH=180 VALIGN=TOP>";
print_simple_box($strcategories, "CENTER", 180, $THEME->cellheading);
print_course_categories($categories, $category, 180);
echo "</TD><TD WIDTH=\"100%\" VALIGN=TOP>";
} else {
@@ -45,7 +44,7 @@
if ($category) {
if (isset($title)) {
print_simple_box($title, "CENTER", "100%", $THEME->cellheading);
print_heading_block($title);
}
echo "<BR>";
print_all_courses($category);
+175 -50
View File
@@ -61,7 +61,7 @@ function print_log_selector_form($course, $selecteduser=0, $selecteddate="today"
$timemidnight = $today = usergetmidnight($timenow);
// Put today up the top of the list
$dates = array("$timemidnight" => get_string("today").", ".userdate($timenow, "%e %B %Y") );
$dates = array("$timemidnight" => get_string("today").", ".userdate($timenow, "%d %B %Y") );
if (! $course->startdate) {
$course->startdate = $course->timecreated;
@@ -71,7 +71,7 @@ function print_log_selector_form($course, $selecteduser=0, $selecteddate="today"
while ($timemidnight > $course->startdate and $numdates < 365) {
$timemidnight = $timemidnight - 86400;
$timenow = $timenow - 86400;
$dates["$timemidnight"] = userdate($timenow, "%A, %e %B %Y");
$dates["$timemidnight"] = userdate($timenow, "%A, %d %B %Y");
$numdates++;
}
@@ -160,7 +160,7 @@ function print_log($course, $user=0, $date=0, $order="ORDER BY l.time ASC") {
echo "<TD NOWRAP><FONT SIZE=2><A HREF=\"view.php?id=$log->course\">".$courses[$log->course]."</A></TD>";
}
echo "<TD NOWRAP ALIGN=right><FONT SIZE=2>".userdate($log->time, "%A")."</TD>";
echo "<TD NOWRAP><FONT SIZE=2>".userdate($log->time, "%e %B %Y, %I:%M %p")."</TD>";
echo "<TD NOWRAP><FONT SIZE=2>".userdate($log->time, "%d %B %Y, %I:%M %p")."</TD>";
echo "<TD NOWRAP><FONT SIZE=2>";
link_to_popup_window("$CFG->wwwroot/lib/ipatlas/plot.php?address=$log->ip&user=$log->user", "ipatlas","$log->ip", 400, 700);
echo "</TD>";
@@ -175,7 +175,7 @@ function print_log($course, $user=0, $date=0, $order="ORDER BY l.time ASC") {
}
function print_all_courses($category="all", $style="full", $maxcount=999) {
function print_all_courses($category="all", $style="full", $maxcount=999, $width=180) {
global $CFG, $USER;
if ($category == "all") {
@@ -208,7 +208,7 @@ function print_all_courses($category="all", $style="full", $maxcount=999) {
}
}
$fulllist = "<P><A HREF=\"$CFG->wwwroot/course/\">".get_string("fulllistofcourses")."</A>...";
print_side_block("", $moddata, "$fulllist", $modicon);
print_side_block(get_string("courses"), "", $moddata, $modicon, $fulllist, $width);
} else {
foreach ($courses as $course) {
@@ -251,12 +251,14 @@ function print_course($course) {
echo "</FONT></P>";
}
if ($course->guest) {
echo "<A TITLE=\"".get_string("allowguests")."\" HREF=\"$CFG->wwwroot/course/view.php?id=$course->id\">";
echo "<IMG VSPACE=4 ALT=\"\" HEIGHT=16 WIDTH=16 BORDER=0 SRC=\"$CFG->wwwroot/user/user.gif\"></A>&nbsp;&nbsp;";
$strallowguests = get_string("allowguests");
echo "<A TITLE=\"$strallowguests\" HREF=\"$CFG->wwwroot/course/view.php?id=$course->id\">";
echo "<IMG VSPACE=4 ALT=\"$strallowguests\" HEIGHT=16 WIDTH=16 BORDER=0 SRC=\"$CFG->wwwroot/user/user.gif\"></A>&nbsp;&nbsp;";
}
if ($course->password) {
echo "<A TITLE=\"".get_string("requireskey")."\" HREF=\"$CFG->wwwroot/course/view.php?id=$course->id\">";
echo "<IMG VSPACE=4 ALT=\"\" HEIGHT=16 WIDTH=16 BORDER=0 SRC=\"$CFG->wwwroot/pix/i/key.gif\"></A>";
$strrequireskey = get_string("requireskey");
echo "<A TITLE=\"$strrequireskey\" HREF=\"$CFG->wwwroot/course/view.php?id=$course->id\">";
echo "<IMG VSPACE=4 ALT=\"$strrequireskey\" HEIGHT=16 WIDTH=16 BORDER=0 SRC=\"$CFG->wwwroot/pix/i/key.gif\"></A>";
}
@@ -287,7 +289,7 @@ function print_recent_activity($course) {
} else {
echo "<P ALIGN=CENTER><FONT SIZE=1>";
echo get_string("yourlastlogin").":<BR>";
echo userdate($USER->lastlogin, "%A, %e %b %Y, %H:%M");
echo userdate($USER->lastlogin, "%A, %d %b %Y, %H:%M");
echo "</FONT></P>";
}
@@ -384,6 +386,42 @@ function print_recent_activity($course) {
}
function get_array_of_activities($courseid) {
// For a given course, returns an array of course activity objects
// Each item in the array contains he following properties:
// cm - course module id
// mod - name of the module (eg forum)
// section - the number of the section (eg week or topic)
// name - the name of the instance
$mod = array();
if (!$rawmods = get_records_sql("SELECT cm.*, m.name as modname
FROM modules m, course_modules cm
WHERE cm.course = '$courseid'
AND cm.deleted = '0'
AND cm.module = m.id ") ) {
return NULL;
}
if ($sections = get_records("course_sections", "course", $courseid, "section ASC")) {
foreach ($sections as $section) {
if ($section->sequence) {
$sequence = explode(",", $section->sequence);
foreach ($sequence as $seq) {
$mod[$seq]->cm = $rawmods[$seq]->id;
$mod[$seq]->mod = $rawmods[$seq]->modname;
$mod[$seq]->section = $section->section;
$mod[$seq]->name = urlencode(get_field($rawmods[$seq]->modname, "name", "id", $rawmods[$seq]->instance));
}
}
}
}
return $mod;
}
function get_all_mods($courseid, &$mods, &$modnames, &$modnamesplural, &$modnamesused) {
// Returns a number of useful structures for course displays
@@ -429,9 +467,44 @@ function get_all_categories() {
return get_records_sql("SELECT * FROM course_categories ORDER by name");
}
function print_section($courseid, $section, $mods, $modnamesused, $absolute=false, $width="100%") {
function print_section_block($heading, $course, $section, $mods, $modnames, $modnamesused,
$absolute=true, $width="100%", $isediting=false) {
global $CFG;
$modinfo = unserialize($course->modinfo);
$moddata = array();
$modicon = array();
$editbuttons = "";
if ($section->sequence) {
$sectionmods = explode(",", $section->sequence);
foreach ($sectionmods as $modnumber) {
$mod = $mods[$modnumber];
if ($isediting) {
$editbuttons = make_editing_buttons($mod->id, $absolute);
}
$instancename = urldecode($modinfo[$modnumber]->name);
$modicon[] = "<img src=\"$CFG->wwwroot/mod/$mod->modname/icon.gif\" height=\"16\" width=\"16\" alt=\"$mod->modfullname\">";
$moddata[] = "<a title=\"$mod->modfullname\" href=\"$CFG->wwwroot/mod/$mod->modname/view.php?id=$mod->id\">$instancename</a><BR>$editbuttons";
}
}
if (isediting($site->id)) {
$editmenu = popup_form("$CFG->wwwroot/course/mod.php?id=$course->id&section=0&add=",
$modnames, "section0", "", get_string("add")."...", "mods", get_string("activities"), true);
$editmenu = "<DIV ALIGN=right>$editmenu</DIV>";
}
print_side_block($heading, "", $moddata, $modicon, $editmenu, $width);
}
function print_section($course, $section, $mods, $modnamesused, $absolute=false, $width="100%") {
global $CFG;
$modinfo = unserialize($course->modinfo);
echo "<TABLE WIDTH=\"$width\"><TR><TD>\n";
if ($section->sequence) {
@@ -440,11 +513,12 @@ function print_section($courseid, $section, $mods, $modnamesused, $absolute=fals
foreach ($sectionmods as $modnumber) {
$mod = $mods[$modnumber];
$instancename = get_field("$mod->modname", "name", "id", "$mod->instance");
$instancename = urldecode($modinfo[$modnumber]->name);
echo "<IMG SRC=\"$CFG->wwwroot/mod/$mod->modname/icon.gif\" HEIGHT=16 WIDTH=16 ALT=\"$mod->modfullname\">";
echo " <FONT SIZE=2><A TITLE=\"$mod->modfullname\"";
echo " HREF=\"$CFG->wwwroot/mod/$mod->modname/view.php?id=$mod->id\">$instancename</A></FONT>";
if (isediting($courseid)) {
if (isediting($course->id)) {
echo "&nbsp;&nbsp;";
echo make_editing_buttons($mod->id, $absolute);
}
echo "<BR>\n";
@@ -453,33 +527,73 @@ function print_section($courseid, $section, $mods, $modnamesused, $absolute=fals
echo "</TD></TR></TABLE><BR>\n\n";
}
function print_side_block($heading="", $list=NULL, $footer="", $icons=NULL, $width=180) {
echo "<TABLE WIDTH=\"$width\">\n";
echo "<TR><TD COLSPAN=2><P><B><FONT SIZE=2>$heading</TD></TR>\n";
if ($list) {
foreach($list as $key => $string) {
echo "<TR><TD VALIGN=top WIDTH=12>";
if ($icons[$key]) {
echo $icons[$key];
} else {
echo "";
}
echo "</TD>\n<TD WIDTH=100% VALIGN=top>";
echo "<P><FONT SIZE=2>$string</FONT></P>";
echo "</TD></TR>\n";
}
}
if ($footer) {
echo "<TR><TD></TD><TD ALIGN=left><P><FONT SIZE=2>$footer</TD></TR>\n";
}
echo "</TABLE><BR>\n\n";
function print_heading_block($heading, $width="100%", $class="headingblock") {
global $THEME;
echo "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"5\">";
echo "<tr><td bgcolor=\"$THEME->cellheading\" class=\"$class\">";
echo stripslashes($heading);
echo "</td></tr></table>";
}
function print_side_block($heading="", $content="", $list=NULL, $icons=NULL, $footer="", $width=180) {
// Prints a nice side block with an optional header. The content can either
// be a block of HTML or a list of text with optional icons.
global $THEME;
print_side_block_start($heading, $width);
if ($content) {
echo "$content";
} else {
echo "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"2\">";
foreach ($list as $key => $string) {
echo "<tr bgcolor=\"$THEME->cellcontent2\">";
if ($icons) {
echo "<td class=\"sideblocklinks\" valign=\"top\" width=\"16\">".$icons[$key]."</td>";
}
echo "<td class=\"sideblocklinks\" valign=\"top\" width=\"*\"><font size=\"-1\">$string</font></td>";
echo "</tr>";
}
if ($footer) {
echo "<tr bgcolor=\"$THEME->cellcontent2\">";
if ($icons) {
echo "<td class=\"sideblocklinks\" valign=\"top\" width=\"16\">&nbsp;</td>";
}
echo "<td class=\"sideblocklinks\"><font size=\"-1\">$footer</td>";
echo "</tr>";
}
echo "</table>";
}
print_side_block_end();
}
function print_side_block_start($heading="", $width=180, $class="sideblockmain") {
// Starts a nice side block with an optional header.
global $THEME;
echo "<table class=\"sideblock\" width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"5\">";
if ($heading) {
echo "<tr>";
echo "<td class=\"sideblockheading\" bgcolor=\"$THEME->cellheading\">$heading</td>";
echo "</tr>";
}
echo "<tr>";
echo "<td class=\"$class\" bgcolor=\"$THEME->cellcontent2\">";
}
function print_side_block_end() {
echo "</td></tr>";
echo "</table><br \>";
}
function print_admin_links ($siteid, $width=180) {
global $THEME, $CFG;
print_simple_box(get_string("administration"), $align="CENTER", $width, $color="$THEME->cellheading");
$icon = "<IMG SRC=\"$CFG->wwwroot/pix/i/settings.gif\" HEIGHT=16 WIDTH=16 ALT=\"\">";
$moddata[]="<A HREF=\"$CFG->wwwroot/admin/config.php\">".get_string("configvariables")."</A>";
$modicon[]=$icon;
@@ -511,15 +625,18 @@ function print_admin_links ($siteid, $width=180) {
$modicon[]=$icon;
$moddata[]="<A HREF=\"$CFG->wwwroot/admin/user.php\">".get_string("edituser")."</A>";
$modicon[]=$icon;
$moddata[]="<A HREF=\"$CFG->wwwroot/admin/auth.php\">".get_string("authentication")."</A>";
$modicon[]=$icon;
$fulladmin = "<P><A HREF=\"$CFG->wwwroot/admin/\">".get_string("admin")."</A>...";
print_side_block("", $moddata, "$fulladmin", $modicon, $width);
print_side_block(get_string("administration"), "", $moddata, $modicon, $fulladmin, $width);
echo "<IMG SRC=\"$CFG->wwwroot/pix/spacer.gif\" WIDTH=\"$width\" HEIGHT=1><BR>";
}
function print_course_admin_links($course, $width=180) {
global $THEME, $CFG;
echo "<BR>";
$adminicon[]="<IMG SRC=\"$CFG->wwwroot/pix/i/edit.gif\" HEIGHT=16 WIDTH=16 ALT=\"\">";
if (isediting($course->id)) {
$admindata[]="<A HREF=\"view.php?id=$course->id&edit=off\">".get_string("turneditingoff")."</A>";
@@ -551,23 +668,26 @@ function print_course_admin_links($course, $width=180) {
$adminicon[]="<IMG SRC=\"$CFG->wwwroot/mod/forum/icon.gif\" HEIGHT=16 WIDTH=16 ALT=\"\">";
}
print_simple_box(get_string("administration"), $align="CENTER", $width, $color="$THEME->cellheading");
print_side_block("", $admindata, "", $adminicon, $width);
print_side_block(get_string("administration"), "", $admindata, $adminicon, "", $width);
}
function print_course_categories($categories, $selected="none", $width=180) {
global $CFG, $THEME, $USER;
$strallowguests = get_string("allowguests");
$strrequireskey = get_string("requireskey");
if ($selected == "index") { // Print comprehensive index of categories with courses
if ($courses = get_records_sql("SELECT * FROM course WHERE category > 0 ORDER BY shortname")) {
if (isset($USER->id) and !isadmin()) {
print_simple_box_start("LEFT", "100%");
print_simple_box_start("CENTER", "100%", $THEME->cellheading);
print_heading("<A HREF=\"course/index.php?category=my\">".get_string("mycourses")."</A>", "LEFT");
$some = false;
echo "<UL>";
foreach ($courses as $key => $course) {
if (isteacher($course->id) or isstudent($course->id)) {
echo "<IMG SRC=\"$CFG->wwwroot/pix/i/course.gif\" HEIGHT=16 WIDTH=16>&nbsp;<A HREF=\"$CFG->wwwroot/course/view.php?id=$course->id\">$course->shortname</A> &nbsp; ";
echo "<A HREF=\"$CFG->wwwroot/course/view.php?id=$course->id\">$course->fullname</A>";
echo "<BR>";
$some = true;
}
}
@@ -585,8 +705,18 @@ function print_course_categories($categories, $selected="none", $width=180) {
echo "<UL>";
foreach ($courses as $key => $course) {
if ($course->category == $category->id) {
echo "<IMG SRC=\"$CFG->wwwroot/pix/i/course.gif\" HEIGHT=16 WIDTH=16>&nbsp;<A HREF=\"$CFG->wwwroot/course/view.php?id=$course->id\">$course->shortname</A> &nbsp; ";
echo "<A HREF=\"$CFG->wwwroot/course/view.php?id=$course->id\">$course->fullname</A>";
echo "&nbsp;&nbsp;";
unset($courses[$key]);
if ($course->guest ) {
echo "<A TITLE=\"$strallowguests\" HREF=\"$CFG->wwwroot/course/view.php?id=$course->id\">";
echo "<IMG ALT=\"\" HEIGHT=16 WIDTH=16 BORDER=0 SRC=\"$CFG->wwwroot/user/user.gif\"></A>";
}
if ($course->password) {
echo "<A TITLE=\"$strrequireskey\" HREF=\"$CFG->wwwroot/course/view.php?id=$course->id\">";
echo "<IMG ALT=\"\" HEIGHT=16 WIDTH=16 BORDER=0 SRC=\"$CFG->wwwroot/pix/i/key.gif\"></A>";
}
echo "<BR>";
$some = true;
}
}
@@ -612,7 +742,7 @@ function print_course_categories($categories, $selected="none", $width=180) {
if (isset($USER->id)) {
$catdata[] = "<A HREF=\"$CFG->wwwroot/course/index.php?category=my\">".get_string("mycourses")."</A>";
}
print_side_block("", $catdata, $showall.$mine, $caticon, $width);
print_side_block(get_string("categories"), "", $catdata, $caticon, $showall.$mine, $width);
}
}
@@ -685,17 +815,13 @@ function delete_mod_from_section($mod, $section) {
}
function move_module($id, $move) {
function move_module($cm, $move) {
GLOBAL $db;
if (!$move) {
return true;
}
if (! $cm = get_record("course_modules", "id", $id)) {
error("This course module doesn't exist");
}
if (! $thissection = get_record("course_sections", "id", $cm->section)) {
error("This course section doesn't exist");
}
@@ -826,8 +952,7 @@ function make_editing_buttons($moduleid, $absolute=false) {
} else {
$path = "";
}
return "&nbsp; &nbsp;
<A TITLE=\"$delete\" HREF=\"".$path."mod.php?delete=$moduleid\"><IMG
return "<A TITLE=\"$delete\" HREF=\"".$path."mod.php?delete=$moduleid\"><IMG
SRC=".$path."../pix/t/delete.gif BORDER=0></A>
<A TITLE=\"$moveup\" HREF=\"".$path."mod.php?id=$moduleid&move=-1\"><IMG
SRC=".$path."../pix/t/up.gif BORDER=0></A>
+1 -1
View File
@@ -39,7 +39,7 @@
$userinfo = "$u->firstname $u->lastname";
}
if ($date) {
$dateinfo = userdate($date, "%A, %e %B %Y");
$dateinfo = userdate($date, "%A, %d %B %Y");
}
print_header("$course->shortname: $strlogs", "$course->fullname",
+27 -5
View File
@@ -40,10 +40,24 @@
}
$timestart = $coursestart = usergetmidnight($course->startdate);
if ((($timenow - $timestart)/86400.0) > 40) {
$reducedays = 7;
} else {
$reducedays = 0;
}
$i = 0;
while ($timestart < $timenow) {
$timefinish = $timestart + 86400;
$days[$i] = userdate($timestart, "%a %e %b");
if ($reducedays) {
if ($i % $reducedays) {
$days[$i] = "";
} else {
$days[$i] = userdate($timestart, "%a %d %b");
}
} else {
$days[$i] = userdate($timestart, "%a %d %b");
}
$logs[$i] = 0;
$i++;
$timestart = $timefinish;
@@ -64,13 +78,16 @@
$graph = new graph(750, 400);
$graph->parameter['title'] = "Hits on $course->shortname by $user->firstname $user->lastname";
$a->coursename = $course->shortname;
$a->username = "$user->firstname $user->lastname";
$graph->parameter['title'] = get_string("hitsoncourse", "", $a);
$graph->x_data = $days;
$graph->y_data['logs'] = $logs;
$graph->y_format['logs'] = array('colour' => 'blue','line' => 'line');
$graph->y_label_left = "Hits";
$graph->y_label_left = get_string("hits");
$graph->label_size = "6";
$graph->y_order = array('logs');
@@ -78,6 +95,7 @@
$graph->parameter['shadow'] = 'none';
error_reporting(5); // ignore most warnings such as font problems etc
$graph->draw_stack();
break;
@@ -112,13 +130,16 @@
$maxlogs = max($logs);
$graph = new graph(750, 400);
$graph->parameter['title'] = "Today's hits on $course->shortname by $user->firstname $user->lastname";
$a->coursename = $course->shortname;
$a->username = "$user->firstname $user->lastname";
$graph->parameter['title'] = get_string("hitsoncoursetoday", "", $a);
$graph->x_data = $hours;
$graph->y_data['logs'] = $logs;
$graph->y_format['logs'] = array('colour' => 'blue','bar' => 'fill','legend' =>'actual','bar_size' => 0.9);
$graph->y_label_left = "Hits";
$graph->y_label_left = get_string("hits");
$graph->label_size = "6";
$graph->y_order = array('logs');
@@ -126,6 +147,7 @@
$graph->parameter['shadow'] = 'none';
error_reporting(5); // ignore most warnings such as font problems etc
$graph->draw_stack();
break;
+13 -1
View File
@@ -5,7 +5,8 @@
require("lib.php");
require_variable($id); // course id
require_variable($user); // login as this user
optional_variable($user); // login as this user
optional_variable($return); // return to being the real user again
if (! $course = get_record("course", "id", $id)) {
error("Course ID was incorrect");
@@ -13,6 +14,17 @@
require_login($course->id);
if ($return and $USER->realuser) {
$USER = get_user_info_from_db("id", $USER->realuser);
$USER->loggedin = true;
$USER->site = $CFG->wwwroot;
save_session("USER");
redirect($HTTP_REFERER);
exit;
}
// $user must be defined to go on
if (!isteacher($course->id)) {
error("Only teachers can use this page!");
}
+18 -2
View File
@@ -86,6 +86,11 @@
}
$modinfo = serialize(get_array_of_activities($mod->course));
if (!set_field("course", "modinfo", $modinfo, "id", $mod->course)) {
error("Could not cache module information!");
}
if ($SESSION->returnpage) {
$return = $SESSION->returnpage;
unset($SESSION->returnpage);
@@ -102,7 +107,16 @@
require_variable($id);
move_module($id, $move);
if (! $cm = get_record("course_modules", "id", $id)) {
error("This course module doesn't exist");
}
move_module($cm, $move);
$modinfo = serialize(get_array_of_activities($cm->course));
if (!set_field("course", "modinfo", $modinfo, "id", $cm->course)) {
error("Could not cache module information!");
}
redirect($HTTP_REFERER);
exit;
@@ -248,10 +262,12 @@
}
$streditinga = get_string("editinga", "moodle", $fullmodulename);
$strmodulenameplural = get_string("modulenameplural", $module->name);
if ($course->category) {
print_header("$course->shortname: $streditinga", "$course->fullname",
"<A HREF=\"$CFG->wwwroot/course/view.php?id=$course->id\">$course->shortname</A> ->
<A HREF=\"$CFG->wwwroot/mod/$module->name/index.php?id=$course->id\">$strmodulenameplural</A> ->
$streditinga", "form.name", "", false);
} else {
print_header("$course->shortname: $streditinga", "$course->fullname",
@@ -271,7 +287,7 @@
print_simple_box_end();
} else {
notice("This module cannot be added to this course yet!", "$CFG->wwwroot/course/view.php?id=$course->id");
notice("This module cannot be added to this course yet! (No file found at: $modform)", "$CFG->wwwroot/course/view.php?id=$course->id");
}
print_footer($course);
+23 -27
View File
@@ -4,13 +4,14 @@
include_once("$CFG->dirroot/mod/forum/lib.php");
include_once("$CFG->dirroot/mod/resource/lib.php");
$leftwidth = 210;
?>
<TABLE WIDTH="100%" BORDER="0" CELLSPACING="5" CELLPADDING="5">
<TR>
<TD WIDTH="200" VALIGN="TOP">
<TD WIDTH="<?=$leftwidth?>" VALIGN="TOP">
<?
print_simple_box(get_string("people"), $align="CENTER", $width="100%", $color="$THEME->cellheading");
$moddata[]="<A TITLE=\"".get_string("listofallpeople")."\" HREF=\"../user/index.php?id=$course->id\">".get_string("participants")."</A>";
$modicon[]="<IMG SRC=\"../user/users.gif\" HEIGHT=16 WIDTH=16 ALT=\"\">";
$editmyprofile = "<A TITLE=\"$USER->firstname $USER->lastname\" HREF=\"../user/view.php?id=$USER->id&course=$course->id\">".
@@ -18,45 +19,40 @@
if ($USER->description) {
$moddata[]= $editmyprofile;
} else {
$moddata[]= $editmyprofile.$blinker;
$moddata[]= $editmyprofile." <BLINK>*</BLINK>";
}
$modicon[]="<IMG SRC=\"../user/user.gif\" HEIGHT=16 WIDTH=16 ALT=\"\">";
print_side_block("", $moddata, "", $modicon);
print_side_block(get_string("people"), "", $moddata, $modicon, "", $leftwidth);
// Then, print all the available resources (Section 0)
print_simple_box(get_string("resources"), $align="CENTER", $width="100%", $color="$THEME->cellheading");
print_section($site->id, $sections[0], $mods, $modnamesused, true);
/// Then, print all the available resources (Section 0)
print_section_block(get_string("activities"), $course, $sections[0],
$mods, $modnames, $modnamesused, true, "100%", isediting($course->id));
if (isediting($site->id)) {
echo "<DIV ALIGN=right>";
popup_form("$CFG->wwwroot/course/mod.php?id=$course->id&section=0&add=",
$modnames, "section0", "", get_string("add")."...", "mods", get_string("activities"));
echo "</DIV>";
}
/// Print all the recent activity
// Print all the recent activity
print_simple_box(get_string("recentactivity"), $align="CENTER", $width="100%", $color="$THEME->cellheading");
echo "<TABLE CELLPADDING=4 CELLSPACING=0><TR><TD>";
print_recent_activity($course);
echo "</TD></TR></TABLE>";
echo "<BR>";
if ($course->showrecent) {
print_side_block_start(get_string("recentactivity"), $leftwidth, "sideblockrecentactivity");
print_recent_activity($course);
print_side_block_end();
}
// Print a form to search forums
print_simple_box(get_string("search","forum"), $align="CENTER", $width="100%", $color="$THEME->cellheading");
echo "<DIV ALIGN=CENTER>";
forum_print_search_form($course);
echo "</DIV>";
// Admin links and controls
/// Print a form to search forums
$searchform = forum_print_search_form($course, "", true);
$searchform = "<DIV ALIGN=\"CENTER\">$searchform</DIV>";
print_side_block(get_string("search","forum"), $searchform, "", "", "", $leftwidth);
/// Admin links and controls
if (isteacher($course->id)) {
print_course_admin_links($course, "100%");
print_course_admin_links($course, "100%", $leftwidth);
}
echo "</TD>";
echo "<TD WIDTH=\"100%\" VALIGN=\"TOP\">";
echo "<TD WIDTH=\"*\" VALIGN=\"TOP\">";
if ($social = forum_get_course_forum($course->id, "social")) {
if (forum_is_subscribed($USER->id, $social->id)) {
$subtext = get_string("unsubscribe", "forum");
@@ -64,7 +60,7 @@
$subtext = get_string("subscribe", "forum");
}
$headertext = "<TABLE BORDER=0 WIDTH=100% CELLPADDING=0 CELLSPACING=0><TR><TD>".get_string("socialheadline")."</TD><TD ALIGN=RIGHT><FONT SIZE=1><A HREF=\"../mod/forum/subscribe.php?id=$social->id\">$subtext</A></TD></TR></TABLE>";
print_simple_box("$headertext", $align="CENTER", $width="100%", $color="$THEME->cellheading");
print_heading_block($headertext);
echo "<IMG ALT=\"\" HEIGHT=7 SRC=\"../pix/spacer.gif\"><BR>";
forum_print_latest_discussions($social->id, 10, "plain", "DESC", false);
+83 -47
View File
@@ -33,33 +33,36 @@
}
}
if ($course->newsitems) {
$news = forum_get_course_forum($course->id, "news");
}
// Layout the whole page as three big columns.
$streditsummary = get_string("editsummary");
$stradd = get_string("add");
$stractivities = get_string("activities");
/// Layout the whole page as three big columns.
echo "<TABLE BORDER=0 CELLPADDING=3 CELLSPACING=0 WIDTH=100%>";
/// The left column ...
echo "<TR VALIGN=top><TD VALIGN=top WIDTH=180>";
// Layout the left column
// Links to people
$blinker = " <BLINK>*</BLINK>";
print_simple_box(get_string("people"), $align="CENTER", $width="100%", $color="$THEME->cellheading");
/// Links to people
$moddata[]="<A TITLE=\"".get_string("listofallpeople")."\" HREF=\"../user/index.php?id=$course->id\">".get_string("participants")."</A>";
$modicon[]="<IMG SRC=\"../user/users.gif\" HEIGHT=16 WIDTH=16 ALT=\"\">";
$editmyprofile = "<A TITLE=\"$USER->firstname $USER->lastname\" HREF=\"../user/view.php?id=$USER->id&course=$course->id\">".get_string("editmyprofile")."</A>";
if ($USER->description) {
$moddata[]= $editmyprofile;
} else {
$moddata[]= $editmyprofile.$blinker;
$moddata[]= $editmyprofile." <BLINK>*</BLINK>";
}
$modicon[]="<IMG SRC=\"../user/user.gif\" HEIGHT=16 WIDTH=16 ALT=\"\">";
print_side_block("", $moddata, "", $modicon);
print_side_block(get_string("people"), "", $moddata, $modicon);
// Then all the links to module types
/// Links to all activity modules by type
$moddata = array();
$modicon = array();
if ($modnamesused) {
@@ -68,35 +71,67 @@
$modicon[] = "<IMG SRC=\"../mod/$modname/icon.gif\" HEIGHT=16 WIDTH=16 ALT=\"\">";
}
}
print_simple_box(get_string("activities"), $align="CENTER", $width="100%", $color="$THEME->cellheading");
print_side_block("", $moddata, "", $modicon);
print_side_block($stractivities, "", $moddata, $modicon);
// Print a form to search forums
print_simple_box(get_string("search","forum"), $align="CENTER", $width="100%", $color="$THEME->cellheading");
echo "<DIV ALIGN=CENTER>";
forum_print_search_form($course);
echo "</DIV>";
/// Print a form to search forums
$searchform = forum_print_search_form($course, "", true);
$searchform = "<DIV ALIGN=\"CENTER\">$searchform</DIV>";
print_side_block(get_string("search","forum"), $searchform);
// Admin links and controls
/// Admin links and controls
if (isteacher($course->id)) {
print_course_admin_links($course);
}
// Start main column
/// Start main column
echo "</TD><TD WIDTH=\"*\">";
print_simple_box(get_string("topicoutline"), $align="CENTER", $width="100%", $color="$THEME->cellheading");
// Everything below uses "section" terminology - each "section" is a topic.
print_heading_block(get_string("topicoutline"), "100%", "outlineheadingblock");
print_spacer(8, 1, true);
echo "<table class=\"topicsoutline\" border=\"0\" cellpadding=\"8\" cellspacing=\"0\" width=\"100%\">";
/// Print Section 0
$topic = 0;
$thistopic = $sections[$topic];
if ($thistopic->summary or $thistopic->sequence or isediting($course->id)) {
echo "<TR>";
echo "<TD NOWRAP BGCOLOR=\"$THEME->cellheading\" VALIGN=top WIDTH=20>&nbsp;</TD>";
echo "<TD VALIGN=top BGCOLOR=\"$THEME->cellcontent\" WIDTH=\"100%\">";
if (isediting($course->id)) {
$thistopic->summary .= "&nbsp;<A TITLE=\"$streditsummary\" ".
"HREF=\"editsection.php?id=$thistopic->id\"><IMG SRC=\"../pix/t/edit.gif\" ".
"BORDER=0 ALT=\"$streditsummary\"></A></P>";
}
echo text_to_html($thistopic->summary);
print_section($course, $thistopic, $mods, $modnamesused);
if (isediting($course->id)) {
echo "<DIV ALIGN=right>";
popup_form("$CFG->wwwroot/course/mod.php?id=$course->id&section=$topic&add=",
$modnames, "section$topic", "", "$stradd...", "mods", $stractivities);
echo "</DIV>";
}
echo "</TD>";
echo "<TD NOWRAP BGCOLOR=\"$THEME->cellheading\" VALIGN=top ALIGN=CENTER WIDTH=10>&nbsp;";
echo "</TD>";
echo "</TR>";
echo "<TR><TD COLSPAN=3><IMG SRC=\"../pix/spacer.gif\" WIDTH=1 HEIGHT=1></TD></TR>";
}
/// Now all the normal modules by topic
/// Everything below uses "section" terminology - each "section" is a topic.
// Now all the sectionly modules
$timenow = time();
$section = 1;
$streditsummary = get_string("editsummary");
$stradd = get_string("add");
echo "<TABLE BORDER=0 CELLPADDING=8 CELLSPACING=0 WIDTH=100%>";
while ($section <= $course->numsections) {
if (isset($USER->topic)) { // Just display a single topic
@@ -136,12 +171,12 @@
echo text_to_html($thissection->summary);
print_section($course->id, $thissection, $mods, $modnamesused);
print_section($course, $thissection, $mods, $modnamesused);
if (isediting($course->id)) {
echo "<DIV ALIGN=right>";
popup_form("$CFG->wwwroot/course/mod.php?id=$course->id&section=$section&add=",
$modnames, "section$section", "", "$stradd...", "mods", get_string("activities"));
$modnames, "section$section", "", "$stradd...", "mods", $stractivities);
echo "</DIV>";
}
@@ -168,27 +203,28 @@
echo "</TABLE>";
echo "</TD><TD WIDTH=210>";
if ($news or $course->showrecent) {
echo "</TD><TD WIDTH=210>";
// Print all the news items.
/// Print all the news items.
if ($course->newsitems) {
if ($news = forum_get_course_forum($course->id, "news")) {
print_simple_box(get_string("latestnews"), $align="CENTER", $width="100%", $color="$THEME->cellheading");
print_simple_box_start("CENTER", "100%", "#FFFFFF", 3, 0);
echo "<FONT SIZE=1>";
if ($news) {
print_side_block_start(get_string("latestnews"), 210, "sideblocklatestnews");
echo "<FONT SIZE=\"-2\">";
forum_print_latest_discussions($news->id, $course->newsitems, "minimal", "DESC", false);
echo "</FONT>";
print_simple_box_end();
print_side_block_end();
}
// Print all the recent activity
if ($course->showrecent) {
print_side_block_start(get_string("recentactivity"), 210, "sideblockrecentactivity");
print_recent_activity($course);
print_side_block_end();
}
echo "<BR>";
}
// Print all the recent activity
print_simple_box(get_string("recentactivity"), $align="CENTER", $width="100%", $color="$THEME->cellheading");
print_simple_box_start("CENTER", "100%", "#FFFFFF", 3, 0);
print_recent_activity($course);
print_simple_box_end();
print_spacer(1, 120, true);
}
echo "</TD></TR></TABLE>\n";
+85 -49
View File
@@ -22,31 +22,36 @@
save_session("USER");
}
// Layout the whole page as three big columns.
echo "<TABLE BORDER=0 CELLPADDING=3 CELLSPACING=0 WIDTH=100%>";
echo "<TR VALIGN=top><TD VALIGN=top WIDTH=180>";
if ($course->newsitems) {
$news = forum_get_course_forum($course->id, "news");
}
// Layout the left column
$streditsummary = get_string("editsummary");
$stradd = get_string("add");
$stractivities = get_string("activities");
// Links to people
/// Layout the whole page as three big columns.
echo "<TABLE BORDER=0 CELLPADDING=3 CELLSPACING=0 WIDTH=100%>";
print_simple_box(get_string("people"), $align="CENTER", $width="100%", $color="$THEME->cellheading");
/// The left column ...
echo "<TR VALIGN=top><TD VALIGN=top WIDTH=180>";
/// Links to people
$moddata[]="<A TITLE=\"".get_string("listofallpeople")."\" HREF=\"../user/index.php?id=$course->id\">".get_string("participants")."</A>";
$modicon[]="<IMG SRC=\"../user/users.gif\" HEIGHT=16 WIDTH=16 ALT=\"\">";
$editmyprofile = "<A TITLE=\"$USER->firstname $USER->lastname\" HREF=\"../user/view.php?id=$USER->id&course=$course->id\">".get_string("editmyprofile")."</A>";
if ($USER->description) {
$moddata[]= $editmyprofile;
} else {
$moddata[]= $editmyprofile.$blinker;
$moddata[]= $editmyprofile." <BLINK>*</BLINK>";
}
$modicon[]="<IMG SRC=\"../user/user.gif\" HEIGHT=16 WIDTH=16 ALT=\"\">";
print_side_block("", $moddata, "", $modicon);
print_side_block(get_string("people"), "", $moddata, $modicon);
// Then all the links to module types
/// Then all the links to activities by type
$moddata = array();
$modicon = array();
if ($modnamesused) {
@@ -55,36 +60,69 @@
$modicon[] = "<IMG SRC=\"../mod/$modname/icon.gif\" HEIGHT=16 WIDTH=16 ALT=\"\">";
}
}
print_simple_box(get_string("activities"), $align="CENTER", $width="100%", $color="$THEME->cellheading");
print_side_block("", $moddata, "", $modicon);
print_side_block($stractivities, "", $moddata, $modicon);
// Print a form to search forums
print_simple_box(get_string("search","forum"), $align="CENTER", $width="100%", $color="$THEME->cellheading");
echo "<DIV ALIGN=CENTER>";
forum_print_search_form($course);
echo "</DIV>";
/// Print a form to search forums
$searchform = forum_print_search_form($course, "", true);
$searchform = "<DIV ALIGN=\"CENTER\">$searchform</DIV>";
print_side_block(get_string("search","forum"), $searchform);
// Admin links and controls
/// Admin links and controls
if (isteacher($course->id)) {
print_course_admin_links($course);
}
// Start main column
echo "</TD><TD WIDTH=\"*\">";
print_simple_box(get_string("weeklyoutline"), $align="CENTER", $width="100%", $color="$THEME->cellheading");
/// Start main column
echo "</TD><TD WIDTH=\"*\">";
print_heading_block(get_string("weeklyoutline"), "100%", "outlineheadingblock");
print_spacer(8, 1, true);
echo "<table class=\"weeklyoutline\" border=\"0\" cellpadding=\"8\" cellspacing=\"0\" width=\"100%\">";
/// Print Week 0 with general activities
$week = 0;
$thisweek = $sections[$week];
if ($thisweek->summary or $thisweek->sequence or isediting($course->id)) {
echo "<TR>";
echo "<TD NOWRAP BGCOLOR=\"$THEME->cellheading\" VALIGN=top WIDTH=20>&nbsp;</TD>";
echo "<TD VALIGN=top BGCOLOR=\"$THEME->cellcontent\" WIDTH=\"100%\">";
if (isediting($course->id)) {
$thisweek->summary .= "&nbsp;<A TITLE=\"$streditsummary\" ".
"HREF=\"editsection.php?id=$thisweek->id\"><IMG SRC=\"../pix/t/edit.gif\" ".
"BORDER=0 ALT=\"$streditsummary\"></A></P>";
}
// Now all the weekly modules
echo text_to_html($thisweek->summary);
print_section($course, $thisweek, $mods, $modnamesused);
if (isediting($course->id)) {
echo "<DIV ALIGN=right>";
popup_form("$CFG->wwwroot/course/mod.php?id=$course->id&section=$week&add=",
$modnames, "section$week", "", "$stradd...", "mods", $stractivities);
echo "</DIV>";
}
echo "</TD>";
echo "<TD NOWRAP BGCOLOR=\"$THEME->cellheading\" VALIGN=top ALIGN=CENTER WIDTH=10>";
echo "</TD>";
echo "</TR>";
echo "<TR><TD COLSPAN=3><IMG SRC=\"../pix/spacer.gif\" WIDTH=1 HEIGHT=1></TD></TR>";
}
/// Now all the weekly sections
$timenow = time();
$weekdate = $course->startdate; // this should be 0:00 Monday of that week
$week = 1;
$weekofseconds = 604800;
$course->enddate = $course->startdate + ($weekofseconds * $course->numsections);
$streditsummary = get_string("editsummary");
$stradd = get_string("add");
echo "<TABLE BORDER=0 CELLPADDING=8 CELLSPACING=0 WIDTH=100%>";
while ($weekdate < $course->enddate) {
$nextweekdate = $weekdate + ($weekofseconds);
@@ -99,8 +137,8 @@
$thisweek = (($weekdate <= $timenow) && ($timenow < $nextweekdate));
$weekday = userdate($weekdate, "%e %B");
$endweekday = userdate($weekdate+518400, "%e %B");
$weekday = userdate($weekdate, " %d %B");
$endweekday = userdate($weekdate+518400, " %d %B");
if ($thisweek) {
$highlightcolor = $THEME->cellheading2;
@@ -131,12 +169,12 @@
echo text_to_html($thisweek->summary);
print_section($course->id, $thisweek, $mods, $modnamesused);
print_section($course, $thisweek, $mods, $modnamesused);
if (isediting($course->id)) {
echo "<DIV ALIGN=right>";
popup_form("$CFG->wwwroot/course/mod.php?id=$course->id&section=$week&add=",
$modnames, "section$week", "", "$stradd...", "mods", get_string("activities"));
$modnames, "section$week", "", "$stradd...", "mods", $stractivities);
echo "</DIV>";
}
@@ -159,30 +197,28 @@
}
echo "</TABLE>";
if ($news or $course->showrecent) {
echo "</TD><TD WIDTH=210>";
echo "</TD><TD WIDTH=210>";
// Print all the news items.
// Print all the news items.
if ($course->newsitems) {
if ($news = forum_get_course_forum($course->id, "news")) {
print_simple_box(get_string("latestnews"), $align="CENTER", $width="100%", $color="$THEME->cellheading");
print_simple_box_start("CENTER", "100%", "#FFFFFF", 3, 0);
echo "<FONT SIZE=1>";
if ($news) {
print_side_block_start(get_string("latestnews"), 210, "sideblocklatestnews");
echo "<FONT SIZE=\"-2\">";
forum_print_latest_discussions($news->id, $course->newsitems, "minimal", "DESC", false);
echo "</FONT>";
print_simple_box_end();
print_side_block_end();
}
// Print all the recent activity
if ($course->showrecent) {
print_side_block_start(get_string("recentactivity"), 210, "sideblockrecentactivity");
print_recent_activity($course);
print_side_block_end();
}
echo "<BR>";
}
// Print all the recent activity
print_simple_box(get_string("recentactivity"), $align="CENTER", $width="100%", $color="$THEME->cellheading");
print_simple_box_start("CENTER", "100%", "#FFFFFF", 3, 0);
print_recent_activity($course);
print_simple_box_end();
echo "<BR><IMG SRC=\"../pix/spacer.gif\" WIDTH=210 HEIGHT=1>";
print_spacer(1, 120, true);
}
echo "</TD></TR></TABLE>\n";
+5 -4
View File
@@ -10,7 +10,7 @@
<P>Moodle is an active and evolving work in progress.</P>
<P>I've been working on it, in some way or other, for several years. It started
in the 90's when I was webmaster at <a href="http://dougiamas.com/">Curtin University
in the 90's when I was webmaster at <a target=_top href="http://www.curtin.edu.au/">Curtin University
of Technology</a> and a system administrator of their WebCT installation. I
encountered many frustrations with the WebCT beast and developed an itch that
needed scratching - there had to be a better way (no, not Blackboard :-)</P>
@@ -24,8 +24,9 @@
career in Computer Science with newly constructed knowledge about the nature
of learning and collaboration.</P>
<P>Since then Moodle has progressed through several very different prototypes
to achieve something I'm ready to call version 1.0 and release upon an unsuspecting
world (August 20, 2002). I've been using it in several courses and find it an
until the release of version 1.0 upon a largely unsuspecting world on
August 20, 2002 and a steady series of improved releases since then.
<P>I've been using it in several courses and find it an
extremely usable and reliable tool for building high-quality online courses
- others are reporting the same. Given the context in which it's been designed,
it works particularly well for smaller institutions, or for smaller, more intimate
@@ -36,7 +37,7 @@
</P>
<P>&nbsp;</P>
<P ALIGN="CENTER"><FONT SIZE="1"><A HREF="index.html" TARGET="_top">Moodle Documentation</A></FONT></P>
<P ALIGN="CENTER"><FONT SIZE="1"><A HREF="." TARGET="_top">Moodle Documentation</A></FONT></P>
<P ALIGN="CENTER"><FONT SIZE="1">Version: $Id$</FONT></P>
</BODY>
+2
View File
@@ -11,7 +11,9 @@
<LI><A TARGET="main" HREF="background.html">Background</A>
<LI><A TARGET="main" HREF="features.html">Features</A>
<LI><A TARGET="main" HREF="release.html">Release Notes</A>
<LI><A TARGET="main" HREF="install.html">Installation</A>
<LI><A TARGET="main" HREF="upgrade.html">Upgrading</A>
<LI><A TARGET="main" HREF="teacher.html">Teacher Manual</A>
<LI><A TARGET="main" HREF="developer.html">Developer Manual</A>
<LI><A TARGET="main" HREF="future.html">Future</A>
+21
View File
@@ -0,0 +1,21 @@
<?PHP // $Id$
require("../config.php");
print_header();
?>
<FONT SIZE=2 FACE="san-serif">
<LI><A TARGET="main" HREF="intro.html">Introduction</A>
<LI><A TARGET="main" HREF="background.html">Background</A>
<LI><A TARGET="main" HREF="features.html">Features</A>
<LI><A TARGET="main" HREF="release.html">Release Notes</A>
<LI><A TARGET="main" HREF="install.html">Installation</A>
<LI><A TARGET="main" HREF="upgrade.html">Upgrading</A>
<LI><A TARGET="main" HREF="teacher.html">Teacher Manual</A>
<LI><A TARGET="main" HREF="developer.html">Developer Manual</A>
<LI><A TARGET="main" HREF="future.html">Future</A>
<LI><A TARGET="main" HREF="credits.html">Credits</A>
<LI><A TARGET="main" HREF="licence.html">License</A>
</FONT>
+22 -11
View File
@@ -27,13 +27,23 @@ with the prototypes and making many useful suggestions along the way
<H3><BR>Translations</H3>
<BLOCKQUOTE>
<P>Many thanks to these people - each translation takes many hours of work.
<P>Many thanks to these people - each translation takes many hours of work, as there are nearly
900 phrases to translate (plus all the help files!).
These are listed in the order they joined the project:
<UL>
<LI><B>br - Portuguese (Brazilian)</B>, by Fabricio Valadares (webdesigner@unincor.br).
<LI><B>fi - Finnish</B>, by Petri Asikainen (paca@sci.fi), Jaana Tolvanen <jaanat@cedunet.com>
<LI><B>fr - French</B>, by Sebastien Nameche (seb@gaia.anet.fr)
<LI><B>de - German</B>, by Holger Schadeck (Holger.Schadeck@webdesign-forum.de)
<LI><B>it - Italian</B>, by Davide Suraci (icarused@tiscalinet.it)
<LI><B>fr - French</B>, by Sébastien Namèche, seb@gaia.anet.fr, <A HREF="http://gaia.anet.fr/">http://gaia.anet.fr/</A>
<LI><B>fi - Finnish</B>, by Petri Asikainen (paca@sci.fi), Jaana Tolvanen (jaanat@cedunet.com)
<LI><B>it - Italian</B>, by Davide Suraci, icarused@tiscalinet.it
<LI><B>pt_br - Portuguese (Brazil)</B>, by Fabricio Valadares, webdesigner@unincor.br
<LI><B>de - German</B>, by Holger Schadeck, Holger.Schadeck@webdesign-forum.de
<LI><B>es_mx - Spanish (Mexico)</B>, by Claudio Tavares, <A HREF="http://enlaceacademico.com">enlaceacademico.com</A>
<LI><B>es_es - Spanish </B>, by Antonio J. Navarro Vergara, anavarro@sextaisla.com, <A HREF="http://www.sextaisla.com">www.sextaisla.com</A>
<LI><B>ca - Catalan</B>, by Carles Bellver with the help of Mercè Renau,
Clara Andrés and Jordi Adell, cent@uji.es, <A HREF="http://cent.uji.es">Centre d'Educació i Noves Tecnologies</A>
<LI><B>no - Norwegian</B>, by Jøran Sørbø, joran.sorbo@teleweb.no
<LI><B>id - Indonesian</B>, by Arfan Hidayat, ivanh@telkom.net, <A HREF="http://www.kursusmaya.com">http://www.kursusmaya.com</A>
<LI><B>ja - Japanese</B>, by Mitsuhiro Yoshida, mits@mitstek.com, <A HREF="http://mitstek.com">http://mitstek.com</A>
</UL>
</BLOCKQUOTE>
@@ -53,9 +63,10 @@ with the prototypes and making many useful suggestions along the way
</UL>
... and also:</P>
<UL>
<LI>anyone else who has made donations <A TARGET=_top HREF="http://moodle.com/donations">Donations page</A>, and
<LI>everyone else who contributes <A TARGET=_top HREF="http://bugs.moodle.com">bug tracker</A>, and
<LI>anyone else who has made donations via the <A TARGET=_top HREF="http://moodle.com/donations">Donations page</A>,
<LI>everyone else who contributes to the <A TARGET=_top HREF="http://bugs.moodle.com">bug tracker</A>, and
<LI>everyone enrolled in the "<A TARGET=_top HREF="http://moodle.com/course/">Using Moodle</A>" course at moodle.com</A>
<LI>and anyone else I've inadvertently forgotten!
</UL>
</BLOCKQUOTE>
@@ -66,7 +77,7 @@ with the prototypes and making many useful suggestions along the way
<P>Some of Moodle's libraries were written by other people, and are being
redistributed as part of Moodle under the LGPL. My thanks go out to the
authors of all these excellent products - without them Moodle would be missing
important functionality. &nbsp;Copyright information for this software is included below:</P>
important functionality. Copyright information for each package is included below:</P>
<P><B>ADOdb &nbsp; </B>- &nbsp;lib/adodb<BR>
</P>
@@ -112,7 +123,7 @@ Interbase, Foxpro, Access, ADO, Sybase, DB2 and ODBC.</P>
<BLOCKQUOTE>Class for sending email using either sendmail, PHP mail(),
or SMTP.&nbsp; Methods are based upon the standard AspEmail(tm) classes.<BR>
<BR>
Version 1.25, Created 07/02/2001<BR>
Version 1.60, Created 03/30/2002<BR>
Copyright &copy; 2001 Brent R. Matzelle &lt;bmatzelle@yahoo.com&gt;<BR>
License: LGPL<BR>
URL: &nbsp; <A HREF="http://phpmailer.sourceforge.net" TARGET="newpage">http://phpmailer.sourceforge.net</A><BR>
@@ -163,7 +174,7 @@ via PHP.<BR>
<BLOCKQUOTE><BR>
</BLOCKQUOTE>
<P ALIGN="CENTER"><FONT SIZE="1"><A HREF="index.html" TARGET="_top">Moodle Documentation</A></FONT></P>
<P ALIGN="CENTER"><FONT SIZE="1"><A HREF="." TARGET="_top">Moodle Documentation</A></FONT></P>
<P ALIGN="CENTER"><FONT SIZE="1">Version: $Id$</FONT></P>
Executable
+87
View File
@@ -0,0 +1,87 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<TITLE>Moodle Docs: How to use CVS</TITLE>
<LINK REL="stylesheet" HREF="../theme/standard/styles.css" TYPE="TEXT/CSS">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H2>How to use CVS</H2>
<BLOCKQUOTE>
<P>CVS is the Concurrent Versioning System. It's a commonly used way
of storing source code because it keeps versions of all files so
that nothing is ever lost, and usage by different people is tracked.</P>
<P>To use Moodle's CVS archive (as a developer) from a Unix machine, you first
need to have an account on <a href="http://www.sf.net/">Sourceforge</a>. For
the example, let's assume your username is <strong>myusername</strong> and your
password is <strong>mypassword</strong>. Secondly, you need to contact me (<A
HREF="http://dougiamas.com/">Martin Dougiamas</A>) to get write access
to particular directories.</P>
<P>With that done, you should have all the permissions you need, so you just need
to set up your machine and download the current sources so you can start working
on them.</P>
<P>Sourceforge CVS uses ssh as a transport layer for security, so you will have
to set this CVS_RSH environment variable in your Unix shell:</P>
<blockquote>
<pre><strong>setenv CVS_RSH ssh</strong> (for csh, tcsh etc)</pre>
<pre><strong>export CVS_RSH=ssh</strong> (for sh, bash etc)</pre>
</blockquote>
<p>It's best to put this in your .bashrc or .cshrc so you don't have to type it
all the time. Then, check out Moodle using this (all one line): </p>
<blockquote>
<pre><strong>cvs -z3 -d:ext:myusername@cvs.moodle.sourceforge.net:/cvsroot/moodle co moodle</strong></pre>
</blockquote>
<p>Don't try to do run this first CVS command into an existing moodle directory
- start fresh with a new directory.</p>
<p>Note that you will be prompted for <strong>mypassword</strong> with each CVS
command. To avoid this, follow the <a href="http://sourceforge.net/account/editsshkeys.php">Sourceforge
directions about using authorized keys</a>.</p>
<p>Now, you should have a new 'moodle' directory. You can rename it and move it
around if you like. Go into it: </p>
<blockquote>
<pre><strong>cd moodle </strong></pre>
</blockquote>
<p>All the latest Moodle files should be in there. You can now change files in
your copy. To compare your files against the main CVS copy on the server use
cvs diff, eg: </p>
<blockquote>
<pre><strong>cvs diff -c config-dist.php
cvs diff -c lang</strong></pre>
</blockquote>
<p>To fetch the latest updates from the server use: </p>
<blockquote>
<pre><strong>cvs update -dP</strong> </pre>
</blockquote>
<p>To copy your new files back to the server you would do: </p>
<blockquote>
<pre><strong>cd lang/ca
cvs commit</strong> </pre>
</blockquote>
<p>You will be prompted to add some comments (depends on your default text editor)
... add a comment and close the editor ... the files will be sent to Sourceforge
and stored. Done! </p>
<p>To save more time you can put default arguments into a file called .cvsrc in
your home directory. For example, mine contains: </p>
<blockquote>
<pre><strong>diff -c
update -dP</strong> </pre>
</blockquote>
<p>Try 'cvs help' for more details ... </p>
<P>&nbsp;</P>
</BLOCKQUOTE>
<P ALIGN="CENTER"><FONT SIZE="1"><A HREF="." TARGET="_top">Moodle Documentation</A></FONT></P>
<P ALIGN="CENTER"><FONT SIZE="1">Version: $Id: features.html,v 1.2 2001/12/09
10:34:19 martin Exp $</FONT></P>
</BODY>
</HTML>
+7 -6
View File
@@ -71,11 +71,12 @@
One thing Moodle does is keep all files for one course within a single, normal
directory on the server. This would allow a system administrator to provide
seamless forms of file-level access for each teacher, such as Appletalk, SMB,
NFS, FTP, WebDAV and so on. Otherwise, there is work yet to do. Features planned
for Moodle in future versions include: flexible connection to existing databases
of user details and grades; import and export of Moodle data using XML-based
formats; and increased use of style sheets for interface formatting (so that
it can be integrated visually into other web sites).</li>
NFS, FTP, WebDAV and so on. The authentication modules allow Moodle to use
LDAP, IMAP, POP3, NNTP and other databases as sources for user information.
Otherwise, there is work yet to do. Features planned
for Moodle in future versions include: import and export of Moodle data using XML-based
formats (including IMS and SCORM); and increased use of style sheets for
interface formatting (so that it can be integrated visually into other web sites).</li>
</ol>
<p>&nbsp;</p>
<H3><a name="contribute" id="contribute"></a>2. How you can contribute</H3>
@@ -229,7 +230,7 @@
<blockquote>
<p>&nbsp;</p>
</blockquote>
<P ALIGN="CENTER"><FONT SIZE="1"><A HREF="index.html" TARGET="_top">Moodle Documentation</A></FONT></P>
<P ALIGN="CENTER"><FONT SIZE="1"><A HREF="." TARGET="_top">Moodle Documentation</A></FONT></P>
<P ALIGN="CENTER"><FONT SIZE="1">Version: $Id: developer.html,v 1.2 2001/12/09
10:34:19 martin Exp $</FONT></P>
+76 -34
View File
@@ -7,52 +7,83 @@
<BODY BGCOLOR="#ffffff">
<H2>Features</H2>
Here is a big list of some of the features in Moodle:
<p>Moodle is an active and evolving product. This page lists some of the many
features it contains:</p>
<p><strong>Overall design</strong></p>
<UL>
<LI>Supports a social constructionist pedagogy (collaboration, activities, critical
<LI>Promotes a social constructionist pedagogy (collaboration, activities, critical
reflection, etc)</LI>
<LI>Suitable for 100% online classes as well as supplementing face-to-face learning
<LI>Simple, lightweight, browser-compatible interface</LI>
<LI>Plug-in "themes" allow you to customise the colours, fonts, layout etc</LI>
<LI>Easy to install on most platforms</LI>
<LI>Easy administration - students can create their own accounts. Email addresses
are verified.</LI>
<LI>Plug-in authentication modules are supported (eg LDAP) for integration with
existing user databases</LI>
<LI>One account works for all courses on a server</LI>
<LI>Suitable for 100% online classes as well as supplementing face-to-face learning
<LI>Simple, lightweight, efficient, compatible, low-tech browser interface</LI>
<LI>Easy to install on almost any platform that supports PHP. Requires only
one database.</LI>
<LI>Full database abstraction supports all major brands of database (except
for initial table definition)</LI>
<LI>Course listing shows descriptions for every course on the server, including
accessibility to guests.</LI>
<LI>Emphasis on strong security throughout. Forms are all checked, data validated,
cookies encrypted etc</LI>
</UL>
<p><strong>Site management</strong></p>
<UL>
<LI>Site is managed by an admin user, defined during setup</LI>
<LI>Plug-in "themes" allow the admin to customise the site colours, fonts, layout
etc to suit local needs</LI>
<LI>Plug-in activity modules can be added to existing Moodle installations</LI>
<LI>Plug-in language packs allow full localisation to any language. These can
be edited using a built-in web-based editor.</LI>
<LI>The code is clearly-written PHP under a GPL license - easy to modify to
suit your needs</LI>
</UL>
<p><strong>User management</strong></p>
<UL>
<LI>Goals are to reduce admin involvement to a minimum, while retaining high
security</LI>
<LI>Supports a range of authentication mechanisms through plug-in authentication
modules, allowing easy integration with existing systems.</LI>
<LI>Standard email method: students can create their own login accounts. Email
addresses are verified by confirmation.</LI>
<LI>LDAP method: account logins can be checked against an LDAP server. Admin
can specify which fields to use.</LI>
<LI>IMAP, POP3, NNTP: account logins are checked against a mail or news server.
SSL, certificates and TLS are supported.</LI>
<LI>External database: any database containing at least two fields can be used
as an external authentication source.</LI>
<LI>Each person requires only one account for the whole server - each account
can have different access</LI>
<LI>An admin account controls the creation of courses and creates teachers by
assigning users to courses</LI>
<LI>Security - teachers can add an "enrolment key" to their courses to keep
out non-students. They can give out this key face-to-face or via personal
email etc</LI>
<LI>Students are encouraged to build an online profile including photos, description
etc</LI>
<LI>Teachers can unenrol students manually if desired, otherwise they are automatically
unenrolled after a certain period of inactivity (set by the admin)</LI>
<LI>Students are encouraged to build an online profile including photos, description.
Email addresses can be protected from display if required.</LI>
<LI>Every user can specify their own timezone, and every date in Moodle is translated
to that timezone (eg posting dates, assignment due dates etc)</LI>
<LI>Every user can choose the language used for the Moodle interface (English,
French, German, Spanish, Portuguese etc)</LI>
</UL>
<p><strong>Course management</strong></p>
<UL>
<LI>Teacher has full control over all settings for a course</LI>
<LI>Choice of course formats such as by week, by topic or a discussion-focussed
social format</LI>
<LI>Flexible array of course modules - Forums, Journals, Quizzes, Resources,
<LI>Flexible array of course activities - Forums, Journals, Quizzes, Resources,
Choices, Surveys, Assignments.</LI>
<LI>Recent changes to the course since the last login can be displayed on the
course home page - helps give sense of community</LI>
<LI>Most text entry areas (resources, forum postings, journal entries etc) can
be edited using an embedded WYSIWYG HTML editor</LI>
<LI>All grades for Forums, Journals, Quizzes and Assignments can be viewed on
one page (and downloaded as a spreadsheet file)</LI>
<LI>New modules can be written and plugged in to existing Moodle installations</LI>
<LI>The code is clearly-written PHP under a GPL license - easy to modify and
localise</LI>
<LI>Moodle code uses encryption, data validation and careful design to be as
secure from hackers as possible</LI>
<LI>Full database abstraction supports all major brands of database (except
for initial table definition)</LI>
<LI>Ready for internationalisation - supports plug-in languages and locale-based
date formats etc</LI>
<LI>Mail integration - copies of forum posts, teacher feedback etc can be mailed
in HTML or plain text.</LI>
<LI>Recent changes to the course since the last login are displayed on the course
home page</LI>
<LI>Full user logging and tracking - activity reports for each student are available
with graphs and details about each module (last access, number of times read)
as well as a detailed "story" of each students involvement including postings,
journal entries etc on one page.</LI>
<LI>Mail integration - copies of forum posts, teacher feedback etc can be mailed
in HTML or plain text.</LI>
</UL>
<B>Assignment Module</B>
<UL>
@@ -65,22 +96,32 @@ Here is a big list of some of the features in Moodle:
comment) on one page in one form.</LI>
<LI>Teacher feedback is appended to the assignment page for each student, and
notification is mailed out.</LI>
<LI>The teacher can choose to allow resubmission of assignments after grading
(for regrading)</LI>
</UL>
<P><B>Choice Module</B> </P>
<UL>
<LI>Like a poll. Can either be used to vote on something, or to get feedback
from every student (eg research consent)</LI>
<LI>Teacher sees intuitive table view of who chose what</LI>
</UL>
<B></B>
<P><B>Forum Module</B> </P>
<UL><LI>Different types of forums are available, such as teacher-only, course news, open-to-all, and one-thread-per-user.</LI><LI>All postings have the authors photo attached.</LI><LI>Discussions can be viewed nested, flat or threaded, oldest or newest first.</LI><LI>Individual forums can be subscribed to by each person so that copies are forwarded via email, or the teacher can force subscription for all</LI>
<UL>
<LI>Different types of forums are available, such as teacher-only, course news,
open-to-all, and one-thread-per-user.</LI>
<LI>All postings have the authors photo attached.</LI>
<LI>Discussions can be viewed nested, flat or threaded, oldest or newest first.</LI>
<LI>Individual forums can be subscribed to by each person so that copies are
forwarded via email, or the teacher can force subscription for all</LI>
<LI>The teacher can choose not to allow replies (eg for an announcements-only
forum)</LI>
</UL>
<B>Journal Module</B>
<UL>
<LI>Journals are private between student and teacher.</LI>
<LI>Each journal entry can be directed by an open question.</LI>
<LI>For each particular journal entry, the whole class can be assessed on one
page in one form.</LI>
page in one form</LI>
<LI>Teacher feedback is appended to the journal entry page, and notification
is mailed out.</LI>
</UL>
@@ -91,7 +132,7 @@ Here is a big list of some of the features in Moodle:
modified </LI>
<LI>Quizzes can have a limited time window outside of which they are not available</LI>
<LI>At the teacher's option, quizzes can be attempted multiple times, and can
show feedback and correct answers</LI>
show feedback and/or correct answers</LI>
<LI>Questions allow HTML and images</LI>
<LI>Multiple-choice questions supporting single or multiple answers</LI>
<LI>Short Answer questions (words or phrases)</LI>
@@ -105,11 +146,12 @@ Here is a big list of some of the features in Moodle:
<LI>External content on the web can be linked to or seamlessly included within
the course interface.</LI>
</UL>
<B></B><B>Survey Module</B>
<B>Survey Module</B>
<UL><LI>Built-in surveys (COLLES, ATTLS) have been proven as instruments for analysing online classes</LI><LI>Online survey reports always available, including many graphs. Data is downloadable as an Excel spreadsheet or CSV text file.</LI><LI>Survey interface prevents partly-finished surveys.</LI><LI>Feedback is provided to the student of their results compared to the class averages</UL>
<P>&nbsp;</P>
<P ALIGN="CENTER"><FONT SIZE="1"><A HREF="index.html" TARGET="_top">Moodle Documentation</A></FONT></P>
<P ALIGN="CENTER"><FONT SIZE="1"><A HREF="." TARGET="_top">Moodle Documentation</A></FONT></P>
<P ALIGN="CENTER"><FONT SIZE="1">Version: $Id: features.html,v 1.2 2001/12/09
10:34:19 martin Exp $</FONT></P>
+21 -22
View File
@@ -14,33 +14,32 @@
<P>As Moodle gains in maturity, I hope its directions are influenced by the community
of developers and users. A dynamic database of proposed features and their status
can be found at <A TARGET=_top HREF="http://bugs.moodle.org/">bugs.moodle.org</A>.
Your <a href="developer.html">contributions</a> in the form of ideas, code,
Your <A href="developer.html">contributions</a> in the form of ideas, code,
feedback and promotion are all very welcome.
<P>Now that 1.0.1 has been released, most of my efforts will concentrate on the
macro level (supporting larger classes and integrating into larger institutions)
and the micro level (improving support for decisions and processes, for both
teachers and learners).
<P>Until about April 2003, my own involvement will slow down while I finish my PhD thesis.
During this time there will still be releases, but they will only contain minor
new features and bug fixes. I will also be including modules and other code contributed
by others.
<P>The next 6 months or so I will have to slow down my own development a little
(because I have a PhD thesis to finish). During this time there'll be a number
of small upgrades 1.0.2, 1.0.3 etc that I expect will contain minor new features
and polishing. I'll also be working with people adding new plugins (support for
more databases, new modules and new themes).
<P>After this time, by around June/July 2003, I am expecting a major release called Moodle 2.0
that will include major new features such as:
<UL>
<LI>Stronger pedagogical support for both teachers and students
<LI>Support for groups and group work
<LI>Rewritten display incorporating XML, XSL and CSS for full flexibility
and compatibility with all modern web standards.
<LI>Basic support for IMS and SCORM
<LI>A variety of new modules (chat, tracker etc)
<LI>Whatever else seems most important at the time :-)
</UL>
<P>Sometime in the first half of 2003 you can expect a major release (1.1, maybe 1.5) that has
new features like:
<UL>
<LI>Full user account management (eg connection to external databases, import/export etc)
<LI>Full grade management
<LI>Ability to define groups and group work
<LI>Automatic linking in texts to uploaded resources (like Wiki)
<LI>Online support for teachers to design and maintain classes
<LI>Online support for students in collaboration processes
</UL>
<P>About this time I will also be experimenting with ways of making
Moodle development more sustainable for the long term. This may
include offering services for payment - although the software itself
will always remain Free.
<P ALIGN="CENTER">&nbsp;</P>
<P ALIGN="CENTER"><FONT SIZE="1"><A HREF="index.html" TARGET="_top">Moodle Documentation</A></FONT></P>
<P ALIGN="CENTER"><FONT SIZE="1"><A HREF="." TARGET="_top">Moodle Documentation</A></FONT></P>
<P ALIGN="CENTER"><FONT SIZE="1">Version: $Id$</FONT></P>
</BODY>
+25
View File
@@ -0,0 +1,25 @@
<?PHP // $Id$
require("../config.php");
optional_variable($file, "intro.html"); // file in this directory to view
$file = clean_filename($file);
if (!file_exists($file)) {
error("404 - File not found");
}
?>
<HEAD>
<TITLE>Moodle Documentation</TITLE>
</HEAD>
<FRAMESET ROWS="70,*">
<FRAME NAME="top" SRC="top.php">
<FRAMESET COLS="200,*">
<FRAME NAME="contents" SRC="contents.php">
<FRAME NAME="main" SRC="<?PHP echo "$file"; ?>">
</FRAMESET>
</FRAMESET>
+76 -28
View File
@@ -5,7 +5,11 @@
<BODY BGCOLOR="#FFFFFF">
<H2>Installing Moodle</H2>
<P>This guide explains how to install Moodle for the first time.</P>
<P>This guide explains how to install Moodle for the first time. It goes into some detail
about some of the steps, in order to cover the wide variety of small differences between
web server setups, so this document may look long and complicated. Don't be put off by this
- I usually set Moodle up in a few minutes!</P>
<P>Take your time and work through this document carefully - it will save you time later on.</P>
<P>Sections in this document:</P>
<OL>
<LI><A HREF="#requirements">Requirements</A></LI>
@@ -38,7 +42,7 @@
Access, ADO, Sybase, DB2 or ODBC).</li>
</ul>
<p>On a Windows platform, the quickest way to satisfy these requirements is
to download <A HREF="http://www.phpgeek.com/">PHPTriad</A>, <A HREF="http://www.foxserv.net/">FoxServ</A>,
to download <A HREF="http://www.foxserv.net/">FoxServ</A>,
or <A HREF="http://www.easyphp.org/">EasyPHP</A> which will install Apache,
PHP, and MySQL for you. Make sure you enable the GD module so Moodle can process
images - you may have to edit php.ini and remove the comment (;) from this
@@ -89,19 +93,30 @@
<blockquote>
<p>Moodle will also need some space on your hard disk to store uploaded files,
such as course documents and user pictures.</p>
<p>Create a directory for this purpose somewhere <B>away</B> from the web server
documents directory (we don't want these files to be directly accessible from
the web), and ensure that the web server software has permission to write
<p>Create a directory for this purpose somewhere. For security, it's best that
this directory is NOT accessible via the web. The easiest way to do this
is to simply locate it OUTSIDE the web directory, otherwise protect it
by creating a file in the data directory called .htaccess, containing this line:
<blockquote>
<PRE>deny from all</PRE>
</blockquote>
<p>To make sure that Moodle can save uploaded files in this directory, check that
the web server software (eg Apache) has permission to write
to this directory. On Unix machines, this means setting the owner of the directory
to be something like &quot;nobody&quot; or &quot;apache&quot;.</p>
</blockquote>
<P>&nbsp;</P>
<H3><A NAME="database"></A>5. Create a database</H3>
<blockquote>
<p>You need to create an empty database (eg "moodle") in your database system
<p>You need to create an empty database (eg "moodle") in your database system
along with a special user (eg "moodleuser") that has access to that database
(and that database only. For example, don't use the "root" user for the moodle
database in a production system - it's a security hazard). </p>
(and that database only). You could use the "root" user if you wanted to, but
this is not recommended for a production system: if hackers manage to discover
the password then your whole database system would be at risk, rather than
just one database.
</p>
<p>eg for MySQL: </p>
<PRE>
# mysql -u root -p
@@ -113,6 +128,11 @@
</PRE>
<p>(For MySQL I highly recommend the use of <a href="http://phpmyadmin.sourceforge.net/">phpMyAdmin</a>
to manage your databases).</p>
<p>Note that Moodle currently does not yet support table name prefixes, and works best with a whole
database to itself. If you do want to install Moodle in a database that already contains
tables, and are SURE that Moodle tables will not conflict with any tables
that you already have installed, then you can call this script in your moodle
installation: admin/forcetables.php</p>
</blockquote>
<P>&nbsp;</P>
<H3><A NAME="webserver" id="webserver"></A>6. Check your web server settings</H3>
@@ -126,18 +146,43 @@
</blockquote>
<p>Just make sure index.php is in the list (and preferably towards the start
of the list, for efficiency).</p>
<p>Secondly, check your PHP configuration file (usually called php.ini) and
make sure uploading has been turned on:</p>
<p>Secondly, Moodle requires a number of PHP settings to be active for it to
work. <B>On most servers these will already be the default settings.</B>
However, some PHP servers (and some of the more recent PHP versions) may
have things set differently. These are defined in PHP's configuration
file (usually called php.ini):</p>
<blockquote>
<pre>file_uploads = On</pre>
<pre>file_uploads = 1
magic_quotes_gpc = 1
short_open_tag = 1
session.auto_start = 0
</pre>
</blockquote>
<p>If you don't have access to httpd.conf or php.ini on your server, or you
have Moodle on a server with other applications that require different
settings, then you can OVERRIDE all of the default settings.
<p>To do this, you need to create a file called <B>.htaccess</B> in Moodle's
main directory that contains definitions for these settings.
This only works on Apache servers and only when Overrides have been allowed.
<BLOCKQUOTE><PRE>
DirectoryIndex index.php index.html index.htm
php_value magic_quotes_gpc 1
php_value file_uploads 1
php_value short_open_tag 1
php_value session.auto_start 0</BLOCKQUOTE></PRE>
<P>You can also do things like define the maximum size for uploaded files:
<BLOCKQUOTE><PRE>
php_value upload_max_filesize 2M
php_value post_max_size 2M
</BLOCKQUOTE></PRE>
<p>The easiest thing to do is just copy the sample file from lib/htaccess
and edit it to suit your needs. It contains further instructions. For
example, in a Unix shell:
<blockquote>
<pre>cp lib/htaccess .htaccess</pre>
</blockquote>
<p>Most distributions of PHP have this turned on by default, but you may want
to check it anyway. </p>
<p>If you don't have access to httpd.conf or php.ini on your server, another
way you can set both of the above settings (and more) is to put definitions in a
.htaccess file in Moodle's main directory. This only works on Apache servers
and only when Overrides have been allowed. A sample .htaccess file
is included with Moodle (called lib/htaccess) that includes further information.
</blockquote>
<p>&nbsp;</p>
@@ -157,15 +202,15 @@
<P>&nbsp;</P>
<H3><A NAME="admin"></A>8. Go to the admin page</H3>
<blockquote>
<p>The admin page should now be working at: http://example.com/moodle/admin.
<p>The admin page should now be working at: <u>http://example.com/moodle/admin</u>.
If you try and access the front page of your site you'll be taken there automatically
anyway. The first time you access this admin page, you will be presented with
a GPL agreement with which you need to agree before you can continue with the setup.</p>
<P>(Moodle will also try to set some cookies in your browser. If you have
your browser set up to let you choose to accept cookies, then you <B>must</B>
accept the Moodle cookies, or Moodle won't work properly.)
<p>Now Moodle will start setting set up your database. Firstly, the main database
tables are created. You should see a number of SQL statements followed by
<p>Now Moodle will start setting up your database and creating tables to store data.
Firstly, the main database tables are created. You should see a number of SQL statements followed by
status messages (in green or red) that look like this:</p>
<blockquote>
<p>CREATE TABLE course ( id int(10) unsigned NOT NULL auto_increment, category
@@ -189,8 +234,7 @@
<p>Scroll down the very bottom of the page and press the &quot;Continue&quot;
link.</p>
<p>Next you will see a similar page that sets up all the tables required by
each Moodle module. As before, they should all be green, otherwise you may
be a problem in the module code.</p>
each Moodle module. As before, they should all be green.</p>
<p>Scroll down the very bottom of the page and press the &quot;Continue&quot;
link.</p>
@@ -247,7 +291,12 @@
where this script is run regularly (eg every five minutes). This provides
a &quot;heartbeat&quot; so that the script can perform functions at periods
defined by each module.</p>
<p>Test that the script works by running it directly from your browser:</p>
<P>Note that the machine performing the cron <B>does not need to be the same
machine that is running Moodle</B>. For example, if you have a limited web hosting
service that does not have cron, then you can might choose to run cron on another
server or on your home computer. All that matters is that the cron.php file is
called every five minutes or so.</p>
<p>First, test that the script works by running it directly from your browser:</p>
<blockquote>
<PRE>http://example.com/moodle/admin/cron.php</PRE>
</blockquote>
@@ -283,9 +332,8 @@
<PRE>*/5 * * * * wget -q -O /dev/null http://example.com/moodle/admin/cron.php</PRE>
</blockquote>
<p>On Windows systems: The simplest way is to use my package <A TITLE="Click to download this package (150k)" HREF="http://moodle.com/download/moodle-cron-for-windows.zip">moodle-cron-for-windows.zip</A>
which makes this whole thing very easy.</p>
<p>Other platforms: you will need to find another way to do this (please let
me know so I can update this documentation).<br>
which makes this whole thing very easy. You can also explore using the built-in
Windows feature for "Scheduled Tasks".</p>
</p>
</blockquote>
<H3><A NAME="course"></A>10. Create a new course</H3>
@@ -307,7 +355,7 @@
on course-building.</p>
</blockquote>
<P>&nbsp;</P>
<P ALIGN="CENTER"><FONT SIZE="1"><A HREF="index.html" TARGET="_top">Moodle Documentation</A></FONT></P>
<P ALIGN="CENTER"><FONT SIZE="1"><A HREF="." TARGET="_top">Moodle Documentation</A></FONT></P>
<P ALIGN="CENTER"><FONT SIZE="1">Version: $Id$</FONT></P>
</BODY>
+1 -1
View File
@@ -30,7 +30,7 @@
or teaching an online course.</P>
<P><BR>
</P>
<P ALIGN="CENTER"><FONT SIZE="1"><A HREF="index.html" TARGET="_top">Moodle Documentation</A></FONT></P>
<P ALIGN="CENTER"><FONT SIZE="1"><A HREF="." TARGET="_top">Moodle Documentation</A></FONT></P>
<P ALIGN="CENTER"><FONT SIZE="1">Version: $Id$</FONT></P>
</BODY>
+1 -1
View File
File diff suppressed because one or more lines are too long
+298
View File
@@ -0,0 +1,298 @@
<HEAD>
<TITLE>Moodle Docs: Release notes</TITLE>
<LINK REL="stylesheet" HREF="../theme/standard/styles.css" TYPE="TEXT/CSS">
<style type="text/css">
DT {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; font-weight: bold;}
DD {margin-bottom:1em;}
</style>
</HEAD>
<BODY BGCOLOR="#FFFFFF">
<H2>Release notes</H2>
<H3> New in Moodle 1.0.7: </H3>
<UL><DL>
<DT> Simpler version numbers!</DT>
<DD> The four-digit version numbers were getting a bit ridiculous (too complex),
so I've switched back to simpler 3-digit numbers. The first digit is the
major structural version, the second digit is for decent-sized upgrades
and the third digit is for minor upgrades.</DD>
<DT> Languages</DT>
<DD> Two completely new languages have been added: Indonesian (from Arfan Hidayat)
and Japanese (from Mitsuhiro Yoshida). A US English version was added too.
Most other languages contain some updates. All languages now contain locale
information, which means that when a user changes the language all the dates
will display properly too.</DD>
<DT> Database access</DT>
<DD> ADOdb was upgraded to 2.50 which should fix some problems with very
new versions of PHP (4.3.0).</DD>
<DT> Layout improvements</DT>
<DD> Cleaned up the display of "side boxes" and added CSS style control over
more elements on the site and course pages. You may need to upgrade
your custom themes to get the full effect. Changes are in styles.php,
config.php and one line in header.html.
<P>The interface when
courses are on front page and there is more than one category has
been improved (no longer just shows short course names).</P>
</DD>
<DT> Class interface</DT>
<DD> A wrapper file provides a class interface to main Moodle library
(for external programs interfacing to Moodle) - moodle/lib/makeclass.php</DD>
<DT> Small improvements and bug fixes</DT>
<DD>
<LI> Quizzes now have a confirmation dialog when submitting an attempt
<LI> Courses now default to having "show recent activity" on (again).
<LI> Abolished leading zeroes in dates (introduced in last release)
<LI> Some formatting fixes for Japanese and old Netscape browsers
<LI> Teacher can allow larger assignments to be uploaded
<LI> Change password button on user page now always functions like the one on login page
<LI> Forum search now searches subjects as well as messages
<LI> Various HTML fixes
<LI> Fixes to grades display when there are no grades, also no forum ratings
<LI> Slashes in requested filenames are now stripped
<LI> Updates to the documentation
</DD>
</DL></UL>
<HR>
<H3> New in Moodle 1.0.6.4: </H3>
<UL><DL>
<DT> Authentication</DT>
<DD> Moodle now features seven different authentication mechanisms,
making it possible to hook Moodle up to nearly any external list
of users!</P>
<P>New methods just added include IMAP, POP3 and NNTP servers (including
those using SSL or certificate-based authentication), and also
authentication against user-specified fields in ANY
external database table.</P>
<P>The login page can now be partially customised
by the admin with personalised instructions, and the guest login can be
hidden if desired. </P>
<P>"Mappings" can be defined so that other fields (such as email, firstname,
lastname, department, language etc) can also be copied from LDAP or an
external database when accounts are first used.</P>
<P>Finally, Moodle now sports a cool
new admin GUI for configuring all of this, so it should be pretty
easy now to set up external authentication.
Many thanks to contributor Petri Asikainen for helping with the admin GUI.</P></DD>
<DT> Languages</DT>
<DD> Complete new Norwegian translation (from Jøran Sørbø), and updates for several others.</DD>
<DT> Assignments</DT>
<DD> Students can now resubmit assignments after grading if the teacher allows it</DD>
<DT> Contributed code</DT>
<DD> Standalone user-contributed code is now distributed under the /contrib directory. This directory
could get quite large, and the quality/security of it has usually not been checked by me,
and so this code is not included in the standard releases and nightlies. However, people
who are interested in it can access it via CVS (or see <A HREF="http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/moodle/moodle/contrib/">CVS web view</A>). As these new features become polished or if demand grows for them,
then I'll integrate them into the main Moodle distribution.
<BR><BR>
The first contributor is Holger Schadeck (compuproggy), who has written some <A HREF="http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/moodle/moodle/contrib/compuproggy/">interesting code</A> to help with translating all the Moodle help files. Check it out!</DD>
<DT> Bug fixes</DT>
<DD>
<LI> Day value in dates (eg forum posts, weekly listing) are
now displayed correctly on Windows servers.
<LI> config-dist.php and README.txt is now in DOS format to make it easier for Windows users to get started (Unix users shouldn't be affected).
<LI> Added a workaround (and new config switch in config-dist.php) for
some systems which have buggy referer variables. This should help
those people getting "stuck" on a form during setup.
<LI> Logout now sends you to the home page and clears the session completely.
<LI> Timezones now range between -13 to 13 hours (for daylight saving).
<LI> Character set in email now matches current language.
<LI> User pictures are now uploaded even if other fields have errors.
<LI> Full-size user pictures on user profile page no longer clickable.
<LI> Long user listing now has a small notice at the bottom about automatic unenrolment
<LI> Unenrol and change password buttons are hidden for guest student
<LI> Fixed occasional case where submitted assignments were sometimes having their owner changed.
<LI> User log graphs are now faster, cleaner and translatable.
<LI> Fixed HTML display errors with courses in category boxes on front page.
<LI> Admin and guest accounts now always work, even with external authentication activated.
<LI> Slightly more security when writing/reading files (now checks for embedded scripting).
<LI> The same user can now be deleted more than once (create, delete, recreate, delete caused error).
<LI> Language editor now works with multibyte languages (Thanks, Mits)
</DD>
</DL></UL>
<HR>
<H3> New in Moodle 1.0.6.3: </H3>
<UL><DL>
<DT> Bug fix for no-name forums.</DT>
<DD> New sites created with 1.0.6.2 had some forums appearing with no names
(for example the News forum on the home page).
A workaround is to add a new activity to that section (all the names
will be refreshed), but this release will fix it too. </DD>
<DT> New languages!</DT>
<DD> Catalan and Spanish (Spain) translations have arrived!</DD>
<DT> Some display improvements for old Netscape browsers (headers and quizzes)</DT>
<DT> Guest language now ALWAYS the same as the current site language</DT>
<DT> "Recent Activity" can now be disabled completely if desired </DT>
<DT> For very large classes (larger than 500) participant list is not displayed</DT>
</DL></UL>
<HR>
<H3> New in Moodle 1.0.6.2: </H3>
<UL><DL>
<DT> Course formatting improvements </DT>
<DD> The weekly and topic formats now have an extra "general" area up
the top where "general" activities are listed - these are things
that apply throughout the course, not just to one particular topic
or week. This general area is not shown if it is completely empty.</DD>
<DT> Popup "jump" menu. </DT>
<DD> You can now jump from one activity directly to any other using a
popup menu in the upper-right corner of the page</DD>
<DT> Speed improvements </DT>
<DD> Course activity details are now cached for each course, which
greatly reduces the amount of database access required to display
the course page. On heavily accessed systems this should improve speed.</DD>
<DT> Languages </DT>
<DD> Surveys are now completely translatable.</DD>
<DT> Admin improvements </DT>
<DD> Paging was added to the user admin page, so that the admin can now
browse large numbers of users. </DD>
<DT> Fixes and tweaks </DT>
<DD> Various other small improvements to formatting</DD>
</DL></UL>
<HR>
<H3> New in Moodle 1.0.6.1: </H3>
<UL><DL>
<DT> New assignment type: offline assignments </DT>
<DD> In addition to "upload a file" assignments, you can now have "offline"
assignments. These don't require the student to do anything online.
They are useful for grading activities that are not on in Moodle, and a
also useful for adding "manual" columns to the grade page.</DD>
<DT> Languages </DT>
<DD> Spanish (Mexican) has been added to the distribution. Other languages have various improvements.</DD>
<DT> SMTP authentication </DT>
<DD> SMTP mail now supports SMTP username and password if needed</DD>
<DT> Documentation </DT>
<DD> Some parts rewritten, and documentation cleaned up (upgrade info now part of main docs)</DD>
<DT> Other fixes </DT>
<UL><LI>Better checking on teachers using "loginas" to stop them roaming other courses as a student
<LI>While using "loginas", teachers can return to their own identity using a link in the footer
<LI>Some strings fixed in assignments, journals, and forums.
<LI>Guest language is now the same as the site
<LI>etc
</UL></DD>
</DL></UL>
<HR>
<H3> New in Moodle 1.0.6: </H3>
<UL><DL>
<DT> New feature - WYSIWYG Text editing! </DT>
<DD> A WYSIWYG text editor has been added to many of the forms in Moodle. These are currently
only visible when using Microsoft Internet Explorer 5.5 or later - other browsers see the
normal forms exactly as before.</DD>
<DT> New feature - Quiz module! </DT>
<DD> Finally, the most requested new module is here! Multiple choice, short answer, and true-false
questions with automatic marking, multiple attempts, teacher regrading and many other features.
Questions are stored in a categorised database, and may be "published" to other courses.</DD>
<DT> New feature - Grade manager! </DT>
<DD> A new tool has been added for teachers to see all grades for a course on one page.
You can also download/export grades as a tab-separated text file or an Excel
Spreadsheet. In future more features will be added to this page like sorting, manual
columns and calculations, but it's still pretty useful right now.</DD>
<DT> New feature - LDAP authentication! </DT>
<DD> Moodle can now authenticate against external directories that use the
LDAP protocol (including Novell etc). Many thanks to Petri Asikainen for
developing this authentication plug-in!</DD>
<DT> New feature - New smilies </DT>
<DD> Many new smilies have been added, and are now also accessible using a GUI in the text editor.</DD>
<DT> Improved text editing </DT>
<DD> You can now include all major HTML tags in all texts. This is now safe because
of newly added functionality that strips all Javascript and faulty tags from texts
before they can cause security or display problems.</DD>
<DT> Languages </DT>
<DD> German and Italian have been added! Many thanks to the translators (see the credits).</DD>
<DT> Reading module => Resource module </DT>
<DD> After much thought and a vote of support (21 "yes" to 6 "no") on the "Using Moodle"
web site I changed the name of the "reading" module to "resource" (at the code level
and also the language packs). It was better to do this earlier than later.
This more generic name will be more meaningful to more people and opens the way to
some real development on a resource library.
But I don't want to ever change a module name again! :-)
If you have any hard-coded URLs pointing to readings that you don't want to break,
you can add a line like this to your Apache httpd.conf to redirect them:
<P><CODE>Redirect /mod/reading http://yourserver.com/mod/resource</CODE></P>
<FONT COLOR=RED>Note: if upgrading to 1.0.6 you may have some "reading" errors in "Recent activity" ... logging
out and then logging in again will fix this</FONT></DD>
<DT> Other additions </DT>
<DD> An admin script to totally delete the Moodle data directory has been included (admin/delete.php)
for people who need to tear down a Moodle installation but don't have root access on their
server.</DD>
<DT> Miscellaneous </DT>
<DD> Many small improvements have been made to the interface, and many small bugs have been fixed.
Some examples:
<UL>
<LI> Big "Edit this page" buttons at the top of pages (replacing the tiny icon)
<LI> LDAP authentication module (thanks to Petri)
<LI> Authentication from external sources can now import any fields
<LI> Student assignment list now shows submission status properly
<LI> Default language for users is now the site language
<LI> Users have a 'Change Password' button on their profile page
<LI> Journals that need teacher feedback are highlighted
<LI> More documentation and more context help buttons
<LI> Database-specific upgrade code
<LI> Uses character-set codes to make the browser do the right thing
<LI> User's name in footer is now a link
<LI> News and social forums are now editable
<LI> Forums that don't allow posting don't have uneccessary "discuss" links
<LI> Improved algorithm for shortening posts in forum listings
<LI> Choice module now allows up to six choices
</UL>
</DD>
</DL></UL>
<P>&nbsp;</P>
<P ALIGN="CENTER"><FONT SIZE="1"><A HREF="../doc/" TARGET="_top">Moodle Documentation</A></FONT></P>
<P ALIGN="CENTER"><FONT SIZE="1">Version: $Id$</FONT></P>
+5 -5
View File
@@ -164,7 +164,7 @@
directly into a form.</dd>
<BR>
<BR>
<dt><strong>Survey</strong></dt>
<dt><strong>Quiz</strong></dt>
<dd>This module allows you to design and set quiz tests, consisting of
multiple choice, true-false, and short answer questions. These
questions are kept in a categorised database, and can be re-used
@@ -192,7 +192,7 @@
<H3><A NAME="course"></A>Running the course</H3>
<blockquote>
<p>I could write a thesis about this. Actually I <strong>am</strong> writing
a thesis about this. <img src="../pix/s/biggrin.gif" width="16" height="16"></p>
a thesis about this. <img src="../pix/s/biggrin.gif" width="15" height="15"></p>
<p>Until then here are just a few quick pointers:</p>
<ol>
<li>Subscribe yourself to all the forums.</li>
@@ -221,8 +221,8 @@
local site administrator.</p>
<p>If you have some great ideas for improvements to Moodle, or even some good
stories, come over to <a href="http://moodle.com/" target="_top">moodle.com</a> and join
in the Teacher's forum on that site. We'd love to hear them, and you can help
Moodle improve.</p>
in the course called "<A HREF="http://moodle.com/course/view.php?id=5" target=_top >Using Moodle</A>".
We'd love to hear from you, and you can help Moodle improve.</p>
<p>If you want to contribute to coding new modules, or writing documentation,
or papers, contact me: <a href="http://dougiamas.com/" target="_top">Martin
Dougiamas</a> or browse the &quot;bug tracker&quot; site for Moodle, at <a href="http://bugs.moodle.com" target="_top">bugs.moodle.com</a></p>
@@ -230,7 +230,7 @@
<HR>
<p>&nbsp;</p>
</blockquote>
<P ALIGN="CENTER"><FONT SIZE="1"><A HREF="index.html" TARGET="_top">Moodle Documentation</A></FONT></P>
<P ALIGN="CENTER"><FONT SIZE="1"><A HREF="." TARGET="_top">Moodle Documentation</A></FONT></P>
<P ALIGN="CENTER"><FONT SIZE="1">Version: $Id: teacher.html,v 1.4 2002/08/18 10:00:01
martin Exp $</FONT></P>
+12
View File
@@ -0,0 +1,12 @@
<?PHP // $Id$
require("../config.php");
if (! $site = get_site()) {
error("Site is misconfigured");
}
$strdocumentation = get_string("documentation");
print_header("$site->shortname: $strdocumentation", "$site->fullname", "$strdocumentation", "", "", true, "", navmenu($site));
?>
+110
View File
@@ -0,0 +1,110 @@
<HEAD>
<TITLE>Moodle Docs: Upgrading</TITLE>
<LINK REL="stylesheet" HREF="../theme/standard/styles.css" TYPE="TEXT/CSS">
</HEAD>
<BODY BGCOLOR="#FFFFFF">
<H2>Upgrading Moodle</H2>
<p>Moodle is designed to upgrade cleanly from any earlier version to any later
version. </p>
<p>When upgrading a Moodle installation you should follow these steps:</p>
<h2>1. Backup important data</h2>
<blockquote>
<p>Although it is not strictly necessary, it is always a good idea to make a
backup of any production system before a major upgrade, just in case you need
to revert back to the older version for some reason. In fact, it's a good
idea to automate your server to backup your Moodle installation daily, so
that you can skip this step.</p>
<p>There are three areas that need backing up:</p>
<blockquote>
<p><strong>1. The Moodle software directory itself</strong></p>
<blockquote>
<p>Make a separate copy of these files before the upgrade, so that you can
retrieve your config.php and any modules you have added like themes, languages
etc<strong><br>
</strong></p>
</blockquote>
<p><strong>2. Your data directory.</strong></p>
<blockquote>
<p>This is where uploaded content resides (such as course resources and
student assignments) so it is very important to have a backup of these
files anyway. Sometimes upgrades may move or rename directories within
your data directory.<strong><br>
</strong></p>
</blockquote>
<p><strong>3. Your database</strong></p>
<blockquote>
<p>Most Moodle upgrades will alter the database tables, adding or changing
fields. Each database has different ways to backup. One way of backing
up a MySQL database is to 'dump' it to a single SQL file. The following
example shows Unix commands to dump the database called &quot;moodle&quot;:</p>
<blockquote>
<p><font face="Courier New, Courier, mono">mysqldump moodle &gt; moodle-backup-2002-10-26.sql</font></p>
</blockquote>
<p>You can also use the &quot;Export&quot; feature in Moodle's &quot;Manage
Database&quot; web interface to do the same thing on all platforms.</p>
</blockquote>
</blockquote>
</blockquote>
<h2>&nbsp;</h2>
<h2>2. Install the new Moodle software</h2>
<blockquote>
<p><strong>Using a downloaded archive</strong></p>
<blockquote>
<p>Do not overwrite an old installation unless you know what you are doing
... sometimes old files can cause problems in new installations. The best
way it to rename the current Moodle directory to something else, then unpack
the new Moodle archive into the old location.</p>
<blockquote>
<p><font face="Courier New, Courier, mono">mv moodle moodle.backup<br>
tar xvzf moodle-1.0.6.tgz</font></p>
</blockquote>
<p>Next, copy across your config.php and any other plugins such as custom
themes:</p>
<blockquote>
<p><font face="Courier New, Courier, mono">cp moodle.backup/config.php moodle<br>
cp -pr moodle.backup/theme/mytheme moodle/theme/mytheme</font></p>
</blockquote>
</blockquote>
<p><strong>Using CVS</strong></p>
<blockquote>
<p>If you are using CVS, just go into the Moodle root directory and update
to the new files:</p>
<blockquote>
<p><font face="Courier New, Courier, mono">cvs update -dP</font></p>
</blockquote>
<p>Make sure you use the &quot;d&quot; parameter to create new directories
if necessary, and the &quot;P&quot; parameter to prune empty directories.</p>
<p>If you have been editing Moodle files, watch the messages very closely
for possible conflicts. All your customised themes and non-standard plugins
will be untouched.</p>
</blockquote>
<p>&nbsp;</p>
</blockquote>
<h2>3. Finishing the upgrade</h2>
<blockquote>
<p>The last step is to trigger the upgrade processes within Moodle.</p>
<p>To do this just visit <a target=_top href="../admin/index.php">the admin page of your
installation</a>.</p>
<blockquote>
<p><font face="Courier New, Courier, mono">http://example.com/moodle/admin</font></p>
</blockquote>
<p>It doesn't matter if you are logged in as admin or not.</p>
<p> Moodle will automatically detect the new version and perform all the database
or filesystem upgrades that are necessary. If there is anything it can't do
itself (very rare) then you will see messages telling you what you need to
do. </p>
</blockquote>
<p>&nbsp; </p>
<p> Assuming all goes well (no error messages) then you can start using your new
version of Moodle and enjoy the new features!</p>
<p>If you have trouble with the upgrade, visit <a target=_top href="http://moodle.com/">moodle.com</a>
and post on the <a target=_top href="http://moodle.com/mod/forum/view.php?id=28">Installation
Support Forum</a>.</p>
<p>&nbsp;</p>
<P>&nbsp;</P>
<P ALIGN="CENTER"><FONT SIZE="1"><A HREF="." TARGET="_top">Moodle Documentation</A></FONT></P>
<P ALIGN="CENTER"><FONT SIZE="1">Version: $Id$</FONT></P>
</BODY>
+22 -13
View File
@@ -2,27 +2,36 @@
require("../config.php");
require_variable($id); // course context
optional_variable($id); // course context
require_variable($file); // file in this directory to view
if (! $course = get_record("course", "id", $id)) {
error("Course is misconfigured");
}
if (!isteacher($course->id)) {
error("Only teachers can look at this page");
}
$file = clean_filename($file);
if (file_exists($file)) {
if (!file_exists($file)) {
error("404 - File not found");
}
if ($id) {
if (! $course = get_record("course", "id", $id)) {
error("Course is misconfigured");
}
$strhelp = get_string("help");
print_header("$course->shortname: $strhelp", "$course->fullname",
"<A HREF=\"../course/view.php?id=$course->id\">$course->shortname</A> -> $strhelp");
echo "<BLOCKQUOTE>";
include($file);
echo "</BLOCKQUOTE>";
} else {
if (! $site = get_site()) {
error("Site is misconfigured");
}
$strdocumentation = get_string("documentation");
print_header("$site->shortname: $strhelp", "$site->fullname",
"<A HREF=\"view.php?file=contents.html\">$strdocumentation</A>");
}
echo "<BLOCKQUOTE>";
include($file);
echo "</BLOCKQUOTE>";
?>
+2 -2
View File
@@ -547,7 +547,7 @@ function displaydir ($wdir) {
$filename = $fullpath."/".$dir;
$fileurl = rawurlencode($wdir."/".$dir);
$filesafe = rawurlencode($dir);
$filedate = userdate(filectime($filename), "%e %b %Y, %I:%M %p");
$filedate = userdate(filectime($filename), "%d %b %Y, %I:%M %p");
echo "<TR>";
@@ -573,7 +573,7 @@ function displaydir ($wdir) {
$fileurl = "$wdir/$file";
$filesafe = rawurlencode($file);
$fileurlsafe = rawurlencode($fileurl);
$filedate = userdate(filectime($filename), "%e %b %Y, %I:%M %p");
$filedate = userdate(filectime($filename), "%d %b %Y, %I:%M %p");
echo "<TR>";
+1
View File
@@ -12,6 +12,7 @@ function mimeinfo($element, $filename) {
"html" => array ("type"=>"text/html", "icon"=>"html.gif"),
"htm" => array ("type"=>"text/html", "icon"=>"html.gif"),
"txt" => array ("type"=>"text/plain", "icon"=>"text.gif"),
"php" => array ("type"=>"text/plain", "icon"=>"text.gif"),
"wav" => array ("type"=>"audio/wav", "icon"=>"audio.gif"),
"mp3" => array ("type"=>"audio/mp3", "icon"=>"audio.gif"),
"au" => array ("type"=>"audio/au", "icon"=>"audio.gif"),
+15 -27
View File
@@ -1,10 +1,10 @@
<? // $Id$
// index.php - the front page.
<?PHP // $Id$
// index.php - the front page.
require("config.php");
include("course/lib.php");
include("mod/resource/lib.php");
include("mod/forum/lib.php");
require("course/lib.php");
require("mod/resource/lib.php");
require("mod/forum/lib.php");
if (! $site = get_site()) {
redirect("$CFG->wwwroot/admin/index.php");
@@ -24,16 +24,16 @@
}
print_header("$site->fullname", "$site->fullname", "home", "",
"<META NAME=\"Description\" CONTENT=\"".stripslashes(strip_tags($site->summary))."\">",
true, $headerbutton);
true, "", $headerbutton);
$side = 180;
$side = 175;
?>
<TABLE WIDTH="100%" BORDER="0" CELLSPACING="5" CELLPADDING="5">
<TR>
<?
<?PHP
$sections = get_all_sections($site->id);
if ($site->newsitems > 0 or $sections[0]->sequence or isediting($site->id)) {
@@ -42,29 +42,17 @@
if ($sections[0]->sequence or isediting($site->id)) {
get_all_mods($site->id, $mods, $modnames, $modnamesplural, $modnamesused);
print_simple_box(get_string("mainmenu"), "CENTER", $side, "$THEME->cellheading");
}
if ($sections[0]->sequence) {
print_section($site->id, $sections[0], $mods, $modnamesused, true, $side);
}
if (isediting($site->id)) {
echo "<DIV ALIGN=right>";
popup_form("$CFG->wwwroot/course/mod.php?id=$site->id&section=0&add=",
$modnames, "section0", "", get_string("add")."...");
echo "</DIV>";
print_section_block(get_string("mainmenu"), $site, $sections[0],
$mods, $modnames, $modnamesused, true, $side, isediting($site->id));
}
if ($site->newsitems > 0 ) {
$categories = get_all_categories();
if (count($categories) > 1) {
print_simple_box(get_string("categories"), "CENTER", $side, "$THEME->cellheading");
print_course_categories($categories, "none", $side);
} else {
print_simple_box(get_string("courses"), "CENTER", $side, "$THEME->cellheading");
$category = array_shift($categories);
print_all_courses($category->id, "minimal", 10);
print_all_courses($category->id, "minimal", 10, $side);
}
}
print_spacer(1,$side);
@@ -83,7 +71,7 @@
echo "<TD WIDTH=70% VALIGN=TOP>";
if ($site->newsitems == 0 ) {
print_simple_box(get_string("availablecourses"), "CENTER", "100%", "$THEME->cellheading");
print_heading_block(get_string("availablecourses"));
print_spacer(8,1);
$categories = get_all_categories();
if (count($categories) > 1) {
@@ -113,7 +101,7 @@
} else {
$headertext = get_string("sitenews");
}
print_simple_box($headertext, "CENTER", "100%", $THEME->cellheading);
print_heading_block($headertext);
print_spacer(8,1);
forum_print_latest_discussions($newsforum->id, $site->newsitems);
}
@@ -125,7 +113,7 @@
$site->summary .= "<BR><CENTER><A HREF=\"admin/site.php\"><IMG SRC=\"pix/i/edit.gif\" BORDER=0></A>";
}
print_simple_box($site->summary, "", "100%", $THEME->cellheading);
print_simple_box($site->summary, "", "100%", $THEME->cellcontent2);
print_spacer(1,$side);
echo "</TD>";
?>
@@ -133,5 +121,5 @@
</TR>
</TABLE>
<? print_footer("home"); // Please do not modify this line ?>
<?PHP print_footer("home"); // Please do not modify this line ?>
+30
View File
@@ -0,0 +1,30 @@
<?PHP // $Id$
// assignment.php - created with Moodle 1.0.5 dev (2002092300)
$string['assignmentdetails'] = "Assignment details";
$string['assignmentname'] = "ãåãÉ";
$string['assignmenttype'] = "Assignment type";
$string['description'] = "Description";
$string['duedate'] = "Due date";
$string['early'] = "\$a early";
$string['failedupdatefeedback'] = "Failed to update submission feedback for user \$a";
$string['feedbackupdated'] = "Submissions feedback updated for \$a people";
$string['late'] = "\$a late";
$string['maximumgrade'] = "Maximum grade";
$string['maximumsize'] = "Maximum size";
$string['modulename'] = "ãåãÉ";
$string['modulenameplural'] = "Assignments";
$string['newsubmissions'] = "Assignments submitted";
$string['notsubmittedyet'] = "Not submitted yet";
$string['overwritewarning'] = "Warning: uploading again will REPLACE your current submission";
$string['submissionfeedback'] = "Submission feedback";
$string['submissions'] = "Submissions";
$string['submitassignment'] = "Submit your assignment using this form";
$string['submitted'] = "Submitted";
$string['typeuploadsingle'] = "Upload a single file, worth between 0 - 100 marks";
$string['uploadedfiles'] = "uploaded files";
$string['viewsubmissions'] = "View \$a submitted assignments";
$string['yoursubmission'] = "Your submission";
?>
+17
View File
@@ -0,0 +1,17 @@
<?PHP // $Id$
#------------------------------------------------------------
$string['modulename'] = "ÇÓÊÈíÇä";
$string['modulenameplural'] = "ÇÓÊÈíÇäÇÊ";
#------------------------------------------------------------
$string['answered'] = "Answered";
$string['choice'] = "Choice \$a";
$string['choicename'] = "Choice name";
$string['choicetext'] = "Choice text";
$string['notanswered'] = "Not answered yet";
$string['responses'] = "Responses";
$string['responsesto'] = "Responses to \$a";
$string['savemychoice'] = "Save my choice";
$string['viewallresponses'] = "View \$a responses";
?>
+116
View File
@@ -0,0 +1,116 @@
<?PHP // $Id$
#------------------------------------------------------------
$string['modulename'] = "ÓÇÍÉ ÇáÍæÇÑ";
$string['modulenameplural'] = "Forums";
#------------------------------------------------------------
$string['addanewdiscussion'] = "Add a new discussion topic";
$string['allowchoice'] = "Allow everyone to choose";
$string['allowdiscussions'] = "Can a \$a post to this forum?";
$string['allowratings'] = "Allow posts to be rated?";
$string['allowsdiscussions'] = "This forum allows each person to start one discussion topic.";
$string['anyfile'] = "Any file";
$string['attachment'] = "Attachment";
$string['bynameondate'] = "by \$a->name - \$a->date";
$string['couldnotadd'] = "Could not add your post due to an unknown error";
$string['couldnotdeleteratings'] = "Sorry, that cannot be deleted as people have already rated it";
$string['couldnotdeletereplies'] = "Sorry, that cannot be deleted as people have already responded to it";
$string['couldnotupdate'] = "Could not update your post due to an unknown error";
$string['delete'] = "Delete";
$string['deleteddiscussion'] = "The discussion topic has been deleted";
$string['deletedpost'] = "The post has been deleted";
$string['deletesure'] = "Are you sure you want to delete this post?";
$string['discussion'] = "Discussion";
$string['discussions'] = "Discussions";
$string['discussionsstartedby'] = "Discussions started by \$a";
$string['discussthistopic'] = "Discuss this topic";
$string['eachuserforum'] = "Each person posts one discussion";
$string['edit'] = "Edit";
$string['editing'] = "Editing";
$string['emptymessage'] = "Something was wrong with your post. Perhaps you left it blank, or the attachment was too big. Your changes have NOT been saved.";
$string['everyonecanchoose'] = "Everyone can choose to be subscribed";
$string['everyoneissubscribed'] = "Everyone is subscribed to this forum";
$string['forcesubscribe'] = "Force everyone to be subscribed";
$string['forcesubscribeq'] = "Force everyone to be subscribed?";
$string['forum'] = "Forum";
$string['forumintro'] = "Forum introduction";
$string['forumname'] = "Forum name";
$string['forums'] = "Forums";
$string['forumtype'] = "Forum type";
$string['generalforum'] = "Standard forum for general use";
$string['generalforums'] = "General forums";
$string['inforum'] = "in \$a";
$string['intronews'] = "General news and announcements";
$string['introsocial'] = "An open forum for chatting about anything you want to";
$string['introteacher'] = "A forum for teacher-only notes and discussion";
$string['learningforums'] = "Learning forums";
$string['maxtimehaspassed'] = "Sorry, but the maximum time for editing this post (\$a) has passed!";
$string['message'] = "Message";
$string['modeflatoldestfirst'] = "Display replies flat, with oldest first";
$string['modeflatnewestfirst'] = "Display replies flat, with newest first";
$string['modenested'] = "Display replies in nested form";
$string['modethreaded'] = "Display replies in threaded form";
$string['more'] = "more";
$string['namenews'] = "News forum";
$string['namesocial'] = "Social forum";
$string['nameteacher'] = "Teacher forum";
$string['newforumposts'] = "New forum posts";
$string['nodiscussions'] = "There are no discussion topics yet in this forum";
$string['noguestpost'] = "Sorry, guests are not allowed to post";
$string['noposts'] = "No posts";
$string['nosubscribers'] = "There are no subscribers yet for this forum";
$string['nownotsubscribed'] = "\$a->name will NOT receive copies of '\$a->forum' by email.";
$string['nowsubscribed'] = "\$a->name will receive copies of '\$a->forum' by email.";
$string['numposts'] = "\$a posts";
$string['olderdiscussions'] = "Older discussions";
$string['openmode0'] = "No discussions, no replies";
$string['openmode1'] = "No discussions, but replies are allowed";
$string['openmode2'] = "Discussions and replies are allowed";
$string['parentofthispost'] = "Parent of this post";
$string['postadded'] = "Your post was successfully added.<P>You have \$a to edit it if you want to make any changes.";
$string['postmailinfo'] = "This is a copy of a message posted on the \$a website.
To add your reply via the website, click on this link:";
$string['postingtip'] = "<B>Posting tips:</B>
When replying:
<UL>
<LI>read their post carefully and empathically
<LI>look for things you can comment on
</UL>
While writing:
<UL>
<LI>keep your posts short and on-topic
<LI>explain your own ideas clearly
<LI>think of questions you can ask
</UL>";
$string['postrating1'] = "Shows mostly SEPARATE knowing";
$string['postrating2'] = "Equally separate and connected";
$string['postrating3'] = "Shows mostly CONNECTED knowing";
$string['postupdated'] = "Your post was updated";
$string['processingpost'] = "Processing post \$a";
$string['rate'] = "Rate";
$string['ratings'] = "Ratings";
$string['readtherest'] = "Read the rest of this topic";
$string['re'] = "Re:"; // Put in front of subjects that are replies to another post
$string['repliesmany'] = "\$a replies so far";
$string['repliesone'] = "\$a reply so far";
$string['reply'] = "Reply";
$string['search'] = "Search";
$string['searchforums'] = "Search forums";
$string['sendinratings'] = "Send in my latest ratings";
$string['showsubscribers'] = "Show subscribers";
$string['singleforum'] = "A single simple discussion";
$string['subject'] = "Subject";
$string['subscribe'] = "Subscribe to this forum";
$string['subscribed'] = "Subscribed";
$string['subscribers'] = "Subscribers";
$string['subscribersto'] = "Subscribers to '\$a'";
$string['unsubscribe'] = "Unsubscribe from this forum";
$string['youratedthis'] = "You rated this";
$string['yournewtopic'] = "Your new discussion topic";
$string['yourreply'] = "Your reply";
?>
+29
View File
@@ -0,0 +1,29 @@
<?PHP // $Id$
#------------------------------------------------------------
$string['modulename'] = "ÃÎÈÇÑ";
$string['modulenameplural'] = "ÃÎÈÇÑ";
#------------------------------------------------------------
$string['alwaysopen'] = "Always open";
$string['blankentry'] = "Blank entry";
$string['daysavailable'] = "Days available";
$string['editingends'] = "Editing period ends";
$string['editingended'] = "Editing period has ended";
$string['journalname'] = "Journal name";
$string['journalquestion'] = "Journal question";
$string['journalrating1'] = "Not satisfactory";
$string['journalrating2'] = "Satisfactory";
$string['journalrating3'] = "Outstanding";
$string['newjournalentries'] = "New journal entries";
$string['noentry'] = "No entry";
$string['notopenuntil'] = "This journal won't be open until";
$string['notstarted'] = "You have not started this journal yet";
$string['noratinggiven'] = "No rating given";
$string['overallrating'] = "Overall rating";
$string['rate'] = "Rate";
$string['startoredit'] = "Start or edit my journal entry";
$string['viewallentries'] = "View \$a journal entries";
?>
+477
View File
@@ -0,0 +1,477 @@
<?PHP // $Id$
$string['thislanguage'] = "Arabic"; // Name of this language in the native language eg Français
$string['thischarset'] = "windows-1256"; // The best charset to use for this language
$string['action'] = "إجراء";
$string['activity'] = "نشاط";
$string['activities'] = "أنشطة";
$string['activityreport'] = "تقرير النشاط";
$string['add'] = "إضافة";
$string['added'] = "تمت إضافة \$a";
$string['addinganew'] = "إضافة \$a جديد";
$string['addinganewto'] = "إضافة \$a->what \$a->to جديد إلى";
$string['addnewcourse'] = "إضافة منهج دراسي جديد";
$string['addnewuser'] = "إضافة مستخدم جديد";
$string['address'] = "عنوان";
$string['addteacher'] = "إضافة مدرس";
$string['admin'] = "Admin";
$string['administration'] = "الإدارة";
$string['again'] = "مرة أخرى";
$string['all'] = "الكل";
$string['alldays'] = "كل الأيام";
$string['allfieldsrequired'] = "كل الحقول مطلوبة";
$string['alllogs'] = "كل ملفات السجلات";
$string['allowguests'] = "يسمح للمستخدمين الضيوف بالدخول إلى هذا المنهج الدراسي";
$string['allparticipants'] = "كل المشاركين";
$string['alphanumerical'] = "لا يقبل إلا حروف هجائية أو أرقام";
$string['alreadyconfirmed'] = "تم تأكيد التسجيل بالفعل";
$string['answer'] = "إجابة";
$string['assignteachers'] = "تعيين مدرسين";
$string['availablecourses'] = "المناهج الدراسية المتوفرة";
$string['cancel'] = "إلغاء";
$string['categories'] = " المناهج الدراسية";
$string['category'] = "نوعية";
$string['categoryadded'] = "النوعية '\$a' أضيفت";
$string['categorydeleted'] = "النوعية '\$a' حذفت";
$string['changepassword'] = "قم بتغيير كلمة المرور";
$string['changedpassword'] = "تم تغيير كلمة المرور";
$string['changessaved'] = "تم حفظ التغييرات";
$string['checklanguage'] = "اختيار اللغة";
$string['choose'] = "اختيار";
$string['choosecourse'] = "اختيار منهج دراسي";
$string['chooselivelogs'] = "أو شاهد النشاط الحالي";
$string['chooselogs'] = "اختر ملفات السجلات التي تريد الإطلاع عليها";
$string['choosetheme'] = "اختر موضوعا";
$string['chooseuser'] = "اختر مستخدما";
$string['city'] = "المدينة/البلدة";
$string['comparelanguage'] = "قارن وعدل اللغة الحالية";
$string['configauth'] = "اختر وحدة التوثيق النمطية التي تريد استخدامها. الوضع الافتراضي هو 'email' ويتمتع بأعلى حماية. الأسلوب 'none' ليس به أي شكل من أشكال الاختبار - لذا ينصح بالحذر عند استخدامه إلا إذا كنت متمرسا.";
$string['configgdversion'] = "عين النسخة التي تم تنصيبها من GD. النسخة المعروضة افتراضيا هي التي يتم الكشف عنها آليا. لا تقم بتغيير هذا الوضع إلا إذا كنت متمرسا.";
$string['configerrorlevel'] = "اختر عدد تحذيرات PHP التي تريد إظهارها. المعدل العادي هو أفضل الخيارات غالبا.";
$string['configintro'] = "في هذه الصفحة تستطيع تحديد عدد متغيرات التكوين التي تساعد على عمل Moodle بشكل جيد على مزودك. لا تقلق بشأن ذلك، فالأوضاع الافتراضية تعمل بشكل جيد في الغالب، كما أن باستطاعتك أن تغير هذه الإعدادات لاحقا من خلال هذه الصفحة.";
$string['configlang'] = "اختر لغة افتراضية للموقع بأكمله، مع العلم أن المستخدمين لديهم القدرة على استبدال هذه الإعدادات بأخرى لاحقا.";
$string['configlocale'] = "اختر موقعا للموقع بأكمله. مع العلم أن هذه سيؤثر في تواريخ العرض. وسوف تحتاج إلى تنصيب بيانات الموقع على نظام التشغيل الخاص بك. إذا كنت لا تعرف أي الخيارات أنسب، دع المكان خاليا.";
$string['configlongtimenosee'] = "إذا لم يتم دخول الطلاب لفترة طويلة، فسيؤدي ذلك إلى إلغاء اشتراكهم من حلقات الدراسة أتوماتيكيا. هذا المعامل يحدد المهلة الزمنية لذلك.";
$string['configmaxeditingtime'] = "هذا يقوم بتحديد المهلة الزمنية المطلوبة لإعادة تحرير مراسلات المنتدىات وتقارير السجلات، إلخ. وتعد فترة 30 دقيقة قيمة مناسبة. ";
$string['configproxyhost'] = "إذا كان <B>المزود</B> بحاجة إلى استخدام كمبيوتر proxy (مثل نظام firewall) للدخول على الإنترنت، فعليك بكتابة اسم مضيف proxy والمنفذ هنا. وإلا فدع المكان خاليا.";
$string['configslasharguments'] = "يتم تزويد الملفات (الصور والتحميلات، الخ) عن طريق نص يستخدم ' وسائط الفاصلة ' المائلة 'slash arguments' (وتمثل الخيار الثاني هنا). هذا الأسلوب يسمح بتخزين مؤقت للملفات في عارض الإنترنت بشكل أسهل، وكذا مزودات proxy ، إلخ. لكن للأسف بعض مزودات PHP لا تسمح بهذا الأسلوب. لذا ففي حالة نشوء مشكلة عند عرض الملفات أو الصور المحملة (مثل صور المستخدم) ينصح بوضع هذا المتغير في الخيار الأول.";
$string['configsmtphosts'] = "اكتب الاسم كاملا لمزود أو مزودات SMTP المحلية التي سوف تستخدمها Moodle في إرسال البريد (مثل 'mail.a.com' or 'mail.a.com;mail.b.com' ). إذا تركته خاليا، سوف يستخدم Moodle الأسلوب الافتراضي في إرسال البريد.";
$string['configunzip'] = "عين موضع برنامج unzip الذي تستخدمه (معUnix فقط). هذا البرنامج ضروري لفك الأرشيفات المضغوطة على المزود.";
$string['configvariables'] = "قم بتكوين المتغيرات";
$string['configzip'] = "عين موضع برنامج unzip الذي تستخدمه (معUnix فقط). هذا البرنامج ضروري لفك الأرشيفات المضغوطة على المزود.";
$string['confirmed'] = "تم تأكيد التسجيل";
$string['courseupdates'] = "تحديثات الحلقات الدراسية";
$string['cookiesenabled'] = "ينبغي أن تكون Cookies متاحة على هذا العارض";
$string['complete'] = "أكمل";
$string['copyrightnotice'] = "ملحوظة حقوق الطبع";
$string['continue'] = "استمر";
$string['country'] = "البلد";
$string['course'] = "منهج دراسي";
$string['courseformats'] = "تنسيق المنهج الدراسي";
$string['courses'] = "المناهج الدراسية";
$string['createaccount'] = "إنشاء اشتراكي الجديد";
$string['createuserandpass'] = "إنشاء اسم مستخدم جديد وكلمة مرور للدخول بهما";
$string['createziparchive'] = "إنشاء أرشيف مضغوط";
$string['currentlanguage'] = "اللغة الحالية";
$string['currentlocaltime'] = "التوقيت المحلي الحالي";
$string['databasechecking'] = "تحديث قاعدة بيانات Moodle من نسخة \$a->oldversion إلى \$a->newversion...";
$string['databasesetup'] = "تنصيب قاعدة البيانات";
$string['databasesuccess'] = "تم تحديث قاعدة البيانات بنجاح";
$string['databaseupgrades'] = "تحديث قاعدة البيانات";
$string['defaultcoursefullname'] = "الاسم الكامل للمنهج الدراسي 1";
$string['defaultcourseshortname'] = "منهج 1";
$string['defaultcoursestudent'] = "طالب";
$string['defaultcoursestudents'] = "طلاب";
$string['defaultcoursesummary'] = "اكتب فقرة مختصرة شيقة تشرح فيها موضوع المنهج الدراسي";
$string['defaultcourseteacher'] = "مدرس";
$string['defaultcourseteachers'] = "مدرسون";
$string['delete'] = "حذف";
$string['deletecheck'] = "حذف \$a ?";
$string['deletecheckfull'] = "هل أنت متأكد تماما أنك تريد حذف \$a بالكلية?";
$string['deletecompletely'] = "حذف كامل";
$string['deletecoursecheck'] = "هل أنت متأكد تماما أنك تريد حذف هذا المنهج الدراسي بالكلية بكل ما تحتويه من بيانات؟";
$string['deletecourse'] = "حذف منهج دراسي";
$string['deleted'] = "تم الحذف";
$string['deletedactivity'] = "تم الحذف \$a";
$string['deletedcourse'] = "\$a تم حذفه بالكامل";
$string['deletednot'] = "تعذر الحذف \$a !";
$string['deletingcourse'] = "حذف \$a";
$string['description'] = "الوصف";
$string['doyouagree'] = "هل قمت بقراءة هذه الشروط واستيعابها؟";
$string['edit'] = "تحرير \$a";
$string['editcoursesettings'] = "تحرير إعدادات المنهج الدراسي";
$string['editinga'] = "تحرير \$a";
$string['editmyprofile'] = "تحرير ملف البيانات";
$string['editsummary'] = "تحرير ملخص";
$string['editthisactivity'] = "تحرير هذا النشاط";
$string['edituser'] = "تحرير اشتراك المستخدم";
$string['email'] = "عنوان البريد الإلكتروني";
$string['emailformat'] = "تنسيق البريد";
$string['emailconfirm'] = "قم بتأكيد اشتراكك";
$string['emailconfirmsent'] = "
<P>يفترض إتمام إرسال بريد إلى <B>\$a</B>
<P>والذي يحتوي على إرشادات سهلة تعينك على إتمام التسجيل
<P>إذا استمرت المشاكل اتصل بمدير هذا الموقع";
$string['emailconfirmation'] = "مرحبا \$a->الاسم الأول,
تم طلب اشتراك جديد في '\$a->sitename'
باستخدام عنوانك البريدي.
لتأكيد اشتراكك الجديد يرجى الانتقال إلى عنوان الإنترنت التالي:
\$a->link
في أغلب برامج البريد يظهر ذلك في شكل رابطة زرقاء، وما عليك إلا الضغط عليها. فإذا لم يعمل ذلك، قم بقص العنوان ولصقه في خانة العنوان أعلى عارض الإنترنت.
تحيات من '\$a->sitename' المدير,
\$a->admin";
$string['emaildisplay'] = "عرض البريد";
$string['emaildisplayno'] = "إخفاء عنواني البريدي عن الكل";
$string['emaildisplayyes'] = "إظهار عنواني البريدي للكل";
$string['emaildisplaycourse'] = "إظهار عنواني البريدي للأعضاء المشاركين في حلقات دراسية أخرى فقط";
$string['emailexists'] = "هذا العنوان البريدي مسجل بالفعل.";
$string['emailmustbereal'] = "ملحوظة: لابد أن يكون عنوانك البريدي حقيقيا.";
$string['enrolmentkey'] = "مفتاح التسجيل";
$string['enrolmentkeyfrom'] = "هذا المنهج الدراسي يتطلب 'مفتاح تسجيل' - في المرة الأولى فقط<BR>
كلمة المرور التي يفترض حصولك عليها من \$a";
$string['enrolmentkeyhint'] = "مفتاح التسجيل غير صحيح. يرجى إعادة المحاولة<BR>
(هذا تلميح - إنه يبدأ بـ '\$a'";
$string['entercourse'] = "اضغط للدخول إلى هذا المنهج الدراسي";
$string['enteremailaddress'] = "أدخل عنوانك البريدي لإعادة ضبط كلمة المرور وإرسال كلمة المرور الجديدة إليك عبر البريد";
$string['existingteachers'] = "المدرسون الموجودون";
$string['error'] = "خطأ";
$string['feedback'] = "تقرير";
$string['filemissing'] = "\$a مفقود";
$string['files'] = "ملفات";
$string['filloutallfields'] = "يرجى ملء كل الخانات في هذا النموذج";
$string['firstname'] = "الاسم الأول";
$string['firsttime'] = "هل هذه هي المرة الأولى لك هنا؟";
$string['followingoptional'] = "البنود التالية اختيارية";
$string['followingrequired'] = "البنود التالية مطلوبة";
$string['forgotten'] = "هل نسيت اسم الدخول أو كلمة المرور؟";
$string['format'] = "تنسيق";
$string['formatsocial'] = "تنسيق اجتماعي";
$string['formattopics'] = "تنسيق موضوعات";
$string['formatweeks'] = "تنسيق أسبوعي";
$string['frontpagedescription'] = "وصف الصفحة الأولى";
$string['frontpageformat'] = "تنسيق الصفحة الأولى";
$string['fulllistofcourses'] = "كل الحلقات الدراسية";
$string['fullprofile'] = "ملف البيانات كامل";
$string['fullname'] = "الاسم كاملا";
$string['fullsitename'] = "اسم الموقع كاملا";
$string['gd1'] = "GD 1.x تم تنصيبه";
$string['gd2'] = "GD 2.x تم تنصيبه";
$string['gdnot'] = "لم يتم تنصيب GD";
$string['gpl'] = "حقوق الطبع (C) 2001-2002 Martin Dougiamas (http://dougiamas.com)
هذا البرنامج مجاني، يمكنك إعادة توزيعه و/أو تعديله طبقا لشروط رخصة الجمهور العامة GNU General Public License التي أصدرتها مؤسسة البرامج المجانية Free Software Foundation سواء النسخة رقم 2 أو أي نسخة أخرى تالية تختارها.
يتم توزيع هذا البرنامج رجاء الإفادة، ولا يعد هذا ضمانا ولو ضمنيا على ملائمة هذا البرنامج للتسويق أو لغرض معين. لمريد من المعلومات، راجع رخصة الجمهور العامة GNU General Public License:
http://www.gnu.org/copyleft/gpl.html";
$string['grade'] = "الصف";
$string['guestskey'] = "السماح للضيوف الذين لديهم المفتاح";
$string['guestsno'] = "لا يسمح بدخول الضيوف";
$string['guestsnotallowed'] = "عفوا '\$a' غير مسموح للضيوف بالدخول";
$string['guestsyes'] = "السماح للضيوف بدون المفتاح";
$string['guestuser'] = "مستخدم ضيف";
$string['guestuserinfo'] = "هذا المستخدم مستخدم خاص يسمح بالوصول إلى بعض حلقات الدراسة بغرض القراءة فقط.";
$string['help'] = "مساعدة";
$string['helphtml'] = "كيف تكتب html";
$string['helppicture'] = "كيفية تحميل صورة";
$string['helptext'] = "كيفية كتابة نص";
$string['helpquestions'] = "كيفية طرح أسئلة";
$string['hide'] = "إخفاء";
$string['home'] = "الصفحة الرئيسية";
$string['htmlformat'] = "Pretty HTML تنسيق";
$string['icqnumber'] = "ICQ رقم";
$string['idnumber'] = "رقم بطاقة التعريف";
$string['leavetokeep'] = "اترك المكان خاليا للاحتفاظ بكلمة المرور الحالية";
$string['invalidlogin'] = "دخول غير صحيح، يرجى إعادة المحاولة.";
$string['invalidemail'] = "عنوان البريد غير صحيح";
$string['languagegood'] = "هذه الحزمة من اللغات حديثة :-)";
$string['lastaccess'] = "آخر اتصال";
$string['lastedited'] = "آخر تحرير";
$string['lastmodified'] = "آخر تعديل";
$string['lastname'] = "الاسم الأخير";
$string['latestnews'] = "آخر الأخبار";
$string['listofallpeople'] = "قائمة بجميع الأشخاص";
$string['license'] = "GPL رخصة";
$string['livelogs'] = "ملفات سجلات حية عن الساعة الأخيرة";
$string['locale'] = "ar";
$string['location'] = "الموقع";
$string['loggedinas'] = "تم دخولك بصفة \$a.";
$string['loggedinnot'] = "لم يتم دخولك.";
$string['login'] = "دخول";
$string['loginas'] = "دخول بصفة";
$string['loginguest'] = "الدخول بصفة ضيف";
$string['loginsite'] = "دخول إلى الموقع";
$string['loginto'] = "دخول إلى\$a";
$string['loginusing'] = "ادخل هنا مستخدما اسم المستخدم وكلمة المرور";
$string['loginsteps'] = "مرحبا! للاتصال الكامل بالحلقات الدراسية سوف يستغرق الأمر لحظات لإنشاء اشتراك جديد على هذا الموقع. كل من الحلقات الدراسية المنفردة قد يكون له أيضا &quot;مفتاح تسجيل&quot; والذي لن تحتاج إليه إلا لاحقا. وهذه هي الخطوات:
<OL size=2>
<LI>املأ نموذج <A HREF=\$a>New Account</A> مستخدما بياناتك.
<LI>على الفور توجه رسالة إلى عنوانك البريدي.
<LI>قم بقراءة البريد واضغط على الرابطة الموجودة به.
<LI>سيتم تأكيد اشتراكك ويسمح لك بالدخول.
<LI>والآن قم باختيار المنهج الدراسي الذي ترغب المشاركة فيه.
<LI>والآن تستطيع الاتصال الكامل بالمنهج الدراسي. من الآن فصاعدا لن تحتاج إلا إلى إدخال اسم المستخدم وكلمة المرور (في النموذج الموجود بهذه الصفحة) حتى يتم الدخول وتصل إلى أي المنهج دراسي تريد التسجيل بها.
<LI>إذا طلب منك ''مفتاح التسجيل'' - استخدم المفتاح الذي أعطاه لك المدرس. هذا سيجعلك ''تسجل'' في المنهج الدراسي.
</OL>";
$string['loginstepsnone'] = "مرحبا!<P>للاتصال الكامل بالحلقات الدراسية ستحتاج إلى إنشاء اشتراك جديد.<P>كل ما عليك هو عمل اسم مستخدم وكلمة مرور واستخدامهما في النموذج الموجود بهذه الصفحة!<P>إذا كان اسم المستخدم قد تم استخدامه من قبل، جرب مرة أخرى مستخدما اسما آخر.";
$string['logout'] = "خروج";
$string['logs'] = "سجلات";
$string['makeafolder'] = "إنشاء مجلد";
$string['makeeditable'] = "إذا جعلت '\$a' قابلا للتحرير من خلال عملية مزود الإنترنت (مثال apache) ثم تستطيع تحرير هذا الملف مباشرة من خلال هذه الصفحة";
$string['mainmenu'] = "القائمة الرئيسية";
$string['managedatabase'] = "إدارة قاعدة البيانات";
$string['markthistopic'] = "ميز هذا الموضوع بعلامة كالموضوع الحالي";
$string['maximumchars'] = "الحد الأقصى \$a من الحروف";
$string['maximumgrade'] = "أعلى مرحلة";
$string['maxsize'] = "الحد الأقصى \$a";
$string['miscellaneous'] = "متنوع"; // Default course category
$string['missingcategory'] = "لابد من اختيار فئة";
$string['missingcity'] = "المدينة/البلد مفقودة";
$string['missingcountry'] = "البلد مفقودة";
$string['missingdescription'] = "الوصف مفقود";
$string['missingemail'] = "العنوان البريدي مفقود";
$string['missingfirstname'] = "الاسم الأول مفقود";
$string['missingfullname'] = "الاسم كاملا مفقود";
$string['missinglastname'] = "الاسم الأخير مفقود";
$string['missingshortname'] = "الاسم المختصر مفقود";
$string['missingnewpassword'] = "كلمة المرور الجديدة مفقودة";
$string['missingpassword'] = "كلمة المرور مفقودة";
$string['missingshortsitename'] = "اسم الموقع المختصر مفقود";
$string['missingsitedescription'] = "وصف الموقع مفقود";
$string['missingsitename'] = "اسم الموقع مفقود";
$string['missingstrings'] = "ابحث عن سلسلة الأحرف المفقودة";
$string['missingstudent'] = "لابد من اختيار شيء";
$string['missingsummary'] = "الملخص مفقود";
$string['missingteacher'] = "لابد من اختيار شيء";
$string['missingusername'] = "اسم المستخدم مفقود";
$string['modified'] = "تم التعديل";
$string['modulesetup'] = "تنصيب جداول الوحدة النمطية";
$string['modulesuccess'] = "\$a تم تنصيب الجداول بشكل صحيح";
$string['mostrecently'] = "الأحدث";
$string['movedown'] = "الانتقال إلى أسفل";
$string['moveup'] = "الانتقال إلى أعلى";
$string['movetoanotherfolder'] = "نقل إلى مجلد آخر";
$string['movefilestohere'] = "أنقل الملفات إلى هنا";
$string['mustconfirm'] = "أنت تحتاج إلى تأكيد الدخول";
$string['mycourses'] = "حلقاتي الدراسية";
$string['name'] = "الاسم";
$string['namesocial'] = "القسم";
$string['nametopics'] = "الموضوع";
$string['nameweeks'] = "الأسبوع";
$string['newaccount'] = "اشتراك جديد";
$string['newpassword'] = "كلمة مرور جديدة";
$string['newpasswordtext'] = "مرحبا \$a->firstname,
كلمة المرور الخاصة باشتراكك على قد تم إعادة ضبطها وتم تخصيص كلمة مرور جديدة مؤقتة خاصة بك
معلومات الدخول الحالية الخاصة بك الآن:
اسم المستخدم: \$a->username
كلمة المرور: \$a->newpassword
يرجى الانتقال إلى هذه الصفحة لتغيير كلمة المرور:
\$a->link
في أغلب برامج البريد يظهر ذلك في شكل رابطة زرقاء، وما عليك إلا الضغط عليها. فإذا لم يعمل ذلك، قم بقص العنوان ولصقه في خانة العنوان أعلى عارض الإنترنت.
تحيات من '\$a->sitename' المدير,
\$a->signoff\n";
$string['newpicture'] = "صورة جديدة";
$string['newuser'] = "مستخدم جديد";
$string['newusers'] = "مستخدمون جدد";
$string['newsitem'] = "بند أخبار";
$string['newsitems'] = "بنود أخبار";
$string['newsitemsnumber'] = "بنود أخبار للعرض";
$string['never'] = "أبدا";
$string['no'] = "لا";
$string['nocoursesyet'] = "لا توجد حلقات دراسية لهذه الفئة";
$string['noexistingteachers'] = "لا يوجد مدرسون حضور";
$string['nograde'] = "لا يوجد مرحلة";
$string['none'] = "لا يوجد";
$string['nopotentialteachers'] = "لا يوجد مدرس محتمل";
$string['normal'] = "عادي";
$string['nostudentsyet'] = "لم يتم تسجيل أي طلاب في هذا المنهج الدراسي بعد";
$string['nosuchemail'] = "لا يوجد مثل هذا العنوان البريدي";
$string['noteachersyet'] = "لا يوجد مدرسون في هذا المنهج الدراسي بعد";
$string['notenrolled'] = "\$a غير مسجل في هذا المنهج الدراسي";
$string['nothingnew'] = "لم يستجد شيء منذ آخر دخول قمت به";
$string['nousersyet'] = "ليس هناك مستخدمون حتى الآن";
$string['now'] = "الآن";
$string['numberweeks'] = "عدد الأسابيع/المواضيع";
$string['numdays'] = "\$a يوما";
$string['numminutes'] = "\$a دقيقة";
$string['numviews'] = "\$a آراء";
$string['numweeks'] = "\$a أسابيع";
$string['numwords'] = "\$a كلمات";
$string['numyears'] = "\$a أعوام";
$string['ok'] = "OK";
$string['opentoguests'] = "اتصال الضيف";
$string['optional'] = "اختياري";
$string['order'] = "طلب";
$string['outline'] = "ملخص";
$string['participants'] = "المشاركات";
$string['password'] = "كلمة المرور";
$string['passwordchanged'] = "تم تغيير كلمة المرور";
$string['passwordsdiffer'] = "كلمات المرور لا تتطابق";
$string['passwordsent'] = "تم إرسال كلمة المرور";
$string['passwordsenttext'] = "
<P>تم إرسال رسالة إلى العنوان \$a->البريد.
<P><B>يرجى البحث في البريد عن كلمة المرور</B>
<P>تم إصدار كلمة مرور جديدة، وربما رغبت في
<A HREF=\$a->link>في تغييرها إلى شيء أبسط من ذلك حتى يسهل تذكرها</A>.";
$string['people'] = "أشخاص";
$string['personalprofile'] = "ملف البيانات شخصي";
$string['phone'] = "تليفون";
$string['potentialteachers'] = "مدرسون محتملون";
$string['preferredlanguage'] = "اللغة المفضلة";
$string['preview'] = "معاينة";
$string['previeworchoose'] = "عاين موضوع أو قم باختياره";
$string['question'] = "سؤال";
$string['readme'] = "ملف الملاحظات"; // This is a file name
$string['recentactivity'] = "الأنشطة الحديثة";
$string['removeteacher'] = "إزالة مدرس";
$string['rename'] = "Rename";
$string['resources'] = "المصادر";
$string['returningtosite'] = "هل تريد الرجوع إلى هذا الموقع؟";
$string['requireskey'] = "هذا المنهج الدراسي بحاجة إلى مفتاح التسجيل";
$string['revert'] = "عكس";
$string['role'] = "الدور";
$string['savechanges'] = "حفظ التغييرات";
$string['search'] = "بحث";
$string['searchagain'] = "بحث مرة أخرى";
$string['searchresults'] = "نتائج البحث";
$string['section'] = "قسم";
$string['selectacountry'] = "اختر دولة";
$string['senddetails'] = "أرسل بياناتي بالبريد";
$string['separateandconnected'] = "طرق متفرقة ومتصلة للمعرفة";
$string['serverlocaltime'] = "التوقيت المحلي للمزود";
$string['settings'] = "الإعدادات";
$string['shortname'] = "الاسم المختصر";
$string['shortsitename'] = "اسم الموقع المختصر (كلمة واحدة على سبيل المثال)";
$string['showalltopics'] = "إظهار كل الموضوعات";
$string['showallweeks'] = "إظهار كل الأسابيع";
$string['showlistofcourses'] = "إظهار قائمة الحلقات الدراسية";
$string['showonlytopic'] = "فقط إظهار موضوع \$a";
$string['showonlyweek'] = "فقط إظهار أسبوع \$a";
$string['showtheselogs'] = "إظهار ملفات السجلات هذه";
$string['socialheadline'] = "المنتدى الاجتماعي - آخر الموضوعات";
$string['showallcourses'] = "إظهار كل الحلقات الدراسية";
$string['site'] = "الموقع";
$string['sites'] = "المواقع";
$string['sitelogs'] = "ملفات سجلات الموقع";
$string['sitenews'] = "أخبار الموقع";
$string['sitesettings'] = "إعدادات الموقع";
$string['size'] = "الحجم";
$string['someallowguest'] = "بعض حلقات الدراسة تسمح بوجود المستخدمين الضيوف";
$string['startdate'] = "تاريخ بدء المنهج الدراسي";
$string['startsignup'] = "ابدأ الآن بإنشاء اشتراك جديد!";
$string['status'] = "الحالة";
$string['stringsnotset'] = "لم يتم تعريف الإعدادات التالية في \$a";
$string['success'] = "نجاح";
$string['summary'] = "ملخص";
$string['summaryof'] = "ملخص لـ \$a";
$string['supplyinfo'] = "يرجى إعطاء بعض المعلومات عنك";
$string['teacheronly'] = "فقط من أجل \$a ";
$string['textformat'] = "تنسيق نص عادي";
$string['timezone'] = "المنطقة الزمنية";
$string['thanks'] = "شكرا";
$string['theme'] = "الموضوع";
$string['themesaved'] = "تم حفظ موضوع جديد";
$string['today'] = "اليوم";
$string['todaylogs'] = "ملفات سجلات اليوم";
$string['toomanytoshow'] = "عدد المستخدمين يفوق قدرات العرض";
$string['topic'] = "موضوع";
$string['topicoutline'] = "مخطط أيجازي للموضوع";
$string['turneditingoff'] = "إيقاف التحرير";
$string['turneditingon'] = "تشغيل التحرير";
$string['undecided'] = "غير محدد";
$string['unenrol'] = "إلغاء التسجيل";
$string['unenrolme'] = "إلغاء تسجيلي من \$a";
$string['unenrolsure'] = "هل أنت متأكد أنك تريد إلغاء التسجيل \$a من هذا المنهج الدراسي?";
$string['unsafepassword'] = "كلمة مرور غير آمنة - جرب أخرى";
$string['unzip'] = "فك";
$string['update'] = "تحديث";
$string['updated'] = "تم تحديث \$a";
$string['updatemyprofile'] = "تحديث الملف الوصفي";
$string['updatesevery'] = "يتم التحديث كل \$a seconds";
$string['updatethiscourse'] = "تحديث هذا المنهج الدراسي";
$string['updatinga'] = "تحديث \$a";
$string['updatingain'] = "تحديث \$a->what in \$a->in";
$string['upload'] = "تحميل";
$string['uploadafile'] = "تحميل ملف";
$string['uploadthisfile'] = "تحميل هذا الملف";
$string['userdeleted'] = "تم حذف اشتراك هذا المستخدم";
$string['userdescription'] = "الوصف";
$string['username'] = "اسم المستخدم";
$string['usernameexists'] = "اسم المستخدم موجود بالفعل، اختر اسما آخر";
$string['userprofilefor'] = "ملف المستخدم التعريفي for \$a";
$string['users'] = "المستخدمون";
$string['webpage'] = "صفحة إنترنت";
$string['week'] = "أسبوع";
$string['weeklyoutline'] = "ملخص أسبوعي";
$string['welcometocourse'] = "مرحبا في \$a";
$string['welcometocoursetext'] = "مرحبا في \$a->coursename!
من الأشياء التي يجب أن تفعلها ابتداء أن تقوم بتحرير الصفحة التعريفية خلال المنهج الدراسي حتى نعرف المزيد عنك
\$a->profileurl";
$string['withchosenfiles'] = "مع الملفات المختارة";
$string['wordforteacher'] = "كلمة توجهها إلى المدرس";
$string['wordforteachereg'] = "مثلا: المدرس، المعلم، معاون تسهيل الإجراءات";
$string['wordforteachers'] = "كلمة توجهها إلى المدرسين";
$string['wordforteacherseg'] = "مثلا: المدرسين، المعلمين، معاني تسهيل الإجراءات";
$string['wordforstudent'] = "كلمة توجهها إلى طالب";
$string['wordforstudenteg'] = "مثلا: طالب، مشترك، إلخ";
$string['wordforstudents'] = "كلمة توجهها إلى الطلاب";
$string['wordforstudentseg'] = "مثلا: الطلاب، المشاركون، إلخ";
$string['wrongpassword'] = "كلمة المرور غير صحيحة بالنسبة لاسم المستخدم";
$string['yes'] = "نعم";
$string['yourlastlogin'] = "آخر دخول لك كان";
$string['yourself'] = "أنت نفسك";
$string['yourteacher'] = "صلته بك \$a";
$string['allownot'] = "لا تسمح";
$string['assessment'] = "تقييم";
$string['closewindow'] = "أغلق هذه النافذة";
$string['confightmleditor'] = "اختر ما إذا كنت تسمح باستخدام محرر نصوص HTML. عندما تختار اسمح فإن هذا المحرر سوف يظهر فقط عندما يتم استخدام متصفح موائم (مثل IE 5.5 أو أعلى). ويمكن للمستخدم ألا يختار استخدام المحرر.";
$string['configlangdir'] = "يتم طباعة معظم اللغات من الشمال إلى اليمين، ولكن بعض اللغات مثل العربي والعبري يتم الطباعة من اليمن إلى الشمال.";
$string['day'] = "يوم";
$string['days'] = "أيام";
$string['downloadexcel'] = "تحميل في صيغة Excel";
$string['downloadtext'] = "تحميل في صيغة نص";
$string['formathtml'] = "صيغة HTML";
$string['formattext'] = "صيغة تلقائية";
$string['formattexttype'] = "تنسيق";
$string['grades'] = "درجات";
$string['helprichtext'] = "معلومات عن محرر Richtext HTML";
$string['hour'] = "ساعة";
$string['hours'] = "ساعات";
$string['htmleditor'] = "استخدم محرر Richtext HTML (متصفح IE 5.5 أو أعلى)";
$string['htmleditoravailable'] = "محرر Richtext متاح";
$string['htmleditordisabled'] = "لقد قمت بإلغاء محرر Richtext في خيارات المستخدم";
$string['htmleditordisabledadmin'] = "قام مدير الموقع بإلغاء محرر Richtext على الموقع";
$string['htmleditordisabledbrowser'] = "محرر Richtext غير متاح لأنك لا تستخدم IE 5.5 أو أعلى";
$string['langltr'] = "اتجاه اللغة من الشمال إلى اليمين";
$string['langrtl'] = "اتجاه اللغة من اليمين إلى الشمال";
$string['maximumshort'] = "الحد الأقصى";
$string['min'] = "الحد الأدنى";
$string['mins'] = "mins";
$string['new'] = "جديد";
$string['nofilesyet'] = "لم يتم تحميل أي ملف للمنهج الخاص بك بعد";
$string['noimagesyet'] = "لم يتم تحميل أي صورة للمنهج الخاص بك بعد";
$string['sec'] = "ثانية";
$string['secs'] = "ثواني";
$string['textediting'] = "عند تحرير النصوص";
$string['texteditor'] = "استخدم نماذج الإنترنت القياسية";
$string['total'] = "مجموع";
$string['updatethis'] = "طور هذا \$a";
$string['allow'] = "اسمح";
?>
+103
View File
@@ -0,0 +1,103 @@
<?PHP // $Id$
#------------------------------------------------------------
$string['modulename'] = "ÇãÊÍÇä";
$string['modulenameplural'] = "ÇãÊÍÇäÇÊ";
#------------------------------------------------------------
$string['addselectedtoquiz'] = "Add selected to quiz";
$string['alwaysavailable'] = "Always available";
$string['alreadysubmitted'] = "It is likely that you have already submitted this attempt";
$string['answer'] = "Answer";
$string['answerhowmany'] = "One or multiple answers?";
$string['answersingleyes'] = "One answer only";
$string['answersingleno'] = "Multiple answers allowed";
$string['attempt'] = "Attempt \$a";
$string['attemptfirst'] = "First attempt";
$string['attemptlast'] = "Last attempt";
$string['attemptquiznow'] = "Attempt quiz now";
$string['attempts'] = "Attempts";
$string['attemptsallowed'] = "Attempts allowed";
$string['attemptsunlimited'] = "Unlimited attempts";
$string['backtoquiz'] = "Back to quiz editing";
$string['bestgrade'] = "Best grade";
$string['casesensitive'] = "Case sensitivity";
$string['caseyes'] = "Yes, case must match";
$string['caseno'] = "No, case is unimportant";
$string['categories'] = "Categories";
$string['category'] = "Category";
$string['categoryinfo'] = "Category info";
$string['categorymove'] = "The category '\$a->name' contains \$a->count questions. Please choose another category to move them to.";
$string['categorymoveto'] = "Move them to this category";
$string['choice'] = "Choice";
$string['choices'] = "Available choices";
$string['correctanswer'] = "Correct answer";
$string['correctanswers'] = "Correct answers";
$string['createnewquestion'] = "Create new question";
$string['daysavailable'] = "Days available";
$string['default'] = "Default";
$string['defaultinfo'] = "The default category for questions.";
$string['deletequestioncheck'] = "Are you absolutely sure you want to delete '\$a'?";
$string['editcategories'] = "Edit categories";
$string['editingquiz'] = "Editing quiz";
$string['editingquestion'] = "Editing a question";
$string['editingshortanswer'] = "Editing a short answer question";
$string['editingtruefalse'] = "Editing a true/false question";
$string['editingmultichoice'] = "Editing a multiple choice question";
$string['false'] = "False";
$string['feedback'] = "Feedback";
$string['filloutoneanswer'] = "You must fill out at least one possible answer. Answers left blank will not be used.";
$string['fillouttwochoices'] = "You must fill out at least two choices. Choices left blank will not be used.";
$string['fractionsaddwrong'] = "The positive grades you have chosen do not add up to 100%%
<BR>Instead, they add up to \$a%%
<BR>Do you want to go back and fix this question?";
$string['fractionsnomax'] = "One of the answers should be 100%%, so that it is
<BR>possible to get a full grade for this question.
<BR>Do you want to go back and fix this question?";
$string['gradeaverage'] = "Average grade";
$string['gradehighest'] = "Highest grade";
$string['grademethod'] = "Grading method";
$string['guestsno'] = "Sorry, guests can not see or attempt quizzes";
$string['imagedisplay'] = "Image to display";
$string['introduction'] = "Introduction";
$string['marks'] = "Marks";
$string['multichoice'] = "Multiple Choice";
$string['noanswers'] = "No answers were selected!";
$string['noattempts'] = "No attempts have been made on this quiz";
$string['nomoreattempts'] = "No more attempts are allowed";
$string['noquestions'] = "No questions have been added yet";
$string['publish'] = "Publish";
$string['question'] = "Question";
$string['questioninuse'] = "The question '\$a' is currently being used:";
$string['questions'] = "Questions";
$string['questionname'] = "Question name";
$string['quizavailable'] = "The quiz is available until: \$a";
$string['quizclose'] = "Close the quiz";
$string['quizclosed'] = "This quiz closed on \$a";
$string['quizopen'] = "Open the quiz";
$string['quiznotavailable'] = "The quiz will not be available until: \$a";
$string['random'] = "Random set";
$string['regrade'] = "Regrade all attempts";
$string['regradecomplete'] = "All attempts have been regraded";
$string['regradecount'] = "\$a->changed out of \$a->attempt grades were changed";
$string['rename'] = "Rename";
$string['report'] = "Reports";
$string['save'] = "Save";
$string['savegrades'] = "Save grades";
$string['savemyanswers'] = "Save my answers";
$string['savequiz'] = "Save this whole quiz";
$string['score'] = "Raw score";
$string['select'] = "Select";
$string['selectcategoryabove'] = "Select a category above";
$string['shortanswer'] = "Short Answer";
$string['show'] = "Show";
$string['showfeedback'] = "After answering, show feedback?";
$string['showcorrectanswer'] = "In feedback, show correct answers?";
$string['time'] = "Time";
$string['timetaken'] = "Time taken";
$string['timecompleted'] = "Completed";
$string['true'] = "True";
$string['truefalse'] = "True/False";
$string['type'] = "Type";
$string['viewallanswers'] = "View \$a completed quizzes";
$string['yourfinalgradeis'] = "Your final grade for this quiz is \$a";
+29
View File
@@ -0,0 +1,29 @@
<?PHP // $Id$
#------------------------------------------------------------
$string['modulename'] = "ãÕÏÑ";
$string['modulenameplural'] = "ãÕÇÏÑ";
#------------------------------------------------------------
$string['addresource'] = "Add resource";
$string['editingaresource'] = "Editing a resource";
$string['example'] = "Example";
$string['examplereference'] = "Tobin, K. & Tippins, D (1993) Constructivism as a Referent for Teaching and Learning. In: K. Tobin (Ed) The Practice of Constructivism in Science Education, pp 3-21, Lawrence-Erlbaum, Hillsdale, NJ.";
$string['exampleurl'] = "http://www.example.com/somedirectory/somefile.html";
$string['filename'] = "File name";
$string['fulltext'] = "Full text";
$string['htmlfragment'] = "HTML fragment";
$string['neverseen'] = "Never seen";
$string['note'] = "Note";
$string['notefile'] = "To upload more files into the course (so they appear in this list) use the
<A HREF=\$a >File Manager</A>.";
$string['notypechosen'] = "You need to choose a type. Use your back button to go back and retry.";
$string['resourcetype'] = "Type of resource";
$string['resourcetype1'] = "Reference";
$string['resourcetype2'] = "Web Page";
$string['resourcetype3'] = "Uploaded File";
$string['resourcetype4'] = "Plain text";
$string['resourcetype5'] = "Web Link";
$string['resourcetype6'] = "HTML text";
?>
+46
View File
@@ -0,0 +1,46 @@
<?PHP // $Id$
#------------------------------------------------------------
$string['modulename'] = "ÇáÍÕÉ ÇáÏÑÇÓíå";
$string['modulenameplural'] = "ÃÎÊíÇÑÇÊ";
#------------------------------------------------------------
$string['actual'] = "Actual";
$string['allquestions'] = "All questions in order, all students";
$string['allscales'] = "All scales, all students";
$string['alreadysubmitted'] = "You have already submitted this survey";
$string['analysisof'] = "Analysis of \$a";
$string['ipreferthat'] = "I prefer that";
$string['ifoundthat'] = "I found that";
$string['done'] = "Done";
$string['download'] = "Download";
$string['downloadexcel'] = "Download data as Excel spreadsheet";
$string['downloadinfo'] = "You can download the complete raw data for this survey in a form suitable for analysis in Excel, SPSS or other package.";
$string['downloadtext'] = "Download data as a plain text file";
$string['editingasurvey'] = "Editing a survey";
$string['helpsurveys'] = "Help on the different types of surveys";
$string['introtext'] = "Introduction text";
$string['name'] = "Name";
$string['newsurveyresponses'] = "New survey responses";
$string['nobodyyet'] = "Nobody has yet completed this survey";
$string['notdone'] = "Not done yet";
$string['notes'] = "Your private analysis and notes";
$string['peoplecompleted'] = "\$a people have completed this survey so far";
$string['preferred'] = "Preferred";
$string['questions'] = "Questions";
$string['question'] = "Question";
$string['report'] = "Survey report";
$string['scales'] = "Scales";
$string['savednotes'] = "Your notes were saved";
$string['seemoredetail'] = "Click here to see more detail";
$string['selectedquestions'] = "Selected questions from a scale, all students";
$string['summary'] = "Summary";
$string['surveycompleted'] = "You've completed this survey. The graph below shows a summary of your results compared to the class averages.";
$string['surveyname'] = "Survey name";
$string['surveysaved'] = "Survey saved";
$string['surveytype'] = "Survey type";
$string['thanksforanswers'] = "Thanks for answering this survey, \$a";
$string['time'] = "Time";
$string['viewsurveyresponses'] = "View \$a survey responses";
?>
Executable
+19
View File
@@ -0,0 +1,19 @@
README FOR CATALAN PLUGIN
-------------------------
Translation by Carles Bellver (with the help of Mercè Renau,
Clara Andrés and Jordi Adell).
Missing strings:
- almost all survey.php
- a lot of help files :-(
Centre d'Educació i Noves Tecnologies
Universitat Jaume I
12071 Castelló de la Plana
Spain
mailto:cent@uji.es
http://cent.uji.es
+42
View File
@@ -0,0 +1,42 @@
<?PHP // $Id$
// assignment.php - created with Moodle 1.0.5 beta 1 (2002092500)
$string['assignmentdetails'] = "Detalls de la tasca";
$string['assignmentname'] = "Nom de la tasca";
$string['assignmenttype'] = "Tipus de tasca";
$string['description'] = "Descripció";
$string['duedate'] = "Data de venciment";
$string['early'] = "\$a prompte";
$string['failedupdatefeedback'] = "Ha fallat l'actualització dels comentaris sobre l'enviament de l'usuari \$a";
$string['feedbackupdated'] = "Actualització dels comentaris sobre els enviaments de \$a persones";
$string['late'] = "\$a tard";
$string['maximumgrade'] = "Nota màxima";
$string['maximumsize'] = "Mida màxima";
$string['modulename'] = "Tasca";
$string['modulenameplural'] = "Tasques";
$string['newsubmissions'] = "Tasques enviades";
$string['notsubmittedyet'] = "No enviada encara";
$string['overwritewarning'] = "Avís: si tornes a pujar el fitxer REEMPLAÇARÀS el que hi ha";
$string['submissionfeedback'] = "Comentaris sobre l'enviament";
$string['submissions'] = "Enviaments";
$string['submitted'] = "Enviada";
$string['typeuploadsingle'] = "Penjar un únic fitxer, valor entre 0 i 100";
$string['uploadedfiles'] = "fitxers penjats";
$string['viewsubmissions'] = "Veure \$a tasques enviades";
$string['yoursubmission'] = "El teu enviament";
$string[submitassignment] = "Envia la teua tasca per mitjà d'aquest formulari";
$string[typeoffline] = "Activitat offline";
$string[uploadbadname] = "El nom d'aquest fitxer conté caràcters estranys i no es pot penjar";
$string[uploaderror] = "S'ha produït un error quan s'estava guardant el fitxer en el servidor";
$string[uploadfailnoupdate] = "El fitxer s'ha penjat correctament, però no es pot actualitzar el registre de l'enviament!";
$string[uploadfiletoobig] = "Ho lamentem, el fitxer és massa gran (el límit són \$a bytes)";
$string[uploadnofilefound] = "No s'ha pogut trobar el fitxer. Segur que n'havies seleccionat un?";
$string[uploadnotregistered] = "'\$a' s'ha penjat correctament, però no es pot registrar l'enviament!";
$string[uploadsuccess] = "'\$a' penjat correctament";
$string[viewfeedback] = "Veure les qualificacions de les tasques i els comentaris";
$string[allowresubmit] = "Permetre de tornar a enviar";
?>
+17
View File
@@ -0,0 +1,17 @@
<?PHP // $Id$
// choice.php - created with Moodle 1.0.5 beta 1 (2002092500)
$string['answered'] = "Contestades";
$string['choice'] = "Opció \$a";
$string['choicename'] = "Nom de l'opció";
$string['choicetext'] = "Text de l'opció";
$string['modulename'] = "Qüestió";
$string['modulenameplural'] = "Qüestions";
$string['notanswered'] = "No contestada encara";
$string['responses'] = "Respostes";
$string['responsesto'] = "Respostes per a \$a";
$string['savemychoice'] = "Guardar la resposta";
$string['viewallresponses'] = "Veure \$a respostes";
?>
+19
View File
@@ -0,0 +1,19 @@
ABOUT THIS DIRECTORY
--------------------
DO NOT CHANGE, RENAME OR MOVE ANY OF THE FILES
IN THIS DIRECTORY unless you REALLY know what
you are doing.
Changing these files could mess up your course.
This directory contains files uploaded to your
course within particular modules (mostly by
students), such as assignment submissions and
forum attachments.
The names of the directories and files within
this directory are very specific and are
automatically maintained by Moodle.
+131
View File
@@ -0,0 +1,131 @@
<?PHP // $Id$
// forum.php - created with Moodle 1.0.5 beta 1 (2002092500)
$string['addanewdiscussion'] = "Afegir un tema de debat";
$string['allowchoice'] = "Permetre elegir a tothom";
$string['allowdiscussions'] = "Pot un \$a començar un nou debat?";
$string['allowratings'] = "Permetre valorar els missatges?";
$string['allowsdiscussions'] = "Aquest fòrum permet a cadascú començar un tema de debat.";
$string['anyfile'] = "Qualsevol fitxer";
$string['attachment'] = "Fitxer adjunt";
$string['bynameondate'] = "per \$a->name - \$a->date";
$string['canstudentsstart'] = "Pot un \$a començar un nou debat?";
$string['couldnotadd'] = "Un error desconegut ha impedit afegir el teu missatge";
$string['couldnotdeleteratings'] = "Ho lamentem, no es pot esborrar perquè ja l'han valorat altres";
$string['couldnotdeletereplies'] = "Ho lamentem, no es pot esborrar perquè ja ha tingut contestacions";
$string['couldnotupdate'] = "Un error desconegut ha impedit actualitzar el teu missatge";
$string['delete'] = "Esborrar";
$string['deleteddiscussion'] = "Tema de debat esborrat";
$string['deletedpost'] = "Missatge esborrat";
$string['deletesure'] = "Segur que vols esborrar aquest missatge?";
$string['discussion'] = "Debat";
$string['discussions'] = "Debats";
$string['discussionsstartedby'] = "Debats començats per \$a";
$string['discussthistopic'] = "Debatre aquest tema";
$string['eachuserforum'] = "Cada persona envia un debat";
$string['edit'] = "Editar";
$string['editing'] = "Editant";
$string['emptymessage'] = "El teu missatge presentava algun problema. Potser l'havies deixat en blanc, o el fitxer adjunt era massa gran. Els canvis NO s'han guardat.";
$string['everyonecanchoose'] = "Cadascú pot elegir subscriure's";
$string['everyoneissubscribed'] = "Tothom està subscrit a aquest fòrum";
$string['forcesubscribe'] = "Forçar que tothom estiga subscrit";
$string['forcesubscribeq'] = "Forçar que tothom estiga subscrit?";
$string['forum'] = "Fòrum";
$string['forumintro'] = "Introducció al fòrum";
$string['forumname'] = "Nom del fòrum";
$string['forums'] = "Fòrums";
$string['forumtype'] = "Tipus de fòrum";
$string['generalforum'] = "Fòrum estàndard per a ús general";
$string['generalforums'] = "Fòrums generals";
$string['inforum'] = "en \$a";
$string['intronews'] = "Anuncis i notícies generals";
$string['introsocial'] = "Un fòrum obert per a xarrar sobre qualsevol cosa que es vulga";
$string['introteacher'] = "Un fòrum només per a notes i debats del professorat";
$string['learningforums'] = "Fòrums per a aprendre";
$string['maxtimehaspassed'] = "Ho lamentem, ha passat el temps màxim per a editar aquest missatge! (\$a)";
$string['message'] = "Missatge";
$string['modeflatnewestfirst'] = "Mostrar llista de rèpliques començant per la més nova";
$string['modeflatoldestfirst'] = "Mostrar llista de rèpliques començant per la més antiga";
$string['modenested'] = "Mostrar rèpliques escalonades";
$string['modethreaded'] = "Mostrar rèpliques per temes";
$string['modulename'] = "Fòrum";
$string['modulenameplural'] = "Fòrums";
$string['more'] = "més";
$string['namenews'] = "Nou fòrum";
$string['namesocial'] = "Fòrum social";
$string['nameteacher'] = "Fòrum del professorat";
$string['newforumposts'] = "Nous enviaments als fòrums";
$string['nodiscussions'] = "Encara no hi ha cap tema de debat en aquest fòrum";
$string['noguestpost'] = "Ho lamentem, els usuaris invitats no poden enviar missatges";
$string['noposts'] = "No hi ha missatges";
$string['nosubscribers'] = "Encara no hi ha subscriptors en aquest fòrum";
$string['nownotsubscribed'] = "\$a->name NO rebrrà còpies de '\$a->forum' per correu electrònic.";
$string['nowsubscribed'] = "\$a->name rebrà còpies de '\$a->forum' per correu electrònic.";
$string['numposts'] = "\$a missatges";
$string['olderdiscussions'] = "Debats anteriors";
$string['parentofthispost'] = "Missatge original";
$string['postadded'] = "S'ha afegit el teu missatge.<P>Tens \$a per a editar-lo si vols fer algun canvi.";
$string['postingtip'] = "<B>Suggeriments:</B>
Quan envies una resposta:
<UL>
<LI>llegeix el missatge original amb molt de compte i practica l'empatia
<LI>busca els aspectes que pugues comentar
</UL>
Mentre escrius:
<UL>
<LI>mira que les teues respostes siguen curtes i centra't en el tema
<LI>explica les teus idees clarament
<LI>pensa preguntes que podries fer
</UL>";
$string['postmailinfo'] = "Açò és una còpia d'un missatge enviat al lloc web \$a.
Per a afegir la teua resposta via web, fes clic en aquest enllaç:";
$string['postrating1'] = "Mostra sobretot coneixements SEPARATS";
$string['postrating2'] = "Tant separats com connectats";
$string['postrating3'] = "Mostra sobretot coneixements CONNECTATS";
$string['postupdated'] = "S'ha actualitzat el teu missatge.";
$string['processingpost'] = "Processant missatge \$a";
$string['rate'] = "Valoració";
$string['ratings'] = "Valoracions";
$string['re'] = "Re:";
$string['readtherest'] = "Llegir la resta del tema";
$string['repliesmany'] = "\$a respostes fins ara";
$string['repliesone'] = "\$a resposta fins ara";
$string['reply'] = "Contestar";
$string['search'] = "Buscar";
$string['searchforums'] = "Buscar en els fòrums";
$string['sendinratings'] = "Enviar les meues últimes valoracions";
$string['showsubscribers'] = "Mostra els subscriptors";
$string['singleforum'] = "Un debat simple";
$string['subject'] = "Títol";
$string['subscribe'] = "Subscriure's a aquest fòrum";
$string['subscribed'] = "Subscrit";
$string['subscribers'] = "Subscriptors";
$string['subscribersto'] = "Subscriptors de '\$a'";
$string['unsubscribe'] = "Cancel·lar la subscripció a aquest fòrum";
$string['youratedthis'] = "La teua valoració";
$string['yournewtopic'] = "Nou tema de debat";
$string['yourreply'] = "La teua resposta";
$string[nopostscontaining] = "No s'ha trobat cap missatge que continga '\$a'";
$string[openmode0] = "Debats no, respostes no";
$string[openmode1] = "Debats no, però respostes sí";
$string[openmode2] = "Debats i respostes sí";
$string[postincontext] = "Veure aquest missatge en el seu context";
$string[searchresults] = "Resultats de la recerca";
?>
+7
View File
@@ -0,0 +1,7 @@
<P ALIGN=CENTER><B>Categories de cursos</B></P>
<P>L'administrador de Moodle pot haver establert diferents categories de cursos.</P>
<P>Per exemple: "Ci&egrave;ncies", "Humanitats", "Salut", etc.
<P>Tria la que siga m&eacute;s pertinent al teu curs. La teua elecci&oacute; condicionar&agrave; el posicionament del curs dins de la llista de cursos i pot fer que els estudiants el troben m&eacute;s f&agrave;cilment.
+17
View File
@@ -0,0 +1,17 @@
<P ALIGN=CENTER><B>Formats de curs de Moodle</B></P>
<P><B>Format semanal</B></P>
<UL>
El curs s'organitza setmana a setmana, amb una data de comen&ccedil;ament clara i una data de finalitzaci&oacute;. Cada setmana consta d'activitats. Algunes, com els diaris, poden tenir "finestres obertes", per exemple de dues setmanes, en acabant de les quals deixen d'estar disponibles.
</UL>
<P><B>Format per temes</B></P>
<UL>
Molt semblant al format semanal, excepte que cada "setmana" s'anomena tema.
Un "tema" no est&agrave; restringit per l&iacute;mits temporals. No cal especificar dates.
</UL>
<P><B>Format social</B></P>
<UL>
Aquest format est&agrave; orientat al voltant d'un f&ograve;rum principal, el f&ograve;rum Social, que apareix a la primera plana. &Eacute;s &uacute;til en situacions m&eacute;s informals. Ni tan sols cal que siguen cursos. Per exemple, es pot utilitzar com un tauler d'anuncis departamental.
</UL>
+3
View File
@@ -0,0 +1,3 @@
<P ALIGN=CENTER><B>Nom complet del curs</B></P>
<P>El nom complet del curs apareix a la part superior de la pantalla i en les llistes de cursos.</P>
+7
View File
@@ -0,0 +1,7 @@
<P ALIGN=CENTER><B>Not&iacute;cies del curs</B></P>
<P>Un f&ograve;rum especial anomenat "Not&iacute;cies" apareix en els formats de curs "setmanal" i "per temes". &Eacute;s un bon lloc per enviar anuncis i que els vegen tots els estudiants. (Tots els estudiants estan subscrits per defecte a aquest f&ograve;rum, i rebran els anuncis per correu electr&ograve;nic.)
<P>Aquest par&agrave;metre determina quantes not&iacute;cies recents apareixen a la primera plana del curs, dins d'un quadre de not&iacute;cies situat a baix a la dreta.
<P>Si el poses a "0 Not&iacute;cies", llavors no apareixer&agrave; el quadre.
+9
View File
@@ -0,0 +1,9 @@
<P ALIGN=CENTER><B>Nombre de setmanes/temes del curs</B></P>
<P>Aquest par&agrave;metre nom&eacute;s s'utilitza en els formats de curs "semanal" i "per temes".
<P>En el format "semanal", especifica el nombre de setmanes que durar&agrave; el curs, comen&ccedil;ant des de la data d'inici.
<P>En el format "per temes", especifica el nombre de temes del curs.
<P>En tots dos casos, aix&ograve; es tradueix en el nombre de "quadres" per davall de la meitat de la plana del curs.
+4
View File
@@ -0,0 +1,4 @@
<P ALIGN=CENTER><B>Nom curt del curs</B></P>
<P>Moltes institucions tenen una manera abreujada de referir-se a un curs, tal com BP102 o COMMS. Encara que el teu curs no tinga un nom aix&iacute;, posa-li'n un ac&iacute;. S'utilitzar&agrave; en diversos llocs en qu&egrave; el nom llarg no &eacute;s adequat (per exemple en la l&iacute;nia d'assumpte d'un correu electr&ograve;nic).</P>
+11
View File
@@ -0,0 +1,11 @@
<P ALIGN=CENTER><B>Data de comen&ccedil;ament del curs</B></P>
<P>Ac&iacute; &eacute;s on especifiques la data de comen&ccedil;ament del curs.</p>
<P>Si fas servir un format de curs "semanal", a&ccedil;&ograve; afectar&agrave; la visualitzaci&oacute; de les setmanes. La primera setmana comen&ccedil;ar&agrave; en la data que establisques ac&iacute;.</P>
<P>Aquest par&agrave;metre no afectar&agrave; els cursos que facen servir els formats "social" o "per temes".</p>
<P>Tanmateix, un detall que s&iacute; que ser&agrave; afectat &eacute;s la visualitzaci&oacute; dels diaris (logs), que fan servir aquesta data com la m&eacute;s antiga que es pot mostrar.</P>
<P>En general, si el teu curs t&eacute; una data de comen&ccedil;ament real, t&eacute; sentit fixar aquest par&agrave;metre, independentment del format de curs que faces servir.</P>
+11
View File
@@ -0,0 +1,11 @@
<P ALIGN=CENTER><B>Clau d'inscripci&oacute; en el curs</B></P>
<P>Una clau d'inscripci&oacute; mant&eacute; el p&uacute;blic no desitjat al marge del curs.</P>
<P>Si la deixes en blanc, qualsevol persona que s'haja creat un nom d'usuari de Moodle en aquest lloc podr&agrave; inscriure's en el teu curs simplement entrant-hi.</p>
<P>Si hi poses alguna cosa, aleshores es demanar&agrave; aquesta paraula o frase als estudiants que intenten entrar-hi per primera vegada (NOM&Eacute;S LA PRIMERA VEGADA).</P>
<P>La idea &eacute;s que proporciones la clau a les persones autoritzades utilitzant altres mitjans com ara el correu electr&ograve;nic, el correu postal, el tel&egrave;fon o fins i tot verbalment en la classe presencial.</P>
<p>Si aquesta contrasenya "s'escampa" i s'inscriuen persones no desitjades, pots esborrar-les del curs (per mitj&agrave; de la seua p&agrave;gina de perfil d'usuari) i canviar la clau. Els estudiants que s'hagueren inscrit leg&iacute;timament no es veuran afectats, per&ograve; els altres no podran tornar a entrar-hi.</P>
+5
View File
@@ -0,0 +1,5 @@
<P ALIGN=CENTER><B>Permetre nous debats</B></P>
<P>En la majoria dels f&ograve;rums voldr&agrave;s que els no professors puguen comen&ccedil;ar nous temes de debat (fils).
<P>A vegades, per&ograve;, voldr&agrave;s inhabilitar aquesta opci&oacute;. Per exemple, aix&ograve; &eacute;s &uacute;til en el F&ograve;rum de not&iacute;cies si vols que nom&eacute;s els professors puguen posar not&iacute;cies a la primera plana del curs. Els estudiants, en tot cas, sempre podran enviar respostes als missatges dels professors.
+11
View File
@@ -0,0 +1,11 @@
<P ALIGN=CENTER><B>Fitxers adjunts en els missatges</B></P>
<P>Opcionalment pots adjuntar UN fitxer del teu ordinador quan envies un missatge a un f&ograve;rum. Aquest fitxer es puja al servidor i es guarda amb el teu missatge.
<P>Aix&ograve; &eacute;s &uacute;til quan vols compartir una imatge, per exemple, o un document de Word.
<P>El fitxer pot ser de qualsevol tipus, per&ograve; en tot cas &eacute;s molt aconsellable que tinga la t&iacute;pica extensi&oacute; de tres lletres, per exemple .doc per als documents Word, .gif o .jpg per a imatges, etc. Aix&ograve; far&agrave; m&eacute;s f&aacute;cil que els altres puguen baixar i veure els fitxers adjunts en els seus navegadors.
<P>Si tornes a editar un missatge i hi adjuntes un nou fitxer, llavors aquest reempla&ccedil;ar&agrave; l'anterior.
<P>Si tornes a editar un missatge que t&eacute; un fitxer adjunt i deixes en blanc el camp de fitxer adjunt, llavors es conservar&agrave; el fitxer original.
+11
View File
@@ -0,0 +1,11 @@
<P ALIGN=CENTER><B>Tipus de f&ograve;rums</B></P>
<P>Es poden triar diversos tipus de f&ograve;rums:
<P><B>Un debat simple</B> - &eacute;s un sol tema, tot en una p&agrave;gina. &Uacute;til per a debats breus i enfocats.
<P><B>F&ograve;rum est&agrave;ndard per a &uacute;s general</B> - &eacute;s un f&ograve;rum obert en el qual tothom pot iniciar un nou tema en qualsevol moment. Aquest &eacute;s el millor f&ograve;rum de prop&ograve;sit gen&egrave;ric.
<P><B>Cada persona envia un debat</B> - Cada persona pot enviar exactament un tema de debat (i tothom pot enviar-hi respostes). Aquest &eacute;s &uacute;til quan vols que cada estudiant inicie un debat, centrat per exemple en les seues reflexions sobre el tema de la setmana, i tots els altres li responen.
<P>(Hi haur&agrave; m&eacute;s desenvolupament en aquesta &agrave;rea en futures versions de Moodle.)
+70
View File
@@ -0,0 +1,70 @@
<P ALIGN=CENTER><B>Forum Ratings</B></P>
<P>Individual posts can be rated using a scale based on the theory of
<strong>separate and connected knowing</strong>.
<p>This theory may help you to look at human interactions
in a new way. It describes two different ways that we can evaluate and learn
about the things we see and hear.
<p>Although each of us may use these two methods in different amounts at different
times, it may be useful to imagine two people as examples, one who is a mostly
separate knower (Jim) and the other a mostly connected knower (Mary).</p>
<ul>
<li>Jim likes to remain as 'objective' as possible without including his feelings
and emotions. When in a discussion with other people who may have different
ideas, he likes to defend his own ideas, using logic to find holes in his
opponent's ideas. He is critical of new ideas unless they are proven facts
from reputable sources such as textbooks, respected teachers or his own direct
experience. Jim is a very <strong>separate knower</strong>.<br><br>
</li>
<li>Mary is more sensitive to other people. She is skilled at empathy and tends
to listen and ask questions until she feels she can connect and &quot;understand
things from their point of view&quot;. She learns by trying to share the experiences
that led to the knowledge she finds in other people. When talking to others,
she avoids confrontation and will often try to help the other person if she
can see a way to do so, using logical suggestions. Mary is a very <strong>connected
knower</strong>.</li>
</ul>
<p>Did you notice in these examples that the separate knower is male and the connected
knower is female? Some studies have shown that statistically this tends to be
the case, however individual people can be anywhere in the spectrum between
these two extremes. </p>
<p>For a collaborative and effective group of learners it may be best if everyone
were able to use BOTH ways of knowing.</p>
<p>In a particular situation like an online forum, a single post by a person may
exhibit either of these characteristics, or even both. Someone who is generally
very connected may post a very separate-sounding message, and vice versa. The
purpose of rating each post using this scale is to:</p>
<blockquote>
<p>a) help you think about these issues when reading other posts<br>
b) provide feedback to each author on how they are being seen by others</p>
</blockquote>
<p>The results are not used towards student assessment in any way, they are just
to help improve communication and learning.</p>
<hr>
<p><br>
In case you're interested, here are some references to papers by the authors
who originally developed these ideas:</p>
<ul>
<li>Belenky, M.F., Clinchy, B.M., Goldberger, N.R., &amp; Tarule, J.M. (1986).
Women's ways of knowing: the development of self, voice, and mind. New York,
NY: Basic Books.</li>
<li>Clinchy, B.M. (1989a). The development of thoughtfulness in college women:
Integrating reason and care. American Behavioural Scientist, 32(6), 647-657.</li>
<li>Clinchy, B.M. (1989b). On critical thinking &amp; connected knowing. Liberal
education, 75(5), 14-19.</li>
<li>Clinchy, B.M. (1996). Connected and separate knowing; Toward a marriage
of two minds. In N.R. Goldberger, Tarule, J.M., Clinchy, B.M. &amp;</li>
<li>Belenky, M.F. (Eds.), Knowledge, Difference, and Power; Essays inspired
by &#8220;Women&#8217;s Ways of Knowing&#8221; (pp. 205-247). New York, NY:
Basic Books.</li>
<li>Galotti, K. M., Clinchy, B. M., Ainsworth, K., Lavin, B., &amp; Mansfield,
A. F. (1999). A New Way of Assessing Ways of Knowing: The Attitudes Towards
Thinking and Learning Survey (ATTLS). Sex Roles, 40(9/10), 745-766.</li>
<li>Galotti, K. M., Reimer, R. L., &amp; Drebus, D. W. (2001). Ways of knowing
as learning styles: Learning MAGIC with a partner. Sex Roles, 44(7/8), 419-436.
<br>
</li>
</ul>
+9
View File
@@ -0,0 +1,9 @@
<P ALIGN=CENTER><B>Subscripci&oacute; als f&ograve;rums</B></P>
<P>Quan una persona &eacute;s subscrita a un f&ograve;rum aix&ograve; vol dir que se li enviaran c&ograve;pies dels missatges del f&ograve;rum per correu electr&ograve;nic (les c&ograve;pies s'envien mitja hora despr&eacute;s que s'escriu el missatge).
<P>Normalment la gent pot triar si vol o no vol estar subscrita a cada f&ograve;rum.
<P>Tanmateix, si un processor for&ccedil;a la subscripci&oacute; a un f&ograve;rum concret, l'opci&oacute; desapareix i tots els membres de la classe reben c&ograve;pies per correu electr&ograve;nic.
<P>Aix&ograve; &eacute;s especialment &uacute;til per al F&ograve;rum de not&iacute;cies i per a tots els f&ograve;rums actius durant el comen&ccedil;ament del curs, mentre tots s'adonen que existeix la possibilitat de subscriure's individualment per correu.
+11
View File
@@ -0,0 +1,11 @@
<P ALIGN=CENTER><B>Acc&eacute;s d'invitats</B></P>
<P>Tens l'opci&oacute; de permetre "invitats" en el teu curs.
<P>La gent pot entrar-hi com a invitada per mitj&agrave; del bot&oacute; "Entrar com a invitat" en la pantalla d'entrada.
<P>Els invitats SEMPRE tenen acc&eacute;s "nom&eacute;s de lectura" - aix&ograve; vol dir que no podran deixar missatges ni embolicar de cap manera el curs als estudiants reals.
<P>A&ccedil;&ograve; pot resultar pr&agrave;ctic quan vulgues deixar entrar col&middot;legues perqu&egrave; vegen la teua feina, o per deixar veure el curs als estudiants abans que decidisquen inscriure-s'hi.
<P>Tin en compte que tens l'opci&oacute; de dos tipus d'acc&eacute;s d'invitats: amb la clau d'inscripci&oacute; o sense. Si tries de permetre invitats que tinguen la clau, aleshores l'invitat haur&agrave; de donar la clau d'inscripci&oacute; CADA VEGADA que entra al curs (no com els estudiants, que nom&eacute;s l'han donar la primera vegada). Aix&ograve; et permet limitar els invitats. Si tries de permetre invitats sense clau, aleshores qualsevol podr&agrave; entrar directament en el curs.
+18
View File
@@ -0,0 +1,18 @@
<P ALIGN=CENTER><B>Pujar una imatge</B></P>
<P>Pots pujar una imatge del teu ordinador a aquest servidor, i aquesta imatge s'utilitzar&agrave; en diferents llocs per representar-te.
<P>Per aquesta ra&oacute;, les millors imatges s&oacute;n primers pl&agrave;nols de la teua cara, per&ograve; en pots fer servir qualsevol que t'agrade.
<P>La imatge ha d'estar en format JPEG o PNG (els noms acaben generalment en .jpg o .png).
<P>Pots obtenir un fitxer amb la teua foto seguint un d'aquests m&egrave;todes:
<OL>
<LI>Transferint el fitxer des una c&agrave;mera digital, molt probablement ja les tindr&agrave;s en el format adequat.
<LI>Amb un esc&agrave;ner, assegura't que guardes la foto en format JPEG o PNG.
<LI>Si ets art&iacute;stic, pots fer-te un autoretrat amb un programa de dibuix.
<LI>Finalment, pots "robar imatges del web. <A TARGET=google HREF="http://images.google.com/">http://images.google.com</A> &eacute;s un lloc excel&middot;lent per a buscar imatges. Quan en trobes una, pots clicar-la amb el bot&oacute; de la dreta del ratol&iacute; i triar "Guardar imatge..." en el men&uacute; (el procediment pot ser distint segons l'ordinador).
</OL>
<P>Per a pujar la imatge, clica el bot&oacute; "Examinar/Browse" en aquesta p&agrave;gina d'edici&oacute; del perfil, i selecciona la imatge des del teu disc dur.
<P>NOTA: Assegura't que el fitxer no &eacute;s m&eacute;s gran que la mida m&agrave;xima, o no pujar&agrave;.
<P>Despr&eacute;s clica "Actualitzar perfil" davall de tot; el fitxer d'imatge es retallar&agrave; per ajustar les proporcions i es reduir&agrave; fins una mida de 100x100 p&iacute;xels.
<P>Quan tornes a la p&agrave;gina del perfil, la imatge podria no apar&egrave;ixer la imatge correcta. Si &eacute;s aix&iacute;, fes servir el bot&oacute; "Actualitzar/Reload" del teu navegador.
+93
View File
@@ -0,0 +1,93 @@
<h2>Fent preguntes</h2>
<p>Les preguntes socr&agrave;tiques resten obertes, s&oacute;n preguntes sonda dissenyades per promoure l'avaluaci&oacute; cr&iacute;tica d'idees, i per encoratjar la creaci&oacute; de noves idees. M&eacute;s avall hi ha alguns exemples d'aquest tipus de preguntes:</p>
<H3>Preguntes de clarificaci&oacute;</H3>
<UL>
<LI>Qu&egrave; vols dir amb ____?</LI>
<LI>Quin punt destacaries com a principal?</LI>
<LI>Quina relaci&oacute; t&eacute; _____ amb _____?</LI>
<LI>Pots expressar-ho d'una altra forma?</LI>
<LI>La teua afirmaci&oacute; b&agrave;sica &eacute;s _____ o _____?</LI>
<LI>Quina creus que &eacute;s ac&iacute; la idea principal?</LI>
<LI>A veure si t'he ent&egrave;s, vols dir que _____ o que _____?</LI>
<LI>Quina relaci&oacute; t&eacute; a&ccedil;&ograve; amb el nostre problema/debat/assumpte?</LI>
<LI>Qu&egrave; vols dir, Miquel, amb aquest comentari? Qu&egrave; creus que vol dir Miquel amb aquest comentari?</LI>
<LI>Marta, pots resumir amb paraules teues el que ha dit Pau? ... Pau, &eacute;s aix&ograve; el que volies dir?</LI>
<LI>Pots donar-me un exemple?</LI>
<LI>A&ccedil;&ograve; seria un exemple de... ?</LI>
<LI>Podries explicar m&eacute;s aix&ograve;?</LI>
<LI>Afegiries alguna cosa m&eacute;s?</LI>
<LI>Per qu&egrave; dius aix&ograve;?</LI>
</UL>
<h3>Preguntes que sondegen pressuposicions</h3>
<ul>
<li>Qu&egrave; est&agrave;s pressuposant?</li>
<li>Qu&egrave; est&agrave; pressuposant Laura?</li>
<li>Qu&egrave; podr&iacute;em assumir en lloc d'aix&ograve;?</li>
<li>Pareix que estigues assumint que _____. T'he ent&egrave;s correctament?</li>
<li>Tot el teu raonament dep&eacute;n de la idea que _____. Per qu&egrave; has basat el teu raonament en _____ en lloc de _____?</li>
<li>Pareix que estigues pressuposant _____. Com justifiques donar aix&ograve; per segur?</li>
<li>Sempre &eacute;s aix&iacute;? Per qu&egrave; penses que podem assumir aix&ograve; en aquest cas?</li>
<li>Per qu&egrave; haur&iacute;em de pressuposar aix&ograve;?</li>
</ul>
<h3>Preguntes que sondegen raons i proves</h3>
<ul>
<li>Qu&egrave; en seria un exemple?</li>
<li>Com ho saps?</li>
<li>Per qu&egrave; penses que &eacute;s veritat?</li>
<li>Tens alguna prova d'aix&ograve;?</li>
<li>Quina difer&egrave;ncia representa aix&ograve;?</li>
<li>Quines raons tens per a dir aix&ograve;?</li>
<li>Quina altra informaci&oacute; necessites?</li>
<li>Ens pots explicar les teues raons?</li>
<li>S&oacute;n adequades aquestes raons?</li>
<li>Per qu&egrave; dius aix&ograve;?</li>
<li>Que et va portar a creure aix&ograve;?</li>
<li>Com s'aplica aix&ograve; a aquest cas?</li>
<li>Qu&egrave; et faria canviar d'opini&oacute;?</li>
<li>Per&ograve;, &eacute;s una bona base per a creure aix&ograve;?</li>
<li>Hi ha una ra&oacute; per a dubtar d'aquesta prova?</li>
<li>Qui est&agrave; en situaci&oacute; de saber si aix&ograve; &eacute;s veritat?</li>
<li>Qu&egrave; diries a alg&uacute; que diguera que ____?</li>
<li>Alg&uacute; m&eacute;s pot donar dades que recolzen aquest punt de vista?</li>
<li>Per mitj&agrave; de quin raonament vas arribar a aquesta conclusi&oacute;?</li>
<li>Com podr&iacute;em descobrir si aix&ograve; &eacute;s veritat?</li>
</ul>
<h3>Preguntes sobre punts de vista o perspectives</h3>
<ul>
<li>El terme &quot;implicar&quot; requerir&agrave; clarificaci&oacute; quan es fa&ccedil;a servir amb els estudiants m&eacute;s joves.</li>
<li>Qu&egrave; estas implicant amb aix&ograve;?</li>
<li>Quan dius que _____, est&agrave;s implicant que _____?</li>
<li>Per&ograve;, si f&oacute;ra aix&iacute;, qu&egrave; m&eacute;s s'esdevendria en conseq&uuml;&egrave;ncia? Per qu&egrave;?</li>
<li>Quin efecte tindria aix&ograve;?</li>
<li>Aix&ograve; s'esdevindria necess&agrave;riament o nom&eacute;s possiblement/probablement?</li>
<li>Hi ha alguna alternativa?</li>
<li>Si s'esdevenen _____ i _____, qu&egrave; m&eacute;s podria ser tamb&eacute; veritat?</li>
<li>Si diem que ____ &eacute;s &egrave;tic, qu&egrave; tal _____? </li>
</ul>
<h3>Preguntes que sondegen implicacions i conseq&uuml;&egrave;ncies</h3>
<ul>
<li>Com ho podem descobrir?</li>
<li>Qu&egrave; pressuposa aquesta pregunta?</li>
<li>Expressaries aquesta pregunta d'una altra forma?</li>
<li>Com es podria respondre aquesta pregunta?</li>
<li>Podem descompondre aquesta pregunta?</li>
<li>Est&agrave; clara aquesta pregunta? L'entenem?</li>
<li>Aquesta pregunta, &eacute;s f&agrave;cil o dif&iacute;cil de contestar? Per qu&egrave;?</li>
<li>Aquesta pregunta, ens demana que avaluem alguna cosa? Qu&egrave;?</li>
<li>Estem tots i totes d'acord que la pregunta &eacute;s aquesta?</li>
<li>Per a contestar aquesta pregunta, quines altres preguntes hem de contestar abans?</li>
<li>No estic segur d'entendre com est&agrave;s interpretant aquesta pregunta. Aix&ograve; &eacute;s el mateix que _____?</li>
<li>Com enunciaries aquesta idea?</li>
<li>Per qu&egrave; &eacute;s important aquesta idea?</li>
<li>&Eacute;s aquesta la pregunta m&eacute;s important, o n'hi ha una altra de subjacent que &eacute;s la realment important? </li>
</ul>
<HR>
<FONT SIZE=1><I>Preguntes adaptades de Paul, R. (1993). Critical Thinking: How To Prepare Students for a Rapidly Changing World: Foundation for Critical Thinking, Santa Rosa, CA. </I></FONT>
+18
View File
@@ -0,0 +1,18 @@
<P ALIGN=CENTER><B>Reading Type</B></P>
<P>Readings are any content you can dream up. These are the
different types, which mostly specify how the content is
to be accessed:
<P><B>Plain text</B> - the easiest type. You can just type (edit) the page into a form on the following page.
<P><B>Reference</B> - a scholarly reference to a journal or book.
<P><B>Uploaded file</B> - displays any file you have uploaded into the course. See the 'Files' section.
<P><B>Web Link</B> - A URL to somewhere on the web. When anyone clicks on this reading
activity they will be taken out of the course (the page you've specified will fill the browser window).
<P><B>Web page</B> - A URL to somewhere on the web. Like the previous type, this
will display a web page. Unlike the previous type, though, the page will displayed
within a frame, as if it is integrated within the course.
+8
View File
@@ -0,0 +1,8 @@
<P ALIGN=CENTER><B>Reading Summary</B></P>
<P>The summary is a very short description of the resource.
<P>Do not be tempted to write too much here, or to include the
resource itself!
<P>You'll get a chance to specify the content on the next page.
+95
View File
@@ -0,0 +1,95 @@
<P ALIGN=CENTER><B>Enquestes disponibles</B></P>
<P>Actualment, Moodle nom&eacute;s t'ofereix tipus espec&iacute;fic d'enquestes (versions futures
et permetran crear-ne de teues).</P>
<P>L'enquestes disponibles s'han triat per ser particularment &uacute;nic per a l'avaluaci&oacute; d'entorns d'aprenentatge en l&iacute;nia que facen servir una pedagogia constructivista. S&oacute;n &uacute;tils per a identificar certes tend&egrave;ncies que poden estar donant-se entre els participants.
(Per a veure un article amb una an&agrave;lisi detallada, aneu a:
<A TARGET=paper HREF="http://dougiamas.com/writing/herdsa2002">http://dougiamas.com/writing/herdsa2002</A>)</P>
<HR>
<P><B>COLLES - Constructivist On-Line Learning Environment Survey</B></P>
<UL>
<p>The COLLES comprises an economical 24 statements grouped into six scales,
each of which helps us address a key question about the quality of the on-line
learning environment: </p>
<table BORDER="0" CELLSPACING="10" CELLPADDING="10">
<tr>
<td valign=top>Relevance</td>
<td>How relevant is on-line learning to students' professional practices?
</td>
</tr>
<tr>
<td valign=top>Reflection </td>
<td>Does on-line learning stimulate students' critical reflective thinking?
</td>
</tr>
<tr>
<td valign=top>Interactivity </td>
<td>To what extent do students engage on-line in rich educative dialogue?
</td>
</tr>
<tr>
<td valign=top>Tutor Support</td>
<td>How well do tutors enable students to participate in on-line learning?
</td>
</tr>
<tr>
<td valign=top>Peer Support </td>
<td>Is sensitive and encouraging support provided on-line by fellow students?
</td>
</tr>
<tr>
<td valign=top>Interpretation </td>
<td>Do students and tutors make good sense of each other's on-line communications?</td>
</tr>
</table>
<p>Underpinning the dynamic view of learning is a new theory of knowing: social
constructivism, which portrays the learner as an active conceptualiser within
a socially interactive learning environment. Social constructivism is an epistemology,
or way of knowing, in which learners collaborate reflectively to co-construct
new understandings, especially in the context of mutual inquiry grounded in
their personal experience. </p>
<p>Central to this collaboration is the development of students' communicative
competence, that is, the ability to engage in open and critical discourse
with both the teacher and peers. This discourse is characterised by an empathic
orientation to constructing reciprocal understanding, and a critical attitude
towards examining underlying assumptions. </p>
<p>The COLLES has been designed to enable you
to monitor the extent to which you are able to exploit the interactive capacity
of the World Wide Web for engaging students in dynamic learning practices. </p>
<P>
(This information has been adapted from the COLLES page. You can find out more about
COLLES and the authors of it at:
<A TARGET=paper HREF="http://surveylearning.com/colles/">http://surveylearning.com/colles/</A>)</P>
</UL>
<HR>
<P><B>ATTLS - Attitudes to Thinking and Learning Survey</B></P>
<UL>
<P>The theory of 'ways of knowing', originally from the field of gender research (Belenky et al., 1986) provides us with a survey tool to examine the quality of discourse within a collaborative environment.
<P>The Attitudes Towards Thinking and Learning Survey (ATTLS) is an instrument developed by Galotti et al. (1999) to measure the extent to which a person is a 'connected knower' (CK) or a 'separate knower' (SK).
<P>People with higher CK scores tend to find learning more enjoyable, and are often more cooperative, congenial and more willing to build on the ideas of others, while those with higher SK scores tend to take a more critical and argumentative stance to learning.
<P>Studies have shown that these two learning styles are independent of each other (Galotti et al., 1999; Galotti et al., 2001). Additionally, they are only a reflection of learning attitudes, not learning capacities or intellectual power.
<P><I>Belenky, M. F., Clinchy, B. M., Goldberger, N. R., &amp; Tarule, J. M. (1986). Women's Ways of Knowing: The Development of Self, Voice, and Mind. New York: Basic Books, Inc. </I></P>
<P><I>Galotti, K. M., Clinchy, B. M., Ainsworth, K., Lavin, B., &amp; Mansfield, A. F. (1999). A New Way of Assessing Ways of Knowing: The Attitudes Towards Thinking and Learning Survey (ATTLS). Sex Roles, 40(9/10), 745-766.</I></P>
<P><I>Galotti, K. M., Reimer, R. L., &amp; Drebus, D. W. (2001). Ways of knowing as learning styles: Learning MAGIC with a partner. Sex Roles, 44(7/8), 419-436.</I></P>
</UL>
+41
View File
@@ -0,0 +1,41 @@
<P ALIGN=CENTER><B>Ajuda per a escriure text</B></P>
Escriure text en Moodle funciona m&eacute;s o menys com &eacute;s d'esperar, per&ograve; tamb&eacute; tens la possibilitat d'incloure emoticones, adreces URL i algunes etiquetas HTML.
<P><B>Emoticones</B></P>
<UL>
<TABLE BORDER=0 CELLPADDING=5 CELLSPACING=5>
<TR><TH>Nom <TH>Imatge <TH>Tecleges</TR>
<TR><TD>somriure <TD ALIGN=CENTER><img ALT=smile SRC="<?=$CFG->wwwroot?>/pix/s/smiley.gif"><TD ALIGN=CENTER> :-) </TD></TR>
<TR><TD>trist <TD ALIGN=CENTER><img ALT=sad SRC="<?=$CFG->wwwroot?>/pix/s/sad.gif"><TD ALIGN=CENTER> :-( </TD></TR>
<TR><TD>somriure obert <TD ALIGN=CENTER><img ALT=grin SRC="<?=$CFG->wwwroot?>/pix/s/biggrin.gif"><TD ALIGN=CENTER> :-D </TD></TR>
<TR><TD>fer l'ullet <TD ALIGN=CENTER><img ALT=wink SRC="<?=$CFG->wwwroot?>/pix/s/wink.gif"><TD ALIGN=CENTER> ;-) </TD></TR>
<TR><TD>mig mig <TD ALIGN=CENTER><img ALT=mixed SRC="<?=$CFG->wwwroot?>/pix/s/mixed.gif"><TD ALIGN=CENTER> :-/ </TD></TR>
<TR><TD>ulls oberts <TD ALIGN=CENTER><img ALT=wide-eyed SRC="<?=$CFG->wwwroot?>/pix/s/wideeyes.gif"><TD ALIGN=CENTER> 8-) </TD></TR>
<TR><TD>traure la llengua <TD ALIGN=CENTER><img ALT=tongue-out SRC="<?=$CFG->wwwroot?>/pix/s/tongueout.gif"><TD ALIGN=CENTER> :-P </TD></TR>
<TR><TD>sorpresa <TD ALIGN=CENTER><img ALT=surprised SRC="<?=$CFG->wwwroot?>/pix/s/surprise.gif"><TD ALIGN=CENTER> :-o </TD></TR>
<TR><TD>guai <TD ALIGN=CENTER><img ALT=cool SRC="<?=$CFG->wwwroot?>/pix/s/cool.gif"><TD ALIGN=CENTER> B-) </TD></TR>
</TABLE>
</UL>
<P><B>Adreces</B></P>
<UL>
<P>Qualsevol "paraula" que comence per <B>www.</B> or <B>http://</B> es convertir&agrave; autom&agrave;ticament en un enlla&ccedil;.
<P>For example: <A HREF="http://www.google.com">www.google.com</A> or <A HREF="http://cent.uji.es">http://cent.uji.es</A>
</UL>
<P><B>Etiquetes HTML</B></P>
<UL>
<P>Pots fer servir un subconjunt limitat d'etiquetes HTML per afegir &egrave;mfasi als textos.
<TABLE BORDER=0 CELLPADDING=5 CELLSPACING=5>
<TR><TH>Etiqueta HTML<TH>Produeix</TR>
<TR><TD>&lt;B> negreta &lt;/B> <TD> <B>lletra negreta</B> </TR>
<TR><TD>&lt;I> cursiva &lt;/I> <TD> <I>lletra cursiva</I> </TR>
<TR><TD>&lt;U> subratllat &lt;/U> <TD> <U>text subratllat</U> </TR>
<TR><TD>&lt;FONT SIZE=1> petit &lt;/FONT> <TD> <FONT SIZE=1>petit</FONT> </TR>
<TR><TD>&lt;FONT SIZE=4> gran &lt;/FONT> <TD> <FONT SIZE=4>gran</FONT> </TR>
<TR><TD>&lt;FONT COLOR=green> exemple &lt;/FONT> <TD> <FONT color=green>exemple</FONT> </TR>
</TABLE>
</UL>
+27
View File
@@ -0,0 +1,27 @@
<?PHP // $Id$
// journal.php - created with Moodle 1.0.5 beta 1 (2002092500)
$string['alwaysopen'] = "Obert sempre";
$string['blankentry'] = "Entrada en blanc";
$string['daysavailable'] = "Dies disponible";
$string['editingended'] = "El període d'edició ha acabat";
$string['editingends'] = "El període d'edició acaba";
$string['journalname'] = "Nom del diari";
$string['journalquestion'] = "Pregunta del diari";
$string['journalrating1'] = "Insatisfactori";
$string['journalrating2'] = "Satisfactori";
$string['journalrating3'] = "Excel·lent";
$string['modulename'] = "Diari";
$string['modulenameplural'] = "Diaris";
$string['newjournalentries'] = "Noves entrades en els diaris";
$string['noentry'] = "Sense entrada";
$string['noratinggiven'] = "Sense valoració";
$string['notopenuntil'] = "Aquest diari no s'obrirà fins";
$string['notstarted'] = "Encara no has començat aquest diari";
$string['overallrating'] = "Valoració global";
$string['rate'] = "Valoració";
$string['startoredit'] = "Començar o editar l'entrada del diari";
$string['viewallentries'] = "Veure totes les entrades del diari";
?>
+518
View File
@@ -0,0 +1,518 @@
<?PHP // $Id$
// moodle.php - created with Moodle 1.0.5 beta 1 (2002092500)
$string['action'] = "Acció";
$string['activities'] = "Activitats";
$string['activity'] = "Activitat";
$string['activityreport'] = "Informe d'activitat";
$string['add'] = "Afegir";
$string['added'] = "Afegit \$a";
$string['addinganew'] = "Afegir un nou \$a";
$string['addinganewto'] = "Afegir un nou \$a->what a \$a->to";
$string['addnewcourse'] = "Afegir un nou curs";
$string['addnewuser'] = "Afegir un nou usuari";
$string['address'] = "Adreça";
$string['addteacher'] = "Afegir professor";
$string['admin'] = "Admin";
$string['administration'] = "Administració";
$string['again'] = "una altra vegada";
$string['all'] = "Tots";
$string['alldays'] = "Tots els dies";
$string['allfieldsrequired'] = "Tots els camps són obligatoris";
$string['alllogs'] = "Tots els diaris";
$string['allowguests'] = "Aquest curs permet entrar als usuaris invitats";
$string['allparticipants'] = "Tots els participants";
$string['alphanumerical'] = "Només pot contindre lletres o números";
$string['alreadyconfirmed'] = "El registre ja s'ha confirmat";
$string['answer'] = "Resposta";
$string['assignteachers'] = "Assignar professors";
$string['availablecourses'] = "Cursos disponibles";
$string['cancel'] = "Cancel·lar";
$string['categories'] = "Categories de cursos";
$string['category'] = "Categoria";
$string['categoryadded'] = "S'ha afegit la categoria '\$a'";
$string['categorydeleted'] = "S'ha esborrat la categoria '\$a'";
$string['changedpassword'] = "S'ha canviat la contrasenya";
$string['changepassword'] = "Canviar la contrasenya";
$string['changessaved'] = "Canvis guardats";
$string['checklanguage'] = "Comprovar idioma";
$string['choose'] = "Triar";
$string['choosecourse'] = "Triar un curs";
$string['chooselivelogs'] = "O observar els diaris en directe";
$string['chooselogs'] = "Tria quins diaris vols veure";
$string['choosetheme'] = "Triar tema";
$string['chooseuser'] = "Triar un usuari";
$string['city'] = "Població";
$string['comparelanguage'] = "Comparar idioma amb l'anglès";
$string['complete'] = "Completat";
$string['configvariables'] = "Variables de configuració";
$string['confirmed'] = "S'ha confirmat el registre";
$string['continue'] = "Continuar";
$string['cookiesenabled'] = "les cookies han d'estar activades en el teu client web";
$string['copyrightnotice'] = "Copyright";
$string['country'] = "País";
$string['course'] = "Curs";
$string['courseformats'] = "Formats de curs";
$string['courses'] = "Cursos";
$string['courseupdates'] = "Actualitzacions del curs";
$string['createaccount'] = "Crear un compte nou";
$string['createuserandpass'] = "Crear un nou nom d'usuari i contrasenya per connectar-s'hi";
$string['createziparchive'] = "empaquetar-los en un fitxer zip";
$string['currentlanguage'] = "Idioma actual";
$string['currentlocaltime'] = "hora local";
$string['databasechecking'] = "Actualitzar la base de dades de Moodle de la versió \$a->oldversion a \$a->newversion...";
$string['databasesetup'] = "Ajustant la base de dades";
$string['databasesuccess'] = "La base de dades s'ha actualitzat amb èxit";
$string['databaseupgrades'] = "Actualitzant la base de dades";
$string['defaultcoursefullname'] = "Nom complet del curs 101";
$string['defaultcourseshortname'] = "NCC101";
$string['defaultcoursestudent'] = "Estudiant";
$string['defaultcoursestudents'] = "Estudiants";
$string['defaultcoursesummary'] = "Escriu un paràgraf breu i explicatiu sobre del curs";
$string['defaultcourseteacher'] = "Professor";
$string['defaultcourseteachers'] = "Professors";
$string['delete'] = "Esborrar";
$string['deletecheck'] = "Esborrar \$a ?";
$string['deletecheckfull'] = "Estàs absolutament segur que vols esborrar completament \$a ?";
$string['deletecompletely'] = "esborrar-los completament";
$string['deletecourse'] = "Esborrar un curs";
$string['deletecoursecheck'] = "Estas absolutament segur que vols esborrar completament aquest curs i totes les dades que conté";
$string['deleted'] = "Esborrat";
$string['deletedactivity'] = "Esborrat \$a";
$string['deletedcourse'] = "\$a ha estat completament esborrat";
$string['deletednot'] = "No s'ha pogut esborrar \$a!";
$string['deletingcourse'] = "Esborrant \$a";
$string['description'] = "Descripció";
$string['doyouagree'] = "Has llegit aquestes condicions i les entens?";
$string['edit'] = "Editar \$a";
$string['editcoursesettings'] = "Editar els paràmetres del curs";
$string['editinga'] = "Editar un \$a";
$string['editmyprofile'] = "Editar perfil";
$string['editsummary'] = "Editar resum";
$string['editthisactivity'] = "Editar aquesta activitat";
$string['edituser'] = "Editar comptes d'usuari";
$string['email'] = "Adreça de correu";
$string['emailconfirm'] = "Confirma el compte";
$string['emailconfirmation'] = "Hola, \$a->firstname,
S'ha sol·licitat un nou compte en '\$a->sitename' amb la teua
adreça de correu.
Per a confirmar la creació del compte, per favor connecta't a
l'adreça web següent:
\$a->link
En la majoria de programes de correu electrònic, l'adreça
s'hauria de presentar com un enllaç blau i només cal clicar-lo.
Si això no funciona, copia i apega l'adreça en la línea
d'adreces de la finestra del teu navegador.
Salutacions de l'administrador de '\$a->sitename',
\$a->admin";
$string['emailconfirmsent'] = " <P>S'ha enviat un missatge de correu a la teua adreça <B>\$a</B>
<P>Conté instruccions senzilles per a completar el registre.
<P>Si tens dificultats, contacta amb l'administrador del lloc.";
$string['emaildisplay'] = "Mostrar email";
$string['emaildisplaycourse'] = "Permetre només als altres membres del curs veure la meua adreça de correu";
$string['emaildisplayno'] = "Ocultar a tothom la meua adreça de correu electrònic";
$string['emaildisplayyes'] = "Permetre que tothom veja la meua adreça de correu";
$string['emailexists'] = "Aquesta adreça de correu ja està registrada.";
$string['emailformat'] = "Format del correu";
$string['emailmustbereal'] = "Nota: l'adreça de correu ha de ser una adreça real";
$string['enrolmentkey'] = "Clau d'inscripció";
$string['enrolmentkeyfrom'] = "Aquest curs requereix una clau d'inscripció - una contrasenya<BR>
d'un sol ús que t'ha d'haver proporcionat \$a";
$string['enrolmentkeyhint'] = "Aquesta clau d'inscripció es errònia, per favor torna a intentar-ho<BR>
(Una pista: comença per '\$a'";
$string['entercourse'] = "Fes clic per a entrar en aquest curs";
$string['enteremailaddress'] = "Introdueix la teua adreça de correu per anul·lar la contrasenya anterior i rebre'n una de nova per correu electrònic.";
$string['error'] = "Error";
$string['existingteachers'] = "Professors existents";
$string['feedback'] = "Interaccions";
$string['filemissing'] = "Falta \$a";
$string['files'] = "Fitxers";
$string['filloutallfields'] = "Per favor ompli tots els camps d'aquest formulari";
$string['firstname'] = "Nom";
$string['firsttime'] = "És la primera vegada que entres ací?";
$string['followingoptional'] = "Els ítems següents són opcionals";
$string['followingrequired'] = "Els ítems següents són obligatoris";
$string['forgotten'] = "Has oblidat el nom d'usuari o la contrasenya?";
$string['format'] = "Format";
$string['formatsocial'] = "Format social";
$string['formattopics'] = "Format per temes";
$string['formatweeks'] = "Format semanal";
$string['frontpagedescription'] = "Descripció per a la primera plana";
$string['frontpageformat'] = "Format de la primera plana";
$string['fulllistofcourses'] = "Tots els cursos";
$string['fullname'] = "Nom complet";
$string['fullprofile'] = "Perfil complet";
$string['fullsitename'] = "Nom complet del lloc";
$string['gd1'] = "";
$string['gd2'] = "";
$string['gdnot'] = "";
$string['gpl'] = "Copyright (C) 2001-2002 Martin Dougiamas (http://dougiamas.com)
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:
http://www.gnu.org/copyleft/gpl.html";
$string['grade'] = "Nivell";
$string['guestskey'] = "Permetre invitats amb clau";
$string['guestsno'] = "No permetre l'entrada d'invitats";
$string['guestsnotallowed'] = "Ho lamentem, '\$a' no permet l'entrada d'invitats.";
$string['guestsyes'] = "Permetre invitats sense clau";
$string['guestuser'] = "Usuari invitat";
$string['guestuserinfo'] = "Aquest usuari és un usuari especial que permet entrar a alguns cursos en mode només de lectura (read-only).";
$string['help'] = "Ajuda";
$string['helphtml'] = "Com escriure HTML";
$string['helppicture'] = "Com penjar una imatge";
$string['helpquestions'] = "Com fer preguntes";
$string['helptext'] = "Com escriure text";
$string['hide'] = "";
$string['home'] = "Inici";
$string['htmlformat'] = "Format HTML amb imatges";
$string['icqnumber'] = "Número ICQ";
$string['idnumber'] = "Número ID";
$string['invalidemail'] = "L'adreça de correu no és vàlida";
$string['invalidlogin'] = "Entrada incorrecta, torna a intentar-ho";
$string['languagegood'] = "Aquest paquet d'idioma està al dia! :-)";
$string['lastaccess'] = "Últim accés";
$string['lastedited'] = "Última edició";
$string['lastmodified'] = "Última modificació";
$string['lastname'] = "Cognoms";
$string['latestnews'] = "Últimes notícies";
$string['leavetokeep'] = "Deixa en blanc per tal de mantenir la contrasenya actual";
$string['license'] = "Llicència GPL";
$string['listofallpeople'] = "Llistat de tota la gent";
$string['livelogs'] = "Diaris de l'última hora";
$string['locale'] = "ca_ES";
$string['location'] = "Localització";
$string['loggedinas'] = "Has entrat com \$a";
$string['loggedinnot'] = "No has entrat";
$string['login'] = "Entrada";
$string['loginas'] = "Entrar com";
$string['loginguest'] = "Entrar com a invitat";
$string['loginsite'] = "Entrar en aquest lloc";
$string['loginsteps'] = "Hola! L'accés complet als cursos requereix que dediques un minut a la creació d'un nou compte d'usuari vàlid per a aquest lloc web. Cada curs pot requerir també una &quot;clau d'inscripció&quot; que se't demanaria només la primera vegada que entres. Els passos que has de donar són els següents:
<OL size=2>
<LI>Ompli el formulari de <A HREF=\$a>Nou compte</A> amb les dades que se't demanaran.
<LI>El sistema t'enviarà inmediatament un missatge a la teua adreça de correu.
<LI>Llegeix el correu, i fes clic en l'enllaç web inclòs.
<LI>S'activarà el teu compte i et connectaràs.
<LI>Llavors, tria el curs en el qual vols participar.
<LI>Si se't demana una &quot;clau d'inscripció&quot;, utilitza la que t'ha donat el professor. Amb això quedaràs inscrit en el curs.
<LI>Ara ja tindràs accés complet al curs. En endavant només hauràs d'introduir el teu nom d'usuari i la contrasenya (en el formulari d'aquesta pàgina) per tal de connectar-te i tenir accés a qualsevol curs en el qual estigues inscrit.
</OL>";
$string['loginto'] = "Entrar en\$a";
$string['loginusing'] = "Entra ací utilitzant el teu nom d'usuari i contrasenya";
$string['logout'] = "Eixida";
$string['logs'] = "Diaris";
$string['mainmenu'] = "Menú principal";
$string['makeafolder'] = "Crear una carpeta";
$string['makeeditable'] = "";
$string['managedatabase'] = "Gestió de la base de dades";
$string['markthistopic'] = "Marcar aquest tema com a tema actual";
$string['maximumchars'] = "Màxim de \$a caràcters";
$string['maximumgrade'] = "Nota màxima";
$string['maxsize'] = "Mida màxima: \$a";
$string['miscellaneous'] = "Miscel·lània";
$string['missingcategory'] = "Has de triar una categoria";
$string['missingcity'] = "Falta la població";
$string['missingcountry'] = "Falta el país";
$string['missingdescription'] = "Falta la descripció";
$string['missingemail'] = "Falta l'adreça de correu electrònic";
$string['missingfirstname'] = "Falta el nom";
$string['missingfullname'] = "Falta el nom complet";
$string['missinglastname'] = "Falten els cognoms";
$string['missingnewpassword'] = "Falta la nova contrasenya";
$string['missingpassword'] = "Falta la contrasenya";
$string['missingshortname'] = "Falta la denominació breu";
$string['missingshortsitename'] = "Falta el nom breu de lloc";
$string['missingsitedescription'] = "Falta la descripció del lloc";
$string['missingsitename'] = "Falta el nom del lloc";
$string['missingstrings'] = "Comprovar si falten cadenes";
$string['missingstudent'] = "Has d'elegir alguna cosa";
$string['missingsummary'] = "Falta el resum";
$string['missingteacher'] = "Has de triar alguna cosa";
$string['missingusername'] = "Falta el nom d'usuari";
$string['modified'] = "Modificat";
$string['modulesetup'] = "Ajustant les taules de mòduls";
$string['modulesuccess'] = "\$a taules s'han ajustat correctament";
$string['mostrecently'] = "més recent";
$string['movedown'] = "avall";
$string['movefilestohere'] = "Traslladar els fitxers ací";
$string['movetoanotherfolder'] = "traslladar-los a una altra carpeta";
$string['moveup'] = "amunt";
$string['mustconfirm'] = "Necessites confirmar el teu registre";
$string['mycourses'] = "Els meus cursos";
$string['name'] = "Nom";
$string['namesocial'] = "secció";
$string['nametopics'] = "tema";
$string['nameweeks'] = "setmana";
$string['never'] = "Mai";
$string['newaccount'] = "Nou compte";
$string['newpassword'] = "Nova contrasenya";
$string['newpasswordtext'] = "Hola, \$a->firstname,
La contrasenya del teu compte en '\$a->sitename' ha estat
anul·lada i se te n'ha assignat una nova provisionalment.
Les dades per a fer la connexió són ara les següents:
nom d'usuari: \$a->username
contrasenya: \$a->newpassword
Per favor, vés a aquesta plana i canvia la teua contrasenya:
\$a->link
En la majoria de programes de correu electrònic, l'adreça
s'hauria de presentar com un enllaç blau i només cal clicar-lo.
Si això no funciona, copia i apega l'adreça en la línea
d'adreces de la finestra del teu navegador.
Salutacions de l'administrador de '\$a->sitename',
\$a->signoff
";
$string['newpicture'] = "Nova imatge";
$string['newsitem'] = "Notícia";
$string['newsitems'] = "Notícies";
$string['newsitemsnumber'] = "Notícies per mostrar";
$string['newuser'] = "Nou usuari";
$string['newusers'] = "Nous usuaris";
$string['no'] = "No";
$string['nocoursesyet'] = "No hi ha cursos en aquesta categoria";
$string['noexistingteachers'] = "No hi ha professors";
$string['nograde'] = "Sense nota";
$string['none'] = "";
$string['nopotentialteachers'] = "No hi ha professors potencials";
$string['normal'] = "";
$string['nostudentsyet'] = "Encara no hi ha cap estudiant inscrit en aquest curs";
$string['nosuchemail'] = "Adreça de correu desconeguda";
$string['noteachersyet'] = "Encara no hi ha cap professor en aquest curs";
$string['notenrolled'] = "\$a no està inscrit en aquest curs.";
$string['nothingnew'] = "Cap novetat des de l'última entrada";
$string['nousersyet'] = "Encara no hi ha usuaris";
$string['now'] = "ara";
$string['numberweeks'] = "Nombre de setmanes/temes";
$string['numdays'] = "\$a dies";
$string['numminutes'] = "";
$string['numviews'] = "\$a vistes";
$string['numweeks'] = "\$a setmanes";
$string['numwords'] = "\$a paraules";
$string['numyears'] = "\$a anys";
$string['ok'] = "OK";
$string['opentoguests'] = "Accés d'invitats";
$string['optional'] = "opcional";
$string['order'] = "Ordre";
$string['outline'] = "Esquema";
$string['participants'] = "Participants";
$string['password'] = "Contrasenya";
$string['passwordchanged'] = "S'ha canviat la contrasenya";
$string['passwordsdiffer'] = "Les contrasenyes no coincideixen";
$string['passwordsent'] = "S'ha enviat la contrasenya";
$string['passwordsenttext'] = " <P>S'ha enviat un missatge per correu electrònic a la teua adreça \$a->email.
<P><B>Per favor, busca en el teu correu la contrasenya nova</B>
<P>Aquesta nova contrasenya ha estat generada automàticament, de manera que potser voldràs <A HREF=\$a->link>canviar-la per una altra més fàcil de recordar</A>.";
$string['people'] = "Gent";
$string['personalprofile'] = "Perfil personal";
$string['phone'] = "Telèfon";
$string['potentialteachers'] = "Professors potencials";
$string['preferredlanguage'] = "Idioma de preferència";
$string['preview'] = "Vista prèvia";
$string['previeworchoose'] = "Prova o tria un tema";
$string['question'] = "Pregunta";
$string['readme'] = "LLEGIU-ME";
$string['recentactivity'] = "Activitat recent";
$string['removeteacher'] = "Eliminar professor";
$string['rename'] = "Canviar nom";
$string['requireskey'] = "Aquest curs necessita una clau d'inscripció";
$string['resources'] = "Recursos";
$string['returningtosite'] = "Tornes a aquest lloc?";
$string['revert'] = "Tornar";
$string['role'] = "Funció";
$string['savechanges'] = "Guardar canvis";
$string['search'] = "Buscar";
$string['searchagain'] = "Tornar a buscar";
$string['searchresults'] = "Resultats";
$string['section'] = "Secció";
$string['selectacountry'] = "Tria un país";
$string['senddetails'] = "Rebre les meues dades via email";
$string['separateandconnected'] = "Formes de coneixement separades i connectades";
$string['serverlocaltime'] = "Hora del servidor local";
$string['settings'] = "Opcions";
$string['shortname'] = "Nom curt";
$string['shortsitename'] = "Nom curt del lloc (p. e. una paraula)";
$string['showallcourses'] = "Mostrar tots els cursos";
$string['showalltopics'] = "Mostrar tots els temes";
$string['showallweeks'] = "Mostrar totes les setmanes";
$string['showlistofcourses'] = "Mostrar llista de cursos";
$string['showonlytopic'] = "Mostrar només el tema \$a";
$string['showonlyweek'] = "Mostrar només la setmana \$a";
$string['showtheselogs'] = "Mostrar aquests diaris";
$string['site'] = "Lloc";
$string['sitelogs'] = "Diaris del lloc";
$string['sitenews'] = "Notícies del lloc";
$string['sites'] = "Llocs";
$string['sitesettings'] = "Opcions del lloc";
$string['size'] = "Mida";
$string['socialheadline'] = "Fòrum social - últims temes";
$string['someallowguest'] = "Alguns cursos poden permetre l'accés d'invitats";
$string['startdate'] = "Data d'inici del curs";
$string['startsignup'] = "Comença creant-te un compte d'usuari nou!";
$string['status'] = "Estatus";
$string['stringsnotset'] = "Les cadenes següents no estan definides en \$a";
$string['success'] = "Èxit";
$string['summary'] = "Resum";
$string['summaryof'] = "Resum de \$a";
$string['supplyinfo'] = "Dóna'ns algunes dades personals";
$string['teacheronly'] = "només per a \$a";
$string['textformat'] = "Només text";
$string['thanks'] = "Gràcies";
$string['theme'] = "Tema";
$string['themesaved'] = "Nou tema guardat";
$string['thislanguage'] = "Català";
$string['timezone'] = "Zona horària";
$string['today'] = "Avui";
$string['todaylogs'] = "Diaris d'avui";
$string['toomanytoshow'] = "Hi ha massa usuaris per a mostrar-los tots";
$string['topic'] = "Tema";
$string['topicoutline'] = "Esquema per temes";
$string['turneditingoff'] = "Desactivar edició";
$string['turneditingon'] = "Activar edició";
$string['undecided'] = "No decidit";
$string['unenrol'] = "Esborrar d'aquest curs";
$string['unenrolme'] = "Esborrar de \$a";
$string['unenrolsure'] = "Estàs segur que vols esborrar \$a d'aquest curs?";
$string['unsafepassword'] = "Aquesta contrasenya no és segura, prova'n un altre";
$string['unzip'] = "Unzip";
$string['update'] = "Actualitzar";
$string['updated'] = "Actualitzat \$a";
$string['updatemyprofile'] = "Actualitzar perfil";
$string['updatesevery'] = "S'actualitza cada \$a segons";
$string['updatethiscourse'] = "Actualitzar aquest curs";
$string['updatinga'] = "Actualitzant un \$a";
$string['updatingain'] = "Actualitzant un \$a->what en \$a->in";
$string['upload'] = "Penjar";
$string['uploadafile'] = "Penjar un fitxer";
$string['uploadthisfile'] = "Penjar aquest fitxer";
$string['userdeleted'] = "";
$string['userdescription'] = "Descripció";
$string['username'] = "Nom d'usuari";
$string['usernameexists'] = "Aquest nom d'usuari ja existeix, tria'n un altre";
$string['userprofilefor'] = "Perfil d'usuari per a \$a";
$string['users'] = "Usuaris";
$string['webpage'] = "Pàgina web";
$string['week'] = "Setmana";
$string['weeklyoutline'] = "Esquema per setmanes";
$string['welcometocourse'] = "Benvingut a \$a";
$string['welcometocoursetext'] = "Benvingut a \$a->coursename!
Una de les primeres coses que hauries de fer és editar el teu
perfil de manera que puguem conèixer-te una mica més:
\$a->profileurl";
$string['withchosenfiles'] = "Els fitxers seleccionats";
$string['wordforstudent'] = "La teua paraula per a 'Estudiant'";
$string['wordforstudenteg'] = "p. e. Estudiant, Participant, etc.";
$string['wordforstudents'] = "La teua paraula per a 'Estudiants'";
$string['wordforstudentseg'] = "p. e. Estudiants, Participants, etc.";
$string['wordforteacher'] = "La teua paraula per a 'Professor'";
$string['wordforteachereg'] = "p. e. Professor, Tutor, Facilitador, etc.";
$string['wordforteachers'] = "La teua paraula per a 'Professors'";
$string['wordforteacherseg'] = "p. e. Professors, Tutors, Facilitadors, etc.";
$string['wrongpassword'] = "Contrasenya incorrecta per a aquest nom d'usuari";
$string['yes'] = "";
$string['yourlastlogin'] = "La teua última entrada va ser";
$string['yourself'] = "tu mateix";
$string['yourteacher'] = "el teu \$a";
$string[thischarset] = "iso-8859-1";
$string[allow] = "Permetre";
$string[allownot] = "No permetre";
$string[assessment] = "Avaluació";
$string[closewindow] = "Tanca aquesta finestra";
$string[configauth] = "Choose the authentication module you want to use. The default is 'email' and has the best security. The method 'none' has no checking whatsoever - be careful using it unless you really know what you are doing.";
$string[configgdversion] = "Indicate the version of GD that is installed. The version shown by default is the one that has been auto-detected. Don't change this unless you really know what you're doing.";
$string[configerrorlevel] = "Choose the amount of PHP warnings that you want to be displayed. Normal is usually the best choice.";
$string[confightmleditor] = "Choose whether or not to allow use of the embedded HTML text editor. Even if you choose allow, this editor will only appear when the user is using a compatible browser (IE 5.5 or later). Users can also choose not to use it.";
$string[configintro] = "On this page you can specify a number of configuration variables that help make Moodle work properly on your server. Don't worry too much about it - the defaults will usually work fine and you can always come back to this page later and change these settings.";
$string[configlang] = "Choose a default language for the whole site. Users can override this setting later.";
$string[configlangdir] = "Most languages are printed left-to-right, but some, like Arabic and Hebrew, are printed right-to-left.";
$string[configlocale] = "Choose a sitewide locale - this will affect the format and language of dates. You need to have this locale data installed on your operating system. (eg en_US or es_ES). If you don't know what to choose leave it blank.";
$string[configlongtimenosee] = "If students haven't logged in for a very long time, then they are automatically unsubscribed from courses. This parameter specifies that time limit.";
$string[configmaxeditingtime] = "This specifies the amount of time people have to re-edit forum postings, journal feedback etc. Usually 30 minutes is a good value.";
$string[configproxyhost] = "If this <B>server</B> needs to use a proxy computer (eg a firewall) to access the Internet, then provide the proxy hostname and port here. Otherwise leave it blank.";
$string[configslasharguments] = "Files (images, uploads etc) are provided via a script using 'slash arguments' (the second option here). This method allows files to be more easily cached in web browsers, proxy servers etc. Unfortunately, some PHP servers don't allow this method, so if you have trouble viewing uploaded files or images (eg user pictures), set this variable to the first option";
$string[configsmtphosts] = "Give the full name of one or more local SMTP servers that Moodle should use to send mail (eg 'mail.a.com' or 'mail.a.com;mail.b.com'). If you leave it blank, Moodle will use the PHP default method of sending mail.";
$string[configsmtpuser] = "If you have specified an SMTP server above, and the server requires authentication, then enter the username and password here.";
$string[configunzip] = "Indicate the location of your unzip program (Unix only). This is needed to unpack zip archives on the server.";
$string[configzip] = "Indicate the location of your zip program (Unix only). This is needed to create zip archives on the server.";
$string[day] = "dia";
$string[days] = "dies";
$string[displayingusers] = "Llista d'usuaris \$a->start a \$a->end";
$string[documentation] = "Moodle Documentation";
$string[downloadexcel] = "Baixar en format Excel";
$string[downloadtext] = "Baixar en format text";
$string[formathtml] = "Format HTML";
$string[formattext] = "Autoformat Moodle";
$string[formattexttype] = "Formatant";
$string[grades] = "Notes";
$string[helprichtext] = "Referent a l'editor HTML Richtext";
$string[hour] = "hora";
$string[hours] = "hores";
$string[htmleditor] = "Utilitzar l'editor HTML Richtext (requereix IE 5.5 o posterior)";
$string[htmleditoravailable] = "L'editor Richtext està disponible";
$string[htmleditordisabled] = "Tens desactivat l'editor Richtext en el teu perfil d'usuari";
$string[htmleditordisabledadmin] = "L'administrator d'aquest lloc ha desactivat l'editor Richtext";
$string[htmleditordisabledbrowser] = "L'editor Richtext no està disponible perquè no estàs utilitzant l'Internet Explorer versió 5.5 o posterior";
$string[jumpto] = "Saltar a...";
$string[langltr] = "Language direction left-to-right";
$string[langrtl] = "Language direction right-to-left";
$string[loginstepsnone] = "Hola!<P>Per tal de tenir accés complet als cursos t'has de crear
un compte d'usuari.<P>Consisteix simplement a triar un nom d'usuari i una contrasenya amb els quals t'identificaràs, després, en aquesta pàgina.<P>Si algú ja ha triat abans el mateix nom d'usuari que tu, n'hauràs de provar un altre diferent.";
$string[maximumshort] = "Max";
$string[min] = "minut";
$string[mins] = "minuts";
$string['new'] = "Nou";
$string[nofilesyet] = "Encara no s'han penjat fitxers en aquest curs";
$string[noimagesyet] = "Encara no s'han penjat imatges en aquest curs";
$string[sec] = "segon";
$string[secs] = "segons";
$string[studentnotallowed] = "Ho lamentem, no pots entrar en aquest curs com a '\$a'";
$string[textediting] = "Quan edites text";
$string[texteditor] = "Utilitzar formularis web normals";
$string[total] = "Total";
$string[updatethis] = "Actualitzar aquest \$a";
$string[showrecent] = "Mostrar activitat recent";
$string[authentication] = "Autenticació";
$string[department] = "Departament";
$string[hits] = "Peticions";
$string[hitsoncourse] = "Peticions en \$a->coursename per \$a->username";
$string[hitsoncoursetoday] = "Peticions avui en \$a->coursename per \$a->username";
$string[language] = "Idioma";
$string[passwordrecovery] = "Sí, ajuda'm a connectar-me";
$string[show] = "Mostrar";
$string[hide] = "Ocultar";
$string[someerrorswerefound] = "Falta informació, o és incorrecta. Detalls més avall.";
$string[unusedaccounts] = "Els comptes no utilitzats durant \$a dies o més es desconnecten del curs automàticament.";
?>
+103
View File
@@ -0,0 +1,103 @@
<?PHP // $Id$
#------------------------------------------------------------
$string['modulename'] = "Qüestionari";
$string['modulenameplural'] = "Qüestionaris";
#------------------------------------------------------------
$string['addselectedtoquiz'] = "Afegir la selecció al qüestionari";
$string['alwaysavailable'] = "Disponible sempre";
$string['alreadysubmitted'] = "Sembla que ja has enviat aquest qüestionari";
$string['answer'] = "Resposta";
$string['answerhowmany'] = "Una resposta o múltiples respostes?";
$string['answersingleyes'] = "Només una resposta";
$string['answersingleno'] = "Múltiples respostes";
$string['attempt'] = "Intent \$a";
$string['attemptfirst'] = "Primer intent";
$string['attemptlast'] = "Darrer intent";
$string['attemptquiznow'] = "Començar el qüestionari";
$string['attempts'] = "Intents";
$string['attemptsallowed'] = "Intents permesos";
$string['attemptsunlimited'] = "Intents il·limitats";
$string['backtoquiz'] = "Tornar a l'edició del qüestionari";
$string['bestgrade'] = "Millor nota";
$string['casesensitive'] = "Majúscules i minúscules";
$string['caseyes'] = "Distingir majúscules i minúscules";
$string['caseno'] = "No distingir majúscules i minúscules";
$string['categories'] = "Categories";
$string['category'] = "Categoria";
$string['categoryinfo'] = "Informació sobre la categoria";
$string['categorymove'] = "La categoria '\$a->name' conté \$a->count preguntes. Tria una altra categoria per traslladar-les.";
$string['categorymoveto'] = "Traslladar a aquesta categoria";
$string['choice'] = "Opció";
$string['choices'] = "Opcions disponibles";
$string['correctanswer'] = "Resposta correcta";
$string['correctanswers'] = "Respostes correctes";
$string['createnewquestion'] = "Crear una nova pregunta";
$string['daysavailable'] = "Dies disponible";
$string['default'] = "Per defecte";
$string['defaultinfo'] = "La categoria per defecte per a les preguntes.";
$string['deletequestioncheck'] = "Estàs absolutament segur que vols esborrar '\$a'?";
$string['editcategories'] = "Editar categories";
$string['editingquiz'] = "Editar qüestionari";
$string['editingquestion'] = "Editar una pregunta";
$string['editingshortanswer'] = "Editar una pregunta de resposta breu";
$string['editingtruefalse'] = "Editar una pregunta de vertader/fals";
$string['editingmultichoice'] = "Editar una pregunta de múltiples opcions";
$string['false'] = "Fals";
$string['feedback'] = "Comentari";
$string['filloutoneanswer'] = "Has d'emplenar almenys una possible resposta. Les respostes en blanc no compten.";
$string['fillouttwochoices'] = "Has d'emplenar almenys dues opcions. Les opcions en blanc no compten.";
$string['fractionsaddwrong'] = "Les qualificacions que has donat no sumen 100%%
(sumen \$a%%).
<BR>Vols tornar enrere i corregir-ho?";
$string['fractionsnomax'] = "Una de les respostes ha de valer 100%%, per tal que siga
<BR>possible obtenir la qualificació màxima en aquesta pregunta.
<BR>Vols tornar enrere i corregir-ho?";
$string['gradeaverage'] = "Nota mitjana";
$string['gradehighest'] = "Nota més alta";
$string['grademethod'] = "Mètode de qualificació";
$string['guestsno'] = "Ho lamentem, els invitats no poden veure els qüestionaris";
$string['imagedisplay'] = "Imatge que es mostrarà";
$string['introduction'] = "Introducció";
$string['marks'] = "Marques";
$string['multichoice'] = "Opcions múltiples";
$string['noanswers'] = "No s'ha seleccionat cap resposta!";
$string['noattempts'] = "Aquest qüestionari no s'ha contestat";
$string['nomoreattempts'] = "No es permeten més intents";
$string['noquestions'] = "Encara no s'han afegit preguntes";
$string['publish'] = "Publicar";
$string['question'] = "Pregunta";
$string['questioninuse'] = "La pregunta '\$a' s'està utilitzant actualment:";
$string['questions'] = "Preguntes";
$string['questionname'] = "Títol de la pregunta";
$string['quizavailable'] = "El qüestionari està disponible fins: \$a";
$string['quizclose'] = "Tancar el qüestionari";
$string['quizclosed'] = "Aquest qüestionari es va tancar el \$a";
$string['quizopen'] = "Obrir el qüestionari";
$string['quiznotavailable'] = "Aquest qüestionari estarà disponible a partir de: \$a";
$string['random'] = "Selecció aleatòria";
$string['regrade'] = "Recalcular les qualificacions";
$string['regradecomplete'] = "S'han recalculat totes les qualificacions";
$string['regradecount'] = "S'han modificat \$a->changed / \$a->attempt qualificacions";
$string['rename'] = "Canviar el nom";
$string['report'] = "Informes";
$string['save'] = "Guardar";
$string['savegrades'] = "Guardar qualificacions";
$string['savemyanswers'] = "Guardar les meues respostes";
$string['savequiz'] = "Guardar tot el qüestionari";
$string['score'] = "Puntuació bruta";
$string['select'] = "Seleccionar";
$string['selectcategoryabove'] = "Seleccionar una categoria";
$string['shortanswer'] = "Resposta breu";
$string['show'] = "Mostrar";
$string['showfeedback'] = "Mostrar comentaris al final?";
$string['showcorrectanswer'] = "Incloure la resposta correcta amb els comentaris?";
$string['time'] = "Temps";
$string['timetaken'] = "Temps emprat";
$string['timecompleted'] = "Completat";
$string['true'] = "Vertader";
$string['truefalse'] = "Vertader/Fals";
$string['type'] = "Tipus";
$string['viewallanswers'] = "Veure \$a qüestionaris completats";
$string['yourfinalgradeis'] = "La teva qualificació final en aquest qüestionari és \$a";
+28
View File
@@ -0,0 +1,28 @@
<?PHP // $Id$
#------------------------------------------------------------
$string[modulename] = "Lectura";
$string[modulenameplural] = "Lectures";
#------------------------------------------------------------
$string[addreading] = "Afegir lectura";
$string[editingareading] = "Editar una lectura";
$string[example] = "Exemple";
$string[examplereference] = "Tobin, K. & Tippins, D (1993) Constructivism as a Referent for Teaching and Learning. In: K. Tobin (Ed) The Practice of Constructivism in Science Education, pp 3-21, Lawrence-Erlbaum, Hillsdale, NJ.";
$string[exampleurl] = "http://www.example.com/somedirectory/somefile.html";
$string[filename] = "Nom del fitxer";
$string[fulltext] = "Text complet";
$string[htmlfragment] = "Fragment HTML";
$string[neverread] = "Mai llegit";
$string[note] = "Nota";
$string[notefile] = "Per penjar mes fitxers al curs (de manera que apareguen en aquesta llista) fes servir l'<A HREF=\$a >Administrador de Fitxers</A>.";
$string[notypechosen] = "Has de triar un tipus. Fes servir el botó back/atr‡s/enrere per tornar i intenta-ho un altra vegada.";
$string[readingtype] = "Tipus de recurs";
$string[readingtype1] = "Referència";
$string[readingtype2] = "Pàgina Web";
$string[readingtype3] = "Penjar fitxer";
$string[readingtype4] = "Només text";
$string[readingtype5] = "Enllaç Web";
$string[readingtype6] = "Text HTML";
?>
+28
View File
@@ -0,0 +1,28 @@
<?PHP // $Id$
#------------------------------------------------------------
$string['modulename'] = "Recurs";
$string['modulenameplural'] = "Recursos";
#------------------------------------------------------------
$string['addresource'] = "Afegir un recurs";
$string['editingaresource'] = "Editar un recurs";
$string['example'] = "Exemple";
$string['examplereference'] = "Tobin, K. & Tippins, D (1993) Constructivism as a Referent for Teaching and Learning. In: K. Tobin (Ed) The Practice of Constructivism in Science Education, pp 3-21, Lawrence-Erlbaum, Hillsdale, NJ.";
$string['exampleurl'] = "http://www.example.com/somedirectory/somefile.html";
$string['filename'] = "Nom del fitxer";
$string['fulltext'] = "Text complet";
$string['htmlfragment'] = "Fragment HTML";
$string['neverseen'] = "Mai vist";
$string['note'] = "Nota";
$string['notefile'] = "Per a pujar més fitxers al curs (de manea que apareguen en esta llista) fes servir l'<A HREF=\$a >Administrador de Fitxers</A>.";
$string['notypechosen'] = "Has de triar un tipus. Fes servir el botó Enrere/Back per tornar enrere i torna a intentar-ho.";
$string['resourcetype'] = "Tipus de recurs";
$string['resourcetype1'] = "Referència";
$string['resourcetype2'] = "Pàgina web";
$string['resourcetype3'] = "Fitxer";
$string['resourcetype4'] = "Només text";
$string['resourcetype5'] = "Enllaç web";
$string['resourcetype6'] = "Text HTML";
?>
+47
View File
@@ -0,0 +1,47 @@
<?PHP // $Id$
#------------------------------------------------------------
$string[modulename] = "Enquesta";
$string[modulenameplural] = "Enquestes";
#------------------------------------------------------------
$string[actual] = "Actual";
$string[allquestions] = "Totes les preguntes per ordre, tots els estudiants";
$string[allscales] = "Totes les escales, tots els estudiants";
$string[alreadysubmitted] = "Ja has enviat aquesta enquesta";
$string[analysisof] = "Anàlisi de \$a";
$string[ipreferthat] = "Preferisc que";
$string[ifoundthat] = "Trobe que";
$string[done] = "Acabat";
$string[download] = "Baixar";
$string[downloadexcel] = "Baixar les dades per a Excel";
$string[downloadinfo] = "Pots baixar les dades completes sense tractar de l'enquesta en un format adequat per a analitzar en Excel, SPSS o altres paquets.";
$string[downloadtext] = "Baixar les dades en un fitxer de text";
$string[editingasurvey] = "Editant una enquesta";
$string[helpsurveys] = "Ajuda sobre els diferents tipus d'enquestes";
$string[introtext] = "Text introductori";
$string[name] = "Nom";
$string[nobodyyet] = "Ningú ha completat encara l'enquesta";
$string[notdone] = "No està fet encara";
$string[notes] = "La teua anàlisi i notes privades";
$string[peoplecompleted] = "\$a persones han completat l'enquesta fins ara";
$string[preferred] = "Preferit";
$string[questions] = "Preguntes";
$string[question] = "Pregunta";
$string[report] = "Informe de l'enquesta";
$string[scales] = "Escales";
$string[savednotes] = "S'han guardat les teues notes";
$string[seemoredetail] = "Clica ací per veure mes detalls";
$string[selectedquestions] = "Preguntes seleccionades d'una escala, tots els estudiants";
$string[summary] = "Resum";
$string[surveycompleted] = "Has completat l'enquesta. El gràfic de baix mostra un resum dels teus resultats comparats amb la mitjana de la classe.";
$string[surveyname] = "Nom de l'enquesta";
$string[surveysaved] = "S'ha guardat l'enquesta";
$string[surveytype] = "Tipus d'enquesta";
$string[thanksforanswers] = "Gràcies per contestar l'enquesta, \$a";
$string['time'] = "Temps";
$string[viewsurveyresponses] = "Veure \$a respostes de l'enquesta";
$string[newsurveyresponses] = "Noves respostes a les enquestes";
?>
+11 -1
View File
@@ -1,7 +1,8 @@
<?PHP // $Id$
// assignment.php - created with Moodle 1.0.6 dev (2002101001)
// assignment.php - created with Moodle 1.0.6 dev 3 (2002102101)
$string['allowresubmit'] = "Erneutes Einreichen erlauben";
$string['assignmentdetails'] = "Aufgabendetails";
$string['assignmentname'] = "Aufgabenname";
$string['assignmenttype'] = "Aufgabentyp";
@@ -22,8 +23,17 @@ $string['submissionfeedback'] = "Eintragsmeldung";
$string['submissions'] = "Einträge";
$string['submitassignment'] = "Tragen Sie Ihre Aufgabe ein unter Verwendung dieses Formulars";
$string['submitted'] = "Eingetragen";
$string['typeoffline'] = "Offlineaktivität ";
$string['typeuploadsingle'] = "Laden Sie einzige Datei hoch, Wert zwischen 0 - 100 Punkten";
$string['uploadbadname'] = "Dieser Dateiname enthält unzulässige Zeichen und kann nicht hochgeladen erden.";
$string['uploadedfiles'] = "hochgeladene Dateien";
$string['uploaderror'] = "Beim Hochladen der Datei trat ein Fehler auf";
$string['uploadfailnoupdate'] = "Die Datei wurde korrekt hochgeladen, aber Ihr Eintrag kann nicht aktualisiert werden!";
$string['uploadfiletoobig'] = "Entschuldigung, aber diese Datei ist zu groß (Die Begrenzung ist \$a Bytes)";
$string['uploadnofilefound'] = "Es wurke keine Datei gefunden . Sind Sie sicher, dass Sie eine für das Hochladen ausgewählt haben?";
$string['uploadnotregistered'] = "'\$a' wurde korrekt hochgeladen, aber der Eintrag nicht registriert'";
$string['uploadsuccess'] = "'\$a' wurde erfolgreich hochgeladen";
$string['viewfeedback'] = "Aufgabengrad und Rückmeldung anzeigen ";
$string['viewsubmissions'] = "Zeige \$a eingetragen Aufgaben ";
$string['yoursubmission'] = "Ihre Eintrag";
+57
View File
@@ -0,0 +1,57 @@
<?PHP // $Id$
// auth.php - created with Moodle 1.0.6 dev 3 (2002102101)
$string['auth_dbdescription'] = "This method uses an external database table to check whether a given username and password is valid. If the account is a new one, then information from other fields may also be copied across into Moodle.";
$string['auth_dbextrafields'] = "These fields are optional. You can choose to pre-fill some Moodle user fields with information from the <B>external database fields</B> that you specify here. <P>If you leave these blank, then defaults will be used.<P>In either case, the user will be able to edit all of these fields after they log in.";
$string['auth_dbfieldpass'] = "Name of the field containing passwords";
$string['auth_dbfielduser'] = "Name of the field containing usernames";
$string['auth_dbhost'] = "The computer hosting the database server.";
$string['auth_dbname'] = "Name of the database itself";
$string['auth_dbpass'] = "Password matching the above username";
$string['auth_dbtable'] = "Name of the table in the database";
$string['auth_dbtitle'] = "Use an external database";
$string['auth_dbtype'] = "The database type (See the <A HREF=../lib/adodb/readme.htm#drivers>ADOdb documentation</A> for details)";
$string['auth_dbuser'] = "Username with read access to the database";
$string['auth_emaildescription'] = "Email confirmation is the default authentication method. When the user signs up, choosing their own new username and password, a confirmation email is sent to the user's email address. This email contains a secure link to a page where the user can confirm their account. Future logins just check the username and password against the stored values in the Moodle database.";
$string['auth_emailtitle'] = "Email-based authentication";
$string['auth_imapdescription'] = "This method uses an IMAP server to check whether a given username and password is valid.";
$string['auth_imaphost'] = "The IMAP server address. Use the IP number, not DNS name.";
$string['auth_imapport'] = "IMAP server port number. Usually this is 143 or 993.";
$string['auth_imaptitle'] = "Use an IMAP server";
$string['auth_imaptype'] = "The IMAP server type. IMAP servers can have different types of authentication and negotiation.";
$string['auth_ldap_bind_dn'] = "If you want to use bind-user to search users, specify it here. Someting like 'cn=ldapuser,ou=public,o=org'";
$string['auth_ldap_bind_pw'] = "Password for bind-user.";
$string['auth_ldap_contexts'] = "List of contexts where users are located. Separate different contexts with ';'. For example: 'ou=users,o=org; ou=others,o=org'";
$string['auth_ldap_host_url'] = "Specify LDAP host in URL-form like 'ldap://ldap.myorg.com/' or 'ldaps://ldap.myorg.com/' ";
$string['auth_ldap_search_sub'] = "Put value &lt;&gt; 0 if you like to search users from subcontexts.";
$string['auth_ldap_update_userinfo'] = "Update user information (firstname, lastname, address..) from LDAP to Moodle. Look at /auth/ldap/attr_mappings.php for mapping information";
$string['auth_ldap_user_attribute'] = "The attribute used to name/search users. Usually 'cn'.";
$string['auth_ldapdescription'] = "This method provides authentication against an external LDAP server.
If the given username and password are valid, Moodle creates a new user
entry in its database. This module can read user attributes from LDAP and prefill
wanted fields in Moodle. For following logins only the username and
password are checked.";
$string['auth_ldapextrafields'] = "These fields are optional. You can choose to pre-fill some Moodle user fields with information from the <B>LDAP fields</B> that you specify here. <P>If you leave these fields blank, then nothing will be transferred from LDAP and Moodle defaults will be used instead.<P>In either case, the user will be able to edit all of these fields after they log in.";
$string['auth_ldaptitle'] = "Use an LDAP server";
$string['auth_nntpdescription'] = "This method uses an NNTP server to check whether a given username and password is valid.";
$string['auth_nntphost'] = "The NNTP server address. Use the IP number, not DNS name.";
$string['auth_nntpport'] = "Server port (119 is the most common)";
$string['auth_nntptitle'] = "Use an NNTP server";
$string['auth_nonedescription'] = "Users can sign in and create valid accounts immediately, with no authentication against an external server and no confirmation via email. Be careful using this option - think of the security and administration problems this could cause.";
$string['auth_nonetitle'] = "No authentication";
$string['auth_pop3description'] = "This method uses a POP3 server to check whether a given username and password is valid.";
$string['auth_pop3host'] = "The POP3 server address. Use the IP number, not DNS name.";
$string['auth_pop3port'] = "Server port (110 is the most common)";
$string['auth_pop3title'] = "Use a POP3 server";
$string['auth_pop3type'] = "Server type. If your server uses certificate security, choose pop3cert.";
$string['authenticationoptions'] = "Authentication options";
$string['authinstructions'] = "Here you can provide instructions for your users, so they know which username and password they should be using. The text you enter here will appear on the login page. If you leave this blank then no instructions will be printed.";
$string['changepassword'] = "Kennwort-URL ändern";
$string['changepasswordhelp'] = "Hier können Sie einen Ort angeben, an dem Ihre Benutzer ihren Nutzernamen/Kennwort ändern können, sofern Sie es vergessen haben. Diese Option wird den Nutzern als Schaltfläche auf Anmeldungsseite angeboten.Wenn Sie dieses Feld leer lassen, wird er nicht angezeigt.";
$string['chooseauthmethod'] = "Choose an authentication method: ";
$string['guestloginbutton'] = "Guest login button";
$string['instructions'] = "Instructions";
$string['showguestlogin'] = "You can hide or show the guest login button on the login page.";
?>
+5 -2
View File
@@ -1,5 +1,5 @@
<?PHP // $Id$
// forum.php - created with Moodle 1.0.6 dev (2002100200)
// forum.php - created with Moodle 1.0.6 dev 3 (2002102101)
$string['addanewdiscussion'] = "Ein neues Diskussion-Thema hinzufügen";
@@ -9,7 +9,7 @@ $string['allowratings'] = "D
$string['allowsdiscussions'] = "Jeder darf in diesem Forum ein Diskussion-Thema beginnen.";
$string['anyfile'] = "Jede Datei";
$string['attachment'] = "Anhang";
$string['bynameondate'] = "durch \$a->name - \$a->date ";
$string['bynameondate'] = "von \$a->name - \$a->date ";
$string['couldnotadd'] = "Eintrag konnte aufgrund eines unbekannten Fehlers nicht hinzugefügt werden.";
$string['couldnotdeleteratings'] = "Das kann nicht gelöscht werden, weil es schon bewertet wurde .";
$string['couldnotdeletereplies'] = "Das kann nicht gelöscht werden, weil es schon beantwortet wurde .";
@@ -58,6 +58,7 @@ $string['newforumposts'] = "Neue Foren-Beitr
$string['nodiscussions'] = "Es befindet sich noch kein Diskussionsthema in diesem Forum";
$string['noguestpost'] = "Gäste dürfen hier nicht eintragen";
$string['noposts'] = "Keine Beiträge";
$string['nopostscontaining'] = "Es wurden keine in ' \$a' enthaltenen Beiträge gefunden";
$string['nosubscribers'] = "Momentan gibt es keine Teilnehmer in diesem Forum";
$string['nownotsubscribed'] = "\$a->name wird keine Kopien von '\$a->forum' per Email erhalten";
$string['nowsubscribed'] = "\$a->name wird Kopien von '\$a->forum' per Email erhalten";
@@ -68,6 +69,7 @@ $string['openmode1'] = "Keine Diskussionen, aber Atworten erlaubt";
$string['openmode2'] = "Discussions and replies are allowed";
$string['parentofthispost'] = "Verfasser dieses Beitrags";
$string['postadded'] = "Ihr Eintrag wurde erfolgreich hinzugefügt. <P>Sie haben \$a zu bearbeiten, sofern Sie Änderungen machen möchten.";
$string['postincontext'] = "Diesen Beitrag im Zusammenhang einsehen";
$string['postingtip'] = "<B>Eintragstipps
für Antworten
<UL>
@@ -97,6 +99,7 @@ $string['repliesone'] = "\$a Antwort bis jetzt";
$string['reply'] = "Antwort";
$string['search'] = "Suche";
$string['searchforums'] = "Durchsuche Foren";
$string['searchresults'] = "Suchergebnisse";
$string['sendinratings'] = "Aktuelle Bewertung senden";
$string['showsubscribers'] = "Teilnehmer anzeigen";
$string['singleforum'] = "Eine einzelne, einfache Diskussion";

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