253 Commits

Author SHA1 Message Date
Petr Skoda
af18993548 MDL-30787 fix use of module and section edit capabilities 2011-12-18 13:54:38 +01:00
Tony Levi
d9b49c23da MDL-27228: Fix label 'eye' does not match show/hide setting 2011-08-21 14:54:00 +02:00
David Mudrak
fa82056328 MDL-11288 Added ability to duplicate module in the course
Internally, the new script modduplicate.php performs a single activity
backup and restore and then moves the newly created copy right below the
original.
2011-03-31 13:39:05 +02:00
Petr Skoda
431ac39634 MDL-26623 fix file permissions
The permissions are now going to be verified as part of the weekly release process.
2011-03-01 12:26:49 +01:00
Petr Skoda
8a7703ce53 MDL-25973 add missing charset 2011-01-14 09:32:17 +01:00
Andrew Robert Nicols
218a465980 lib/ajax/ MDL-25675 Use className instead of classList.toString()
Signed-off-by: Andrew Robert Nicols <andrew.nicols@luns.net.uk>
Signed-off-by: Dan Poltawski <dan.poltawski@luns.net.uk>
2011-01-05 23:26:28 +00:00
Petr Skoda
e2bbe5ff7d Merge branch 'MDL-25682' of git://github.com/danpoltawski/moodle 2010-12-27 12:37:37 +01:00
Andrew Robert Nicols
a8a44f2845 MDL-25682 Set the iconsmall class correctly on all section icons.
When using AJAX the icons are not styled correctly. I've taken out
all of the non-css style from the move icon since this is all covered
by the iconsmall and img classes anyway.

Signed-off-by: Andrew Robert Nicols <andrew.nicols@luns.net.uk>
Signed-off-by: Dan Poltawski <dan.poltawski@luns.net.uk>
2010-12-22 15:23:07 +00:00
Andrew Robert Nicols
1a0d7bd785 MDL-25676 Add back missing test for editing_assign class
This had caused the assign roles button disappeared in AJAX view.

Note - this does not fix the issue with the cloned buttons being resized
(MDL-25682)

