80 Commits

Author SHA1 Message Date
defacer
71de24539a Removing one block from social courses defaults, too overcrowded.
Fixing also line endings.
2005-04-21 13:25:43 +00:00
defacer
df03aecee7 Fix for bug 2945.
I 've also removed a print_spacer(7). Will fix with CSS.
2005-04-19 21:52:29 +00:00
moodler
e14496ec4f No cell spacing 2005-03-26 07:18:22 +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
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
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
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
8dc93b9445 Invisible sections are no longer shown in jump menu, see bug 2085 2005-02-13 22:23:45 +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
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
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
defacer
e96ba29d6f Vastly improved styles, lots of inline styles removed, markup improved. 2005-02-12 11:37:09 +00:00
gustav_delius
0e2851b998 Avoid using <p> tags because different browsers treat them differently (e.g in firefox if a table cell starts with a <p> it will start with an empty line, in IE it will not). Use <div> instead. 2005-02-06 18:18:44 +00:00
defacer
c1d8705fd2 Change the semantics of blocks_print_adminblock() to make life easier to
developers who use pages. Conversely simplified the code a bit in courses.
2005-02-02 02:41:56 +00:00
urs_hunkler
dcf10978ca this is a course format for pdas. I changed the three column layout to a three row layout - the content is shown in one long row.
* first the content of the left column
* beyond the courses
* at last the content of the right column

It hasn't got a name to select in the language pack yet, so please selct it by [[formatpda]].
2005-01-30 23:09:35 +00:00
moodler
554cec9f27 Removed a lot of THEMES and some other clean up
A LOT of clean up and speed-up is still possible in these
important files by converting all "strings" to 'strings'
2005-01-25 14:18:51 +00:00
urs_hunkler
5c0f8cab97 table ID was written behind the closing tag of the table - corrected. 2005-01-18 19:53:56 +00:00
urs_hunkler
dc140b6cc0 _ added ids for the layout table 2005-01-18 11:11:26 +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
stronk7
5b224948aa course/view.php is using sesskey
(changes in blocks done, please check them)

Merged from MOODLE_14_STABLE
2004-10-09 20:16:05 +00:00
stronk7
8b92f5bb7d course/mod.php is using sesskey.
Merged from MOODLE_14_STABLE
2004-10-09 17:23:28 +00:00
moodler
44ff1b8791 Changes for XHTML compatibility 2004-10-07 09:18:33 +00:00
moodler
1ddd15afbd Changes for XHTML compatibility 2004-10-07 08:46:30 +00:00
gustav_delius
dfc12289a3 after removing empty line at top of section the editing icon was now a bit cramped in, so added an empty line below it but only if editing is on. 2004-09-30 18:56:08 +00:00
gustav_delius
eab617f96c removed spurious empty line at start of sections 2004-09-30 18:43:24 +00:00
paca70
8bf59996b5 escaped two "'s 2004-09-22 11:23:42 +00:00
gustav_delius
839f2456bb XHTML compliance
- fixed (hopefully) all <img> tags
- global replace on <br> to <br />
- &amp; in URLs
- got the forum module XHTML compliant
Julian Sedding
2004-09-16 17:13:57 +00:00
gustav_delius
26686b7ae3 closed some br and img tags 2004-09-12 22:39:20 +00:00
gustav_delius
9a58f7cb85 towards XHTML compliance 2004-09-12 21:43:59 +00:00
gustav_delius
dcb1bd3c9a towards XHTML compliance 2004-09-12 13:21:01 +00:00
gustav_delius
24f2b65a4d towards XHTML compliance 2004-09-12 12:21:27 +00:00
mchurch
b18a962512 Added config files and block default directives to use with new course
default block function.
2004-09-03 20:06:54 +00:00
moodler
179c9a500f Merged fixes for over-keen cleaning from STABLE 2004-09-03 12:44:11 +00:00
moodler
e0161bff4f Merging in all the resource branch stuff (I know, it's mixed up)
so I can sort out the CVS explosion I had tonight
2004-07-25 14:00:29 +00:00
moodler
6236ed990d Pass the whole $course variable to block_print_blocks_admin()
so we have more information.
2004-06-30 13:11:15 +00:00
defacer
89adb17442 Merging the changes from 1.4 dev branch (site index blocks + various bugfixes) 2004-05-28 10:53:54 +00:00
moodler
51f9729eb0 Fixed missing style 2004-05-27 01:30:30 +00:00
moodler
a18ebcc3c0 Blocks admin to bottom 2004-05-22 09:18:12 +00:00
moodler
9743a982b3 Print Blocks admin down the bottom ... hopefully less
confusion for new teachers just trying to add activities

Also, the new blocks appear there anyway
2004-05-22 09:17:06 +00:00
stronk7
d9ddff71d7 Change one comment. Simply. Bug 1393
(http://moodle.org/bugs/bug.php?op=show&bugid=1393)
2004-05-15 18:52:12 +00:00
gustav_delius
fab178a10b add anchors to week/topics on course homepage 2004-05-06 19:02:25 +00:00
moodler
db7da819d5 Use $course->hiddensections in topics and weeks 2004-04-30 12:17:49 +00:00