Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Checkboxes #423

Merged
merged 2 commits into from
Jul 4, 2024
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
2 changes: 2 additions & 0 deletions about.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
<h2><?= translate('about_and_credits', $i18n) ?></h2>
</header>
<div class="credits-list">
<h3><?= translate('about', $i18n) ?></h3>
<p>Wallos <?= $version ?></p>
<p><?= translate('license', $i18n) ?>:
<span>
Expand Down Expand Up @@ -38,6 +39,7 @@
</a>
</span>
</p>
<h3><?= translate('credits', $i18n) ?></h3>
<p>
<?= translate('icons', $i18n) ?>:
<span>
Expand Down
42 changes: 21 additions & 21 deletions admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
</p>
</div>
<div class="buttons">
<input type="submit" class="thin" value="<?= translate('save', $i18n) ?>" id="saveAccountRegistrations"
<input type="submit" class="thin mobile-grow" value="<?= translate('save', $i18n) ?>" id="saveAccountRegistrations"
onClick="saveAccountRegistrationsButton()" />
</div>
</div>
Expand Down Expand Up @@ -185,10 +185,14 @@ class="fa-solid <?= $userIcon ?>"></i><?= $user['username'] ?></div>
class="one-third" value="<?= $settings['smtp_port'] ?>" />
</div>
<div class="form-group-inline">
<input type="radio" name="encryption" id="encryptiontls" value="tls" <?= empty($settings['encryption']) || $settings['encryption'] == "tls" ? "checked" : "" ?> />
<label for="encryptiontls"><?= translate('tls', $i18n) ?></label>
<input type="radio" name="encryption" id="encryptionssl" value="ssl" <?= $settings['encryption'] == "ssl" ? "checked" : "" ?> />
<label for="encryptionssl"><?= translate('ssl', $i18n) ?></label>
<div>
<input type="radio" name="encryption" id="encryptiontls" value="tls" <?= empty($settings['encryption']) || $settings['encryption'] == "tls" ? "checked" : "" ?> />
<label for="encryptiontls"><?= translate('tls', $i18n) ?></label>
</div>
<div>
<input type="radio" name="encryption" id="encryptionssl" value="ssl" <?= $settings['encryption'] == "ssl" ? "checked" : "" ?> />
<label for="encryptionssl"><?= translate('ssl', $i18n) ?></label>
</div>
</div>
<div class="form-group-inline">
<input type="text" name="smtpusername" id="smtpusername"
Expand All @@ -202,6 +206,12 @@ class="one-third" value="<?= $settings['smtp_port'] ?>" />
<input type="text" name="fromemail" id="fromemail" placeholder="<?= translate('from_email', $i18n) ?>"
value="<?= $settings['from_email'] ?>" />
</div>
<div class="buttons">
<input type="button" class="secondary-button thin mobile-grow" value="<?= translate('test', $i18n) ?>"
id="testSmtpSettingsButton" onClick="testSmtpSettingsButton()" />
<input type="submit" class="thin mobile-grow" value="<?= translate('save', $i18n) ?>" id="saveSmtpSettingsButton"
onClick="saveSmtpSettingsButton()" />
</div>
<div class="settings-notes">
<p>
<i class="fa-solid fa-circle-info"></i> <?= translate('smtp_info', $i18n) ?>
Expand All @@ -211,12 +221,6 @@ class="one-third" value="<?= $settings['smtp_port'] ?>" />
<?= translate('smtp_usage_info', $i18n) ?>
</p>
</div>
<div class="buttons">
<input type="button" class="secondary-button thin" value="<?= translate('test', $i18n) ?>"
id="testSmtpSettingsButton" onClick="testSmtpSettingsButton()" />
<input type="submit" class="thin" value="<?= translate('save', $i18n) ?>" id="saveSmtpSettingsButton"
onClick="saveSmtpSettingsButton()" />
</div>
</div>
</section>

