Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dokuwiki
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
BRIC
dokuwiki
Commits
deb28ffb
Commit
deb28ffb
authored
17 years ago
by
Andreas Gohr
Browse files
Options
Downloads
Patches
Plain Diff
IE compatibility fixes for ACL manager FS#1343
darcs-hash:20080315104339-7ad00-552c8aae43bad5241fc4bad547fb7505a58bd3fc.gz
parent
b77581e2
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
lib/plugins/acl/admin.php
+2
-2
2 additions, 2 deletions
lib/plugins/acl/admin.php
lib/plugins/acl/script.js
+7
-4
7 additions, 4 deletions
lib/plugins/acl/script.js
lib/plugins/acl/style.css
+1
-0
1 addition, 0 deletions
lib/plugins/acl/style.css
with
10 additions
and
6 deletions
lib/plugins/acl/admin.php
+
2
−
2
View file @
deb28ffb
...
@@ -31,7 +31,7 @@ class admin_plugin_acl extends DokuWiki_Admin_Plugin {
...
@@ -31,7 +31,7 @@ class admin_plugin_acl extends DokuWiki_Admin_Plugin {
return
array
(
return
array
(
'author'
=>
'Andreas Gohr'
,
'author'
=>
'Andreas Gohr'
,
'email'
=>
'andi@splitbrain.org'
,
'email'
=>
'andi@splitbrain.org'
,
'date'
=>
'200
7-11
-1
7
'
,
'date'
=>
'200
8-03
-1
5
'
,
'name'
=>
'ACL'
,
'name'
=>
'ACL'
,
'desc'
=>
'Manage Page Access Control Lists'
,
'desc'
=>
'Manage Page Access Control Lists'
,
'url'
=>
'http://wiki.splitbrain.org/wiki:acl'
,
'url'
=>
'http://wiki.splitbrain.org/wiki:acl'
,
...
@@ -554,7 +554,7 @@ class admin_plugin_acl extends DokuWiki_Admin_Plugin {
...
@@ -554,7 +554,7 @@ class admin_plugin_acl extends DokuWiki_Admin_Plugin {
echo
'</td>'
;
echo
'</td>'
;
echo
'<td align="center">'
;
echo
'<td align="center">'
;
echo
'<input type="checkbox" name="del['
.
hsc
(
$where
)
.
']" value="'
.
hsc
(
$who
)
.
'"
class="edit"
/>'
;
echo
'<input type="checkbox" name="del['
.
hsc
(
$where
)
.
']" value="'
.
hsc
(
$who
)
.
'" />'
;
echo
'</td>'
;
echo
'</td>'
;
echo
'</tr>'
;
echo
'</tr>'
;
}
}
...
...
This diff is collapsed.
Click to expand it.
lib/plugins/acl/script.js
+
7
−
4
View file @
deb28ffb
...
@@ -123,9 +123,14 @@ acl = {
...
@@ -123,9 +123,14 @@ acl = {
return
false
;
return
false
;
},
},
/**
* Handles all clicks in the tree, dispatching the right action based on the
* clicked element
*/
treehandler
:
function
(
e
){
treehandler
:
function
(
e
){
if
(
e
.
target
.
href
){
// is it a link?
if
(
e
.
target
.
src
){
// is it an image?
acl
.
treetoggle
(
e
.
target
);
}
else
if
(
e
.
target
.
href
){
// is it a link?
// remove highlighting
// remove highlighting
var
obj
=
getElementsByClass
(
'
cur
'
,
$
(
'
acl__tree
'
),
'
a
'
)[
0
];
var
obj
=
getElementsByClass
(
'
cur
'
,
$
(
'
acl__tree
'
),
'
a
'
)[
0
];
if
(
obj
)
obj
.
className
=
obj
.
className
.
replace
(
/ cur/
,
''
);
if
(
obj
)
obj
.
className
=
obj
.
className
.
replace
(
/ cur/
,
''
);
...
@@ -144,8 +149,6 @@ acl = {
...
@@ -144,8 +149,6 @@ acl = {
}
}
acl
.
loadinfo
();
acl
.
loadinfo
();
}
else
if
(
e
.
target
.
src
){
// is it an image?
acl
.
treetoggle
(
e
.
target
);
}
}
e
.
stopPropagation
();
e
.
stopPropagation
();
...
...
This diff is collapsed.
Click to expand it.
lib/plugins/acl/style.css
+
1
−
0
View file @
deb28ffb
...
@@ -26,6 +26,7 @@ div#acl_manager div#acl__tree li {
...
@@ -26,6 +26,7 @@ div#acl_manager div#acl__tree li {
div
#acl_manager
div
#acl__tree
ul
img
{
div
#acl_manager
div
#acl__tree
ul
img
{
margin-right
:
0.25em
;
margin-right
:
0.25em
;
cursor
:
pointer
;
}
}
div
#acl_manager
div
#acl__detail
{
div
#acl_manager
div
#acl__detail
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment