Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1 www 1
<?php
746 steven 2
 
3
$notify = '';
4
$messages = $this->flashMessenger()->getInfoMessages();
5
foreach($messages as $message)
6
{
7
    $notify .= "$.fn.showInfo('$message')";
8
}
9
 
10
$messages = $this->flashMessenger()->getSuccessMessages();
11
foreach($messages as $message)
12
{
13
    $notify .= "$.fn.showSuccess('$message')";
14
}
15
 
16
$messages = $this->flashMessenger()->getWarningMessages();
17
foreach($messages as $message)
18
{
19
    $notify .= " $.fn.showWarning('$message')";
20
}
21
 
22
$messages = $this->flashMessenger()->getErrorMessages();
23
foreach($messages as $message)
24
{
25
    $notify .= " $.fn.showError('$message')";
26
}
27
 
28
if($notify) {
29
    $this->inlineScript()->captureStart();
30
    echo " jQuery( document ).ready(function( $ ) { $notify }); ";
31
    $this->inlineScript()->captureEnd();
32
}
33
 
34
$routeCheckSession = $this->url('check-session');
35
 
36
$currentUserPlugin    = $this->currentUserHelper();
1 www 37
$acl = $this->viewModel()->getRoot()->getVariable('acl');
38
?>
39
 
40
<!DOCTYPE html>
41
<html>
42
 
43
<head>
44
  <?php
45
  echo $this->headTitle();
46
  echo $this->headMeta()->appendHttpEquiv('X-UA-Compatible', 'IE=edge')
47
    ->appendHttpEquiv('expires', '0')
48
    ->appendHttpEquiv('expires', 'Tue, 01 Jan 1980 1:00:00 GMT')
49
    ->appendHttpEquiv('pragma', 'no-cache')
50
    ->appendHttpEquiv('Cache-Control', 'no-store')
51
    ->appendHttpEquiv('Cache-Control', 'max-age=0')
52
    ->appendHttpEquiv('Cache-Control', 'no-cache')
53
    ->appendHttpEquiv('charset', 'UTF-8')
54
    ->appendName('viewport', 'width=device-width, initial-scale=1.0');
55
  //->appendName('description', '')
56
  //->appendName('author', '{AUTHOR}')
57
  //->appendName('keywords', '{KEYWORDS}')
58
  //->appendName('copyright', '{COPYRIGHT}')
59
  //->appendName('google-signin-client_id', '{GOOGLE_CLIENT_ID');
60
  ?>
61
  <link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('css/animate.css') ?>">
62
  <link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('css/bootstrap.css') ?>">
63
  <link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('css/line-awesome.css') ?>">
64
  <link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('css/line-awesome-font-awesome.min.css') ?>">
65
 
66
  <link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('vendors/fontawesome-free/css/all.min.css') ?>">
67
  <link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('vendors/font-awesome/css/font-awesome.min.css') ?>">
68
  <!--
69
 
70
    	<link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('css/font-awesome.min.css') ?>">
71
    	<link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('vendors/font-awesome/font-awesome.min.css') ?>">
72
    	-->
73
 
74
 
75
  <link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('lib/slick/slick.css') ?>">
76
  <link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('lib/slick/slick-theme.css') ?>">
77
 
78
 
79
 
80
  <link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('css/style.css') ?>" />
81
  <link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('css/responsive.css') ?>" />
82
  <link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('css/responsive-cesa.css') ?>" />
1072 stevensc 83
 
1 www 84
  <link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('css/jquery.mCustomScrollbar.min.css') ?>" />
1072 stevensc 85
 
1 www 86
  <link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('vendors/nprogress/nprogress.css') ?>">
1072 stevensc 87
 
1 www 88
  <?php if ($currentUserPlugin->hasIdentity()) : ?>
1072 stevensc 89
 
1 www 90
    <link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('css/icons.css') ?>" />
91
    <link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('vendors/smiley/assets/sprites/emojione.sprites.css') ?>" />
92
    <link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('vendors/uploader/jquery.ui.plupload/css/jquery-ui.css') ?>" />
93
    <link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('vendors/uploader/jquery.ui.plupload/css/jquery.ui.plupload.css') ?>" />
1072 stevensc 94
    <link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('css/style-cesa.css') ?>" />
1 www 95
    <link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('css/chat.css') ?>" />
96
  <?php endif; ?>
97
 
98
  <?php
99
  echo $this->headStyle();
100
  echo $this->headLink();
101
  echo $this->headScript();
102
 
103
 
104
  ?>
105
 
106
</head>
107
 
108
<body>
109
  <div class="wrapper">
110
   <?php if ($currentUserPlugin->hasIdentity()) :
111
        $currentUser = $currentUserPlugin->getUser();
112
    ?>
113
    <?php echo $this->menuHelper($currentUser->id) ?>
114
    <?php endif; ?>
2726 stevensc 115
    <div id="app">
1 www 116
      <?php echo $this->content ?>
117
    </div>
118
  </div>
119
  <!--theme-layout end-->
120
 
121
  <?php
122
  echo $this->inlineScript();
123
  ?>
1003 stevensc 124
<?php if ($currentUserPlugin->hasIdentity()) : ?>
1002 stevensc 125
  <script type="text/javascript" src="<?php echo $this->basePath('vendors/smiley/smiley.js') ?>"></script>
126
  <script type="text/javascript" src="<?php echo $this->basePath('vendors/smiley/js/emojione.min.js') ?>"></script>
127
<?php endif; ?>
1 www 128
</body>
129
</html>