hasGlobalRead()) { $id = mres($vars['id']); $title = generate_device_link($device); $auth = true; }