summaryrefslogtreecommitdiff
path: root/includes/view/Rooms_view.php
blob: e1d411cb53d5c64e995bde31f04a3fd1fd94c47c (plain)
1
2
3
4
5
6
7
8
9
10
<?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>';
  return glyph('map-marker') . $room['Name'];
}

?>