Skip to content

Commit

Permalink
binder module cosmetic update
Browse files Browse the repository at this point in the history
  • Loading branch information
nightflyza committed Sep 29, 2021
1 parent 5de4f2c commit b042a9a
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion RELEASE
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.2.0 rev 8126
1.2.0 rev 8127
8 changes: 6 additions & 2 deletions api/libs/api.workaround.php
Original file line number Diff line number Diff line change
Expand Up @@ -2320,7 +2320,7 @@ function web_AddressAptForm($login) {
global $ubillingConfig;
$login = vf($login);
$aptdata = zb_AddressGetAptData($login);
$useraddress = zb_AddressGetFulladdresslist();
$useraddress = zb_AddressGetFullCityaddresslist();
@$useraddress = $useraddress[$login];

$cells = wf_TableCell(__('Value'));
Expand All @@ -2335,7 +2335,11 @@ function web_AddressAptForm($login) {

$cells = wf_TableCell(__('Full address'));
$cells .= wf_TableCell(@$useraddress);
$cells .= wf_TableCell(wf_JSAlert('?module=binder&username=' . $login . '&orphan=true', web_delete_icon(), __('Are you sure you want to make the homeless this user') . "?"));
$orphanUrl = '?module=binder&username=' . $login . '&orphan=true';
$cancelUrl = '?module=binder&username=' . $login;
$orphanAlert = __('Are you sure you want to make the homeless this user') . '?';
$addressDeleteDialog = wf_ConfirmDialogJS($orphanUrl, web_delete_icon() . ' ' . __('Evict'), $orphanAlert, '', $cancelUrl);
$cells .= wf_TableCell($addressDeleteDialog);
$rows .= wf_TableRow($cells, 'row3');

$cells = wf_TableCell(__('Entrance'));
Expand Down
1 change: 1 addition & 0 deletions languages/russian/billing.php
Original file line number Diff line number Diff line change
Expand Up @@ -3286,3 +3286,4 @@
$lang['def']['Network does not exist anymore'] = 'Сеть больше не существует';
$lang['def']['Do you confirm the movement of this event?'] = 'Вы подтверждаете перемещение данного события?';
$lang['def']['Calendar events titles filter'] = 'Фильтр по заголовкам событий календаря';
$lang['def']['Evict'] = 'Выселить';
5 changes: 2 additions & 3 deletions languages/ukrainian/billing.php
Original file line number Diff line number Diff line change
Expand Up @@ -828,7 +828,7 @@
$lang['def']['Average per day'] = 'В середньому за добу';
$lang['def']['Month actions stats'] = 'Статистика подій за місяць';
$lang['def']['What done'] = 'Що зроблено';
$lang['def']['Are you sure you want to make the homeless this user'] = 'Ви впевнені в тому, що бажаєте зробити цього користувача бездомним';
$lang['def']['Are you sure you want to make the homeless this user'] = 'Ви впевнені в тому, що бажаєте зробити цього користувача безхатьком';
$lang['def']['right to view context help'] = 'Право користуватись контекстною допомогою';
$lang['def']['right to control tariffs popularity'] = 'Право контролювати популярність тарифів';
$lang['def']['right to arp ping user'] = 'Право на ARP-пінг користувача';
Expand Down Expand Up @@ -3308,6 +3308,5 @@
$lang['def']['Network does not exist anymore'] = 'Мережа більше не існує';
$lang['def']['Do you confirm the movement of this event?'] = 'Ви підтверджуєте переміщення цієї події?';
$lang['def']['Calendar events titles filter'] = 'Фільтр по заголовках подій календаря';
$lang['def']['Evict'] = 'Виселити';


?>

0 comments on commit b042a9a

Please sign in to comment.