Sam Hemelryk
afc45eb160
navigation MDL-25578 Fixed up navbar when viewing categories.
2010-12-08 02:03:07 +00:00
Sam Hemelryk
1b32bc234a
categories MDL-24936 Added turn editing on/off links to the category settings in the settings block
2010-11-22 05:31:46 +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
David Mudrak
47cdfde347
MDL-24449 Fixed icons at /course/category.php page
2010-09-29 20:41:37 +00:00
Petr Skoda
3ead116af3
MDL-22795 guest access icon + lang pack enrol related cleanup
...
AMOS BEGIN
MOV [allowguests,core],[allowguests,enrol_guest]
AMOS END
2010-08-18 09:26:46 +00:00
Petr Skoda
bf423bb1d1
MDL-22795 basic support for course enrol icons and enrol info
2010-08-18 09:02:05 +00:00
Petr Skoda
f8e9c93a9a
MDL-23784 fixed incorrect pix links
2010-08-12 18:30:32 +00:00
Petr Skoda
6163adcc54
MDL-23666 linking enrol UI instead of role assign at course context
2010-08-04 19:49:23 +00:00
Sam Hemelryk
8c5ce0ec59
course-category MDL-23058 Fixed pagination bug with category listing. Kudos Myles for the patch
2010-07-21 06:46:19 +00:00
aparup
7feebf6f6d
Administration MDL-23144
...
Course create/update/cancel now navigates back to where u came from (namely /course/index.php & /course/category.php).
(except when creating by default in Misc whereby you're sent to Misc where the course was created)
2010-07-16 07:10:49 +00:00
Petr Skoda
64f93798d4
MDL-22950 adding new component column to the files table, unfortunately this change requires changes in all 2.0dev code, please review all custom code that was already upgraded to 2.0; fixing multiple problems and regressions in mod/assignment
2010-07-03 13:37:13 +00:00
Petr Skoda
df997f841f
MDL-21782 reworked enrolment framework, the core infrastructure is in place, the basic plugins are all implemented; see the tracker issue for list of unfinished bits, expect more changes and improvements during the next week
...
AMOS START
MOV [sendcoursewelcomemessage,core_admin],[sendcoursewelcomemessage,enrol_self]
MOV [configsendcoursewelcomemessage,core_admin],[sendcoursewelcomemessage_desc,enrol_self]
MOV [enrolstartdate,core],[enrolstartdate,enrol_self]
MOV [enrolenddate,core],[enrolenddate,enrol_self]
CPY [welcometocourse,core],[welcometocourse,enrol_self]
CPY [welcometocoursetext,core],[welcometocoursetext,enrol_self]
MOV [notenrollable,core],[notenrollable,core_enrol]
MOV [enrolenddaterror,core],[enrolenddaterror,enrol_self]
MOV [enrolmentkeyhint,core],[passwordinvalidhint,enrol_self]
MOV [coursemanager,core_admin],[coursecontact,core_admin]
MOV [configcoursemanager,core_admin],[coursecontact_desc,core_admin]
MOV [enrolledincourserole,core],[enrolledincourserole,enrol_manual]
MOV [enrolme,core],[enrolme,core_enrol]
MOV [unenrol,core],[unenrol,core_enrol]
MOV [unenrolme,core],[unenrolme,core_enrol]
MOV [enrolmentnew,core],[enrolmentnew,core_enrol]
MOV [enrolmentnewuser,core],[enrolmentnewuser,core_enrol]
MOV [enrolments,core],[enrolments,core_enrol]
MOV [enrolperiod,core],[enrolperiod,core_enrol]
MOV [unenrolroleusers,core],[unenrolroleusers,core_enrol]
AMOS END
2010-06-21 15:30:49 +00:00
Dongsheng Cai
214a81b8d1
MDL-22731, fixed category description images
2010-06-11 04:11:42 +00:00
Rossiani Wijaya
b3ddf59ab4
add page heading
2010-05-27 09:47:33 +00:00
Petr Skoda
61ef8f9f88
MDL-20204 removing deprecated admin headers
2010-03-31 08:05:53 +00:00
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
75015e5fc1
MDL-20204 converting link to html_writer or action_link
2010-02-11 16:27:53 +00:00
Petr Skoda
edc28287b2
MDL-21577 converting select auto submit code
2010-02-10 16:20:28 +00:00
Petr Skoda
f8dab96615
MDL-20204 a lot more steps away from html_select
2010-02-10 09:37:50 +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
191b267bcd
MDL-20790 more page layouts -see base theme for full list; also added new css body class for describing current layout; base layout is now default for beter BC; require_login() now sets 'incourse' layout automatically
2009-12-27 12:02:04 +00:00
Petr Skoda
b5d0cafc6f
MDL-20787 final switch to new $OUTPUT->pix_url() - yay!
2009-12-16 21:50:45 +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
Petr Skoda
58b45fd7b2
MDL-20697 fixed whitespace and coding style
2009-11-01 09:25:47 +00:00
Petr Skoda
3f77c1584c
MDL-20697 removing duplicate error string, fixing get_site() which is now using exceptions
2009-11-01 09:10:09 +00:00
dongsheng
4c211e95c4
"MDL-20422, check courses category before moving, hideing, showing courses, merged from 1.9"
2009-10-05 07:44:45 +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
61867c8382
MDL-19794 Upgraded calls to link_to_popup_window()
2009-08-20 13:14:52 +00:00
nicolasconnault
b453120768
MDL-19794 upgraded calls to print_table, print_single_button, print_user_picture, print_container* and notice_yesno
2009-08-20 08:40:19 +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
98b369f800
MDL-19794 Converted print_box* to $OUTPUT->box*
2009-08-10 04:53:59 +00:00
nicolasconnault
82fcab32c1
MDL-19794 Converted calls to popup_form()
2009-08-10 03:35:14 +00:00
nicolasconnault
64e12bb710
MDL-19794 Converting calls to popup_form()
2009-08-08 09:31:01 +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
moodler
17f950eb0d
category blocks MDL-19398 Set the proper context on the course category pages so blocks work properly
2009-08-04 09:33:43 +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
a102baea51
course MDL-19794: Fix initialisation order problems on course/category.php.
2009-07-28 03:12:04 +00:00
tjhunt
ebff477995
MDL-19882 Add missing require_login-s before require_capability.
2009-07-20 08:57:18 +00:00
tjhunt
1fb3d044fd
Re-order the code, so we process the actions before we do any output.
That is the right order anyway, and avoids the problem where require_capability
after output is started leads to an exception being thrown.
2009-07-04 14:23:49 +00:00
tjhunt
024d4aafbf
XHTML strict.
2009-07-04 13:36:19 +00:00
tjhunt
6b608f8f50
MDL-19690 - lots more $CFG->pixpath to $OUTPUT->old_icon_url
2009-07-02 10:53:31 +00:00
tjhunt
b70094743a
themes: MDL-19077 change how the theme is initialised and CSS is served.
...
This is part of http://docs.moodle.org/en/Development:Theme_engines_for_Moodle%3F
$THEME is now initialised at the same time as $OUTPUT. Old functions like
theme_setup are deprecated in favour of methods on $PAGE. There is a new
theme_config class in outputlib.php that deals with loading the theme config.php file.
CSS used to be served by themes styles.php files calling a function in weblib.php.
Now it works by each theme's styles.php file doing
$themename = basename(dirname(__FILE__));
require_once(dirname(__FILE__) . '/../../theme/styles.php');
which is less code to be copied into each theme. (Old-style styles.php files still
work thanks to some code in deprecatedlib.php.)
Admin UI for choosing a theme cleaned up.
A couple of theme-specific hard-coded hacks like $THEME->cssconstants and
$THEME->CSSEdit have been replaced by a more generic $THEME->customcssoutputfunction
hook. See examples at the end of outputlib.php
Also:
* Fix setting the theme in the URL, which seems to have been broken since 1.9.
* Fix up errors on a few pages caused by the new initialisation order.
* MDL-19097 moodle_page::set_course should not set $COURSE unless it is $PAGE.
* httpsrequired() from moodlelib.php moved to $PAGE->https_required().
* Move has_started() method to the renderer base class.
* Further fixes to display of early errors.
* Remove print_header/footer_old from weblib. I did not mean to commit them before.
2009-07-01 05:54:26 +00:00