Revize 1676
Přidáno uživatelem David Raška před asi 12 roky(ů)
freenetis/branches/testing/application/controllers/transfers.php | ||
---|---|---|
));
|
||
|
||
// payment cash link
|
||
if ($this->acl_check_new('Accounts_Controller', 'transfers', $account->member_id))
|
||
if ($this->acl_check_new('Accounts_Controller', 'transfers'))
|
||
{
|
||
$transfers_grid->add_new_button(
|
||
'transfers/add_member_fee_payment_by_cash/' .
|
||
$account->member->id, __('Payment by cash')
|
||
);
|
||
|
||
}
|
||
|
||
if ($this->acl_check_new('Accounts_Controller', 'transfers', $account->member_id))
|
||
{
|
||
$transfers_grid->add_new_button(
|
||
'transfers/add_from_account/' . $account_id,
|
||
__('Send money to other account'),
|
freenetis/branches/testing/application/views/transfers/show_by_account.php | ||
---|---|---|
<?php
|
||
$links = array();
|
||
|
||
$links[] = html::anchor('transfers/show_by_account/'.$account->id.'#transfers', __('Transfers'), array('id' => 'transfers_link'));
|
||
|
||
if ($this->acl_check_view ('Members_Controller', 'comment', $account->member_id))
|
||
{
|
||
$links[] = html::anchor('transfers/show_by_account/'.$account->id.'#transfers', __('Transfers'), array('id' => 'transfers_link'));
|
||
$links[] = html::anchor('transfers/show_by_account/'.$account->id.'#comments', __('Comments'), array('id' => 'comments_link'));
|
||
}
|
||
|
||
echo implode(' | ', $links);
|
||
?>
|
||
if ($links):
|
||
echo implode(' | ', $links); ?>
|
||
<br />
|
||
<br />
|
||
<?php endif; ?>
|
||
<table class="extended" style="float:left">
|
||
<tr>
|
||
<th><?php echo __('Account ID')?></th>
|
Také k dispozici: Unified diff
Opravy:
- #296: odstraneny odkazy na stranky, na ktere nema uzivatel pravo pristupu