Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

Rev 4649 | Rev 4651 | Ir a la última revisión | | Comparar con el anterior | Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1 www 1
<?php
4647 stevensc 2
 
4638 stevensc 3
use LeadersLinked\Model\Theme;
1 www 4
 
5
$groupTypes = json_encode($types);
6
$industriesJson = json_encode($industries);
7
$privaciesJson = json_encode($privacies);
8
$accessibilitiesJson = json_encode($accessibilities);
9
 
4638 stevensc 10
$currentNetworkHelper = $this->currentNetworkHelper();
11
$currentNetwork = $currentNetworkHelper->getNetwork();
12
 
1 www 13
$js = <<<JS
14
 
15
const backendVars = {
16
  groupId: "$group_uuid",
17
  cover: "$cover",
18
  imageSizeCover: "$image_size_cover",
19
  image:"$image",
20
  imageProfileCover: "$image_size_profile",
21
  totalMembers: "$total_members",
22
  name: "$name",
23
  overview: "$overview",
24
  groupType: "$group_type",
25
  groupTypes: JSON.parse('$groupTypes'),
26
  industry: "$industry",
27
  industries: JSON.parse('$industriesJson'),
28
  privacy: "$privacy",
29
  privacies: JSON.parse('$privaciesJson'),
30
  accessibility: "$accessibility",
31
  accessibilities: JSON.parse('$accessibilitiesJson'),
32
  website: "$website"
33
}
34
JS;
35
$this->inlineScript()->appendScript($js);
4638 stevensc 36
if ($currentNetwork->theme_id == Theme::THEME_LEADERSLINKED_LINKEDIN) {
4647 stevensc 37
  $this->headLink()->appendStylesheet('/react-bundles/profile/edit/main.css');
4649 stevensc 38
  $this->headLink()->appendStylesheet('/react-bundles/profile/view/main.css');
4642 stevensc 39
  $this->headLink()->appendStylesheet('/react-bundles/group/groupView/main.css');
4650 stevensc 40
  $this->headLink()->appendStyleshee('/react-bundles/groupEdit/main.css');
4638 stevensc 41
  $this->inlineScript()->appendFile('/react-bundles/groupEdit/linkedinGroupEdit.js');
42
} else {
43
  $this->inlineScript()->appendFile('/react-bundles/groupEdit/groupEdit.js');
44
}
1 www 45
?>
46
 
47
 
48
<div id="react_my_groups_edit">
49
  <div class="process-comm" id="paginator-process-comm">
50
    <div class="spinner">
51
      <div class="bounce1"></div>
52
      <div class="bounce2"></div>
53
      <div class="bounce3"></div>
54
    </div>
55
  </div>
56
</div>
57
<script src="https://cdn.ckeditor.com/4.16.0/standard/ckeditor.js"></script>