110 Commits

Author SHA1 Message Date
Sam Hemelryk
87c215de67 navigation MDL-14632 Fixed up user profile navigation and settings after recent changes. 2010-05-17 05:38:59 +00:00
Martin Dougiamas
99cca8470e MDL-19124 Continued misc user profile cleanups
- fixed user styles in base theme
    - added new divs for better control on user profile and user index pages
    - reduced data on course user profiles down to minimum
    - removed user/tabs.php completely and all uses of it
    - changed default user icon pix to something very bland (bye bye smiley cake)
2010-05-16 08:21:12 +00:00
Martin Dougiamas
2be4d090c0 course completion MDL-2631 Course completion feature - Thanks to Aaron Barnes and Catalyst IT for this significant contribution. It is now officially possible to finish a course!
Even though I've tweaked this and done some polishing, there is still plenty to do on it now in HEAD, mostly to do with UI, usability and strings, so we'll keep working on it.  Aaron already has a number of improvements to add to it.
2010-04-30 03:06:22 +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
David Mudrak
16be897441 MDL-21652 html_table rendering refactored
* class html_component does not exist any more
* class html_table rendered via html_writer::table()
* html_table, html_table_row and html_table_cell have public $attributes property to set their CSS classes
* dropped rotateheaders feature, should be added again after more research of possible ways (<svg> is not nice IMHO)
* dropped possibility to define CSS classes for table heading, body and footer - can be easily done and better done using just table class and context
2010-03-20 22:15:54 +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
Sam Hemelryk
7a7e209df0 navigation MDL-20649 Revised the way in which navigation works for users
When logged in there is a my moodle dashboard branch, when viewing a site profile there is a users branch, and when viewing a course profile there the user is shown under the participants branch
2009-12-23 01:22:48 +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
aa6c1ced0a MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-04 08:11:02 +00:00
samhemelryk
d9cb06dc0e course MDL-19794 Replaced deprecated functions, added set_url calls and boilerplates 2009-09-25 05:24:13 +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
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
e6db30260f MDL-19794 Upgraded calls to helpbutton, print_simple_box* and notify 2009-08-18 04:58:26 +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
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
c13a5e71cc moodle_page: MDL-12212 start of new moodle_page class
* has course and status fields
* $PAGE->status updated by print_header and footer
* $PAGE->set_course now replace course_setup function
* global $PAGE created in setup.php
* unit tests for functionality so far
* Moodle still seems to work after this commit!
2009-05-06 08:29:22 +00:00
skodak
3c7da16d2d MDL-17485 roles: fixed use and definition of review use of moodle/user:viewuseractivitiesreport 2008-12-01 19:19:29 +00:00
skodak
358e2a0bd2 MDL-17464 profile reports are now respecting course report caps 2008-11-30 12:04:27 +00:00
skodak
a2e4bf7f23 MDL-17463 - reparate capabilities for course and admin reports 2008-11-29 14:22:10 +00:00
skodak
f5fc83e818 MDL-15516 prvent access to deleted profiles and other user areas 2008-07-05 14:52:39 +00:00
skodak
8f15f8ec2d MDL-15094 fixed regressions 2008-06-04 23:56:34 +00:00
skodak
6bb0816313 MDL-14679 towards course conversion 2008-06-02 08:13:24 +00:00
skodak
579d45b434 MDL-14679 converted some get courses 2008-06-01 18:12:24 +00:00
dongsheng
dbf91d9d63 MDL-14129, fix print_error 2008-04-26 11:02:51 +00:00
dongsheng
5a2a53316f MDL-14129, remove all the other error() call 2008-04-04 02:54:20 +00:00
skodak
61460dd631 MDL-13192 major stats cleanup patch - see tracker for more details; merged from MOODLE_19_STABLE 2008-02-16 18:33:50 +00:00
tjhunt
b26adbef4c MDL-12373 - More instances of links to the participants list being shown in the navigation bar to people without the necessary capability.
I have not copied and pasted the same code into lots of different places. That sucks. We really need to refactor this into a function that builds the navigation up to, and including the user's name. However, I don't have time now. A list of the places touched by this bug (MDL-12373) will at least give a complete list of places that such a refactoring would have to touch.
2008-01-10 10:58:16 +00:00
tjhunt
5bf04b365e Fix some whitespace. 2007-11-21 16:30:25 +00:00
toyomoyo
934545eb55 MDL-12065, do not force parents to enrol in student courses 2007-11-09 01:39:34 +00:00
skodak
0a78455120 MDL-11934 grade report in user profile now selectable 2007-10-28 17:15:00 +00:00
skodak
d121490949 MDL-11718 report styles moved to report/xx/styles.php - for better consistency with other plugins; other cleanup in user report css; fixed css in user profile 2007-10-28 12:51:16 +00:00
skodak
5be4614e23 MDL-11718 minor fix for grades in user profile 2007-10-27 18:22:52 +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
stronk7
6bb919860b Passing $course to require_login() provides correct and
automatic navlinks to the course. MDL-11452
2007-09-27 23:37:42 +00:00
nicolasconnault
2f6c662f41 MDL-11379 and MDL-11380 fixed 2007-09-21 07:52:52 +00:00
toyomoyo
a683deeca6 merged fix for MDL-10818, do not display graph if user has no permission 2007-08-28 07:04:41 +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
toyomoyo
3aafb7d9d2 merged fix for MDL-10818, do not display broken graph when user has no permission to view actities graph 2007-08-16 04:05:31 +00:00
toyomoyo
9e5fe95780 removing an extra include 2007-08-08 07:51:55 +00:00
toyomoyo
4d25a59e3f user the grader report for user activity reports 2007-08-08 07:50:32 +00:00
moodler
6ba65fa08d Merged Nicolas' changes from MDL-8582 into HEAD. 2007-02-28 06:25:22 +00:00
toyomoyo
fbe31d22d1 xhtml validation fixes for MDL-8425 2007-02-06 08:24:37 +00:00
skodak
0d905d9f34 MDL-7861 new class .icon and .iconsmall 2007-01-08 09:14:05 +00:00
skodak
344044b28e MDL-7434 all images that convey information should have alt text to convey that information - part 1 2006-11-24 20:16:37 +00:00
skodak
1936c10e54 fixed obsoleted use of course->category to find site course - now used SITEID instead MDL-1899 2006-11-12 08:55:13 +00:00
moodler
f9c471dfd9 Merged MDL-7150 fixes (don't try to show grades when there aren't any) 2006-10-31 15:08:22 +00:00
stronk7
37c47abaca Suppress all the uses of LIMIT in the get_field_sql() calls. MDL-7173
Merged from MOODLE_17_STABLE
2006-10-23 16:03:52 +00:00