Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 5185 Rev 5186
Línea 4... Línea 4...
4
 
4
 
5
 
5
 
6
$routeMoodle = $this->url('moodle');
6
$routeMoodle = $this->url('moodle');
-
 
7
$emojione_image_path_png  = $this->basePath('vendors/smiley/assets/png/');
7
$emojione_image_path_png  = $this->basePath('vendors/smiley/assets/png/');
8
$id = $user_uuid ?? null;
8
$id = $user_uuid ?? null;
9
 
9
$js = <<<JS
10
$js = <<<JS
10
const backendVars={
11
const backendVars = {
Línea 11... Línea 12...
11
  id: "$id"
12
  id: "$id"
12
}
13
}
Línea 21... Línea 22...
21
  NEW_MESSAGES: 'LABEL_NEW_MESSAGES',
22
  NEW_MESSAGES: 'LABEL_NEW_MESSAGES',
22
  CREATE_INMAIL: 'LABEL_CREATE_INMAIL',
23
  CREATE_INMAIL: 'LABEL_CREATE_INMAIL',
23
  WRITE_NAME: 'LABEL_WRITE_NAME',
24
  WRITE_NAME: 'LABEL_WRITE_NAME',
24
  WRITE_PERSON_NAME: 'LABEL_WRITE_PERSON_NAME',
25
  WRITE_PERSON_NAME: 'LABEL_WRITE_PERSON_NAME',
25
  RETURN: 'LABEL_RETURN',
26
  RETURN: 'LABEL_RETURN',
26
  OPEN_DOCUMENT: 'LABEL_OPEN_DOCUMENT'
27
  OPEN_DOCUMENT: 'LABEL_OPEN_DOCUMENT',
27
}
28
}
28
 
-
 
29
JS;
29
JS;
-
 
30
 
30
$this->inlineScript()->appendScript($js);
31
$this->inlineScript()->appendScript($js);
31
$this->headLink()->appendStylesheet('/look-and-field/mobile-chat.css');
32
$this->headLink()->appendStylesheet('/look-and-field/mobile-chat.css');
32
$this->inlineScript()->appendFile('/react-bundles/inmail/inmailBundle.js');
33
$this->inlineScript()->appendFile('/react-bundles/inmail/inmailBundle.js');
33
?>
34
?>