282 Commits

Author SHA1 Message Date
Nicolas Connault
b57d395965 MDL-19683 MDL-20300 MDL-20219 Interface for external blogs 2009-10-30 07:26:27 +00:00
Nicolas Connault
1c7b8b934b MDL-19676 MDL-14408 MDL-8776 Blog improvements 2009-10-30 07:25:50 +00:00
samhemelryk
ec7c4f112b blog MDL-19792 Upgraded two deprecate functions 2009-10-16 03:10:33 +00:00
poltawski
4a432ae638 blog MDL-20319 - Fix postgres incompatible syntax 2009-09-20 15:28:28 +00:00
nicolasconnault
947eaf5781 MDL-19754 MDL-8776 MDL-19678 MDL-20314 Converting old post table to blog_entries, upgrading blog code accordingly, and tags in tag_instance table 2009-09-18 06:57:52 +00:00
nicolasconnault
b73d1ca4f2 MDL-19676 Put association section in advanced items for edit form, corrected bug in group listing, enabled commenting 2009-09-16 10:05:34 +00:00
nicolasconnault
2367726155 MDL-20219 Deleted external blog block, and preferences link from blog_menu block. Placed these as links in settings block instead 2009-09-15 07:57:54 +00:00
nicolasconnault
527761e05f Removed rogue GROUP BY 2009-09-11 08:13:50 +00:00
nicolasconnault
46be7361ee Temporary fix with set_url to remove annoying notices 2009-09-11 07:01:14 +00:00
nicolasconnault
4a8b890a1a MDL-19792 Fixed proper display of headers for Site Blog entries page (index.php, no params) 2009-09-11 07:00:43 +00:00
nicolasconnault
5d50868a61 MDL-19744 Fixed blog attachments 2009-09-11 05:52:22 +00:00
nicolasconnault
5f4d4d801c MDL-19676 Removed blog assignment code 2009-09-11 01:45:16 +00:00
nicolasconnault
ee00eb8c69 MDL-19792 Fixed output of URLs for blog menu block 2009-09-10 07:05:50 +00:00
nicolasconnault
b0e90a0ccd MDL-19792 Fixed number of bugs in URLs 2009-09-09 03:26:18 +00:00
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