From: Thomas Mudrunka Date: Fri, 31 May 2013 05:27:48 +0000 (+0200) Subject: Rozdeleni uctu do radek X-Git-Url: https://git.harvie.cz/?a=commitdiff_plain;h=7da3f2f4cedfd49dc4cc946f6f0e63846089e23e;p=mirrors%2FSokoMan.git Rozdeleni uctu do radek --- diff --git a/assistants/bank.inc.php b/assistants/bank.inc.php index e1b8054..067e989 100644 --- a/assistants/bank.inc.php +++ b/assistants/bank.inc.php @@ -100,10 +100,15 @@ if(isset($_POST['transaction'])) { //bank_add_account($this, 'material'); echo("Banka - "); -echo("Správa účtů - "); -echo("Účty: "); +echo("Správa účtů - "); +echo("Účty:
"); $accounts = bank_get_accounts($this, $SUBPATH[0]=='admin'); -foreach($accounts as $account) echo("$account, "); +$lastaccount=false; +foreach($accounts as $account) { + if($lastaccount && $lastaccount[0]!=$account[0] && !preg_match('/[a-zA-Z0-9]/', $lastaccount[0])) echo('
'); + echo("$account, "); + $lastaccount=$account; +} switch($SUBPATH[0]) { default: