237 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
03d9401e7d My Moodle MDL-19124 New version of My Moodle, User profiles and Course profiles, all with block support
Thanks very much to Remote Learner Canada, especially Hubert Chathi and Olav Jordan, for their work on the bulk of this code, and also Mike Churchward for supporting them.  I worked on it after that (actually simplified it by removing a feature temporarily: multiple pages) to bring it more to what I was imagining, and to provide a base to build on and get all the navigation perfect.

There's still work to do.  Some blocks don't quite work as expected, and some of the code still needs upgrading to bring it fully into line with 2.0.  We also could use a much better course overview block and better CSS styling of the profile pages.  But it's definitely more usable this it was, I think.
2010-05-04 13:04:35 +00:00
Patrick Malley
e08fbd1940 Added clearfix to .buttons class 2010-04-19 10:47:49 +00:00
Petr Skoda
0aa759b01c MDL-22015 more get_list_of_countries() refactoring 2010-04-14 14:27:10 +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
Sam Hemelryk
90723839ca themes MDL-21862 Implements base theme and standard theme.
Very big theme changes, standardold theme has been split into two themes base and standard. Base theme contains only CSS that is absolutly required (e.g. layout, white space rules, specific widths) and standard (which now looks like standardwhite) contains all the frills.
The following noteable changes have also been made:
  * Plugin CSS has been pushed back into the plugin directories as styles.css files.
  * Install_print_header has been corrected.
  * Redundant or deprecated rules have been removed.
  * Several minor class changes throughout Moodle.
  * CSS is now single line rules not multiline indented.
  * Installs with theme=standardold automatically switch to standard.
  * body classes / id now have prefixes to make it clearer what they are and avoid conflicts.
Also worth noting:
  * There is still alot of tweaking that is required to get everything looking as it is supposed to, please be patient or better yet help out.
  * I am currently working on the documentation for the themes system... it will be here soon.
2010-03-25 06:38:21 +00:00
Petr Skoda
deaa8a19d8 MDL-21859 fixed sesskey protection on email actions 2010-03-18 22:54:17 +00:00
Petr Skoda
871e5728e2 MDL-21830 Prevent users from viewing names of all other site users - only teachers with role assign see the full name of not enrolled users when trying to access the profile 2010-03-18 22:15:41 +00:00
Sam Hemelryk
ad1e8f13b6 user MDL-19786 set pagelayout so that blocks are shown again 2010-01-18 05:00:17 +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
812dbaf7d5 MDL-21198 improved/simplified $OUTPUT->user_picture() + regression fixes, performance fixes and detected performance problems when printing user avatars 2009-12-27 19:47:21 +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
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
samhemelryk
474f6bfed9 core MDL-19799 Added set_url calls and replaced deprecated functions 2009-10-15 03:43:28 +00:00
moodler
183ea48968 user/view MDL-18800 Sort courses consistently with everything else 2009-10-02 06:34:12 +00:00
samhemelryk
ce221eb52d user MDL-19825 Added set_url calls, replaced deprecated functions, and boilderplate 2009-09-25 04:02:46 +00:00
samhemelryk
ee8aca2781 navigation MDL-20235 Ignored active path for site course when in user context 2009-09-08 09:07:20 +00:00
samhemelryk
3175908906 navigation MDL-20235 Added ignore_active method for navbar and corrected user/view 2009-09-08 08:43:44 +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
caa8363f83 user MDL-19825 Upgraded print_header and build_navigation calls to use PAGE and OUTPUT equivilants 2009-09-02 08:36:16 +00:00
skodak
622365d2e1 MDL-20169 fixed coding style, parameter type required 2009-08-27 18:37:53 +00:00
nicolasconnault
f2f085ee68 MDL-19825 upgraded calls to print_table, print_single_button, print_user_picture, print_container* and notice_yesno 2009-08-20 08:50:22 +00:00
nicolasconnault
3aac07d8f0 MDL-19825 Upgraded calls to helpbutton, print_simple_box* and notify 2009-08-18 05:19:25 +00:00
stronk7
8c61317a4c MDL-19690 - fix mailyes|no icon 2009-08-10 08:24:28 +00:00
nicolasconnault
f24ca3ce01 MDL-19825 Converted all print_footer() calls 2009-08-06 14:19:50 +00:00
nicolasconnault
8fa89bfd04 MDL-19825 Migrated calls to print_heading 2009-08-06 08:15:05 +00:00
tjhunt
3975c764fa MDL-19077: Fix Martin's code. 2009-07-20 06:57:43 +00:00
moodler
cb4f6179d5 user/view MDL-19077 set blocks context to always be the current user context 2009-07-20 06:09:27 +00:00
moodler
3b00380f7a user blocks MDL-19077 Set URL for the user/view page so blocks work better 2009-07-20 05:40:32 +00:00
tjhunt
ddedf979b4 MDL-19690 - more $CFG->pixpath to $OUTPUT->old_icon_url 2009-07-03 06:19:25 +00:00
skodak
1deff123aa MDL-15249 towards cli install script 2009-05-25 21:46:28 +00:00
skodak
c6b4179c38 MDL-18338 option for hiding of groups in user profile 2009-04-09 08:29:51 +00:00
skodak
790e5ae236 MDL-13843 user profile in separate group mode even if group mode not forced course-wide (improved consistency in groups at course level); merged from MOODLE_19_STABLE 2009-04-09 08:23:56 +00:00
stronk7
1263a0ff1d MDL-18518 user firstaccess - added suport to display user->firstaccess. Credit goes to Anthony Borrow!
Merged from 19_STABLE
2009-03-11 11:22:55 +00:00
skodak
93f66983cc MDL-17773 new get_login_url() function - fixes missing httpslogin tweaks 2009-01-02 22:56:48 +00:00
skodak
b7b64ff2e0 MDL-17754 next round of session related refactoring 2009-01-02 20:32:05 +00:00
skodak
542797b4e8 MDL-17767 loginas internals refactoring - code moved to sessionlib.php 2009-01-02 14:53:02 +00:00
skodak
53bd22559d MDL-17486 added option to make my courses list in user profile hidden 2008-12-01 22:06:33 +00:00
dongsheng
6eaf2e376f "MDL-17143, use record_exists" 2008-11-12 01:51:28 +00:00
stronk7
1ba3293a6b MDL-17143 Some improvements suggested by Petr applied. Merged from 19_STABLE 2008-11-11 19:06:20 +00:00
stronk7
9af010ea4a MDL-17143 Avoid notices caused by not existing profilesforenrolledusersonly setting. Merged from 19_STABLE 2008-11-11 18:39:34 +00:00
dongsheng
35f0660ab4 "MDL-17143, don't display the user description at all when user isn't enrolled in any courses, merged and modified from 1.9" 2008-11-10 03:06:27 +00:00
peterbulmer
ee4bd7876b MDL-16378 Changes to lang strings,
remoteappuser should be output as somthing like 'Remote Moodle User' or
'Remote Mahara User' or 'Remote <application name goes here> User'
2008-09-10 03:25:28 +00:00
skodak
f5fc83e818 MDL-15516 prvent access to deleted profiles and other user areas 2008-07-05 14:52:39 +00:00
dongsheng
e1267b2079 "MDL-15311, remove extra enter" 2008-06-23 05:43:05 +00:00
dongsheng
910bd9e176 "MDL-15251, see tracker, merged from MOODLE_19_STABLE" 2008-06-16 12:29:56 +00:00
skodak
12ad6ebaa8 MDL-15251 fixed syntax errror 2008-06-16 11:18:33 +00:00