moodler
613bbd7c2b
Moving deprecated functions out of datalib.php
...
Many of these still need updating to remove all dependence on user_xxx tables
2006-09-10 07:07:52 +00:00
gbateson
c73eb55dcc
correct formatting of "Show Legend" -> "No" and added missing <p> in "Encoding" explanation
2006-09-10 05:34:02 +00:00
gbateson
ce33e12da1
remove reportselector.html as it was unused and has been replaced by reportcontent.html and reportformat.html
2006-09-10 05:29:24 +00:00
mark-nielsen
a4452c8a14
Added better lang strings for output in view.php
2006-09-10 04:35:12 +00:00
mark-nielsen
fb992d716a
Started to reorganize view.php
2006-09-10 02:38:09 +00:00
mark-nielsen
15f3d44ae7
Moved teacherview (lesson editing) out of view.php into edit.php
...
No code improvements in edit.php as of now. Just works ;)
2006-09-10 02:09:14 +00:00
mark-nielsen
9695a91e2f
Fixed sesskey problem
2006-09-10 01:43:24 +00:00
mark-nielsen
8d1b4ee7b5
Added proper page comments and inform user when attempts have been deleted
2006-09-10 01:40:38 +00:00
mark-nielsen
d2d7f39064
Added page comment and lang entry for reports.php
2006-09-10 01:37:50 +00:00
mark-nielsen
35b179fa73
Updated to use new handy library functions
2006-09-10 01:30:57 +00:00
mark-nielsen
d1b025d013
Moved high scores logic out of view.php into highscores.php
...
Changed: now need to enter password on password protected lessons before being able to view high scores
Added logs to high scores and reworked logic
2006-09-10 01:20:00 +00:00
mark-nielsen
8def4a4ea2
Changed some lang entries for high scores feature
2006-09-10 01:17:30 +00:00
mark-nielsen
09e3b9d7eb
Fixed some formatting when clock is not displayed
...
Messages are now printed out on continue.php
2006-09-09 22:33:34 +00:00
mark-nielsen
2163c22634
Forgot the lesson_ prefix
2006-09-09 22:23:50 +00:00
mark-nielsen
2cb24b647c
Improved clock output and works when javascript is disabled
2006-09-09 22:20:51 +00:00
mark-nielsen
259990d2c6
Lesson buttons should now work with javascript disabled
...
Also improved the layout of action/continue.html
2006-09-09 21:39:11 +00:00
stronk7
d6745c7087
Now we are using the new sql_order_by_text() function
...
when we need to be able to order by TEXT columns in a
cross-db behaviour. More info:
http://docs.moodle.org/en/XMLDB_Problems#ORDER_BY_text_columns
2006-09-09 13:53:52 +00:00
stronk7
5f45d2ae80
New function sql_order_by_text() to automatically build
...
custom expresions to being used in ORDER BY clauses with
TEXT columns.
2006-09-09 13:51:40 +00:00
mark-nielsen
3466ae4f14
Cleaned up output to user. Still needs a lot of work.
2006-09-09 02:10:40 +00:00
mark-nielsen
f15eb92c2c
Removed essay grading code from view.php into essay.php.
2006-09-09 01:58:48 +00:00
mark-nielsen
e6bfc97018
Added a few lang entries and modified one or two
2006-09-09 01:55:57 +00:00
mark-nielsen
6e1ff5c8fb
MDL-6477: Added roles support.
...
Also added lesson_set_message() and lesson_print_message() to locallib.php
Also fixed problem in continue.html with not printing nextpageid
2006-09-08 23:17:18 +00:00
stronk7
ccfc5ecca1
Only send contexts to cache if the aren't empty. At initial installations
...
some empty contexts were being cached and used later, causing insertion
of null values to every DB but MySQL.
2006-09-08 19:28:03 +00:00
skodak
a13d2157f4
fixed wrong placement of comma
2006-09-08 15:53:24 +00:00
skodak
cbba1191ed
fixed typo - trailing backslash
2006-09-08 15:51:11 +00:00
thepurpleblob
04d677f2e9
Merged from STABLE
2006-09-08 10:27:48 +00:00
toyomoyo
51792df056
adding capabilities
2006-09-08 08:46:26 +00:00
vyshane
46943f7b78
Seems that the unassign_capability function signature was changed without updating the call to that function in capabilities_cleanup(). Fixed.
2006-09-08 02:33:02 +00:00
mchampan
0d46c846da
Fixed couple bugs in query, and improved logic of querylib.
2006-09-08 01:18:48 +00:00
stronk7
3a27bb0575
Modify a bunch of INSERTs to avoid using empty fields
...
to allow Oracle to avoid the NULLs = empty problem.
2006-09-07 23:50:47 +00:00
stronk7
e20d180c11
DIRTY HACK to convert back all the ' ' (1 space) field contents
...
back to '' (empty string) in order to allow Oracle to work, more
or less until all the not real NOT NULL DEFAULT '' fields were out!
TODO: Apply the same hack to some more functions...
2006-09-07 23:48:48 +00:00
stronk7
42ac3ecffc
Solving one string concatenation typo (please, test it's ok) and
...
stripping the AS keyword from table aliases. You cand find more at:
http://docs.moodle.org/en/XMLDB_Problems#Table_and_column_aliases_-_the_AS_keyword
2006-09-07 20:17:46 +00:00
skodak
42d6be31d1
double redirect prevention - if both 'meta http-equiv' and javascript redirects are used, javascript delay is 3 seconds longer to prevent accidental double redirects. The target page can still be loaded twice in case user clicks the link before the target page gets fully loaded.
2006-09-07 19:40:57 +00:00
skodak
5d3e0e837a
removed redirect message, because it was sometimes breaking upgrades due to double redirects
2006-09-07 19:18:48 +00:00
stronk7
3a8c55c3fb
Typos + drop table fully supported.
2006-09-07 18:39:43 +00:00
stronk7
8830218f53
Initial support for DROP TABLE adedd.
2006-09-07 17:28:46 +00:00
stronk7
8bb7147620
If one course, hasn't teaches, both under roles and no-roles
...
installations, default to admin language.
2006-09-07 17:25:06 +00:00
vinkmar
0f4a73b0dd
Fixed bug (sectionname mismatch) similar to MDL-6475
2006-09-07 16:15:35 +00:00
moodler
26f9c81507
Fixed a typo (thanks Eclipse)
2006-09-07 15:46:48 +00:00
vinkmar
502871b479
Fixed MDL-6475.
2006-09-07 14:53:07 +00:00
nfreear
22a3b7ccef
Fixes bug MDL-6478 "Unit tests (not) working.."
2006-09-07 09:11:55 +00:00
toyomoyo
ec7a8b7999
adding capabilities
2006-09-07 08:57:56 +00:00
moodler
f43ce1ad1d
Added moodle/role:unassignself which replaces $CFG->allowunenroll
2006-09-07 08:35:30 +00:00
stronk7
05a43ba36c
Initial RenameTable caller to generators. Not ended by I needed it in CVS now.
2006-09-06 23:05:12 +00:00
stronk7
d05babe913
Initial, unfinished, not working, simple version of rename_table generator.
...
More coming soon, but I needed it in CVS now!
2006-09-06 23:04:13 +00:00
stronk7
386c23c9da
PHP code for dropping and renaming tables added. Note that the DDL
...
functions doesn't exist yet. ;-)
2006-09-06 22:34:09 +00:00
stronk7
3ab430fbc5
The XMLDBEditor is generating automatic PHP code for create_table
2006-09-06 19:49:13 +00:00
stronk7
aed4e52713
Now indexes are able to return their PHP specs.
2006-09-06 19:47:50 +00:00
stronk7
989a41af6f
Now keys are able to return their PHP specs.
2006-09-06 19:43:38 +00:00
stronk7
7b31a94e08
Now fields are able to return their PHP specs.
2006-09-06 19:31:03 +00:00