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