268 Commits

Author SHA1 Message Date
nicolasconnault
0a941490ec MDL-19792 Changed param id to entryid so that the navigation is built consistently with index.php. Also fixed the form which was broken 2009-09-08 05:36:45 +00:00
nicolasconnault
9366362a59 MDL-19792 Removed some legacy code and cleaned up the navigation for add/edit blog entry page 2009-09-08 03:05:09 +00:00
nicolasconnault
e640790eb6 MDL-19792 Applied Sam's patch 2009-09-07 10:01:26 +00:00
nicolasconnault
e14de6f979 MDL-19676 Replaced magpie with simplepie 2009-09-04 07:09:45 +00:00
nicolasconnault
c5dc10ee58 MDL-19676 Started to use new navigation code 2009-09-04 03:40:01 +00:00
nicolasconnault
cae837087a MDL-19676 Blog improvements 2009-09-04 00:36:43 +00:00
nicolasconnault
7d00c7bc1a MDL-19792 upgraded calls to print_table, print_single_button, print_user_picture, print_container* and notice_yesno 2009-08-20 08:39:52 +00:00
nicolasconnault
d383a3c4cc MDL-19792 Upgraded calls to helpbutton, print_simple_box* and notify 2009-08-18 04:29:42 +00:00
nicolasconnault
3bfcfdca2d MDL-19792 Converted calls to print_paging_bar 2009-08-07 01:41:27 +00:00
nicolasconnault
2a5d51d37b MDL-19792 Converted calls to print_paging_bar 2009-08-07 00:34:35 +00:00
nicolasconnault
033e4aff8c MDL-19792 Converted all print_footer() calls 2009-08-06 14:22:50 +00:00
nicolasconnault
16ba76bd1c MDL-19792 Migrated calls to print_heading 2009-08-06 08:26:20 +00:00
tjhunt
d4a03c00ea themes & blocks - MDL-19077 & MDL-19010 blocks are now printed by the theme
The code to print blocks in now in theme layout.php files. (Or in
moodle_core_renderer::handle_legacy_theme)

Code for printing blocks everywhere else has been stripped out.
(Total diffstat 1225 insertions, 2019 deletions)

The way the HTML for a block instance is generated has been cleaned
up a lot. Now, the block_instance generates a block_contents
object which gives a structured representation of the block,
and then $OUTPUT->block builds all the HTML from that.

How theme config.php files specify the layout template and block
regions by page general type has been changed to be even more flexible.

Further refinement for how the theme and block code gets initialised.

Ability for scrits to add 'pretend blocks' to the page. That is,
things that look like blocks, but are not normal block_instances.
(Like the add a new block UI.)

Things that are still broken:
 * some pages in lesson, quiz and resource. I'm working on it.
 * lots of developer debug notices pointing out things that
   need to be updated.
