Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

Rev 4069 | Rev 4554 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 4069 Rev 4553
Línea 1... Línea 1...
1
<?php
1
<?php
-
 
2
use LeadersLinked\Model\Theme;
Línea 2... Línea 3...
2
 
3
 
Línea -... Línea 4...
-
 
4
$this->inlineScript()->appendFile('https://maps.googleapis.com/maps/api/js?key=' . $google_map_key . '&libraries=places');
-
 
5
 
-
 
6
$currentNetworkHelper = $this->currentNetworkHelper();
3
$this->inlineScript()->appendFile('https://maps.googleapis.com/maps/api/js?key=' . $google_map_key . '&libraries=places');
7
$currentNetwork = $currentNetworkHelper->getNetwork();
4
 
8
 
5
// months
9
// months
6
$months = [
10
$months = [
7
  'LABEL_MONTH_JANUARY',
11
  'LABEL_MONTH_JANUARY',
Línea 104... Línea 108...
104
 
108
 
105
 
109
 
106
}
110
}
-
 
111
JS;
107
JS;
112
$this->inlineScript()->appendScript($js);
-
 
113
if ($currentNetwork->theme_id == Theme::THEME_LEADERSLINKED_LINKEDIN) {
-
 
114
  $this->headLink()->appendStylesheet('/react-bundles/profile/edit/main.css');
-
 
115
  $this->inlineScript()->appendFile('/react-bundles/profile/edit/linkedinProfileEditBundle.js');
108
$this->inlineScript()->appendScript($js);
116
}else {
-
 
117
  $this->headLink()->appendStylesheet('/react-bundles/profile/edit/main.css');
109
$this->headLink()->appendStylesheet('/react-bundles/profile/edit/main.css');
118
  $this->inlineScript()->appendFile('/react-bundles/profile/edit/profileEditBundle.js');
Línea 110... Línea 119...
110
$this->inlineScript()->appendFile('/react-bundles/profile/edit/profileEditBundle.js');
119
}
111
?>
120
?>