Signed-off-by: Andrew Robert Nicols <andrew.nicols@luns.net.uk>
Signed-off-by: Dan Poltawski <dan.poltawski@luns.net.uk>
2010-12-22 14:51:03 +00:00
Rossiani Wijaya
81284044d8 Fix course ajax to be compatible with language packs. 2010-12-20 12:15:16 +01:00
Petr Skoda
0667103514 MDL-25611 browser detection cleanup and improvements 2010-12-08 06:51:54 +00:00
Sam Hemelryk
480f906e25 block-navigation MDL-23838 There is now an option that you can enable so that categories in the navigation are links as well. 2010-12-02 07:13:07 +00:00
Sam Hemelryk
ca787a923f navigation MDL-25364 Fixed up AJAX loading for guest users within a course. 2010-11-22 10:19:39 +00:00
Sam Hemelryk
060cd0c887 course MDL-25269 Fixed up module/resource indentation on the course view page. Now uses div margins rather than spacer images. 2010-11-19 04:02:21 +00:00
David Mudrak
b31b2d842d MDL-14790 ajax delete confirmation box now uses the same wording as the non-ajax confirmation page 2010-11-09 11:55:26 +00:00
Rossiani Wijaya
b2b204b764 MDL-20044: fixed ajax functionality when using bullet points (<ul>) in topic summary. 2010-10-29 03:38:59 +00:00
Petr Skoda
e8b32e2bfa MDL-24316 ajax course edit now works with orphaned activities 2010-10-14 14:07:01 +00:00
Petr Skoda
b532c911e8 fixed unterminated JS statements 2010-09-17 20:11:03 +00:00
Sam Hemelryk
9badf21588 NOBUG: Fixed very minor JS bug 2010-08-13 07:24:24 +00:00
Petr Skoda
b11681e036 MDL-23784 fixed more incorrect pix links 2010-08-12 18:38:56 +00:00
Sam Hemelryk
a70eb30fa9 enrol MDL-22854 New ajaxified enrolment interface 2010-07-07 02:46:34 +00:00
Sam Hemelryk
246a9b05ba navigation MDL-22671 Fixed another misused image + a bug with AJAX requests 2010-06-11 04:25:22 +00:00
Sam Hemelryk
56dc41d0c4 course ajax MDL-22653 Toggling of label visibility now dims text correctly. Kudos to Davo 2010-06-03 08:55:08 +00:00
Sam Hemelryk
424a353056 course-ajax MDL-22645 Fixed broken image urls in course ajax editing scripts 2010-06-02 02:10:38 +00:00
Martin Dougiamas
81f92309f3 MDL-22535 Fixed a little typo. Thanks Davo Smith! 2010-05-31 06:59:26 +00:00
Sam Hemelryk
5233807ca7 course MDL-22535 Fixed spacer image in ajax course editing 2010-05-27 01:49:57 +00:00
Sam Hemelryk
4766a50c19 navigation MDL-22425 Restructured navigation for the nth time plus performance tweaking and course display limit 2010-05-13 09:57:43 +00:00
Sam Hemelryk
6605ff8cda themes MDL-22358 Renamed sideblock class to block 2010-05-06 06:16:07 +00:00
Sam Hemelryk
88f77c3c26 navigation MDL-22044 Added setting to limit content that is shown on the navigation back into the navigation block 2010-04-21 09:44:16 +00:00
Sam Hemelryk
a9535f7945 navigation MDL-21350 Implemented trim options for the navigation block, can now set trim mode (right/left/center) and trim length 2010-04-21 07:05:39 +00:00
Sam Hemelryk
3406acdef9 navigation MDL-22044 Major navigation structure changes.
Navigation has now been re-ordered in accordance with http://docs.moodle.org/en/Development:Navigation_2.0_structure.
This has led to several changes in the way in which navigation is generated included API changes, most notably using the
navigation_nodes add method now returns the newly added node rather than the key.
At the same time the global_navigation_tree block has been renamed to navigation and settings_navigation_tree to settings.
2010-04-19 06:30:30 +00:00
David Mudrak
4d84db2725 Fixed incorrect getting of Exception message 2010-04-01 19:06:02 +00:00
Sam Hemelryk
7da3a79994 navigation MDL-21646 Fixing icon positioning and ensured a regular look 2010-02-19 02:24:26 +00:00
Sam Hemelryk
507a7a9a2d navigation MDL-21604 Fixed AJAX security issue + the following changes
* AJAX expansion now uses JSON rather than XML
* Tidied up unused globals in navigaitonlib after recent refactoring
* Cleaned up Database calls that were no longer required after security changes
2010-02-18 05:57:20 +00:00
Petr Skoda
2e866010a3 fixed regression 2010-02-09 17:56:26 +00:00
Petr Skoda
0bb38e8c04 MDL-21400 JS != ajax and page requirements are also CSS - making new special lib file for page requirements 2010-02-07 08:45:21 +00:00
Petr Skoda
dcd6229201 MDL-21400 fixed yui2 laoding from footer 2010-02-06 19:39:28 +00:00
Petr Skoda
26114d526f MDL-21400 removing some YUI2 extras 2010-02-06 15:59:29 +00:00
Petr Skoda
3244d9cc57 MDL-21400 load as few YUI2 as possible 2010-02-06 15:26:47 +00:00
Petr Skoda
3b044ba347 MDL-21400 converting help tooltips to YUI3/2 2010-02-06 15:08:12 +00:00
Petr Skoda
593f9b8703 MDL-21400 finalising JS api - removing ->on_dom_ready (now bool param in js() and js_init_call()) and after_delay() (again int parameter) - the reason is it was adding unnecessary complexity and it is used in just a few places that will be eventually converted to the new js_init_call() anyway 2010-02-06 14:45:17 +00:00
Petr Skoda
60409fe103 MDL-21532 ->in_head() now really exceptional (after overrlib removal there will be just a few of them) 2010-02-06 14:09:33 +00:00
Petr Skoda
781bd8aed5 MDL-21400 removed js_object_init, the new js_init_call is a new replacement which encourages our new standard coding style 2010-02-06 13:56:31 +00:00
Petr Skoda
cd9729e405 MDL-21400 ->in_head() from deprecated data_for_js(), this actually also fixes order of loading of libs+init code 2010-02-06 13:30:15 +00:00
Petr Skoda
4abd5b9b2a MDL-21400 migrated falsh detection to YUI3 2010-02-06 12:58:19 +00:00
Petr Skoda
c6f5f39ad5 MDL-21400 fixed & quoting issues 2010-02-06 12:11:34 +00:00
Petr Skoda
2169e664f2 MDL-21503 RIP global Y 2010-02-05 08:31:52 +00:00
Sam Hemelryk
53fc3e7040 javascript MDL-21503 Removed use of the global Y from dock, navigation and calendar
Also included in this patch the ability to switch the dock from the left to right side of the screen.
Altered js_object_init to deliver Y like js_init_call does now.
Several minor tweaks made to the dock and navigation as well at the same time.
2010-02-05 06:36:09 +00:00
Petr Skoda
76c0123b0e MDL-21400 completion manual toggle ajax converted to YUI3, simplified a bit, replaced textual feedback with standard ajax progress indicator spinning icon (fully themable) 2010-02-04 22:41:49 +00:00
Petr Skoda
4c508047eb MDL-21400 converting forms stuff to new M namespace and using standardised JS module coding style, fixed some regressions - for now works in FF only 2010-02-03 14:36:53 +00:00