2009-07-09 07:35:03 +00:00
samhemelryk
19c9f09430 filelib MDL-19707 Converted existing ...str_replace('png','gif')... to use file_extension_icon and file_mimetype_icon 2009-07-07 06:16:01 +00:00
skodak
7d961b6888 MDL-19676 removing premature commit 2009-07-03 21:48:06 +00:00
tjhunt
666e84584c MDL-19690 - more $CFG->pixpath to $OUTPUT->old_icon_url 2009-07-03 04:23:05 +00:00
tjhunt
6b608f8f50 MDL-19690 - lots more $CFG->pixpath to $OUTPUT->old_icon_url 2009-07-02 10:53:31 +00:00
nicolasconnault
856b6fe6d2 MDL-19676 Removed course and group visibility settings for blog 2009-07-01 08:49:47 +00:00
skodak
2a7eff41ad MDL-18293 $DB->something is using exceptions, no need for ifs there, removing useless strings 2009-06-03 20:37:28 +00:00
sam_marshall
08577617ff MDL-19274 - Blog RSS feed should include information about tags in each post 2009-05-22 15:16:58 +00:00
skodak
4eef139962 MDL-14589 file browsing refactoring - moving url encoding to filelib.php for now 2009-05-20 22:32:02 +00:00
skodak
c679322bb8 MDL-18869 fixed full name display; merged from MOODLE_19_STABLE 2009-05-08 12:08:02 +00:00
tjhunt
f474a4e583 blocks: MDL-19010 Fix further blocks-related breakage, including removing all references to blocks_insance_old outside blocklib.php 2009-05-07 08:55:10 +00:00
tjhunt
3179b0006a blocklib: MDL-19010 Fix blocks that were relying on ->instance in an unfortunate way 2009-05-06 09:15:33 +00:00
tjhunt
08eab89703 blocklib: MDL-19010 add block and get_blocks methods 2009-05-06 09:14:42 +00:00
tjhunt
93d4a373f9 blocklib: MDL-19010 always include blocklib in setup.php, stip includes elsewhere 2009-05-06 09:13:16 +00:00
tjhunt
66b10689e2 blocklib: MDL-19010 upgrade database tables ready for now blocks system 2009-05-06 09:12:03 +00:00
tjhunt
cfcfb9f3d0 moodle_page: MDL-12212 kill legacy page_allows_editing implementations 2009-05-06 09:02:48 +00:00
tjhunt
b80e3a9c47 moodle_page: MDL-12212 remove get_extra_header_string method from blog page 2009-05-06 09:00:15 +00:00
tjhunt
830dd6e9cd moodle_page: MDL-12212 reimplement user_is_editing, deprecate isediting 2009-05-06 08:59:29 +00:00
tjhunt
ad52c04f4c moodle_page: MDL-12212 Kill legacy url_... and blocks_... methods
Start calling $PAGE->set_url in all the places it will be necessary
Start of a stub implementation of $PAGE->blocks to stop other things breaking
Remove some of the special case methods in admin_page
2009-05-06 08:55:53 +00:00
tjhunt
4873f5f709 moodle_page: MDL-12212 Eliminate legacy blocks_ methods
moving blocks will now be broken until the new bockslib is done
2009-05-06 08:53:14 +00:00
tjhunt
d529807a65 moodle_page: MDL-12212 kill $CFG->pagepath (use $PAGE->set_pagetype)
deprecate $PAGE->get_format_name (use $PAGE->pagetype)
deprecate page_id_and_class (use $PAGE->pagetype)
2009-05-06 08:38:55 +00:00
tjhunt
31940ba622 moodle_page: MDL-12212 remove code in legacy page types that stores a course record 2009-05-06 08:35:39 +00:00
tjhunt
f230ce19ea moodle_page: MDL-12212 implement ->pagetype 2009-05-06 08:34:32 +00:00
stronk7
522f26f158 MDL-18129 blog_print_entry() - avoid double format_text() ; merged from 19_STABLE 2009-02-04 16:40:26 +00:00
tjhunt
fc23301ced blog / tags: MDL-17900 Use the new tags field type to tag blog posts. 2009-01-16 07:08:58 +00:00
tjhunt
565b14d248 tags/blog: Multiple XHTML strict problems. 2009-01-14 08:49:35 +00:00
skodak
11e7b506ce MDL-17754, MDL-11061, MDL-9276, MDL-17777, MDL-17787 - various url handling improvemetns; rewritten $FULLME and added $ME, $SCRIPT and $FULLSCRIPT; improved slashargument handling especially for IIS; removed legacy slasharguments functions obsoleted since 1.6; some other refactoring; reverse procy support, ssl appliance support 2009-01-05 21:37:20 +00:00
dongsheng
771dc7b298 "MDL-14129, fix error() in moodle2" 2008-12-12 05:45:43 +00:00
dongsheng
ff9b4ea40a "MDL-17570,clean align property, merged from 1.9" 2008-12-10 07:24:11 +00:00
tjhunt
16851b22ad MDL-16676 All references to the text.html and emoticons.html files need to be updated to point to text2.html and emoticons2.html 2008-09-25 10:04:01 +00:00
skodak
172dd12c63 MDL-14589 initial file storage implementation, temporary file manager, migration of course files; blog conversion MDL-15905; assignment conversion MDL-15904; fromslib related file improvements MDL-15906 2008-07-31 22:15:30 +00:00
dongsheng
9afff849e1 MDL-14129, remove 2 error()s in course and blog module 2008-07-24 04:59:29 +00:00
scyrma
5a254a2938 MDL-14279: use get_file_url instead of checking $CFG->slashargument manually (merge from 1.9) 2008-07-10 09:55:11 +00:00
scyrma
e7134583d7 MDL-14237: Removing all remaining tag-related uses of html_entity_decode (merge from 1.9) 2008-07-07 07:45:51 +00:00
scyrma
18d330b0ac MDL-12649: Prevent editing a blog from changing the display sort (based on creation date) (Patch by Dan Poltawski) (merge from 1.9) 2008-07-07 03:21:52 +00:00
skodak
f5fc83e818 MDL-15516 prvent access to deleted profiles and other user areas 2008-07-05 14:52:39 +00:00
scyrma
9c64d40f33 MDL-15392: preventing duplicate #id in blog entries list 2008-06-30 01:51:45 +00:00
scyrma
a8db060b39 MDL-15392: fix output sanitization and put permalink back, in a xhtml-strict compliant way. (Merge from 1.9) 2008-06-27 04:02:31 +00:00