58 Commits

Author SHA1 Message Date
martin
ee1ddef672 Tweak to side boxes 2002-08-26 20:45:01 +00:00
martin
915d17bb1e Further little tweak to front-page spacing 2002-08-26 20:41:02 +00:00
martin
670fddf176 Fix for front page case when no left column 2002-08-26 20:38:56 +00:00
martin
3f8247c2ea Changes to use a new configuration variable: CFG->slasharguments
If true, then display of user pictures or filenames will use the
method of providing arguments as "slash" arguments - this is much
better for caching, proxies, search engines etc.  Unfortunately
it doesn't seem to work on some PHP installations.

If false (the default), then a more compatible method is used
(ie usual way of passing parameters to scripts)
2002-08-26 09:48:00 +00:00
martin
19a55d6776 Changes to improve layout and formatting on old Netscape (eg version 4) 2002-08-23 03:55:49 +00:00
martin
4a62a65900 Whoops! comment out of place 2002-08-22 01:24:06 +00:00
martin
28b1e3ecec Just some comments about not removing the Moodle logo from the front page. 2002-08-21 14:08:40 +00:00
martin
4efeb8c3e3 Changes to add login/logout button to the right-hand top corner of every page
... this is to help encourage people to log out after a session, especially
on shared or public terminals.
2002-08-17 07:02:35 +00:00
martin
d82c85456b Cleanups for footer on home page 2002-08-15 04:37:35 +00:00
martin
15ecde4133 Slight tweak to remove login button for ordinary users 2002-08-09 02:48:25 +00:00
martin
53bfe78cd4 New functions get_list_of_modules() and moodle_needs_upgrading().
Used on the home page when admin is logged in, to check for any
upgrading of the databases that might need to be done.
2002-08-09 02:45:15 +00:00
martin
74c6a7f983 parameter for print_admin_links 2002-08-08 17:30:00 +00:00
martin
2b25f2a09b Further excellent tidy-ups to the admin pages. They are actually starting
to look/work as slick as the rest of the site.  :-)
2002-08-08 15:51:23 +00:00
martin
1fee73fe6f Whoops ... typo in save_session 2002-08-06 17:41:43 +00:00
martin
8223d27193 Widespread changes throughout Moodle to make sure it works on
servers that have register_globals turned off (this is the
default setting on newer version of PHP).

In fact it's partly a hack that globalises all GET, POST, FILES
AND COOKIE variables.  Unfortunately though the SESSION and
USER global session variables are only available as $_SESSION["USER"]
and $_SESSION["SESSION"], which is cumbersome to use.

So, for every request I now make a copy of these two session variables
into $USER and $SESSION.  Whenever I update them thoughout Moodle I
now have to call save_session("USER") which copies them back to the
session variable.  This seems to be working well now.

Because I'm using $_SESSION etc now this will raise
the required minimum version of PHP to 4.1.0
2002-08-06 17:23:45 +00:00
martin
5c0c615503 Admin link looks better at the bottom 2002-08-04 02:55:13 +00:00
martin
46b476c14c Added a direct admin link 2002-08-04 02:13:40 +00:00
martin
9368336bae Tiny tweak to spacer image for IE browsers 2002-08-03 12:26:52 +00:00
martin
23d19b0add Better spacing in case with admin-only 2002-08-03 11:45:31 +00:00
martin
d66615eb1b put main menu up top 2002-08-03 08:40:25 +00:00
martin
5eec832460 Spacing again 2002-08-03 08:38:06 +00:00
martin
7493ca919d Ugh fixing spacing 2002-08-03 08:37:13 +00:00
martin
40698053fa Adjusted sizes of front page columns 2002-08-03 08:33:18 +00:00
martin
94361e021e Lots of work on site display, over many files. Improved front page
and display of site modules.
2002-08-03 08:16:31 +00:00
martin
07e1f18900 Fixed use of reading functions (it had changed name) 2002-08-01 05:55:23 +00:00
martin
11b0c46971 A big clean up of all the forum functions (including renaming them all
to start with forum_ ) and all the follow-on effects that caused
Some miscellaneous bug fixes and code clean-ups along the way
2002-08-01 03:50:27 +00:00
martin
501cdbd8bb OK, some massive changes with many files removed or changed.
Basically the changes are:

 - I've merged the 'discuss' module into the forum module
   which makes the interface MUCH clearer for everyone
 - I've added a new 'single' forum type that replicates
   what the old discuss course modules used to look like.
 - I've got rid of the "discussion" forum type - it will
   still exist in upgraded courses but as a normal forum.
 - the 'discuss' module is completely deleted - gone.
 - the 'chat' module is completely deleted - gone.
 - The upgrading system has been improved, and all code
   is stored in version.php.
 - I've put in upgrading commands to do the best I can
   (right now) to upgrade courses that used the discuss
   module.  It should mostly work, just leaving some
   "orphan" coursemodules on you course front page.  You
   can easily delete these using the little 'x'.
   I may have forgotten something  - I've only tested on
   my testing server and I'm about to test on my production
   server to see how it goes.
 - Forums have a lot of little new features and fixes.  The
   main one is the subscription process.  Teachers can 'force'
   subscriptions on any forum.  This disallows everyone from
   choosing their own mail subscription - it's just on.
 - The assignment module is half-finished and not working yet

I've still some massive changes to do, mostly involving making
all the lib.php function names more standardised, so consider
this is an interim checkin to do some tests.
2002-07-31 14:19:35 +00:00
martin
2c309dc22a Definition and use of new isediting() function for checking whether a user
is not only in editing mode, but ALLOWED to be editing the current course.
Used to show editing buttons etc
2002-07-29 15:45:46 +00:00
martin
20cad2b64f Fixed bug where admin controls would be shown to teachers in edit-mode (thanks dopey) 2002-07-28 16:35:34 +00:00
martin
8553b7005a Changes related to internationalision strings and printing them 2002-07-11 05:30:57 +00:00
martin
ed5ab9f7f5 Further internationalisation 2002-07-02 07:09:26 +00:00
martin
9ccbad71e3 Whoops forgot some more 'week's 2002-06-25 11:57:00 +00:00
martin
b5fe4c935d Major changes throughout to change "week" notation to "section" notation.
Sections covers "weeks", "topics" and anything else that may come along.
Note, again, some databases have changed esp course_weeks -> course_sections
and several fields called "week" are now "section.  Also course no longer
has an enddate, but instead has a numsections field.
2002-06-25 11:49:06 +00:00
martin
e07635f4d0 Changes related to new forum type: eachuser and some general forum-related tweaking 2002-06-25 06:47:34 +00:00
martin
79a69a3a4b Slight change when checking for user. 2002-06-21 15:55:37 +00:00
martin
c2fbfe6db4 Subscibing to forum, not discuss 2002-06-20 15:24:59 +00:00
martin
f93f848ab3 Mass change related to separating forum from discuss and making it a
separate module (again).  This frees up forums for some interesting
developments.  Note that database tables have moved around.
2002-06-20 15:15:22 +00:00
martin
30e1a2ee55 Changes to add subscribe/unsubscribe to site News forum 2002-06-16 09:44:22 +00:00
martin
a325bd2bf6 More accessible log in button up top 2002-06-16 03:25:10 +00:00
martin
ccfa2080e9 Link to site logs 2002-06-12 04:24:14 +00:00
martin
b7b6fef98c OK, this is better (sigh) 2002-06-11 07:43:54 +00:00
martin
01afb600fb grr 2002-06-11 04:31:04 +00:00
martin
10b0e476c1 Fomat tweaking 2002-06-11 03:10:21 +00:00
martin
a6f9c61f05 Removed bodgy forums link - it's not necessary 2002-06-11 03:06:27 +00:00
martin
89997e5999 Tweaking layout 2002-06-10 13:40:31 +00:00
martin
e4b5c8c0cd More tweaks and simplification when possible 2002-06-10 13:35:19 +00:00
martin
7a522f28c8 Tweak: added courses link back in ... because courses page may
one day be something different to the display on the front page
(eg when there's very many courses)
2002-06-10 11:35:43 +00:00
martin
de973a1820 More tweaks for admin view 2002-06-10 05:41:36 +00:00
martin
d887b5a7bd Changes to allow choice of format on home page of site 2002-06-10 05:19:03 +00:00
martin
a5fbfa8afb course->id now site->id so we can add a reading 2002-05-27 02:25:40 +00:00