skodak
bba0beaee2
MDL-15716 Tightened dataroot security checks and and 'loud' administrator warning
2008-08-21 15:29:42 +00:00
dongsheng
83e6cf2f82
"MDL-15592, change js function name toggle() to menu_toggle(), to be friendly with prototype.js, merged from MOODLE_19_STABLE"
2008-07-10 09:36:07 +00:00
thepurpleblob
68ad9ccc59
MDL-15447
...
Admin search option only shown if user has moodle/site:config capability
Merged from STABLE_19
2008-06-27 13:12:21 +00:00
stronk7
48acdf95be
Prevent admin tree to be showed for non-admins in 'my' page. MDL-14225 ; merged from 19_STABLE
2008-04-27 00:32:00 +00:00
moodler
433c242f1a
Merged new block versions from 1.9
2008-03-03 11:43:32 +00:00
scyrma
cde5e2be6d
MDL-8123 and MDL-11594 : make admin icons themeable.
2008-01-23 05:53:33 +00:00
skodak
2905da9c66
MDL-12713 all IE versions are broken beyond belief, rewrite of admin tree collapsing/expanding; merged from MOODLE_19_STABLE
2007-12-24 20:54:12 +00:00
skodak
220a90c5a1
MDL-11561 admin tree improvements and bugfixing
2007-12-19 17:35:20 +00:00
skodak
a559f6306e
MDL-11563 replaced hardcoded permission check from admin_tree_block
2007-10-28 22:35:00 +00:00
skodak
777b7ed2d1
adding caps for new gradebook settings into has_admin_caps() perf hack in block_admin_tree
2007-10-02 15:33:09 +00:00
moodler
5dec234de7
Allow the Admin tree block to be displayed on the My Moodle page.
...
Reported in NZ workshop. MDL-11450
2007-09-26 02:33:43 +00:00
martinlanghoff
9a55125ef6
blocks/admin_tree: applicable_formats() is called as a class method
...
Can't find it documented anywhere, but applicable_formats() is only
ever called as a class method, so it cannot say $this. Instead, say
block_admin_tree::has_admin_caps().
2007-09-19 07:47:38 +00:00
martinlanghoff
0146bd4190
blocks/admin_tree: Show the block if some admin privs present...
...
Dan Poltawski said:
> Previously users with different permissions could have granular
> access to the admin menu for the items they have access to, so
> limiting to only users with moodle/site:config would break that.
> Although I agree that that menu is slowww to render and needs
> fixing. Perhaps permissions for the various elements could be
> gathered and checked first
This commit addresses the problem checking for all the caps that are
mentioned by code in /admin (according to grep, at least). Some light
testing with the "moodle/user:create" seems to work properly.
This burdens us with maintaining the list in has_admin_caps() -- less
than ideal, but easier than rewriting /admin.
2007-09-19 07:46:24 +00:00
martinlanghoff
84a34f6ed3
blocks/admin_tree: exit early for non-admins
...
Saves >10DBq and 18 includes at the homepage for all nonadmin users.
For non admin users, this makes the homepage _much_ more lightweight.
Before: inc 101 DBq 51 time 1.2s
After: inc 76 DBq 36 time 0.2s
So this commit shaves 1 full second for the non-logged-in homepage.
Still pretty bad on the includes, but shaved a good 25 files and 15 DBqs.
2007-09-19 07:22:24 +00:00
moodler
1de586216f
Merged block self-test fix from stable
2007-03-30 18:04:34 +00:00
moodler
052ba1f503
Merged applicable_format fixes for MDL-9119
2007-03-30 16:52:38 +00:00
nfreear
171e233e05
Fixes Bug MDL-8709 "Javascript: pseudo-protocol in admin tree block is bad"
2007-03-01 13:06:14 +00:00
skodak
440d164869
MDL-7861xhtml strict and css fixes in blocks
2007-01-09 23:45:24 +00:00
skodak
a1c91f9a15
MDL-7861 assignment related xhtml strict fixes (client view and fixed quickgrading/grading) and admin tree CSS styling
2007-01-07 21:54:39 +00:00
skodak
535792b23e
MDL-7861 some xhtml strict fixes
2007-01-04 18:58:31 +00:00
skodak
c6da8ccca3
MDL-7861 some xhtml fixes
2007-01-04 13:01:28 +00:00
skodak
4f24b3e386
MDL-7861 various xhtml fixes and fixed layout of add activity/resource menu
2007-01-04 12:44:58 +00:00
moodler
ce926cb8d8
Added CDATA to Javascript
2006-12-22 04:19:52 +00:00
skodak
93741e6797
MDL-7736 added hidden description of the admin settings search box
2006-11-30 08:33:25 +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
moodler
76b41407ea
Made alt tags translatable MDL-6861
2006-10-06 05:53:28 +00:00
moodler
670fc5123a
MOre fixes to remove erros due to JS
2006-10-06 05:28:57 +00:00
moodler
4418a1125a
FIxed some incorrect backslashes MDL-6861
2006-10-06 05:06:25 +00:00
moodler
40cbc8bb70
String should be printed using s() MDL-6779
2006-10-02 16:08:16 +00:00
moodler
bf1e4b9cdc
Only show search box when there is content in the block
2006-10-02 08:36:25 +00:00
moodler
c5d08a1526
Highlight the currently selected admin menu 8-)
2006-10-02 06:37:58 +00:00
moodler
36e5266fc1
Added search box for searching admin settings
2006-10-02 06:16:50 +00:00
skodak
a8a66c96ab
it is now possible to hide parts of admin tree - not used yet, but it will be soon used for those hidden unsupported scripts in admin/ directory
2006-09-24 20:23:40 +00:00
skodak
6124048972
major whitespace cleanup - fixed tabs
2006-09-20 20:31:09 +00:00
moodler
1434a286dd
Fixing up script tag for compliance
2006-09-17 03:40:22 +00:00
moodler
b649a19e20
Some tidying up of admin blocks
2006-09-06 05:24:35 +00:00
skodak
02cc05a708
fixes for new admin blocks
2006-09-02 23:55:56 +00:00