Skip to content

Commit

Permalink
change message
Browse files Browse the repository at this point in the history
  • Loading branch information
Miguel Ribeiro committed Sep 23, 2024
1 parent 5c56d83 commit 339f6db
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@
?>
<div class="demo-banner">
Running in <b>Demo Mode</b>, certain actions and settings are disabled.<br>
The database will be reset every 90 minutes.
The database will be reset every 120 minutes.
</div>
<?php
}
Expand Down
12 changes: 6 additions & 6 deletions settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,11 @@ class="avatar-option" data-src="images/uploads/logos/avatars/<?= $image ?>">
</div>
<div class="form-group">
<label for="password"><?= translate('password', $i18n) ?>:</label>
<input type="password" id="password" name="password" <?= $demoMode && !$isAdmin ? 'disabled title="Not available on Demo Mode"' : '' ?>>
<input type="password" id="password" name="password" <?= $demoMode ? 'disabled title="Not available on Demo Mode"' : '' ?>>
</div>
<div class="form-group">
<label for="confirm_password"><?= translate('confirm_password', $i18n) ?>:</label>
<input type="password" id="confirm_password" name="confirm_password" <?= $demoMode && !$isAdmin ? 'disabled title="Not available on Demo Mode"' : '' ?>>
<input type="password" id="confirm_password" name="confirm_password" <?= $demoMode ? 'disabled title="Not available on Demo Mode"' : '' ?>>
</div>
<?php
$currencies = array();
Expand Down Expand Up @@ -942,7 +942,7 @@ class="capitalize"><?= translate('request_method', $i18n) ?>:</label>
<div class="form-group">
<input type="text" name="fixer-key" id="fixerKey" value="<?= $apiKey ?>"
placeholder="<?= translate('api_key', $i18n) ?>"
<?= $demoMode && !$isAdmin ? 'disabled title="Not available on Demo Mode"' : '' ?>>
<?= $demoMode ? 'disabled title="Not available on Demo Mode"' : '' ?>>
</div>
<div class="form-group">
<label for="fixerProvider"><?= translate('provider', $i18n) ?>:</label>
Expand Down Expand Up @@ -1194,7 +1194,7 @@ class="color-picker fa-solid fa-eye-dropper">
</div>
</div>
<?php
if (!$demoMode || $isAdmin) {
if (!$demoMode) {
?>
<div>
<h3><?= translate('custom_css', $i18n) ?></h3>
Expand Down Expand Up @@ -1298,9 +1298,9 @@ class="thin"><?= $settings['customCss'] ?? "" ?></textarea>
<h3><?= translate('export_subscriptions', $i18n) ?></h3>
<div class="form-group-inline wrap">
<input type="button" value="<?= translate('export_as_json', $i18n) ?>" onClick="exportAsJson()"
class="secondary-button thin mobile-grow" id="export-json" <?= $demoMode && !$isAdmin ? 'disabled title="Not available on Demo Mode"' : '' ?>>
class="secondary-button thin mobile-grow" id="export-json" <?= $demoMode ? 'disabled title="Not available on Demo Mode"' : '' ?>>
<input type="button" value="<?= translate('export_as_csv', $i18n) ?>" onClick="exportAsCsv()"
class="secondary-button thin mobile-grow" id="export-csv" <?= $demoMode && !$isAdmin ? 'disabled title="Not available on Demo Mode"' : '' ?>>
class="secondary-button thin mobile-grow" id="export-csv" <?= $demoMode ? 'disabled title="Not available on Demo Mode"' : '' ?>>
</div>
</div>
</div>
Expand Down

0 comments on commit 339f6db

Please sign in to comment.