diff --git a/htdocs/application/config/stikked.php.dist b/htdocs/application/config/stikked.php.dist index 683f7ee..c8779e9 100644 --- a/htdocs/application/config/stikked.php.dist +++ b/htdocs/application/config/stikked.php.dist @@ -54,6 +54,14 @@ $config['db_prefix'] = ''; */ $config['theme'] = 'default'; +/** + * Display QR code + * + * Whether or not to display the QR code + * +*/ +$config['qr_enabled'] = true; + /** * JavaScript-Editor * diff --git a/htdocs/themes/bootstrap/views/view/view.php b/htdocs/themes/bootstrap/views/view/view.php index f93596f..39f7fc4 100644 --- a/htdocs/themes/bootstrap/views/view/view.php +++ b/htdocs/themes/bootstrap/views/view/view.php @@ -25,7 +25,9 @@ if(isset($insert)){
+config->item('qr_enabled')) { ?> +
diff --git a/htdocs/themes/default/views/view/view.php b/htdocs/themes/default/views/view/view.php index 0a88311..9604ca2 100644 --- a/htdocs/themes/default/views/view/view.php +++ b/htdocs/themes/default/views/view/view.php @@ -45,7 +45,9 @@ if(isset($insert)){
+config->item('qr_enabled')) { ?> +
diff --git a/htdocs/themes/stikkedizr/views/view/view.php b/htdocs/themes/stikkedizr/views/view/view.php index 3feb83f..f5ee807 100644 --- a/htdocs/themes/stikkedizr/views/view/view.php +++ b/htdocs/themes/stikkedizr/views/view/view.php @@ -44,7 +44,9 @@ if(isset($insert)){
+config->item('qr_enabled')) { ?> +