diff options
author | dedeibel | 2018-12-28 10:42:44 +0100 |
---|---|---|
committer | dedeibel | 2018-12-28 10:42:44 +0100 |
commit | d033c89f003ee9ae03ccff3d54fb534a61d08075 (patch) | |
tree | ba8597a1fead1c6d3d21129ea07ca0d4b4825583 /view | |
parent | 50dac4c2dfa72ad9b4ef0e1a4656999bb3d3d478 (diff) |
Feedback read: add hostname to read page
Diffstat (limited to 'view')
-rw-r--r-- | view/feedback-read.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/view/feedback-read.php b/view/feedback-read.php index b1b582b..446c86e 100644 --- a/view/feedback-read.php +++ b/view/feedback-read.php @@ -9,7 +9,7 @@ if(!$feedback->isLoggedIn()) $from = isset($_POST['from']) ? strtotime($_POST['from']) : time(); $to = isset($_POST['to']) ? strtotime($_POST['to']) : time() + 24*60*60; -$cols = isset($_POST['col']) ? $_POST['col'] : array('reported', 'stream', 'player', 'issuetext'); +$cols = isset($_POST['col']) ? $_POST['col'] : array('reported', 'stream', 'os', 'player', 'issues', 'issuetext'); $allcols = array('reported', 'datetime', 'net', 'os', 'stream', 'player', 'ipproto_v4', 'ipproto_v6', 'provider', 'issues', 'issuetext'); @@ -23,4 +23,5 @@ echo $tpl->render(array( 'columns' => array_intersect($allcols, $cols), 'allcolumns' => $allcols, + 'hostname' => @$_SERVER['SERVER_NAME'], )); |