Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 14150 Rev 14575
Línea 47... Línea 47...
47
 
47
 
48
//[REQUEST_URI] => /settings/company-sizes/
48
//[REQUEST_URI] => /settings/company-sizes/
Línea 49... Línea 49...
49
$request_uri = isset($_SERVER['REQUEST_URI']) ? $_SERVER['REQUEST_URI'] : '';
49
$request_uri = isset($_SERVER['REQUEST_URI']) ? $_SERVER['REQUEST_URI'] : '';
50
 
50
 
51
if ($request_uri) {
51
if ($request_uri) {
52
  if (substr($request_uri, 0, 1) == '/') {
52
	if (substr($request_uri, 0, 1) == '/') {
53
    $request_uri = substr($request_uri, 1);
53
		$request_uri = substr($request_uri, 1);
54
  }
54
	}
55
  if (substr($request_uri, strlen($request_uri) - 1, 1) == '/') {
55
	if (substr($request_uri, strlen($request_uri) - 1, 1) == '/') {
56
    $request_uri = substr($request_uri, 0, strlen($request_uri) - 1);
56
		$request_uri = substr($request_uri, 0, strlen($request_uri) - 1);
Línea 57... Línea 57...
57
  }
57
	}
Línea 58... Línea 58...
58
}
58
}
59
 
59
 
60
$acl = $this->viewModel()->getCurrent()->getVariable('acl');
60
$acl = $this->viewModel()->getCurrent()->getVariable('acl');
61
 
61
 
62
$jsonMenu = json_encode($menu);
62
$jsonMenu = json_encode($menu);
63
	
63
 
64
if($company){
64
if ($company) {
65
$js = <<<JS
65
	$js = <<<JS
66
	const backendVars= {
66
	const backendVars= {
Línea 101... Línea 101...
101
		->appendHttpEquiv('Cache-Control', 'no-cache')
101
		->appendHttpEquiv('Cache-Control', 'no-cache')
102
		->appendHttpEquiv('charset', 'UTF-8')
102
		->appendHttpEquiv('charset', 'UTF-8')
103
		->appendName('viewport', 'width=device-width, initial-scale=1.0');
103
		->appendName('viewport', 'width=device-width, initial-scale=1.0');
104
	?>
104
	?>
Línea 105... Línea 105...
105
 
105
 
106
<!-- Google Font: Source Sans Pro -->
106
	<!-- Google Font: Source Sans Pro -->
107
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,700&display=fallback">
107
	<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,700&display=fallback">
108
<!-- Font Awesome -->
108
	<!-- Font Awesome -->
109
<link rel="stylesheet" href="<?php echo $this->basePath('plugins/font-awesome/css/font-awesome.css') ?>">
109
	<link rel="stylesheet" href="<?php echo $this->basePath('plugins/font-awesome/css/font-awesome.css') ?>">
110
	<!-- Theme style -->
110
	<!-- Theme style -->
111
	<link rel="stylesheet" href="<?php echo $this->basePath('css/adminlte.min.css') ?>">
111
	<link rel="stylesheet" href="<?php echo $this->basePath('css/adminlte.min.css') ?>">
112
	<!-- App style -->
112
	<!-- App style -->
113
	<link rel="stylesheet" href="<?php echo $this->basePath('css/app.css') ?>">
113
	<link rel="stylesheet" href="<?php echo $this->basePath('css/app.css') ?>">
114
	<link rel="stylesheet" href="<?php echo $this->basePath('/react-bundles/menu/main.css') ?>">
114
	<link rel="stylesheet" href="<?php echo $this->basePath('/react-bundles/menu/main.css') ?>">
Línea 115... Línea 115...
115
	<script src="<?php echo $this->basePath('plugins/ckeditor/ckeditor.js') ?>"></script>
115
	<script src="<?php echo $this->basePath('plugins/ckeditor/ckeditor.js') ?>"></script>
116
 
116
 
117
	<?php if ($currentUserHelper->hasIdentity()) :  ?>
117
	<?php if ($currentUserHelper->hasIdentity()) :  ?>
118
    <link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('css/icons.css') ?>" />
118
		<link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('css/icons.css') ?>" />
119
    <link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('vendors/smiley/assets/sprites/emojione.sprites.css') ?>" />
119
		<link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('vendors/smiley/assets/sprites/emojione.sprites.css') ?>" />
120
    <link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('vendors/uploader/jquery.ui.plupload/css/jquery-ui.css') ?>" />
120
		<link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('vendors/uploader/jquery.ui.plupload/css/jquery-ui.css') ?>" />
121
    <link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('vendors/uploader/jquery.ui.plupload/css/jquery.ui.plupload.css') ?>" />
121
		<link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('vendors/uploader/jquery.ui.plupload/css/jquery.ui.plupload.css') ?>" />
-
 
122
 
-
 
123
		<link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('css/chat.css') ?>" />
122
    
124
		<link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('css/style.css') ?>" />
123
    <link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('css/chat.css') ?>" />
125
		<link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('css/style-cesa.css') ?>" />
124
	<?php endif; ?>
126
	<?php endif; ?>
125
	<?php
127
	<?php
126
	echo $this->headStyle();
128
	echo $this->headStyle();
127
	echo $this->headLink();
129
	echo $this->headLink();
128
	echo $this->headScript();
-
 
Línea -... Línea 130...
-
 
130
	echo $this->headScript();
129
	?>
131
	?>
130
	
132
 
Línea 131... Línea 133...
131
 
133
 
132
	
134
 
133
</head>
135
</head>
134
 
136
 
135
<body class="hold-transition sidebar-mini">
137
<body class="hold-transition sidebar-mini">
Línea 136... Línea 138...
136
	<!-- Site wrapper -->
138
	<!-- Site wrapper -->
137
	<div class="wrapper">
139
	<div class="wrapper">
138
		
140
 
139
		<div id="menu-sidebar"></div>
141
		<div id="menu-sidebar"></div>
140
 
142
 
141
		<!-- Content Wrapper. Contains page content -->
143
		<!-- Content Wrapper. Contains page content -->
142
		<div class="content-wrapper">
144
		<div class="content-wrapper">
143
			<section class="content">
145
			<section class="content">
144
				<?php echo $this->content ?>
146
				<?php echo $this->content ?>
145
			</section>
147
			</section>
146
			
148
 
147
			
149
 
148
			<?php 
150
			<?php
149
			if ($currentUserHelper->hasIdentity()) {
151
			if ($currentUserHelper->hasIdentity()) {
150
			    echo $this->chatHelper($user->id); 
152
				echo $this->chatHelper($user->id);
151
			}
153
			}
152
			?>
154
			?>
153
			
155
 
Línea 169... Línea 171...
169
		<script type="text/javascript" src="<?php echo $this->basePath('vendors/smiley/js/emojione.min.js') ?>"></script>
171
		<script type="text/javascript" src="<?php echo $this->basePath('vendors/smiley/js/emojione.min.js') ?>"></script>
170
	<?php endif; ?>
172
	<?php endif; ?>
171
	<?php
173
	<?php
172
	echo $this->inlineScript();
174
	echo $this->inlineScript();
173
	?>
175
	?>
174
	
176
 
175
	
177
 
176
</body>
178
</body>
Línea 177... Línea 179...
177
 
179
 
178
</html>
180
</html>