Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahara
mahara
Commits
94f6d74b
Commit
94f6d74b
authored
Apr 30, 2010
by
Richard Mansfield
Browse files
Restore adminmessages in notification type dropdown
Signed-off-by:
Richard Mansfield
<
richardm@catalyst.net.nz
>
parent
7901b85d
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/account/activity/index.php
View file @
94f6d74b
...
...
@@ -46,6 +46,10 @@ $types = array_map(create_function('$a', '
return get_string("type" . $a->name, $section);
'
),
$types
);
if
(
$USER
->
get
(
'admin'
))
{
$types
[
'adminmessages'
]
=
get_string
(
'typeadminmessages'
,
'activity'
);
}
$type
=
param_alphanum
(
'type'
,
'all'
);
if
(
!
isset
(
$types
[
$type
]))
{
$type
=
'all'
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment