summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authormsquare <msquare@notrademark.de>2017-07-28 19:49:32 +0200
committermsquare <msquare@notrademark.de>2017-07-28 19:49:32 +0200
commit69a1ee2bfefb43a802dea8cf0f833cbe0a00369c (patch)
treeea1876f51df19586b903bba6b8d97ce542787f01 /includes
parent5cffcd7fdf33067c2ecff6b4995b2ebf12b9b5e2 (diff)
use glyph bool icons on room list
Diffstat (limited to 'includes')
-rw-r--r--includes/pages/admin_rooms.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/pages/admin_rooms.php b/includes/pages/admin_rooms.php
index 5d10304b..6f3584d5 100644
--- a/includes/pages/admin_rooms.php
+++ b/includes/pages/admin_rooms.php
@@ -22,8 +22,8 @@ function admin_rooms()
foreach ($rooms_source as $room) {
$rooms[] = [
'name' => Room_name_render($room),
- 'from_pentabarf' => $room['FromPentabarf'] == 'Y' ? '&#10003;' : '',
- 'public' => $room['show'] == 'Y' ? '&#10003;' : '',
+ 'from_pentabarf' => glyph_bool($room['FromPentabarf'] == 'Y'),
+ 'public' => glyph_bool($room['show'] == 'Y'),
'actions' => table_buttons([
button(page_link_to('admin_rooms') . '&show=edit&id=' . $room['RID'], _('edit'), 'btn-xs'),
button(page_link_to('admin_rooms') . '&show=delete&id=' . $room['RID'], _('delete'), 'btn-xs')