Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
fusiondirectory
fusiondirectory
Commits
17b902bd
Commit
17b902bd
authored
6 years ago
by
Côme Chilliet
Browse files
Options
Download
Patches
Plain Diff
feat(management) Hide scope checkbox when basemode is off
issue
#5135
parent
cc698efb
dev
6342-update-the-locales-for-1-5
6344-template-issue-when-creating-a-template-with-empty-password-error-message-should-not-be-seen
6365-core-locking-mechanism-is-not-changing-the-mail-ressource-it-does-lock-the-mail-account
6365-core-when-lock-mechanism-is-trigger-the-user-should-not-be-editable-if-not-unlock
6378-orcid-test-method-is-wrong-and-break-orcid-saving
core-php8
master
fusiondirectory-1.5
fusiondirectory-1.4
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
ihtml/themes/breezy/management/filter.tpl
+3
-0
ihtml/themes/breezy/management/filter.tpl
include/management/class_managementFilter.inc
+1
-0
include/management/class_managementFilter.inc
include/management/class_managementListing.inc
+5
-0
include/management/class_managementListing.inc
with
9 additions
and
0 deletions
+9
-0
ihtml/themes/breezy/management/filter.tpl
+
3
−
0
View file @
17b902bd
...
@@ -28,12 +28,15 @@
...
@@ -28,12 +28,15 @@
{/
foreach
}
{/
foreach
}
<hr/>
<hr/>
{
if
$BASEMODE
}
<label
for=
"SCOPE"
>
<label
for=
"SCOPE"
>
<input
type=
"checkbox"
id=
"SCOPE"
name=
"SCOPE"
value=
"1"
<input
type=
"checkbox"
id=
"SCOPE"
name=
"SCOPE"
value=
"1"
{
if
(
$SCOPE
==
'sub'
)
}
checked=
"checked"
{/
if
}
/>
{
if
(
$SCOPE
==
'sub'
)
}
checked=
"checked"
{/
if
}
/>
{
t
}
Search in subtrees
{/
t
}
{
t
}
Search in subtrees
{/
t
}
</label>
</label>
<hr/>
<hr/>
{/
if
}
<label
for=
"SEARCH"
title=
"
{
$SEARCHDESC
|
escape
}
"
><img
src=
"geticon.php?context=actions&icon=system-search&size=16"
alt=
"Search"
/>
<label
for=
"SEARCH"
title=
"
{
$SEARCHDESC
|
escape
}
"
><img
src=
"geticon.php?context=actions&icon=system-search&size=16"
alt=
"Search"
/>
<input
class=
"filter_textfield"
id=
"SEARCH"
name=
"SEARCH"
type=
"search"
value=
"
{
$SEARCH
}
"
/>
<input
class=
"filter_textfield"
id=
"SEARCH"
name=
"SEARCH"
type=
"search"
value=
"
{
$SEARCH
}
"
/>
...
...
This diff is collapsed.
Click to expand it.
include/management/class_managementFilter.inc
+
1
−
0
View file @
17b902bd
...
@@ -122,6 +122,7 @@ class managementFilter
...
@@ -122,6 +122,7 @@ class managementFilter
$smarty
=
get_smarty
();
$smarty
=
get_smarty
();
$smarty
->
assign
(
'SCOPE'
,
$this
->
scope
);
$smarty
->
assign
(
'SCOPE'
,
$this
->
scope
);
$smarty
->
assign
(
'BASEMODE'
,
$this
->
parent
->
listing
->
getBaseMode
());
$smarty
->
assign
(
'FILTER_PID'
,
$this
->
pid
);
$smarty
->
assign
(
'FILTER_PID'
,
$this
->
pid
);
$smarty
->
assign
(
'SEARCH'
,
$this
->
search
);
$smarty
->
assign
(
'SEARCH'
,
$this
->
search
);
$smarty
->
assign
(
'TYPES'
,
$this
->
types
);
$smarty
->
assign
(
'TYPES'
,
$this
->
types
);
...
...
This diff is collapsed.
Click to expand it.
include/management/class_managementListing.inc
+
5
−
0
View file @
17b902bd
...
@@ -85,6 +85,11 @@ class managementListing
...
@@ -85,6 +85,11 @@ class managementListing
$this
->
reloadColumns
();
$this
->
reloadColumns
();
}
}
function
getBaseMode
()
{
return
$this
->
baseMode
;
}
function
reloadColumns
()
function
reloadColumns
()
{
{
$columnInfos
=
$this
->
parent
->
getColumnConfiguration
();
$columnInfos
=
$this
->
parent
->
getColumnConfiguration
();
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
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
Menu
Explore
Projects
Groups
Topics
Snippets