fixed QR Bar code in the header #94

(cherry picked from commit a913b54401)
This commit is contained in:
daniel 2016-10-26 13:21:38 +02:00
parent 1311d84973
commit de6f95b4d6
1 changed files with 6 additions and 4 deletions

View File

@ -125,10 +125,12 @@ config_check();
$servers_link_open = '<a class="white" href="index.php?sec=gservers&amp;sec2=godmode/servers/modificar_server&amp;refr=60">';
$servers_link_close = '</a>';
$show_qr_code_header = 'display: inline;';
if (isset($config['show_qr_code_header']))
if ($config['show_qr_code_header'])
$show_qr_code_header = '';
if ($config['show_qr_code_header'] == 0){
$show_qr_code_header = 'display: none;';
}
else {
$show_qr_code_header = 'display: inline;';
}
$table->data[0]['qr'] =
'<div style="' . $show_qr_code_header . '" id="qr_code_container" style="">' .