stronk7
92fac4b251
Now 0 rates are supported in glossary. Bug 2582
...
(http://moodle.org/bugs/bug.php?op=show&bugid=2582 )
2005-02-18 01:00:42 +00:00
stronk7
4f746d2aea
ARGGG. I spent 1 hour discovering where was the error!!
...
Under PHP5 we must cast objects to arrays to use them in loops.
But what is really annoying is that, instead of return an error, PHP
returns the 1st element! This should close bug 2581.
(http://moodle.org/bugs/bug.php?op=show&bugid=2581 )
2005-02-18 00:19:08 +00:00
stronk7
4837dd1f46
Now globalglossary is working!
...
Bug 2577
(http://moodle.org/bugs/bug.php?op=show&bugid=2577 )
2005-02-17 19:45:12 +00:00
stronk7
73e97c3113
Now the glossary filter only links to concepts in visible glossaries (for everybody!)
...
Bug 2566
(http://moodle.org/bugs/bug.php?op=show&bugid=2566 )
2005-02-17 19:28:21 +00:00
stronk7
6c3512329b
Done. Now:
...
- students only view entries from visible glossaries.
- teachers view any entry from their course and only visible from global glossaries.
- admins view any entry from any course and any entry from global glossaries too.
Part of bug 2566
(http://moodle.org/bugs/bug.php?op=show&bugid=2566 )
2005-02-17 18:58:53 +00:00
moodler
5e497e4e7a
Some more styles
2005-02-17 09:25:05 +00:00
moodler
b8340d1938
Removal of THEME, added some classes, general tidy up.
2005-02-17 08:38:50 +00:00
gustav_delius
ec81373f50
In order to ensure that when a teacher hides a resource or an activity that students really can't get at it, even if they know the direct links to its pages, I have given an optional third argument $cm to the functions require_login() and require_course_login(). Pages showing information about a particular course module now pass the course module object in this third argument. The login functions will then test if either the course module is visible or the user is a teacher. If neither is the case then the user is redirected to the course homepage after being shown a message "Sorry, this activity is currently hidden".
...
(While I was at it I also turned the autologinguests off for most module pages, except on the index.php pages and the view.php pages for those modules that allow guests)
2005-02-16 10:40:48 +00:00
stronk7
95e72c12d0
Now retrieving only needed fields!
2005-02-13 00:42:29 +00:00
gustav_delius
48e535bc35
Activities can now be hidden/shown from the activity editing page. Also for modules that know about groups the groupmode can be set from there. See bug 2533. This required adding to the mod.html files calls to new functions print_visible_setting() and print_groupmode_setting() which are combined in print_standard_coursemodule_settings().
...
The visibility of coursemodules is now always set through the function set_coursemodule_visible() in order to make sure that the associated events get updated in the calendar appropriately.
If moving a coursemodule to a hidden section then the module is set to hidden as well and its events are hidden in the calendar.
If deleting a coursemodule its events are deleted from the calendar.
The function choose_from_menu() has an extra optional argument $disabled which, when set to true, will disable the menu.
For the sake of consistency the function set_groupmode_for_module has been renamed to set_coursemodule_groupmode and the functions show_course_module() and hide_course_module() have been combined to set_coursemodule_visible().
2005-02-12 21:41:22 +00:00
moodler
f1c1d2f166
Removing the THEME variable and adding in classes where appropriate
2005-02-10 10:41:22 +00:00
moodler
b61aed4297
Fixed up some layout issues in the configuration files
2005-02-08 09:23:21 +00:00
stronk7
e09087bc76
Some minor changes to each module to XHTMLise the restore process
2005-02-07 23:33:17 +00:00
stronk7
a589ccb37f
Moving some strings to make them available in all the script. Not really sure about changes introduced in version 1.42! Penny?
2005-02-03 23:19:54 +00:00
julmis
d00ffdf949
Adding <span class="nolink"> filter. It doesn't break in editor.
2005-01-29 16:45:08 +00:00
moodler
d3c8056258
Changes for XHTML and accessibility compatibility.
...
Tidied up layout and other minor changes.
2005-01-25 09:39:29 +00:00
moodler
48b29ba423
Moved rsslib.php from the rss directory to the lib directory with the
...
other libraries
2005-01-25 06:09:31 +00:00
stronk7
1082105205
Modify sesskey behaviour. SC#73
2005-01-22 18:53:44 +00:00
urs_hunkler
fe32b4f6d7
_ added the DIV framework for new CSS
2005-01-19 12:02:52 +00:00
ikawhero
c7444a36a5
General removal of <nolink> tags for XHTML compatibility.
...
Moved from the glossary filter as the filter may not be enabled.
2005-01-18 06:57:59 +00:00
stronk7
68600084f4
One space out
2005-01-14 08:36:48 +00:00
moodler
d3709d95c4
Changes for XHTML compatibility and other HTML code cleanup
2005-01-13 10:08:23 +00:00
stronk7
41c980286b
Now print-view availability for students can be configured by glossary.
...
Bug 2080 (http://moodle.org/bugs/bug.php?op=show&bugid=2080 )
2005-01-12 00:55:38 +00:00
stronk7
420158ba41
Delete orphaned categories remaining in server. Bug 2140
...
(http://moodle.org/bugs/bug.php?op=show&bugid=2140 )
2005-01-11 12:40:41 +00:00
stronk7
792a76d810
Maintain whitespace when importing glossary entries. I forgot to
...
commit this! Bug 2310.
Merged from MOODLE_14_STABLE
2005-01-11 11:24:03 +00:00
fiedorow
06870aa324
fixing a couple of instances of hardcoded /admin/
2004-12-31 16:12:58 +00:00
moodler
07496589ba
More XHTML from Shane
2004-12-22 02:59:21 +00:00
moodler
1e44343940
Some leftover XHTML changes ...
2004-12-22 02:53:05 +00:00
moodler
d23e2291a5
Checking in some old changes from Shane, I think ... just spacing ...
2004-12-22 02:51:54 +00:00
stronk7
485d102488
The entrylist format now shows the approval button.
...
Bug 2291.
(http://moodle.org/bugs/bug.php?op=show&bugid=2291 )
Merged from MOODLE_14_STABLE
2004-12-18 20:29:33 +00:00
stronk7
ff4240129c
Some checks are now done. SC#18.
...
Merged from MOODLE_14_STABLE
2004-12-15 09:03:39 +00:00
stronk7
69baafdea7
Now search function look into aliases too.
...
Bug 2242
(http://moodle.org/bugs/bug.php?op=show&bugid=2242 )
Merged from MOODLE_14_STABLE
2004-12-11 00:54:37 +00:00
stronk7
1c144d0eed
Changed some parameters. SC#33.
...
Merged from MOODLE_14_STABLE
2004-11-28 23:54:11 +00:00
stronk7
36ce6ea2d1
Solve some visualisation issues in encyclopedia format. I think that now
...
it will be correct!
Merged from MOODLE_14_STABLE
2004-11-26 01:22:41 +00:00
stronk7
e2cf5316c1
New paging system for glosaries.
...
100% compatible with Moodle's one.
Supports more options. Perhaps we could use it
sitewide.
Merged from MOODLE_14_STABLE
2004-11-24 23:37:46 +00:00
mjollnir_
56e9c38161
Merged from MOODLE_14_STABLE: Fix for postgres-invalid-sql (must have AS between field and alias)
2004-11-24 23:24:32 +00:00
mjollnir_
63758a7848
Merged from MOODLE_14_STABLE: Requires bump for glossary for last patch - needs db_lowercase and db_uppercase
2004-11-23 23:16:08 +00:00
mjollnir_
6b7f8df2ec
Merged from MOODLE_14_STABLE: Fixing use of UCASE and LCASE in glossary which are not postgres friendly - two new functions in datalib, db_uppercase and db_lowercase which return the database-correct functions to use. Some were already fixed in HEAD - those have been left as they were
2004-11-23 23:05:06 +00:00
mjollnir_
1ad49e00d9
Merged from MOODlE_14_STABLE: Indexes for glossary and version bump
2004-11-18 04:38:52 +00:00
stronk7
1b4002e0b7
Just changing some parameters stuff to new functions...
...
See SC and Bug 1837
Merged from MOODLE_14_STABLE
2004-11-17 00:14:34 +00:00
stronk7
2b99ea9efb
Print view isn't accesible if the activity is hidden.
...
Bug 1837
(http://moodle.org/bugs/bug.php?op=show&bugid=1837 )
Merged from MOODLE_14_STABLE
2004-11-16 23:36:35 +00:00
stronk7
62067fe3ae
Header is out and "Site:" is in.
...
Partially solved Bug 1837
(http://moodle.org/bugs/bug.php?op=show&bugid=1837 )
Merged from MOODLE_14_STABLE
2004-11-16 23:12:21 +00:00
stronk7
ae06e00e75
Old-awaiting for 1.4.2 release changes in the glossary.
...
Now, print view is different for each format (consistent with it).
New, custom formats can, optionally, define their print view. Else
the default one will be used.
With this, 1.4.x glossary developments are finished and we can start
solving some pending things in 1.5...
Merged from MOODLE_14_STABLE
2004-11-09 23:23:04 +00:00
mjollnir_
36c2c0efee
glossary attachments fix to allow optional file upload
2004-11-09 21:02:39 +00:00
stronk7
4070cddfb2
Bug 2140 solved partially. Now categories are
...
deleted properly.
Delete of orphan categories will be done later...
Merged from MOODLE_14_STABLE
2004-11-01 20:50:03 +00:00
moodler
52159a0df4
More changes for XHTML compatibility
2004-10-26 09:28:54 +00:00
paca70
67db6177de
Some fixes for postgresql
2004-10-22 17:03:37 +00:00
moodler
d7d21c383c
Minor changes for XHTML compatibility
2004-10-08 13:58:33 +00:00
stronk7
f4646b44c1
Now RSS links ae showed properly in SITE course when
...
user isn't logged.
Solve a problem with if($USER) under PHP5.
2004-10-05 23:21:38 +00:00
stronk7
b2ddd9d7ae
Now RSS links are displayed ok in SITEID course.
...
Bug 2048.
(http://moodle.org/bugs/bug.php?op=show&bugid=2048 )
Merged from MOODLE_14_STABLE
2004-10-04 22:21:30 +00:00