Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Tenzing
/
Tz Tools
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
614c9490
authored
2021-06-23 11:20:01 -0400
by
Jeff Balicki
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix
1 parent
b8277a11
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
com/Notifications/views/form.php
com/Notifications/views/form.php
View file @
614c949
...
...
@@ -2,7 +2,7 @@
use
Tz\WordPress\Tools
;
use
Tz\WordPress\Tools\Notifications
;
use
Tz\WordPress\Tools\Notifications\Settings
;
use
Tz\WordPress\UAM
;
?>
<link
rel=
"stylesheet"
href=
"
<?php
echo
Tools\url
(
'assets/css/notifications.css'
,
__FILE__
)
?>
"
/>
...
...
@@ -107,12 +107,13 @@ use Tz\WordPress\Tools\Notifications\Settings;
All Users
</option>
<optgroup
label=
"By Group:"
>
<?php
foreach
(
Notifications\getGroups
()
as
$group_id
=>
$group_name
)
:
?>
<option
value=
"
<?php
echo
$group_id
?>
"
<?php
echo
(
$validation
->
set_value
(
<?php
$groups
=
UAM\getGroups
();
?>
<?php
foreach
(
$groups
as
$group
)
:
?>
<option
value=
"
<?php
echo
$group
->
getID
();
?>
"
<?php
echo
(
$validation
->
set_value
(
'sendto'
,
$entry
->
details
[
'sendto'
]
)
==
$group
_id
)
?
'selected="selected"'
:
''
;
?>
>
<?php
echo
$group
_name
;
?>
</option>
)
==
$group
->
getID
()
)
?
'selected="selected"'
:
''
;
?>
>
<?php
echo
$group
->
getName
()
;
?>
</option>
<?php
endforeach
;
?>
</optgroup>
</select>
...
...
Please
register
or
sign in
to post a comment