94 Commits

Author SHA1 Message Date
Petr Skoda
4f0c2d0009 MDL-21655 big scary enrolment and roles improvements - see tacker for list of changes, includes other minor fixes too 2010-03-31 07:41:31 +00:00
Eloy Lafuente
d294000348 MDL-21666 backup & restore caps - moving to new naming schema. More to come. 2010-02-19 17:50:14 +00:00
Petr Skoda
929d7a8362 MDL-20204 converted paging_bar to new coding style + fixed regressions from recent commits 2010-02-17 16:59:41 +00:00
Petr Skoda
edc28287b2 MDL-21577 converting select auto submit code 2010-02-10 16:20:28 +00:00
Petr Skoda
a685593466 MDL-21233 moodle_url improvemewnts, code simplification, more diagnostics; fixed several regressions 2010-01-16 15:39:56 +00:00
Petr Skoda
5c2ed7e215 MDL-21198 $OUTPUT->single_button() resurrection, hopefully much easier to use than $OUTPUT->button(); fixed some regressions and code style improvements 2010-01-03 15:46:14 +00:00
Petr Skoda
1ba862ec6e MDL-21198 going back to the original spacer syntax, image component improvements, plus some regression fixes 2009-12-27 23:31:46 +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
aa6c1ced0a MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-04 08:11:02 +00:00
Sam Hemelryk
8bdc9cacad files MDL-20601 Conversion of many of the uses of print_textarea, and the mforms htmleditor to the new editor
Please forgive me if I have missed converting any output statements. If you do find an output statement that is not formatting correctly please refere to the table I added to this bug in regards to how it should be formatted.
2009-11-04 06:14:06 +00:00
mudrd8mz
f43cdceb75 MDL-20278 moodle_paging_bar - no link for the current page number 2009-09-14 07:26:54 +00:00
samhemelryk
91152a3518 navigation MDL-20216 Refactored add arguments
Moved $action argument from arg5 to arg2
2009-09-04 03:12:01 +00:00
samhemelryk
0a122046bc course MDL-19794 Upgraded print_header and build_navigation calls to use PAGE and OUTPUT equivilants 2009-09-03 08:47:24 +00:00
samhemelryk
7d2a049292 navigation MDL-14632 Very significant navigation commit
This patch introduces two new blocks global_navigation_tree and settings_navigation_tree
both of which have been designed to make full use of the new navigation objects available through
the $PAGE object.
Bulk of this code is within lib/navigationlib.php
2009-08-28 08:47:31 +00:00
nicolasconnault
e6db30260f MDL-19794 Upgraded calls to helpbutton, print_simple_box* and notify 2009-08-18 04:58:26 +00:00
nicolasconnault
7b1f2c829f MDL-19756 Renamed moodle_select to html_select for better API consistency 2009-08-10 08:38:45 +00:00
nicolasconnault
176e842015 MDL-19794 Converted calls to print_paging_bar 2009-08-07 00:27:42 +00:00
nicolasconnault
d60c112435 MDL-19794 Converted all print_footer() calls 2009-08-06 14:10:33 +00:00
nicolasconnault
7c5286cd85 MDL-19794 Migrated calls to print_heading 2009-08-06 08:15:43 +00:00
nicolasconnault
c0d8e936ef MDL-19799 Migrated calls to print_spacer() 2009-08-06 02:24:31 +00:00
nicolasconnault
c351150fca MDL-19756 MDL-19825 MDL-19823 MDL-19794 Deprecated update_tag_button, update_categories_search_button and print_user, and updated a few pages that depended on the now deprecated functions 2009-08-05 02:03:50 +00:00
nicolasconnault
49c8c8d27e MDL-19976 Refactored select_menu() into select(), now supporting menu, radio and checkbox rendering. Added radio() and checkbox() functions. 2009-08-04 02:05:32 +00:00
nicolasconnault
6c843bbcde MDL-19794 Migrated choose_from_menu to the new $OUTPUT->select_menu() function 2009-07-28 09:36:10 +00:00
tjhunt
680a65a0cc course MDL-19794: Fix more initialisation order problems 2009-07-28 04:16:59 +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
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
66b10689e2 blocklib: MDL-19010 upgrade database tables ready for now blocks system 2009-05-06 09:12:03 +00:00
tjhunt
830dd6e9cd moodle_page: MDL-12212 reimplement user_is_editing, deprecate isediting 2009-05-06 08:59:29 +00:00
tjhunt
f6b6861d9d javascript: MDL-18568 We don't need a function called uncheckall, as well as one called checknone!
Also, clean up coding style in the popupchecker function.
2009-03-16 02:11:15 +00:00
skodak
973d2660e6 MDL-16613 sesskey cleanup 2009-01-02 10:51:26 +00:00
tjhunt
04c5310674 course search: MDL-10801 Search terms were not being highlighted consistently in the results. 2008-12-11 10:47:48 +00:00
skodak
67da7e65d2 MDL-13978 fixed code to use new DML syntax 2008-12-09 22:17:18 +00:00
tjhunt
8ed5dd63ee course categories: Fix many bugs with category editing and permissions. Clean up code.
Bugs: MDL-17479, MDL-16426, MDL-16063, MDL-16013, MDL-15658, MDL-15556, MDL-15161, MDL-14925, MDL-13742, MDL-11557.

* Simplify category editing permissions to just moodle/category:manage and moodle/category:seehiddencategories.
* Enforce those correctly. (Note MDL 17502 is still outstanding.)
* Don't screw up category sort order when you just edit name or description.
* Niceties like where redirects go when you cancel or submit forms.
* Make sure a global course creator can see the site admin block.
* Don't allow a category to be made the child of one of its children!
* General code cleanup to bring key files more in line with best pracitice.

Apologies for the fact it is one big patch, rather than a series of smaller patches. However, categoryedit.php, category.php and index.php where in pretty bad shape and needed significant cleaning up. categoryedit.php, in particular, was almost completely rewritten.

Merged from MOODLE_19_STABLE.
2008-12-04 08:53:10 +00:00
jerome
c8271c87dc activities search: MDL-13987 remove AS from SQL, merged from 19 2008-11-11 07:56:55 +00:00
jerome
e48580bdcc MDL-13987: fix navigation links for Activities Administration page: check that the course list is not empty, merged from 19 2008-11-07 05:40:20 +00:00
jerome
d0b7da6966 MDL-13987: fix navigation links for Activities Administration page, merged from 19 2008-11-07 05:34:42 +00:00
skodak
294ce9870f MDL-15189 magic quotes finally removed 2008-06-09 16:53:30 +00:00
skodak
6bb0816313 MDL-14679 towards course conversion 2008-06-02 08:13:24 +00:00
skodak
c3df090199 MDL-14679 datalib conversion completed 2008-05-30 16:47:21 +00:00
skodak
06c1a1daf4 MDL-14981 regex search support in datalib, fixed course search 2008-05-25 20:43:46 +00:00
dongsheng
f581f8d64b "MDL-14129, fix print_error" 2008-05-01 05:44:41 +00:00
dongsheng
8e48039682 MDL-14460, fix get_context_instance, merged from MOODLE_19_STABLE 2008-04-24 08:39:47 +00:00
dongsheng
5a2a53316f MDL-14129, remove all the other error() call 2008-04-04 02:54:20 +00:00
toyomoyo
deb2988f39 MDL-11167, admin blocks page should not show blocks not placed on course pages 2007-10-19 07:54:30 +00:00
iarenaza
0baafc173a Fix MDL-11632: Multiple files with emtpy lines outside PHP open/close tags
There are multiple issues with Moodle files containing empty or blank lines
(lines consisting of white spaces or tabs only) and/or white space before or
after the PHP open and close tags, notably with config.php and theme files.
2007-10-09 21:43:28 +00:00
martinlanghoff
026579bbc3 course/search.php: smarter about contexts, bugfix in pagination
Save a ton of queries about contexts, and a bugfix in how we are
calling the pagination for get_courses_search().
2007-09-19 07:08:50 +00:00
nicolasconnault
d02240f302 MDL-10870 A few more files with old style navigation strings. 2007-08-23 14:58:15 +00:00
nicolasconnault
0be6f67819 MDL-10870 All files updated to new build_navigation() method. Most are untested, because they are not easily accessible within a moodle site. 2007-08-17 19:09:11 +00:00
poltawski
a044c05ddb MDL-9742 - changed tabs to spaces in a few places where there are one
or two
2007-05-08 15:07:25 +00:00