Compare commits
293 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 8a6cafc806 | |||
| d34189e123 | |||
| c6f0c3a455 | |||
| 8e664e00b9 | |||
| c6d09f2157 | |||
| 4ba1e2d42a | |||
| bf1969570e | |||
| 8120317e2e | |||
| e545445874 | |||
| da00d31744 | |||
| 2338465770 | |||
| 920bb7ab2f | |||
| 1d43ffdeab | |||
| 7541bc3e87 | |||
| 21ba1d796b | |||
| 469e5eb18e | |||
| 4499b2e273 | |||
| 69d1973c07 | |||
| 42fddf0237 | |||
| fb23e3cbb9 | |||
| 9307692fdf | |||
| 776dc2709f | |||
| d9fd5e8b86 | |||
| 041b1712c6 | |||
| b27f9a32bc | |||
| 24a34da28c | |||
| 5e367a2d56 | |||
| 7a4c13797a | |||
| 64a92277da | |||
| 1e6700a749 | |||
| 651ba4e63c | |||
| 4be38f8bb2 | |||
| 2e4b204b26 | |||
| 1ed2b03af3 | |||
| 339bb5599f | |||
| a8b7b66158 | |||
| 2893d91e46 | |||
| df0594edee | |||
| 517f323637 | |||
| 520283b4e4 | |||
| 15a2a4e555 | |||
| 261be01672 | |||
| 6ab29e19a4 | |||
| 86400f05f5 | |||
| 467aaec630 | |||
| a8a71844e4 | |||
| 657423c8f3 | |||
| 95ea4a41ad | |||
| 2348daf12c | |||
| ec2e229a0f | |||
| d72788c346 | |||
| 81ef6a5ee5 | |||
| ff4f23fdcc | |||
| 0fa2146388 | |||
| 3e8ff7019f | |||
| 2ccb36740b | |||
| a7ce613296 | |||
| 035cdbff1a | |||
| bea7a51e3c | |||
| 8ea300947d | |||
| 666122b94b | |||
| 8da0e0e031 | |||
| 3ad6393067 | |||
| 17820bd5bd | |||
| 39246b72f8 | |||
| 85098089d1 | |||
| 3475d55ee7 | |||
| c1e735bb28 | |||
| a08fe5809a | |||
| b419cb6e28 | |||
| 3086f3f6cf | |||
| 048ccc473a | |||
| 88e729beed | |||
| d391e3b1ee | |||
| 6cc0361107 | |||
| c655755d92 | |||
| 64efda84b5 | |||
| f42cf95f3c | |||
| 5c36a37c9f | |||
| 0581a9f7c8 | |||
| b275ff65cb | |||
| 71d552f677 | |||
| 83173d563c | |||
| fc05fccb64 | |||
| 33651b3d3e | |||
| 4d35cddd8a | |||
| 2f0c25fc75 | |||
| 982d256d95 | |||
| 66fe2bb262 | |||
| e746ec3416 | |||
| d40c314a0a | |||
| 56b21759e5 | |||
| 9ae472a374 | |||
| 7f1717c61e | |||
| 708964056e | |||
| bcd6e7184f | |||
| 92710226a5 | |||
| 466558e349 | |||
| caa963b03b | |||
| 0cf3883167 | |||
| ef62651f02 | |||
| b335cae1d3 | |||
| cff8ba5a98 | |||
| c351cf2799 | |||
| d751ddcb5d | |||
| 372ce3d10c | |||
| ad40c8a23c | |||
| 3b9a79f977 | |||
| 89b5432563 | |||
| fd6a7ee524 | |||
| 6ae24de0e1 | |||
| 7c58aee6c7 | |||
| 7ff671df29 | |||
| b3f9585bcb | |||
| 02accd9c6a | |||
| f10ed36d8d | |||
| b913b369e8 | |||
| f74dcc5e08 | |||
| 009b59336b | |||
| 34daec9b3b | |||
| 780db23080 | |||
| 6e07f68039 | |||
| 1e77d2035c | |||
| d26c7f1740 | |||
| bb90c4e867 | |||
| 277d2d9f3e | |||
| 3790f3a151 | |||
| 15e4b2ecd9 | |||
| a406cdec66 | |||
| bd4707bf29 | |||
| 68e1b65291 | |||
| b66265fe0b | |||
| bdbf373097 | |||
| 8afe23aa9a | |||
| 4ef1e78349 | |||
| 3c1cb3178b | |||
| b03b72770b | |||
| 076b229292 | |||
| 62c13a2f3e | |||
| 60459ef768 | |||
| 8297c9a012 | |||
| 2827f134cf | |||
| 35a48c9ae4 | |||
| dfe952f2ea | |||
| e1e499e02c | |||
| 9127aca8cd | |||
| 2b8d022c20 | |||
| e3234db924 | |||
| dbd019866f | |||
| c49de76319 | |||
| e1fb2ab5e8 | |||
| da978ae4c7 | |||
| b9b2750adb | |||
| 303077fdb5 | |||
| 60f18531c8 | |||
| 123d2ebbc5 | |||
| 817c698e8f | |||
| 704da28e4d | |||
| 23cbf014c0 | |||
| bf09e379a4 | |||
| 98bc913c2c | |||
| df3988ea8b | |||
| 3829c7bdd0 | |||
| bb56980c83 | |||
| d5b94ef46c | |||
| d17bdf2b37 | |||
| d1b4e17267 | |||
| dce48fc85a | |||
| b2649432db | |||
| 085bd98e7e | |||
| 0431bd7c73 | |||
| cc94d11b83 | |||
| d483bcd35d | |||
| 98c4eae3ac | |||
| db5b2eaa17 | |||
| 661890114b | |||
| a15803d3d8 | |||
| 2f2e3a49a3 | |||
| 82af8447ed | |||
| 5f29b7e9c5 | |||
| f8ef7d66a2 | |||
| cfc12f2d97 | |||
| a6fcdf98af | |||
| 7e72f66016 | |||
| 21d7e306b1 | |||
| 4a16445a3a | |||
| 34e46e5787 | |||
| fcf8e83671 | |||
| 910d1731af | |||
| 9769da67ab | |||
| 81b635c360 | |||
| e0dfdf25f8 | |||
| 342f96b5a3 | |||
| 54262b876f | |||
| 05da6502ba | |||
| 0aea12d689 | |||
| ff446576af | |||
| c75f5b4348 | |||
| b68de3e4d9 | |||
| 13beeacbcd | |||
| cbb0fee071 | |||
| 553064412d | |||
| 469a4e8568 | |||
| 3b5bf411db | |||
| 48e4f8bc3a | |||
| 0aa65a3935 | |||
| 3635d82ff3 | |||
| 7304b852cd | |||
| 07358d40a4 | |||
| ad81212ec3 | |||
| 8f1370c603 | |||
| 7c0f298426 | |||
| 76d6be7020 | |||
| e34461f5ea | |||
| cdc27f74a3 | |||
| f7e4436690 | |||
| 26d037e63a | |||
| 2ee50b1a5d | |||
| 723974203f | |||
| 584f0a10ed | |||
| 7bee16d404 | |||
| c408b0c49b | |||
| dfc9ba9bbe | |||
| 3e50a13968 | |||
| 4359e8f715 | |||
| f0207959ab | |||
| b1ae5fb0a8 | |||
| d897cae419 | |||
| 14272cdc38 | |||
| 4fdb415494 | |||
| f39d5f4576 | |||
| b309c289db | |||
| f762c448ef | |||
| 8dfc9d0f19 | |||
| cdb56e3dc5 | |||
| f426a62eff | |||
| 8552044d4d | |||
| 9a22359743 | |||
| 8f577101f4 | |||
| 9fc3aa87b4 | |||
| 6f3ba7c93d | |||
| 405ea757e6 | |||
| 941dd21efb | |||
| 4242a73f37 | |||
| aa96df8fef | |||
| f9f48383e3 | |||
| 22710216f2 | |||
| b7b4287462 | |||
| 65ccdd8cc8 | |||
| 7cbfca14c7 | |||
| 46217d06b5 | |||
| 5ebe27e22c | |||
| cb909d74ca | |||
| 34fdf5b933 | |||
| 3ea810dab0 | |||
| 4249e34fbf | |||
| 9f58537a53 | |||
| 54e90f2d97 | |||
| 9368247eb6 | |||
| 5331c4645b | |||
| 55dace4186 | |||
| ad6c33dcaa | |||
| 6f4db0e365 | |||
| 32385d38a1 | |||
| b176f8e4cb | |||
| 8b303d1d15 | |||
| effdbf913f | |||
| b7808b3d97 | |||
| ebaf37b55d | |||
| 7209909ec9 | |||
| fa0c7d6d91 | |||
| 024172be96 | |||
| 27c82ede5e | |||
| e149249bd2 | |||
| 533e975551 | |||
| 95152d474a | |||
| 53f2259aa9 | |||
| a5d34d51cb | |||
| d6cd6ec4f6 | |||
| 3129b66906 | |||
| cb87603810 | |||
| 41f2f344ab | |||
| f59d8272e8 | |||
| 660c20a6ba | |||
| 52ab14dd82 | |||
| 519c5a76cd | |||
| 627de17eda | |||
| 4a3e5f7e25 | |||
| 97f3bedc10 | |||
| 3a50203f34 | |||
| e386617506 | |||
| 06a609e91e | |||
| 736458f308 |
+39
-33
@@ -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
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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
@@ -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
@@ -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>
|
||||
|
||||
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
|
||||
|
||||
@@ -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>
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
?>
|
||||
@@ -0,0 +1 @@
|
||||
<!-- No config needed -->
|
||||
@@ -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>
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
@@ -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.
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -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
@@ -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
|
||||
|
||||
@@ -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>
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
@@ -0,0 +1 @@
|
||||
<!-- No config needed -->
|
||||
@@ -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>
|
||||
@@ -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
@@ -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
|
||||
|
||||
?>
|
||||
|
||||
@@ -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>";
|
||||
|
||||
@@ -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) ?>">
|
||||
|
||||
@@ -91,6 +91,7 @@
|
||||
$form->format = "weeks";
|
||||
$form->numsections = 10;
|
||||
$form->newsitems = 5;
|
||||
$form->showrecent = 1;
|
||||
$form->category = 1;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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
@@ -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
@@ -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> ";
|
||||
$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> ";
|
||||
}
|
||||
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§ion=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 " ";
|
||||
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\"> </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> <A HREF=\"$CFG->wwwroot/course/view.php?id=$course->id\">$course->shortname</A> ";
|
||||
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> <A HREF=\"$CFG->wwwroot/course/view.php?id=$course->id\">$course->shortname</A> ";
|
||||
echo "<A HREF=\"$CFG->wwwroot/course/view.php?id=$course->id\">$course->fullname</A>";
|
||||
echo " ";
|
||||
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 "
|
||||
<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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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§ion=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
@@ -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> </TD>";
|
||||
echo "<TD VALIGN=top BGCOLOR=\"$THEME->cellcontent\" WIDTH=\"100%\">";
|
||||
|
||||
if (isediting($course->id)) {
|
||||
$thistopic->summary .= " <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§ion=$topic&add=",
|
||||
$modnames, "section$topic", "", "$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 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§ion=$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
@@ -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> </TD>";
|
||||
echo "<TD VALIGN=top BGCOLOR=\"$THEME->cellcontent\" WIDTH=\"100%\">";
|
||||
|
||||
if (isediting($course->id)) {
|
||||
$thisweek->summary .= " <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§ion=$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§ion=$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
@@ -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> </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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Executable
+21
@@ -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
@@ -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. Copyright information for this software is included below:</P>
|
||||
important functionality. Copyright information for each package is included below:</P>
|
||||
|
||||
<P><B>ADOdb </B>- 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. 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 © 2001 Brent R. Matzelle <bmatzelle@yahoo.com><BR>
|
||||
License: LGPL<BR>
|
||||
URL: <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
@@ -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> </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
@@ -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> </p>
|
||||
<H3><a name="contribute" id="contribute"></a>2. How you can contribute</H3>
|
||||
@@ -229,7 +230,7 @@
|
||||
<blockquote>
|
||||
<p> </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
@@ -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> </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
@@ -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"> </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>
|
||||
|
||||
@@ -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
@@ -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 "nobody" or "apache".</p>
|
||||
</blockquote>
|
||||
<P> </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> </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> </p>
|
||||
@@ -157,15 +202,15 @@
|
||||
<P> </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 "Continue"
|
||||
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 "Continue"
|
||||
link.</p>
|
||||
@@ -247,7 +291,12 @@
|
||||
where this script is run regularly (eg every five minutes). This provides
|
||||
a "heartbeat" 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> </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
@@ -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
File diff suppressed because one or more lines are too long
@@ -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> </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
@@ -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 "bug tracker" site for Moodle, at <a href="http://bugs.moodle.com" target="_top">bugs.moodle.com</a></p>
|
||||
@@ -230,7 +230,7 @@
|
||||
<HR>
|
||||
<p> </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
@@ -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));
|
||||
|
||||
?>
|
||||
|
||||
Executable
+110
@@ -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 "moodle":</p>
|
||||
<blockquote>
|
||||
<p><font face="Courier New, Courier, mono">mysqldump moodle > moodle-backup-2002-10-26.sql</font></p>
|
||||
</blockquote>
|
||||
<p>You can also use the "Export" feature in Moodle's "Manage
|
||||
Database" web interface to do the same thing on all platforms.</p>
|
||||
</blockquote>
|
||||
</blockquote>
|
||||
</blockquote>
|
||||
<h2> </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 "d" parameter to create new directories
|
||||
if necessary, and the "P" 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> </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> </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> </p>
|
||||
<P> </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
@@ -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
@@ -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>";
|
||||
|
||||
|
||||
@@ -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"),
|
||||
|
||||
@@ -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§ion=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 ?>
|
||||
|
||||
|
||||
@@ -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";
|
||||
|
||||
?>
|
||||
@@ -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";
|
||||
?>
|
||||
@@ -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";
|
||||
|
||||
?>
|
||||
@@ -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";
|
||||
|
||||
?>
|
||||
@@ -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'] = "مرحبا! للاتصال الكامل بالحلقات الدراسية سوف يستغرق الأمر لحظات لإنشاء اشتراك جديد على هذا الموقع. كل من الحلقات الدراسية المنفردة قد يكون له أيضا "مفتاح تسجيل" والذي لن تحتاج إليه إلا لاحقا. وهذه هي الخطوات:
|
||||
<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'] = "اسمح";
|
||||
|
||||
|
||||
?>
|
||||
@@ -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";
|
||||
@@ -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";
|
||||
|
||||
?>
|
||||
@@ -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
@@ -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
|
||||
Executable
+42
@@ -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";
|
||||
|
||||
?>
|
||||
Executable
+17
@@ -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";
|
||||
|
||||
?>
|
||||
Executable
+19
@@ -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.
|
||||
|
||||
|
||||
Executable
+131
@@ -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";
|
||||
|
||||
?>
|
||||
Executable
+7
@@ -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ències", "Humanitats", "Salut", etc.
|
||||
|
||||
<P>Tria la que siga més pertinent al teu curs. La teua elecció condicionarà el posicionament del curs dins de la llista de cursos i pot fer que els estudiants el troben més fàcilment.
|
||||
Executable
+17
@@ -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çament clara i una data de finalització. 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à restringit per límits temporals. No cal especificar dates.
|
||||
</UL>
|
||||
|
||||
<P><B>Format social</B></P>
|
||||
<UL>
|
||||
Aquest format està orientat al voltant d'un fòrum principal, el fòrum Social, que apareix a la primera plana. És útil en situacions més informals. Ni tan sols cal que siguen cursos. Per exemple, es pot utilitzar com un tauler d'anuncis departamental.
|
||||
</UL>
|
||||
Executable
+3
@@ -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>
|
||||
Executable
+7
@@ -0,0 +1,7 @@
|
||||
<P ALIGN=CENTER><B>Notícies del curs</B></P>
|
||||
|
||||
<P>Un fòrum especial anomenat "Notícies" apareix en els formats de curs "setmanal" i "per temes". És un bon lloc per enviar anuncis i que els vegen tots els estudiants. (Tots els estudiants estan subscrits per defecte a aquest fòrum, i rebran els anuncis per correu electrònic.)
|
||||
|
||||
<P>Aquest paràmetre determina quantes notícies recents apareixen a la primera plana del curs, dins d'un quadre de notícies situat a baix a la dreta.
|
||||
|
||||
<P>Si el poses a "0 Notícies", llavors no apareixerà el quadre.
|
||||
Executable
+9
@@ -0,0 +1,9 @@
|
||||
<P ALIGN=CENTER><B>Nombre de setmanes/temes del curs</B></P>
|
||||
|
||||
<P>Aquest paràmetre només s'utilitza en els formats de curs "semanal" i "per temes".
|
||||
|
||||
<P>En el format "semanal", especifica el nombre de setmanes que durarà el curs, començ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ò es tradueix en el nombre de "quadres" per davall de la meitat de la plana del curs.
|
||||
Executable
+4
@@ -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í, posa-li'n un ací. S'utilitzarà en diversos llocs en què el nom llarg no és adequat (per exemple en la línia d'assumpte d'un correu electrònic).</P>
|
||||
|
||||
Executable
+11
@@ -0,0 +1,11 @@
|
||||
<P ALIGN=CENTER><B>Data de començament del curs</B></P>
|
||||
|
||||
<P>Ací és on especifiques la data de començament del curs.</p>
|
||||
|
||||
<P>Si fas servir un format de curs "semanal", açò afectarà la visualització de les setmanes. La primera setmana començarà en la data que establisques ací.</P>
|
||||
|
||||
<P>Aquest paràmetre no afectarà els cursos que facen servir els formats "social" o "per temes".</p>
|
||||
|
||||
<P>Tanmateix, un detall que sí que serà afectat és la visualització dels diaris (logs), que fan servir aquesta data com la més antiga que es pot mostrar.</P>
|
||||
|
||||
<P>En general, si el teu curs té una data de començament real, té sentit fixar aquest paràmetre, independentment del format de curs que faces servir.</P>
|
||||
Executable
+11
@@ -0,0 +1,11 @@
|
||||
<P ALIGN=CENTER><B>Clau d'inscripció en el curs</B></P>
|
||||
|
||||
<P>Una clau d'inscripció manté el pú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à inscriure's en el teu curs simplement entrant-hi.</p>
|
||||
|
||||
<P>Si hi poses alguna cosa, aleshores es demanarà aquesta paraula o frase als estudiants que intenten entrar-hi per primera vegada (NOMÉS LA PRIMERA VEGADA).</P>
|
||||
|
||||
<P>La idea és que proporciones la clau a les persones autoritzades utilitzant altres mitjans com ara el correu electrònic, el correu postal, el telè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à de la seua pàgina de perfil d'usuari) i canviar la clau. Els estudiants que s'hagueren inscrit legítimament no es veuran afectats, però els altres no podran tornar a entrar-hi.</P>
|
||||
Executable
+5
@@ -0,0 +1,5 @@
|
||||
<P ALIGN=CENTER><B>Permetre nous debats</B></P>
|
||||
|
||||
<P>En la majoria dels fòrums voldràs que els no professors puguen començar nous temes de debat (fils).
|
||||
|
||||
<P>A vegades, però, voldràs inhabilitar aquesta opció. Per exemple, això és útil en el Fòrum de notícies si vols que només els professors puguen posar notícies a la primera plana del curs. Els estudiants, en tot cas, sempre podran enviar respostes als missatges dels professors.
|
||||
Executable
+11
@@ -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òrum. Aquest fitxer es puja al servidor i es guarda amb el teu missatge.
|
||||
|
||||
<P>Això és útil quan vols compartir una imatge, per exemple, o un document de Word.
|
||||
|
||||
<P>El fitxer pot ser de qualsevol tipus, però en tot cas és molt aconsellable que tinga la típica extensió de tres lletres, per exemple .doc per als documents Word, .gif o .jpg per a imatges, etc. Això farà més fá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çarà l'anterior.
|
||||
|
||||
<P>Si tornes a editar un missatge que té un fitxer adjunt i deixes en blanc el camp de fitxer adjunt, llavors es conservarà el fitxer original.
|
||||
Executable
+11
@@ -0,0 +1,11 @@
|
||||
<P ALIGN=CENTER><B>Tipus de fòrums</B></P>
|
||||
|
||||
<P>Es poden triar diversos tipus de fòrums:
|
||||
|
||||
<P><B>Un debat simple</B> - és un sol tema, tot en una pàgina. Útil per a debats breus i enfocats.
|
||||
|
||||
<P><B>Fòrum estàndard per a ús general</B> - és un fòrum obert en el qual tothom pot iniciar un nou tema en qualsevol moment. Aquest és el millor fòrum de propòsit genè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 és ú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à més desenvolupament en aquesta àrea en futures versions de Moodle.)
|
||||
Executable
+70
@@ -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 "understand
|
||||
things from their point of view". 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., & 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 & 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. &</li>
|
||||
<li>Belenky, M.F. (Eds.), Knowledge, Difference, and Power; Essays inspired
|
||||
by “Women’s Ways of Knowing” (pp. 205-247). New York, NY:
|
||||
Basic Books.</li>
|
||||
<li>Galotti, K. M., Clinchy, B. M., Ainsworth, K., Lavin, B., & 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., & 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>
|
||||
|
||||
Executable
+9
@@ -0,0 +1,9 @@
|
||||
<P ALIGN=CENTER><B>Subscripció als fòrums</B></P>
|
||||
|
||||
<P>Quan una persona és subscrita a un fòrum això vol dir que se li enviaran còpies dels missatges del fòrum per correu electrònic (les còpies s'envien mitja hora després que s'escriu el missatge).
|
||||
|
||||
<P>Normalment la gent pot triar si vol o no vol estar subscrita a cada fòrum.
|
||||
|
||||
<P>Tanmateix, si un processor força la subscripció a un fòrum concret, l'opció desapareix i tots els membres de la classe reben còpies per correu electrònic.
|
||||
|
||||
<P>Això és especialment útil per al Fòrum de notícies i per a tots els fòrums actius durant el començament del curs, mentre tots s'adonen que existeix la possibilitat de subscriure's individualment per correu.
|
||||
Executable
+11
@@ -0,0 +1,11 @@
|
||||
<P ALIGN=CENTER><B>Accés d'invitats</B></P>
|
||||
|
||||
<P>Tens l'opció de permetre "invitats" en el teu curs.
|
||||
|
||||
<P>La gent pot entrar-hi com a invitada per mitjà del botó "Entrar com a invitat" en la pantalla d'entrada.
|
||||
|
||||
<P>Els invitats SEMPRE tenen accés "només de lectura" - això vol dir que no podran deixar missatges ni embolicar de cap manera el curs als estudiants reals.
|
||||
|
||||
<P>Açò pot resultar pràctic quan vulgues deixar entrar col·legues perquè 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ó de dos tipus d'accés d'invitats: amb la clau d'inscripció o sense. Si tries de permetre invitats que tinguen la clau, aleshores l'invitat haurà de donar la clau d'inscripció CADA VEGADA que entra al curs (no com els estudiants, que només l'han donar la primera vegada). Això et permet limitar els invitats. Si tries de permetre invitats sense clau, aleshores qualsevol podrà entrar directament en el curs.
|
||||
Executable
+18
@@ -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à en diferents llocs per representar-te.
|
||||
<P>Per aquesta raó, les millors imatges són primers plànols de la teua cara, però 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ètodes:
|
||||
|
||||
<OL>
|
||||
<LI>Transferint el fitxer des una càmera digital, molt probablement ja les tindràs en el format adequat.
|
||||
<LI>Amb un escàner, assegura't que guardes la foto en format JPEG o PNG.
|
||||
<LI>Si ets artí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> és un lloc excel·lent per a buscar imatges. Quan en trobes una, pots clicar-la amb el botó de la dreta del ratolí i triar "Guardar imatge..." en el menú (el procediment pot ser distint segons l'ordinador).
|
||||
</OL>
|
||||
|
||||
<P>Per a pujar la imatge, clica el botó "Examinar/Browse" en aquesta pàgina d'edició del perfil, i selecciona la imatge des del teu disc dur.
|
||||
<P>NOTA: Assegura't que el fitxer no és més gran que la mida màxima, o no pujarà.
|
||||
<P>Després clica "Actualitzar perfil" davall de tot; el fitxer d'imatge es retallarà per ajustar les proporcions i es reduirà fins una mida de 100x100 píxels.
|
||||
<P>Quan tornes a la pàgina del perfil, la imatge podria no aparèixer la imatge correcta. Si és així, fes servir el botó "Actualitzar/Reload" del teu navegador.
|
||||
Executable
+93
@@ -0,0 +1,93 @@
|
||||
<h2>Fent preguntes</h2>
|
||||
|
||||
<p>Les preguntes socràtiques resten obertes, són preguntes sonda dissenyades per promoure l'avaluació crítica d'idees, i per encoratjar la creació de noves idees. Més avall hi ha alguns exemples d'aquest tipus de preguntes:</p>
|
||||
|
||||
<H3>Preguntes de clarificació</H3>
|
||||
|
||||
<UL>
|
||||
<LI>Què vols dir amb ____?</LI>
|
||||
<LI>Quin punt destacaries com a principal?</LI>
|
||||
<LI>Quina relació té _____ amb _____?</LI>
|
||||
<LI>Pots expressar-ho d'una altra forma?</LI>
|
||||
<LI>La teua afirmació bàsica és _____ o _____?</LI>
|
||||
<LI>Quina creus que és ací la idea principal?</LI>
|
||||
<LI>A veure si t'he entès, vols dir que _____ o que _____?</LI>
|
||||
<LI>Quina relació té açò amb el nostre problema/debat/assumpte?</LI>
|
||||
<LI>Què vols dir, Miquel, amb aquest comentari? Què creus que vol dir Miquel amb aquest comentari?</LI>
|
||||
<LI>Marta, pots resumir amb paraules teues el que ha dit Pau? ... Pau, és això el que volies dir?</LI>
|
||||
<LI>Pots donar-me un exemple?</LI>
|
||||
<LI>Açò seria un exemple de... ?</LI>
|
||||
<LI>Podries explicar més això?</LI>
|
||||
<LI>Afegiries alguna cosa més?</LI>
|
||||
<LI>Per què dius això?</LI>
|
||||
</UL>
|
||||
|
||||
<h3>Preguntes que sondegen pressuposicions</h3>
|
||||
<ul>
|
||||
<li>Què estàs pressuposant?</li>
|
||||
<li>Què està pressuposant Laura?</li>
|
||||
<li>Què podríem assumir en lloc d'això?</li>
|
||||
<li>Pareix que estigues assumint que _____. T'he entès correctament?</li>
|
||||
<li>Tot el teu raonament depén de la idea que _____. Per què has basat el teu raonament en _____ en lloc de _____?</li>
|
||||
<li>Pareix que estigues pressuposant _____. Com justifiques donar això per segur?</li>
|
||||
<li>Sempre és així? Per què penses que podem assumir això en aquest cas?</li>
|
||||
<li>Per què hauríem de pressuposar això?</li>
|
||||
</ul>
|
||||
|
||||
<h3>Preguntes que sondegen raons i proves</h3>
|
||||
<ul>
|
||||
<li>Què en seria un exemple?</li>
|
||||
<li>Com ho saps?</li>
|
||||
<li>Per què penses que és veritat?</li>
|
||||
<li>Tens alguna prova d'això?</li>
|
||||
<li>Quina diferència representa això?</li>
|
||||
<li>Quines raons tens per a dir això?</li>
|
||||
<li>Quina altra informació necessites?</li>
|
||||
<li>Ens pots explicar les teues raons?</li>
|
||||
<li>Són adequades aquestes raons?</li>
|
||||
<li>Per què dius això?</li>
|
||||
<li>Que et va portar a creure això?</li>
|
||||
<li>Com s'aplica això a aquest cas?</li>
|
||||
<li>Què et faria canviar d'opinió?</li>
|
||||
<li>Però, és una bona base per a creure això?</li>
|
||||
<li>Hi ha una raó per a dubtar d'aquesta prova?</li>
|
||||
<li>Qui està en situació de saber si això és veritat?</li>
|
||||
<li>Què diries a algú que diguera que ____?</li>
|
||||
<li>Algú més pot donar dades que recolzen aquest punt de vista?</li>
|
||||
<li>Per mitjà de quin raonament vas arribar a aquesta conclusió?</li>
|
||||
<li>Com podríem descobrir si això és veritat?</li>
|
||||
</ul>
|
||||
|
||||
<h3>Preguntes sobre punts de vista o perspectives</h3>
|
||||
<ul>
|
||||
<li>El terme "implicar" requerirà clarificació quan es faça servir amb els estudiants més joves.</li>
|
||||
<li>Què estas implicant amb això?</li>
|
||||
<li>Quan dius que _____, estàs implicant que _____?</li>
|
||||
<li>Però, si fóra així, què més s'esdevendria en conseqüència? Per què?</li>
|
||||
<li>Quin efecte tindria això?</li>
|
||||
<li>Això s'esdevindria necessàriament o només possiblement/probablement?</li>
|
||||
<li>Hi ha alguna alternativa?</li>
|
||||
<li>Si s'esdevenen _____ i _____, què més podria ser també veritat?</li>
|
||||
<li>Si diem que ____ és ètic, què tal _____? </li>
|
||||
</ul>
|
||||
|
||||
<h3>Preguntes que sondegen implicacions i conseqüències</h3>
|
||||
<ul>
|
||||
<li>Com ho podem descobrir?</li>
|
||||
<li>Què 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à clara aquesta pregunta? L'entenem?</li>
|
||||
<li>Aquesta pregunta, és fàcil o difícil de contestar? Per què?</li>
|
||||
<li>Aquesta pregunta, ens demana que avaluem alguna cosa? Què?</li>
|
||||
<li>Estem tots i totes d'acord que la pregunta é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às interpretant aquesta pregunta. Això és el mateix que _____?</li>
|
||||
<li>Com enunciaries aquesta idea?</li>
|
||||
<li>Per què és important aquesta idea?</li>
|
||||
<li>És aquesta la pregunta més important, o n'hi ha una altra de subjacent que é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>
|
||||
Executable
+18
@@ -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.
|
||||
Executable
+8
@@ -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.
|
||||
Executable
+95
@@ -0,0 +1,95 @@
|
||||
<P ALIGN=CENTER><B>Enquestes disponibles</B></P>
|
||||
|
||||
<P>Actualment, Moodle només t'ofereix tipus específic d'enquestes (versions futures
|
||||
et permetran crear-ne de teues).</P>
|
||||
|
||||
<P>L'enquestes disponibles s'han triat per ser particularment únic per a l'avaluació d'entorns d'aprenentatge en línia que facen servir una pedagogia constructivista. Són útils per a identificar certes tendències que poden estar donant-se entre els participants.
|
||||
(Per a veure un article amb una anà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., & 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., & 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., & 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>
|
||||
Executable
+41
@@ -0,0 +1,41 @@
|
||||
<P ALIGN=CENTER><B>Ajuda per a escriure text</B></P>
|
||||
|
||||
Escriure text en Moodle funciona més o menys com és d'esperar, però també 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à automàticament en un enllaç.
|
||||
<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 èmfasi als textos.
|
||||
<TABLE BORDER=0 CELLPADDING=5 CELLSPACING=5>
|
||||
<TR><TH>Etiqueta HTML<TH>Produeix</TR>
|
||||
<TR><TD><B> negreta </B> <TD> <B>lletra negreta</B> </TR>
|
||||
<TR><TD><I> cursiva </I> <TD> <I>lletra cursiva</I> </TR>
|
||||
<TR><TD><U> subratllat </U> <TD> <U>text subratllat</U> </TR>
|
||||
<TR><TD><FONT SIZE=1> petit </FONT> <TD> <FONT SIZE=1>petit</FONT> </TR>
|
||||
<TR><TD><FONT SIZE=4> gran </FONT> <TD> <FONT SIZE=4>gran</FONT> </TR>
|
||||
<TR><TD><FONT COLOR=green> exemple </FONT> <TD> <FONT color=green>exemple</FONT> </TR>
|
||||
</TABLE>
|
||||
</UL>
|
||||
|
||||
|
||||
Executable
+27
@@ -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";
|
||||
|
||||
?>
|
||||
Executable
+518
@@ -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 "clau d'inscripció" 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 "clau d'inscripció", 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'] = "Sí";
|
||||
$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.";
|
||||
|
||||
?>
|
||||
@@ -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";
|
||||
Executable
+28
@@ -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";
|
||||
|
||||
?>
|
||||
@@ -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";
|
||||
|
||||
?>
|
||||
Executable
+47
@@ -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
@@ -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";
|
||||
|
||||
|
||||
@@ -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 <> 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
@@ -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
Reference in New Issue
Block a user