Browse
For agents
About
Friends
/
2.8.1
Friends
v2.8.1
Switch version
4.3.2
4.3.1
4.3.0
4.2.2
4.2.1
4.2.0
4.1.0
2.7.4
2.7.5
2.7.6
2.7.7
2.7.8
2.7.9
2.8.0
2.8.1
2.8.2
2.8.3
2.8.4
2.8.5
2.8.6
2.8.7
2.8.8
2.8.9
2.9.0
2.9.1
All 88 releases
Overview
Code
friends
/
templates
/
admin
/
reactions-picker.php
reactions-picker.php
in Friends 2.8.1, at templates/admin/reactions-picker.php
22 lines
554 B
Find file
t
No matching file
Up and down to move
Enter to open
Esc to close
Raw
Download
Zip
View raw
1
<
?
php
2
/**
3
* This contains the admin reactions picker.
4
*
5
*
@package
Friends
6
*/
7
8
Friends
\
Friends
::
template_loader
(
)
->
get_template_part
(
9
'
admin/add-reaction-li
'
,
10
null
,
11
array
(
12
'
template
'
=>
true
,
13
)
14
)
;
15
16
?
>
17
<
div
id
=
"
friends-reaction-picker
"
class
=
"
friends-reaction-picker
"
style
=
"
display: none
"
>
18
<
?
php
foreach
(
Friends
\
Reactions
::
get_all_emojis
(
)
as
$
id
=>
$
data
)
:
?
>
19
<
button
data
-
emoji
=
"
<?php echo esc_attr(
$
id
); ?>
"
title
=
"
<?php echo esc_attr(
$
data
->
name
); ?>
"
>
<
?
php
echo
esc_html
(
$
data
->
char
)
;
?
>
<
/
button
>
20
<
?
php
endforeach
;
?
>
21
<
/
div
>
22