44 Commits

Author SHA1 Message Date
moodler
5eafd94811 One extra option for the format of the site home page so that we can just have a
single topic section (allowing plain HTML in the middle and/or a list of activities)
2005-04-02 09:29:59 +00:00
gustav_delius
6f07ab6444 Updated calls to get_string() for some strings that were moved to lang/en/admin.php 2005-02-24 08:49:32 +00:00
defacer
7542a4e574 Dropping the use of MOODLE_PAGE_COURSE <gasp>!
The new constant is PAGE_COURSE_VIEW, and it's more streamlined with the
new CSS-related ids for 1.5. There are great possibilities for the future
here, so we 're getting ready.

On the other hand, this has to be the ugliest hack I 've ever inflicted
on any program (look at pagelib.php). Thankfully it will only stay for just
a little while.
2005-01-31 02:18:15 +00:00
moodler
3c02d134da Removed $THEME from admin pages 2005-01-25 17:08:05 +00:00
moodler
0fd764ffe9 Fixed a commented-out error message! 8-o 2005-01-22 16:04:14 +00:00
defacer
9b12850043 Fix for bug 2241:
I hope this time I got everything changed to the new Page interface! I 'm
really sorry for messing up and breaking new installations... :(

Also moved the only two functions of the API outside the page_base class.
2004-11-29 04:19:05 +00:00
dhawes
a9e91540df replaced old MoodlePage class call with new page_base call 2004-11-29 00:48:28 +00:00
defacer
f032aa7a5f MAJOR CHANGES:
--------------

Brand-new pagelib.php at your disposal! It slices, it dices, it makes your coffee.
It still doesn't understand women... Read the comments in pagelib.php for a first
impression. Feedback highly encouraged!

Blocks code has undergone significant changes to work with Pages. Flexibility is its
middle name, since I think (without having tried it) that adding e.g. a third
placeholder for "center" blocks in courses, with full support for moving around etc,
will now take about 15 lines of new or edited code. If you are not impressed yet, I
suggest watching a documentary on solar physics. :P

MINOR CHANGES:
--------------

Added instance_allow_config() in the blocks class hierarchy to supplement per-instance
configuration options. You can override it to return true and thus get configuration
amenities without allowing multiple instances.

Minor polishing to comments and documentation (whatever caught my eye was game).

Tightened up some code here and there by utilizing all the new features.

BUGFIXES:
---------

A bug in restore_execute.html caused hidden blocks to not be restored at all.
2004-11-08 19:36:07 +00:00
defacer
9b4b78fd6a Da monster-commit of blocks version 2!
Code based on the work of Daryl Hawes for the blog module. Thanks, Daryl!

Please test the hell out of it as it's sure to have issues that need to be
ironed out.
2004-10-19 21:04:28 +00:00
moodler
195d7cf291 Site can now have proper blocks on an install 2004-10-08 13:46:06 +00:00
moodler
c7029edf84 Merged latest from stable 2004-10-08 05:41:52 +00:00
stronk7
13e1a37198 Now sesskey is working fine at installation time.
Bug 2049
(http://moodle.org/bugs/bug.php?op=show&bugid=2049)

Merged from MOODLE_14_STABLE
2004-10-06 00:08:08 +00:00
moodler
03c40645c1 Merged sesskey fixes from STABLE 2004-10-04 13:50:37 +00:00
defacer
c169db3b66 Merging latest blocks-related stuff from MOODLE_14_STABLE. 2004-08-31 07:29:25 +00:00
moodler
2eb68e6f6b Various cleanups of the installation process 2004-07-29 18:01:32 +00:00
moodler
854f7dcec5 Merged require_logins from stable 2004-07-08 01:19:32 +00:00
defacer
df9e0f89e3 Fixes for bug 1485:
Now the site has blocks by default. Also, block panel width is restricted even
if there are no blocks to display.
2004-06-01 13:47:55 +00:00
moodler
6d04a477a2 Fix richtext editing and inserting images 2003-10-12 17:21:36 +00:00
moodler
2f4d324bd7 Trying something different with the admin links ... even I was starting
to get a bit lost occasionally.
2003-08-18 16:40:27 +00:00
moodler
d47fd1ee7c Added richtext editor to site front page 2003-08-10 09:26:11 +00:00
moodler
05c195931c A little timing issue 2003-08-10 08:17:59 +00:00
moodler
d2b6ba704e Another big checkin.
This includes some significant cleanups to the new course categories
system.  The basic idea is that the categories/course browser is now
unified under one system, and admin features related to that have
all been moved into the browser (as little icons).

I'm much happier with this as a foundation that can scale and be
built upon.

Still to go:

  - searching
  - paging
  - polishing

Also in here are a lot of little cleanups around the place, such as
the initial setup process.
2003-08-07 16:01:31 +00:00
moodler
c9704833fa More files related to recent course display changes 2003-07-30 13:05:51 +00:00
moodler
1dd2451954 Some minor cleanups and debugging of initial setup 2003-05-26 14:38:41 +00:00
moodler
1f33691c86 Cleaned up the initial setup process. It looks a bit smoother now.
Hopefully this is also the end of the occasional errors we keep
hearing about to do with never getting to setup the admin user.
(I think admin/site.php had a redirect that didn't always work).

The setup process is now much better at "trapping" you until it's all done.
2003-05-06 15:58:20 +00:00
moodler
b0e3a92523 Clean sweep through all the important changing all include(), include_once()
and require() to require_once()
2003-01-05 14:19:20 +00:00
moodler
36b4f9852e buggy_referer is dead! Long live buggy_referer!
Should be fixed now.  As a bonus, I've removed all the uses of
HTTP_POST_VARS from all scripts.

All forms should use the new data_submitted() function to collect
form data (it does the match_referer thing internally now).

Much nicer.
2003-01-02 14:49:23 +00:00
moodler
47f1da80d0 More little fixups for robustness 2002-12-30 05:13:43 +00:00
moodler
2be8b28f3d Changes to improve usability when the admin folder has been renamed,
and also a change in checking for the admin user, just in case an
old session is hanging around
2002-10-25 02:02:02 +00:00
martin
dfb6e4ac3e Tweaks to page titles to make them more consistent 2002-09-27 14:26:02 +00:00
martin
74944b734d Most of the configuration variables have been moved out of the config.php
file and into a database, where they can be edited using a new admin form
called "Configure variables".
2002-09-19 12:01:55 +00:00
martin
ba2e5d7347 Categories upgrade. Admin can now create/edit/delete categories, and
these are diesplayed wherever courses are listed
2002-09-09 11:48:11 +00:00
martin
cf38360f58 Language fixes, added english strings etc 2002-09-03 13:11:40 +00:00
martin
6f5db3b457 More direct link to index.php just in case they don't have index.php
set as a default page
2002-08-26 02:49:34 +00:00
martin
3be1715715 Language fixes and cleanups for admin/site.* 2002-08-13 15:40:07 +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
a3447e1053 Cleanup of the admin interface - especially the user management
Bugs fixed, duplicate code removed, plus you can now add new users.

Aaah much better.  :-)
2002-08-08 14:17:55 +00:00
martin
ce15d1784c Close wide-open hacking hole! This script wasn't checking for admin
user in the case where the site has been defined already.  Oops. Fixed now.
2002-08-06 12:17:40 +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
a83fded1a9 Consistent use of get_site() instead of checking course->category directly 2002-07-11 05:30:10 +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
d887b5a7bd Changes to allow choice of format on home page of site 2002-06-10 05:19:03 +00:00
martin
6c19f34bf8 Removed some logging 2002-05-31 13:20:21 +00:00
martin
f9903ed0a4 Initial revision 2001-11-22 06:23:56 +00:00