Expand All @@ -226,16 +230,12 @@ class="one-third" value="<?= $settings['smtp_port'] ?>" />
<h2><?= translate('backup_and_restore', $i18n) ?></h2>
</header>
<div class="form-group-inline">
<div>
<input type="button" class="button thin" value="<?= translate('backup', $i18n) ?>" id="backupDB"
onClick="backupDB()" />
</div>
<div>
<input type="button" class="secondary-button thin" value="<?= translate('restore', $i18n) ?>"
id="restoreDB" onClick="openRestoreDBFileSelect()" />
<input type="file" name="restoreDBFile" id="restoreDBFile" style="display: none;" onChange="restoreDB()"
accept=".zip">
</div>
<input type="button" class="button thin mobile-grow" value="<?= translate('backup', $i18n) ?>" id="backupDB"
onClick="backupDB()" />
<input type="button" class="secondary-button thin mobile-grow" value="<?= translate('restore', $i18n) ?>"
id="restoreDB" onClick="openRestoreDBFileSelect()" />
<input type="file" name="restoreDBFile" id="restoreDBFile" style="display: none;" onChange="restoreDB()"
accept=".zip">
</div>
<div class="settings-notes">
<p>
Expand Down
1 change: 1 addition & 0 deletions includes/i18n/de.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@
'payment_method_split' => "Zahlungsmethode",
// About page
'about_and_credits' => "Informationen und Danksagungen",
"credits" => "Danksagungen",
'license' => "Lizenz",
'issues_and_requests' => "Issues und Anfragen",
'the_author' => "Der Autor",
Expand Down
1 change: 1 addition & 0 deletions includes/i18n/el.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@
'payment_method_split' => "Διαχωρισμός τρόπου πληρωμής",
// About page
'about_and_credits' => "Σχετικά και Credits",
"credits" => "Credits",
'license' => "License",
'issues_and_requests' => "Προβλήματα και αιτήσεις",
'the_author' => "Προγραμματιστής",
Expand Down
1 change: 1 addition & 0 deletions includes/i18n/en.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@
'payment_method_split' => "Payment Method Split",
// About page
'about_and_credits' => "About and Credits",
"credits" => "Credits",
'license' => "License",
'issues_and_requests' => "Issues and Requests",
'the_author' => "The author",
Expand Down
1 change: 1 addition & 0 deletions includes/i18n/es.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@
'payment_method_split' => "División por Método de Pago",
// About page
'about_and_credits' => "Acerca de y Créditos",
"credits" => "Créditos",
'license' => "Licencia",
'issues_and_requests' => "Problemas y Solicitudes",
'the_author' => "El autor",
Expand Down
1 change: 1 addition & 0 deletions includes/i18n/fr.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@
'payment_method_split' => "Répartition par méthode de paiement",
// Page À propos
'about_and_credits' => "À propos et crédits",
"credits" => "Crédits",
'license' => "Licence",
'issues_and_requests' => "Problèmes et demandes",
'the_author' => "L'auteur",
Expand Down
1 change: 1 addition & 0 deletions includes/i18n/it.php
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@

