2014-12-22 17:55:20 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
function Room_name_render($room) {
|
|
|
|
global $privileges;
|
|
|
|
if (in_array('admin_rooms', $privileges))
|
|
|
|
return '<a href="' . room_link($room) . '">' . glyph('map-marker') . $room['Name'] . '</a>';
|
2014-12-28 01:27:41 +01:00
|
|
|
return glyph('map-marker') . $room['Name'];
|
2014-12-22 17:55:20 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
?>
|