diff --git a/src/css/themes/dark.css b/src/css/themes/dark.css index dda0e7c..ab73787 100644 --- a/src/css/themes/dark.css +++ b/src/css/themes/dark.css @@ -495,6 +495,7 @@ fieldset[disabled] select, .table { font-size: 0.85em; + color: inherit; } .table thead th { diff --git a/src/installer/index.php b/src/installer/index.php index ded291e..d81929a 100644 --- a/src/installer/index.php +++ b/src/installer/index.php @@ -1,7 +1,7 @@ 1) { +if(file_exists(__INSTALLER_LOCK_FILE)) { die('File "private/INSTALLER_LOCK" exists. Please remove it if you wish to run the installer again.'); } diff --git a/src/installer/pages/7.php b/src/installer/pages/7.php index 2929629..dc83e18 100644 --- a/src/installer/pages/7.php +++ b/src/installer/pages/7.php @@ -3,7 +3,11 @@ if(!defined("__TSWEBSITE_VERSION")) die("Direct access not allowed"); use Wruczek\TSWebsite\Utils\TeamSpeakUtils; -if(file_put_contents(__INSTALLER_LOCK_FILE, "WEBSITE_INSTALLED") === false) { +$installerLockMessage = + "After initial installation, this file prevents someone from running it again. " . + "Deleting it will allow you to re-install TS-website."; + +if(file_put_contents(__INSTALLER_LOCK_FILE, $installerLockMessage) === false) { die("Cannot write to private/INSTALLER_LOCK! Please check the file/directory permissions"); } @@ -89,7 +93,7 @@ if(!empty($_COOKIE["tsw_allow_metrics"])) {
-

Donate

+

Donate

to keep this project alive

diff --git a/src/private/php/Assigner.php b/src/private/php/Assigner.php index 89110a4..13a9914 100644 --- a/src/private/php/Assigner.php +++ b/src/private/php/Assigner.php @@ -103,7 +103,7 @@ class Assigner { $groupsToAdd[] = $group; } - // REMOVE GROUP if the group is currently assigned, but the user does not want to be inside it + // REMOVE GROUP if the group is currently assigned, but the user does not want to have it if ($isAssigned && !$wantToAssign) { $groupsToRemove[] = $group; } diff --git a/src/private/templates/assigner.latte b/src/private/templates/assigner.latte index 9d6b423..870cc99 100644 --- a/src/private/templates/assigner.latte +++ b/src/private/templates/assigner.latte @@ -54,7 +54,7 @@
{foreach $row as $assignerCategory}
- +
{/foreach}