// About
'about_and_credits' => 'Informazioni e crediti',
"credits" => "Crediti",
'license' => 'Licenza',
'issues_and_requests' => 'Problemi e richieste',
'the_author' => "L'autore",
Expand Down
3 changes: 2 additions & 1 deletion includes/i18n/jp.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,8 @@
'payment_method_split' => "支払い方法別",
// About page
'about_and_credits' => "概要とクレジット",
'license' => "License",
"credits" => "クレジット",
'license' => "ライセンス",
'issues_and_requests' => "問題と要望",
'the_author' => "著者",
'icons' => "アイコン",
Expand Down
1 change: 1 addition & 0 deletions includes/i18n/ko.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@
'payment_method_split' => "지불방법별",
// About page
'about_and_credits' => "개요 및 크레딧",
"credits" => "크레딧",
'license' => "라이선스",
'issues_and_requests' => "이슈 및 요청",
'the_author' => "제작자",
Expand Down
3 changes: 2 additions & 1 deletion includes/i18n/pl.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@
'payment_method_split' => "Podział metod płatności",
// About page
'about_and_credits' => "Informacje i podziękowania",
"credits" => "Podziękowania",
'license' => "Licencja",
'issues_and_requests' => "Problemy i prośby",
'the_author' => "Autor",
Expand Down Expand Up @@ -181,7 +182,7 @@
"theme" => "Motyw",
"dark_theme" => "Przełącz na jasny/ciemny motyw",
"light_theme" => "Przełącz na ciemny/jasny motyw",
"automatic"=> "Automatycznie",
"automatic" => "Automatycznie",
"main_color" => "Główny kolor",
"accent_color" => "Kolor akcentowy",
"hover_color" => "Kolor najechania",
Expand Down
1 change: 1 addition & 0 deletions includes/i18n/pt.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@
'payment_method_split' => "Por Método de Pagamento",
// About page
'about_and_credits' => "Sobre e Créditos",
"credits" => "Créditos",
'license' => "Licença",
'issues_and_requests' => "Problemas e Pedidos",
'the_author' => "O Autor",
Expand Down
1 change: 1 addition & 0 deletions includes/i18n/pt_br.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@
'payment_method_split' => "Por método de pagamento",
// About page
'about_and_credits' => "Sobre e Créditos",
"credits" => "Créditos",
'license' => "Licença",
'issues_and_requests' => "Problemas e Pedidos",
'the_author' => "O autor",
Expand Down
1 change: 1 addition & 0 deletions includes/i18n/ru.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@
'payment_method_split' => "По способам оплаты",
// About page
'about_and_credits' => "О компании и авторах",
"credits" => "Благодарности",
'license' => "Лицензия",
'issues_and_requests' => "Проблемы и вопросы",
'the_author' => "Автор",
Expand Down
1 change: 1 addition & 0 deletions includes/i18n/sl.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@
'payment_method_split' => "Razdelitev načina plačila",
// About page
'about_and_credits' => "O programu in zahvale",
"credits" => "Zahvale",
'license' => "Licenca",
'issues_and_requests' => "Težave in zahteve",
'the_author' => "Avtor",
Expand Down
1 change: 1 addition & 0 deletions includes/i18n/sr.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@
'payment_method_split' => "Подела по начинима плаћања",
// Страница о апликацији
'about_and_credits' => "О апликацији и заслугама",
"credits" => "Заслуге",
'license' => "Лиценца",
'issues_and_requests' => "Проблеми и захтеви",
'the_author' => "Аутор",
Expand Down
1 change: 1 addition & 0 deletions includes/i18n/sr_lat.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@
'payment_method_split' => "Podela po načinu plaćanja",
// Stranica O aplikaciji
'about_and_credits' => "O aplikaciji i zasluge",
"credits" => "Zasluge",
'license' => "Licenca",
'issues_and_requests' => "Problemi i zahtevi",
'the_author' => "Autor",
Expand Down
1 change: 1 addition & 0 deletions includes/i18n/tr.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@
'payment_method_split' => "Ödeme Yöntemi Bölümü",
// About page
'about_and_credits' => "Hakkında ve Teşekkürler",
"credits" => "Teşekkürler",
'license' => "Lisans",
'issues_and_requests' => "Sorunlar ve İstekler",
'the_author' => "Yazar",
Expand Down
1 change: 1 addition & 0 deletions includes/i18n/zh_cn.php
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@

// 关于页面
'about_and_credits' => "关于和鸣谢",
"credits" => "鸣谢",
'license' => "许可证",
'issues_and_requests' => "问题反馈与功能请求",
'the_author' => "作者",
Expand Down
1 change: 1 addition & 0 deletions includes/i18n/zh_tw.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@
'payment_method_split' => "付款方式分割",
// 關於頁面
'about_and_credits' => "關於和致謝",
"credits" => "致謝",
'license' => "授權許可",
'issues_and_requests' => "問題回饋與功能請求",
'the_author' => "作者",
Expand Down
2 changes: 1 addition & 1 deletion includes/version.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<?php
$version = "v2.12.0";
$version = "v2.13.0";
?>
Loading