Eloy Lafuente (stronk7)
cedb0aab5a
MDL-39434 Bump all versions near 2.5 release
2013-05-01 18:03:29 +02:00
Marina Glancy
9a36be7361
MDL-37085 Properly deprecated functions print_xxx() from course/lib.php
...
- get_print_section_cm_text()
- print_section_add_menus()
- print_section()
- make_editing_buttons()
2013-01-14 15:01:28 +11:00
Marina Glancy
5c016ab30d
MDL-37085 fixed mess with code overwriting cm_info properties
...
In case when groupmode is forced by the course we should take it from the
course and not overwrite cm_info::groupmode externally
2013-01-14 15:01:25 +11:00
Marina Glancy
9a6aa5c17d
MDL-37085 Substitute function print_section_add_menus() with core_course_renderer::course_section_add_cm_controls()
2013-01-14 15:01:23 +11:00
Marina Glancy
f89c53f679
MDL-37085 Substitute get_print_section_cm_text() with cm_info functions
2013-01-14 15:01:21 +11:00
Eloy Lafuente (stronk7)
663dbbc2e6
MDL-36933 Bump everything to 2012112900
...
(versions, requires and dependencies)
2012-11-30 03:30:09 +01:00
Frederic Massart
ebc583e4a3
MDL-36659 usability: Adjust main menu block CSS
2012-11-19 20:23:42 +08:00
Frederic Massart
11f8718780
MDL-36323 usability: Normalising icons used in blocks
2012-11-14 14:07:40 +08:00
Mark Nelson
4fc95a9fff
MDL-34270 blocks: removing unnecessary capabilities
2012-11-08 14:49:28 +08:00
Mark Nelson
70c9c1956d
MDL-34270 blocks: Adding clonepermissionsfrom to the new capability definitions
2012-11-05 12:28:09 +08:00
Mark Nelson
b291b59d6a
MDL-34270 blocks: adding new add block capabilities
2012-11-02 14:32:01 +08:00
Marina Glancy
4ede27b253
MDL-35339 deprecate get_course_section() replace with course_create_sections_if_missing()
...
By passing course object instead of course id we ensure proper cache reset"
2012-10-15 14:08:14 +08:00
Marina Glancy
d57aa283f7
MDL-35339 Deprecate get_all_mods() add get_module_types_names()
...
- added function get_module_types_names() returning the list of localised strings used for module names;
- added function cm_info::get_used_module_names();
- added magic properties cm_info:: and cm_info:: returning human readable module name;
- replaced usage of function get_all_mods() with get_fast_modinfo() and get_module_types_names();
- function print_section_add_menus() may now retrieve the modules names list itself;
- deprecated function get_all_mods()
2012-10-15 14:08:13 +08:00
Marina Glancy
71a56e08c8
MDL-35339 avoid using get_all_sections(), get_all_mods() and field section.sequence directly
2012-10-15 14:08:13 +08:00
Frederic Massart
fe2fdd11e4
MDL-34456 Librairies: Replaced deprecated get_context_instance()
2012-07-24 09:49:47 +08:00
Eloy Lafuente (stronk7)
c5e783e512
MDL-33794 version.php: Bump all versions, requires and dependencies to 2012061700
2012-06-18 02:37:00 +02:00
Petr Skoda
d68b3dbe72
MDL-30007 standard version file for all blocks
2011-11-29 20:57:30 +01:00
sam marshall
0d8b6a69ce
lib MDL-25981 Improved modinfo
...
This commit:
a) moves modinfo code into new library modinfolib.php
b) uses classes instead of stdClass objects, allowing a huge amount of documentation (and IDE completion)
c) adds hooks so that plugins other than forum can display messages like forum's 'unread', and plugins other than label can display html (apart from/as well as their view.php link) on the course view page
d) removes current hacks for forum and label (mainly in print_section but also across the code), replacing with new 'content' and similar variables [this is the reason for the changes in blocks, etc]
e) reduces size of modinfo in database (only when rebuilt) by excluding empty fields
The change is intended to be backward compatible and does not affect the format of modinfo in database.
2011-01-26 10:29:16 +00:00
Sam Hemelryk
367a75fae4
themes lib MDL-24895 Multiple fixes to better handle overflow.
...
Major tasks undertaken in this patch:
* New format_text argument, overflowdiv.
* New page layout Report.
* Review of all format_text calls.
* Added support for the report layout to all themes.
* Changed forum post display from tables to divs.
2010-11-05 02:53:47 +00:00
Petr Skoda
dd4bee83ae
MDL-24321 switching to stdClass in /blocks/
2010-09-21 08:10:17 +00:00
Rossiani Wijaya
710363c97a
MDL-6820 - make block icons clickable
2010-08-20 06:29:22 +00:00
Petr Skoda
8571833f0b
MDL-23069 moving version and cron info into standard version.php - finally, yay!
2010-07-04 12:18:22 +00:00
Martin Dougiamas
16b5fdaf17
MDL-22054 Fixed some uppercasing errors. We Never Use This Format For Strings.
2010-04-30 02:42:18 +00:00
Petr Skoda
0f14f7e686
MDL-22054 converting block name strings to pluginname
...
AMOS START
MOV [mainmenu,core],[pluginname,block_site_main_menu]
AMOS END
2010-04-11 11:47:54 +00:00
Petr Skoda
b5d0cafc6f
MDL-20787 final switch to new $OUTPUT->pix_url() - yay!
2009-12-16 21:50:45 +00:00
Petr Skoda
683c01d2c8
MDL-20787 removed mod_icon_url() completely
2009-12-16 20:30:24 +00:00
Petr Skoda
4ca6cfbfd4
MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup
2009-11-01 12:00:47 +00:00
tjhunt
e63f88c9a6
MDL-19690 - lots more $CFG->pixpath to $OUTPUT->old_icon_url
...
and $CFG->modpixpath to $OUTPUT->mod_icon_url
2009-07-02 12:07:58 +00:00
tjhunt
6b608f8f50
MDL-19690 - lots more $CFG->pixpath to $OUTPUT->old_icon_url
2009-07-02 10:53:31 +00:00
tjhunt
cb6402296c
blocklib: MDL-19010 remove no-longer-necessary global variable use from blocks
2009-05-06 09:28:26 +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
830dd6e9cd
moodle_page: MDL-12212 reimplement user_is_editing, deprecate isediting
2009-05-06 08:59:29 +00:00
skodak
d4a1fcaf11
MDL-16613 sesskey cleanup
2009-01-02 10:36:25 +00:00
skodak
98891b9348
MDL-14679 fixed regressions
2008-05-31 18:20:05 +00:00
skodak
219f652b91
MDL-14679 upgrade $DB conversion
2008-05-31 18:05:42 +00:00
moodler
433c242f1a
Merged new block versions from 1.9
2008-03-03 11:43:32 +00:00
skodak
1a4872b63e
MDL-13257 fixed problems when section 0 does not exist yet; merged from MOODLE_19_STABLE
2008-02-02 18:56:28 +00:00
stronk7
51f2e837eb
Fix notice with edit enabled in site page. Merged from 19_STABLE
2008-01-26 23:13:25 +00:00
skodak
dd97c32868
MDL-12945 a slightly bigger patch for performance in recent activity and various group related issues + some other fixes - see list of subtasks in tracker; merged from MOODLE_19_STABLE
2008-01-24 20:33:50 +00:00
skodak
b286b86097
MDL-11004 missing capability check in main manu block on the frontpage
2007-08-26 15:58:48 +00:00
skodak
f82c88abd4
MDL-5120 list blocks now use <div for columns instead of span and floats; blocks related CSS cleanup, some xhtml strict fixes
2007-01-09 11:04:13 +00:00
skodak
6a18844bf3
MDL-7861xhtml strict fixes - site main menu
2007-01-09 00:18:37 +00:00
skodak
0d905d9f34
MDL-7861 new class .icon and .iconsmall
2007-01-08 09:14:05 +00:00
stronk7
fea43a7f51
Casting $course->modinfo to string prevents one notice to
...
be showed when it's null, returning false as desired.
2006-09-04 21:12:37 +00:00
skodak
35a518c5de
fixed admin defaults, some warnings during install and added trmporary hack to make $CFG->notloggedinroleid work
2006-09-02 10:03:30 +00:00
vyshane
6006c31d28
Added has_capability call
2006-08-15 06:37:55 +00:00
nfreear
2e94cf0c09
Accessibility: incidental image - should be empty Alt text; removed unnecessary height/width (OU-Bugz: 696, 697)
2006-03-16 11:51:19 +00:00
defacer
8023ab860a
Merging from STABLE:
...
Fix for bug 2925:
When editing is turned on, the Main Menu should always display and give
the option of adding resources/activities in section 0 of the site.
Bad optimization code caused the drop downs to not be shown if there
was no section 0 (i.e., the site never had a news forum or an activity
in the Main Menu block).
FINALLY! :)
PS: Version bump, so that we know if people have the latest version of
the block. I 'm going to bump versions from now on when bugs are fixed.
2005-06-13 01:57:33 +00:00
defacer
4fad36189f
I 'm fed up with the crappy HTML for blocks that keeps giving us
...
no end of trouble (bug 1718 is just the tip of the iceberg).
Rehauling things... these two divs are superfluous.
2005-05-09 23:37:28 +00:00
moodler
85ed4448d3
FIxed a notice
2005-04-13 03:18:12 +00:00