Skip to content
This repository was archived by the owner on Aug 27, 2022. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,11 @@

<!-- Result Page -->
<div class="stages rotarygroup" id="result">

<?php if ($config['button']['homescreen']): ?>
<a href="#" class="<?php echo $btnClass1; ?> homebtn rotaryfocus"><i class="fa fa-home"></i> <span data-i18n="home"></span></a>
<?php endif; ?>

<div class="resultInner hidden">
<?php if ($config['gallery']['enabled']): ?>
<a href="#" class="<?php echo $btnClass1; ?> gallery-button rotaryfocus" ><i class="fa <?php echo $galleryIcon; ?>"></i> <span data-i18n="gallery"></span></a>
Expand Down
6 changes: 6 additions & 0 deletions lib/configsetup.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -1524,6 +1524,12 @@
'name' => 'button[show_fs]',
'value' => $config['button']['show_fs'],
],
'button_homescreen' => [
'view' => 'advanced',
'type' => 'checkbox',
'name' => 'button[homescreen]',
'value' => $config['button']['homescreen'],
],
'ui_font_size' => [
'view' => 'advanced',
'type' => 'input',
Expand Down
2 changes: 2 additions & 0 deletions resources/lang/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -384,6 +384,7 @@
"manual:userinterface:background_admin": "CSS Style for background on admin panel.",
"manual:userinterface:background_chroma": "CSS Style for background on chromakeying page.",
"manual:userinterface:background_defaults": "CSS Style for background on start-, login- and slideshow pages.",
"manual:userinterface:button_homescreen": "If disabled, the home button on the results screen will be hidden.",
"manual:userinterface:button_show_fs": "If enabled, a button to toggle fullscreenmode will be added to the start screen.",
"manual:userinterface:ui_decore_lines": "If enabled, decorate lines will be visible on start page.",
"manual:userinterface:ui_font_size": "Enter the default font size used for the Photobooth interface.",
Expand Down Expand Up @@ -519,6 +520,7 @@
"userinterface:background_admin": "Admin panel background image path",
"userinterface:background_chroma": "Chroma keying panel background image path",
"userinterface:background_defaults": "Background image path",
"userinterface:button_homescreen": "Show home button on results screen",
"userinterface:button_show_fs": "Show button to toggle fullscreen",
"userinterface:colors_background_countdown": "Countdown background color",
"userinterface:colors_border": "Border color",
Expand Down