X-Git-Url: https://git.harvie.cz/?a=blobdiff_plain;f=assistants%2Fbank.inc.php;h=755a470dbea54cf1455e2f74d8b7d69b2a66dd12;hb=bd3726b4451118c135088d97059d711d874b1274;hp=373e0a38579a63a31243196c1fe202a6746cd4a4;hpb=51ca86c44f2edf2fe7b12ff71eb45773dad6feaa;p=mirrors%2FSokoMan.git
diff --git a/assistants/bank.inc.php b/assistants/bank.inc.php
index 373e0a3..755a470 100644
--- a/assistants/bank.inc.php
+++ b/assistants/bank.inc.php
@@ -82,15 +82,15 @@ if(isset($bank_json_only) && $bank_json_only) {
if(isset($_POST['create_account'])) {
$new_account=$_POST['account_name'];
bank_add_account($this, $new_account);
- $this->post_redirect_get("$URL_INTERNAL/admin","ÃÄet '$new_account' byl vytvoÅen!");
+ $this->post_redirect_get("$URL_INTERNAL/admin","ÃÄet $new_account byl vytvoÅen!");
}
if(isset($_POST['rename_account'])) {
$new_account=$_POST['account_new'];
$old_account=$_POST['account_old'];
if(bank_rename_account($this, $_POST['account_old'], $_POST['account_new'])) {
- $this->post_redirect_get("$URL_INTERNAL/admin","ÃÄet '$old_account' byl pÅejmenován na '$new_account'!");
+ $this->post_redirect_get("$URL_INTERNAL/admin","ÃÄet $old_account byl pÅejmenován na $new_account!");
} else {
- $this->post_redirect_get("$URL_INTERNAL/admin","ÃÄet '$new_account' již existuje!", false);
+ $this->post_redirect_get("$URL_INTERNAL/admin","ÃÄet $new_account již existuje!", false);
}
}
if(isset($_POST['transaction'])) {
@@ -101,7 +101,7 @@ if(isset($_POST['transaction'])) {
if(!is_numeric($amount) || $amount < 0) $this->post_redirect_get("$URL_INTERNAL?account=".$account_from,"Lze pÅevádÄt jen kladné Äástky", true);
if(strlen($comment)<4) $this->post_redirect_get("$URL_INTERNAL?account=".$account_from,"KomentáŠmusà mÃt alespoÅ 4 znaky!",true);
bank_transaction($this, $account_from, $account_to, $comment, $amount);
- $this->post_redirect_get("$URL_INTERNAL?account=".$account_from,"Transakce byla provedena:
PÅevod $amount $bank_currency z úÄtu $account_from na úÄet $account_to.
($comment)");
+ $this->post_redirect_get("$URL_INTERNAL?account=".$account_from,"Transakce byla provedena:
PÅevod $amount $bank_currency z úÄtu $account_from na úÄet $account_to.
($comment)");
}
//bank_add_account($this, 'material');