Línea 504... |
Línea 504... |
504 |
$google_map_key = $this->config['leaderslinked.google_map.sandbox_api_key'];
|
504 |
$google_map_key = $this->config['leaderslinked.google_map.sandbox_api_key'];
|
505 |
} else {
|
505 |
} else {
|
506 |
$google_map_key = $this->config['leaderslinked.google_map.production_api_key'];
|
506 |
$google_map_key = $this->config['leaderslinked.google_map.production_api_key'];
|
507 |
}
|
507 |
}
|
Línea -... |
Línea 508... |
- |
|
508 |
|
- |
|
509 |
|
- |
|
510 |
|
- |
|
511 |
$logo_url = $this->url()->fromRoute('storage-network', ['type' => 'logo'],['force_canonical' => true]);
|
- |
|
512 |
$logo_url = str_replace($currentNetwork->main_hostname, $currentNetwork->service_hostname, $logo_url);
|
- |
|
513 |
if($currentNetwork->alternative_hostname) {
|
- |
|
514 |
$logo_url = str_replace($currentNetwork->alternative_hostname, $currentNetwork->service_hostname, $logo_url);
|
- |
|
515 |
|
- |
|
516 |
}
|
- |
|
517 |
|
- |
|
518 |
|
- |
|
519 |
$navbar_url = $this->url()->fromRoute('storage-network', ['type' => 'navbar'],['force_canonical' => true]);
|
- |
|
520 |
$navbar_url = str_replace($currentNetwork->main_hostname, $currentNetwork->service_hostname, $navbar_url);
|
- |
|
521 |
if($currentNetwork->alternative_hostname) {
|
- |
|
522 |
$navbar_url = str_replace($currentNetwork->alternative_hostname, $currentNetwork->service_hostname, $navbar_url);
|
- |
|
523 |
|
- |
|
524 |
}
|
- |
|
525 |
|
- |
|
526 |
|
- |
|
527 |
$favico_url= $this->url()->fromRoute('storage-network', ['type' => 'favico'],['force_canonical' => true]);
|
- |
|
528 |
$favico_url = str_replace($currentNetwork->main_hostname, $currentNetwork->service_hostname, $favico_url);
|
- |
|
529 |
if($currentNetwork->alternative_hostname) {
|
- |
|
530 |
$favico_url = str_replace($currentNetwork->alternative_hostname, $currentNetwork->service_hostname, $favico_url);
|
- |
|
531 |
|
Línea 508... |
Línea 532... |
508 |
|
532 |
}
|
509 |
|
533 |
|
510 |
$data = [
|
534 |
$data = [
|
511 |
'google_map_key' => $google_map_key,
|
535 |
'google_map_key' => $google_map_key,
|
Línea 515... |
Línea 539... |
515 |
'theme_id' => $currentNetwork->theme_id,
|
539 |
'theme_id' => $currentNetwork->theme_id,
|
516 |
'aes' => $aes,
|
540 |
'aes' => $aes,
|
517 |
'jwt' => $token,
|
541 |
'jwt' => $token,
|
518 |
'defaultNetwork' => $currentNetwork->default,
|
542 |
'defaultNetwork' => $currentNetwork->default,
|
519 |
'access_usign_social_networks' => $access_usign_social_networks && $currentNetwork->default == Network::DEFAULT_YES ? 'y' : 'n',
|
543 |
'access_usign_social_networks' => $access_usign_social_networks && $currentNetwork->default == Network::DEFAULT_YES ? 'y' : 'n',
|
520 |
'logo_url' => $this->url()->fromRoute('storage-network', ['type' => 'logo'],['force_canonical' => true]),
|
544 |
'logo_url' => $logo_url,
|
521 |
'navbar_url' => $this->url()->fromRoute('storage-network', ['type' => 'navbar'],['force_canonical' => true]),
|
545 |
'navbar_url' => $navbar_url,
|
522 |
'favico_url' => $this->url()->fromRoute('storage-network', ['type' => 'favico'],['force_canonical' => true]),
|
546 |
'favico_url' => $favico_url,
|
523 |
'intro' => $currentNetwork->intro ? $currentNetwork->intro : '',
|
547 |
'intro' => $currentNetwork->intro ? $currentNetwork->intro : '',
|
524 |
'is_logged_in' => $jwtToken->user_id ? true : false,
|
548 |
'is_logged_in' => $jwtToken->user_id ? true : false,
|
Línea 525... |
Línea 549... |
525 |
|
549 |
|