mirror of
https://github.com/getnamingo/registry.git
synced 2025-07-22 18:45:59 +02:00
Small UI fixes
This commit is contained in:
parent
8b66028052
commit
e086f001ef
4 changed files with 71 additions and 28 deletions
|
@ -1848,10 +1848,21 @@ class DomainsController extends Controller
|
|||
|
||||
//}
|
||||
}
|
||||
|
||||
|
||||
public function listTransfers(Request $request, Response $response)
|
||||
{
|
||||
return view($response,'admin/domains/listTransfers.twig');
|
||||
$db = $this->container->get('db');
|
||||
$result = $db->selectRow('SELECT registrar_id FROM registrar_users WHERE user_id = ?', [$_SESSION['auth_user_id']]);
|
||||
|
||||
if ($_SESSION["auth_roles"] != 0) {
|
||||
$clid = $result['registrar_id'];
|
||||
} else {
|
||||
$clid = 0;
|
||||
}
|
||||
|
||||
return view($response,'admin/domains/listTransfers.twig', [
|
||||
'clid' => $clid
|
||||
]);
|
||||
}
|
||||
|
||||
public function requestTransfer(Request $request, Response $response)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue