11482 Commits

Author SHA1 Message Date
gustav_delius
ce3c1c2bbd removed undefined string 2005-02-13 19:29:52 +00:00
moodler
4ac00cab59 Fix to get around a problem in get_records with one-field results .. 2005-02-13 19:16:32 +00:00
gustav_delius
d6af49274b Taken out duplicates and added a lot more enrollment strings, see bug 2541 2005-02-13 19:14:14 +00:00
stronk7
6d1e416208 Now MIM is restored completely too!!!
It was more complex than I thought!
2005-02-13 19:09:41 +00:00
stronk7
9597a4d970 Needed strings for MIM restore. 2005-02-13 18:56:52 +00:00
gustav_delius
1d7bda4583 Fixed some typos. 2005-02-13 18:46:08 +00:00
moodler
b56ccdd9d0 Reformatting some spaces to coding guidelines 2005-02-13 17:38:40 +00:00
moodler
0d2c0cfdf8 Added a little class to the "edited by" line 2005-02-13 17:26:13 +00:00
moodler
8502c3a178 Edited by string 2005-02-13 17:20:36 +00:00
moodler
0936de64a5 Add an "edited by" message to posts when they have been edited by a
different person from the original poster.   See bug 2392
2005-02-13 17:20:17 +00:00
fiedorow
3613082378 Corrected file size message in debugger 2005-02-13 17:04:35 +00:00
gustav_delius
e3ff14ca3c Fixed bug 2392 2005-02-13 16:41:12 +00:00
skodak
68eb9f32e4 added style sheet to message panel 2005-02-13 16:30:16 +00:00
gustav_delius
f1cc0382a2 Clicking on the icons controlling a section brings you back to the same section, see bug 2433 2005-02-13 15:22:04 +00:00
gustav_delius
2f945146d7 Made the quiz paging bar look more like the standard one, see bug 2443. 2005-02-13 14:58:45 +00:00
moodler
c46f27a34f A large clean up of the topics format to
- remove most of the table properties
   - add new classes where necessary to let CSS in
   - rewrote all the PHP strings using '' for speed.
2005-02-13 14:38:59 +00:00
gustav_delius
ec99b88e97 $isteacheredit was not defined 2005-02-13 13:23:46 +00:00
gustav_delius
17db65ef3f Added visibility check to all workshop pages, see bug 2450. 2005-02-13 13:12:03 +00:00
gustav_delius
88165dbc72 index of lesson help files, see bug 2510 2005-02-13 12:03:45 +00:00
stronk7
2f77550675 Need IDs to use backup_ids as temporary storage in restore! 2005-02-13 11:44:39 +00:00
gustav_delius
4bd2e69a51 When course is hidden a student trying to enter gets the new message "This course is currently unavailable to students", see bug 2511 2005-02-13 11:43:05 +00:00
gustav_delius
eb58929bbb Added string 'counteditems' to allow better translation of things like "8 students", see bug 2530 2005-02-13 11:22:48 +00:00
stronk7
ff377532bd Being a bit more detailed... 2005-02-13 11:20:33 +00:00
stronk7
fbd7202c3e Add an empty string 2005-02-13 11:10:39 +00:00
moodler
6caee7f8fe Temporary 2005-02-13 10:15:51 +00:00
gustav_delius
a10464d6cd Moved visibility code to make sure that activities added in hidden sections are hidden. 2005-02-13 09:35:40 +00:00
moodler
56766f8592 More fixes to make custom themes work as expected.
I think it's pretty much perfect now.
2005-02-13 09:02:43 +00:00
moodler
d57fc786e4 Make the calendar more theme-setting friendly 2005-02-13 08:50:37 +00:00
moodler
9c4e6e2177 Really big cleanup of how "forced" themes were implemented.
Course themes now work better.

theme/xxxx/styles.php is now really short because all the logic
is in weblib.php.
2005-02-13 08:34:10 +00:00
moodler
373d5f2083 Choice doesn't have groups 2005-02-13 06:31:37 +00:00
moodler
5ebb746b91 $course is now optional for new mod.html functions 2005-02-13 06:31:01 +00:00
moodler
99349afc9a Fixed logic for new course modules 2005-02-13 06:24:21 +00:00
moodler
1f15db9dee Changed the wording again .. should be easier to scan I hope 2005-02-13 06:15:12 +00:00
moodler
da2224f83d Change the string for the hide/show ... showimmediately makes sense
on a new creation but not when editing an activity
2005-02-13 06:07:06 +00:00
stronk7
70641539f3 Now MIM are included in backup (not restore yet). Configurable
for scheduled backups and only done in SITE backups. Structure is:
<MESSAGES>
  <MESSAGE>
    Content of the message with one flag to difference read & unread
  </MESSAGE>
  <CONTACTS>
    <CONTACT>
      Content of the contact
    </CONTACT>
  </CONTACTS>
</MESSAGES>
message_get_participants() should include contact users too!!
2005-02-13 02:59:04 +00:00
stronk7
289c39d0f5 New string to backup messages in SITE backups 2005-02-13 01:12:54 +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
julmis
2fd4148763 Re-enabling reading for link attributes whats been commented out.
(HTMLArea.prototype._createLink) These lines were commented out for
bug 1455 but it created another bug #2504.
2005-02-12 21:06:09 +00:00
martignoni
193f2982b3 WYSIWYG Editor 2005-02-12 19:41:02 +00:00
martignoni
2981129b25 New string 'backupmessageshelp' 2005-02-12 19:11:21 +00:00
stronk7
c335a52c94 Added two strings to allow backups of MIM in site backups. 2005-02-12 18:54:56 +00:00
moodler
12d8f14c34 Whoops, fixed a typo! 2005-02-12 17:23:14 +00:00
moodler
c135a42507 Added message_get_participants function for ELoy to use in Site backups 2005-02-12 17:17:32 +00:00
stronk7
73db625a6d Updated to latest changes. 2005-02-12 16:09:07 +00:00
julmis
b17a603812 Better fix for IE's too long statusbar text. Thanks Gustav ;-) 2005-02-12 16:05:59 +00:00
defacer
760e522b04 This small visual detail was trying to hide and escape. :P 2005-02-12 16:00:47 +00:00
moodler
425b4f1abe Err, fixed a typo 2005-02-12 15:56:03 +00:00
mits
4c786ce249 polished. 2005-02-12 15:50:17 +00:00
moodler
78ba4d0697 Save a db call by using SITE 2005-02-12 15:07:25 +00:00