1094 Commits

Author SHA1 Message Date
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
Dongsheng Cai
65a86aa764 "MDL-21122, fixed saving setting problem in section links block, merged from 1.9" 2009-12-18 03:03:01 +00:00
Petr Skoda
5515b53605 MDL-21147 do not use standard "get_x" methods for "magic" $PAGE stuff + fixed incorrect ->get_x uses 2009-12-17 14:04:15 +00:00
Andrew Davis
0d4f1ce6f0 rss MDL-8922 escaped ampersands in rss feed titles 2009-12-17 05:55:33 +00:00
Petr Skoda
2f67a9b3a5 MDL-20700 whitespace terror returns yet again 2009-12-16 22:22:37 +00:00
Petr Skoda
4454447d56 MDL-20700 whitespace terror returns 2009-12-16 22:14:17 +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
f44b10ed93 MDL-21139 replace all yui functions/methods with yui2 to make room for yui3 2009-12-16 20:25:14 +00:00
Petr Skoda
78946b9bdb MDL-20204 first batch of major theme changes, some regressions are still there, expect more changes and improvements soon; see tracker for details and list of subtasks 2009-12-16 18:00:58 +00:00
Sam Hemelryk
78bcd545d0 blocks MDL-19788 Fixed use of delete_records 2009-12-07 05:49:30 +00:00
Dongsheng Cai
6c33f53253 "MDL-20125, added configurable setting to section_links block, credits to Jason Hardin, merged from 1.9" 2009-12-04 09:01:50 +00:00
Sam Hemelryk
8958174c48 navigation MDL-20651 Changed setting from hide to show 2009-11-05 09:31:55 +00:00
Petr Skoda
0ac940b3bf MDL-20712 using just $capablities for capability definition array, all other files in db/* do not use component names in definition array; old capability array names are of course supported 2009-11-04 19:24:12 +00:00
Sam Hemelryk
da3ab9c4be navigation MDL-20651 Added config setting to hide course categories on the navigation
As requested and voted on admin can now choose not to include course categories within the navbar and global navigation block.
At the same time I also introduced a second setting, showallcourses, which ensures all of the courses a user is registered in are shown on the navigation at all times.
2009-11-04 07:23:19 +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
4ca6cfbfd4 MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 12:00:47 +00:00
Nicolas Connault
dc01eb84f2 MDL-19688 Recent blog entries block 2009-10-30 07:27:33 +00:00
Nicolas Connault
730d28c53b MDL-19685 Upgraded blog_tags block so that it displays course-associated or module-associated tags on the appropriate pages 2009-10-30 07:27:02 +00:00
Nicolas Connault
6b157f87fa MDL-19687 MDL-19686 Completely rewrote the blog_menu block, so that it can be used as a sticky block and varies in content depending on the current page. 2009-10-30 07:26:50 +00:00
samhemelryk
1cc0286707 tag MDL-16704 Moved inline Javascript to tag.js and upgraded to page methods 2009-10-22 03:59:35 +00:00
nicolasconnault
b58961acaa MDL-20565 When editing is off, hiding blocks whose sub-system is disabled at site level. When editing is on, printing a "[subsytem] is disabled" message. 2009-10-15 01:36:50 +00:00
samhemelryk
4cdb8d70ae blocks MDL-19791 Upgrade deprecated function calls 2009-09-30 06:54:07 +00:00
samhemelryk
458eb0d10c overlib MDL-19735 Overlib is now included only where it is used
At the same time I have converted the calendar block to use YUI instead of overlib, this introduces one regression in that the panel is shown immediatly but should really have a minimal delay for usability.
This will be fixed once the theme changes for 2.0 have been commited
2009-09-17 07:46:20 +00:00
nicolasconnault
2367726155 MDL-20219 Deleted external blog block, and preferences link from blog_menu block. Placed these as links in settings block instead 2009-09-15 07:57:54 +00:00
nicolasconnault
ca497f4f7c MDL-19676 Properly hiding blog_menu from block dropdown when blogs are disabled. Also showing "Blogs are disabled" in existing blog_menu blocks and removing old bloglevel options from subsystems settings 2009-09-15 07:19:03 +00:00
nicolasconnault
ee00eb8c69 MDL-19792 Fixed output of URLs for blog menu block 2009-09-10 07:05:50 +00:00
poltawski
03f3a43441 blocks/tag_youtube MDL-18974 - Switch to SimpleXML
We use SimpleXML throughout Moodle now and its a dependency for Moodle 2.0.
It peforms better and allow us to remove another embeded library!

Also set the curl timeout on the youtube http requests so not to slow down
interactive page loads.
2009-09-09 13:34:41 +00:00
samhemelryk
d7319652ad navigation MDL-20234 Fixed bug with moveto icon action and added support for URL switching of dock state 2009-09-09 03:59:26 +00:00
nicolasconnault
b0e90a0ccd MDL-19792 Fixed number of bugs in URLs 2009-09-09 03:26:18 +00:00
samhemelryk
d972bad1b0 navigationMDL-20216 Moved type argument to third argument 2009-09-04 08:43:49 +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
nicolasconnault
cae837087a MDL-19676 Blog improvements 2009-09-04 00:36:43 +00:00
samhemelryk
fff23fcd86 navigation MDL-14632 Fixed minor regressions for recent patches
* Search field now takes input again
 * Javascript event propogration is stopped to prevent refreshing when switch block position
2009-09-01 02:07:01 +00:00
samhemelryk
65bd8c4cda navigation MDL-14632 Fixed regression in action_icon conversion 2009-08-31 02:27:40 +00:00
nicolasconnault
c1c0cecf3a MDL-14632 Improved the output code of the settings block and fixed typo of toogle to toggle. 2009-08-28 10:28:16 +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
poltawski
8ab2c23ba1 blocks/rss_client MDL-13932 Fix wrong param order in $OUTPUT->link() 2009-08-23 17:56:01 +00:00
nicolasconnault
cda9c83d16 MDL-19790 upgraded calls to print_table, print_single_button, print_user_picture, print_container* and notice_yesno 2009-08-20 08:39:39 +00:00
nicolasconnault
25c56af824 MDL-19791 Upgraded calls to helpbutton, print_simple_box* and notify 2009-08-18 04:29:31 +00:00
nicolasconnault
ba179d56c9 MDL-19791 Upgraded calls to choose_from_menu 2009-08-17 15:16:26 +00:00
skodak
aa54ed7b02 MDL-20065 new implementation of File module, modules sub-types are being migrated to separate modules; remaining issues to be listed as sub-tasks in tracker 2009-08-13 20:45:50 +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
beb56299ec MDL-19786 Renamed user_picture and action_icon component classes to moodle_user_picture and moodle_action_icon. Also moved around the classes in a more logical order in outputcomponents.php 2009-08-10 06:37:29 +00:00
poltawski
612e3be501 blocks/rss_client: MDL-13932 - alter output formating
Doesn't make much sense to have FORMAT_MOODLE for external
rss content.
2009-08-05 16:38:27 +00:00
poltawski
28dd2513a2 block/rss_client: MDL-19990 Make feed discovery configurable
Simplepie will try quite aggresively to autodiscover rss feeds by
default. Make this configurable when adding a feed and also store
the autodiscovered location rather than the input location.

I also removed the feed validator as this doesn't make much sense with
feed autodiscovery, and I think we can improve simplepie integration to
do this instead
2009-08-03 16:56:53 +00:00
skodak
0a127169fe MDL17980 reverting last commit - other devs agreed, to be explained in tracker 2009-08-03 07:35:41 +00:00
peterbulmer
1b509b3699 MDL17980 mnet improvements
* Allow multiple roles to be allocated by identity provider
* Allow existing enrolment plugins to manage mnet enrolments


Author: Peter Bulmer <peter.bulmer@catalyst.net.nz>
2009-08-03 03:38:23 +00:00
poltawski
8887711be4 blocks/rss_client: MDL-13932 Fix typo when editting feed
This caused loss of which course we were adding/edditing a feed to.
2009-07-31 21:20:35 +00:00
poltawski
3095d19932 blocks/rss_client: MDL-13932: viewfeed.php typo
link -> description
2009-07-31 21:20:21 +00:00