929 Commits

Author SHA1 Message Date
gustav_delius
cd8d4471c8 Print course in footer 2005-03-17 15:12:07 +00:00
moodler
37a88449a6 make_editing_buttons now has styles and a lot less string processing!
bug 2739
2005-03-14 19:05:39 +00:00
moodler
005d0078cb New courses are logged to the site log 2005-03-14 07:31:47 +00:00
moodler
151fd19736 Log course deletions 2005-03-14 02:39:39 +00:00
moodler
6ee8277fc1 Moved print_headingblock to proper place 2005-03-13 14:54:24 +00:00
moodler
27586f1d10 Bug fixes for user graph axes 2005-03-12 15:43:08 +00:00
moodler
27bf9e2083 Better styles 2005-03-10 14:09:45 +00:00
moodler
f05512fd16 Removing for now 2005-03-08 18:32:35 +00:00
moodler
af328e4b14 Speed and beauty improvements when displaying discussion listings 2005-03-08 17:32:08 +00:00
defacer
deeef3c829 Doing away with .generaltableheader 2005-03-06 20:22:07 +00:00
gustav_delius
c63bf72a9d The up and down arrows for moving sections now jump to the moved section when the page reloads. Makes it easier to move sections over longer distances. I actually thought I had fixed this a long time ago but apparently not. 2005-03-06 14:57:23 +00:00
moodler
24e1eae4a2 Implemented bug 2676 - jump back to working section after clicking
on an activity modification link in course view...
2005-03-05 05:19:26 +00:00
defacer
dffd4bb948 You know you are beyond hope of redemption when you make "API uniformity" changes. ;-) 2005-03-02 05:56:24 +00:00
defacer
664923229c Since $PAGE knows where the adminblock should be printed, let it do the printing. 2005-03-02 05:47:39 +00:00
mjollnir_
53dc7cc606 Course/import.php should check for teacher 2005-03-02 05:38:47 +00:00
defacer
3615b2b259 Simplifying to death using the new blocks_setup() 2005-03-02 05:19:47 +00:00
martinlanghoff
e0003dfa08 Merged from MOODLE_14_STABLE - loglive now has a proper footer and the links in header & footer open in new windows 2005-03-01 02:53:27 +00:00
mchurch
89c0e63faa Changed call for unread posts to new library function. 2005-02-28 21:34:37 +00:00
moodler
fd5b9188bd removed explicit style-adding for user login string 2005-02-25 06:23:46 +00:00
martinlanghoff
b935c832ec Merged from MOODLE_14_STABLE - Provide an explicit sortorder for new courses in empty categories, and run fix_course_sortorder() after adding the course to make sure its in the appropriate range for the category. This mege adds fix specific to HEAD: it reverts an earlier bad fix. 2005-02-24 21:22:06 +00:00
martinlanghoff
008621712f Fixes for null sortorder on empty categories. 2005-02-22 03:23:41 +00:00
fiedorow
5f357fb67b Updated guest shortcut code with Mike's loginas fixes 2005-02-19 21:02:33 +00:00
moodler
90b127fff6 FIxed some dodgy SQL code in the wrong place 2005-02-19 03:00:46 +00:00
gustav_delius
1ee55c41d9 Give groupmode selection to mod.html for all modules that use groupmode. Also fix bug 2576 2005-02-17 19:19:21 +00:00
moodler
77f69e7bcf Better fix for the group image uploading 2005-02-17 07:14:28 +00:00
moodler
6d96007293 FIxed error when there is no image file 2005-02-17 06:32:41 +00:00
mchurch
fc960bc7ef Bug #2133 - Fixed group caching for loginas. 2005-02-16 13:49:22 +00:00
fiedorow
542a04353b hook for redirecting to externally hosted courses 2005-02-16 13:41:37 +00:00
gustav_delius
5f39034289 Don't show groups icons for resources and labels, see bug 2538 2005-02-16 12:50:11 +00:00
moodler
9df665e7bf When updating we don't always want to change visibility and groupmode bug 2561 2005-02-16 03:11:52 +00:00
moodler
ee350ee9a3 FIxed a string name 2005-02-14 16:06:50 +00:00
moodler
6cba878db8 Bring weekly into line with topics 2005-02-14 16:02:32 +00:00
moodler
c4bff2fb73 Missed a spot there 2005-02-14 16:01:45 +00:00
moodler
549f7213e4 Tiny cleanups to bring into line with "weeks" format 2005-02-14 15:59:34 +00:00
moodler
06959cfca2 New shorted class names, better nested 2005-02-14 15:36:46 +00:00
gustav_delius
be495e2097 Only course creators can move courses to a different category. This fixes bug 2065. 2005-02-13 22:52:20 +00:00
gustav_delius
8dc93b9445 Invisible sections are no longer shown in jump menu, see bug 2085 2005-02-13 22:23:45 +00:00
gustav_delius
8a6e783ff0 small fix 2005-02-13 21:43:43 +00:00
gustav_delius
db837a6645 Fixed behaviour of groups.php in the case of an empty group, see bug 2346 2005-02-13 19:38:10 +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
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
a10464d6cd Moved visibility code to make sure that activities added in hidden sections are hidden. 2005-02-13 09:35:40 +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
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
defacer
a3f24f7cc5 Improvements in how incoming parameters are handled, how $editing is handled.
More consistency across course formats for editing stuff, using $PAGE.

Also a "bugfix": when turning editing off, cancel moving an activity if you
were in the middle of doing so.
2005-02-12 13:09:18 +00:00
defacer
ff0c7de0b0 Removed dead code. 2005-02-12 12:49:46 +00:00
defacer
446390fb47 Lots of improvements in markup and styles for courses.
Finalized and correctly distributed the calendar styles.
2005-02-12 12:40:04 +00:00