1
- <?php
1
+ <?php
2
2
/*=========================================================================
3
3
MIDAS Server
4
4
Copyright (c) Kitware SAS. 20 rue de la Villette. All rights reserved.
@@ -9,26 +9,26 @@ This software is distributed WITHOUT ANY WARRANTY; without even
9
9
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
10
10
PURPOSE. See the above copyright notices for more information.
11
11
=========================================================================*/
12
- echo $ this ->doctype ()
12
+ echo $ this ->doctype ()
13
13
?>
14
14
<html xmlns="http://www.w3.org/1999/xhtml">
15
15
<head>
16
16
17
17
<!-- Meta -->
18
18
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
19
19
<title><?php echo $ this ->title ?> </title>
20
-
21
- <meta name="description" content="<?php echo htmlentities ($ this ->metaDescription )?> " />
20
+
21
+ <meta name="description" content="<?php echo htmlentities ($ this ->metaDescription )?> " />
22
22
<meta name="keywords" content="<?php echo htmlentities ($ this ->metaKeywords )?> " />
23
- <meta name="robots" content="index, follow, all" />
24
- <noscript>
25
- <meta http-equiv="refresh" content="1; URL=<?php echo $ this ->webroot ?> /index/nojs">
26
- </noscript>
27
-
23
+ <meta name="robots" content="index, follow, all" />
24
+ <noscript>
25
+ <meta http-equiv="refresh" content="1; URL=<?php echo $ this ->webroot ?> /index/nojs">
26
+ </noscript>
27
+
28
28
<!--[if lte IE 6]>
29
- <meta http-equiv="refresh" content="1; URL=<?php echo $ this ->webroot ?> /index/nobrowser">
29
+ <meta http-equiv="refresh" content="1; URL=<?php echo $ this ->webroot ?> /index/nobrowser">
30
30
<![endif]-->
31
-
31
+
32
32
<!-- Import CSS -->
33
33
<link rel="shortcut icon" href="<?php echo $ this ->coreWebroot ?> /public/images/icons/favicon.ico" />
34
34
<?php
@@ -53,7 +53,7 @@ echo $this->doctype()
53
53
<![endif]-->
54
54
<?php echo $ this ->headLink (); // import the css ?>
55
55
<?php echo $ this ->headStyle (); // import the css ?>
56
-
56
+
57
57
</head>
58
58
<body>
59
59
<div class="MainDialog" style="display:none;">
@@ -80,10 +80,10 @@ echo $this->doctype()
80
80
<div class="TopbarLeft">
81
81
<ul>
82
82
<li class="first">
83
- <a href="http://www.kitware.com/midasindex.html" >MIDAS</a>
83
+ <a href="http://midasplatform.org" target="_blank" >MIDAS</a>
84
84
</li>
85
85
<li>
86
- <a href="http://www.kitware.com" >Kitware</a>
86
+ <a href="http://www.kitware.com" target="_blank" >Kitware</a>
87
87
</li>
88
88
</ul>
89
89
</div>
@@ -104,8 +104,8 @@ echo $this->doctype()
104
104
echo '
105
105
<li onclick="location.replace( \'' .$ this ->webroot .'/admin \');"><a> ' .$ this ->t ('Administration ' ).'</a></li> ' ;
106
106
}
107
-
108
-
107
+
108
+
109
109
$ linksModules = Zend_Registry::get ('notifier ' )->callback ("CALLBACK_CORE_GET_USER_MENU " , array ());
110
110
if (!empty ($ linksModules ))
111
111
{
@@ -126,7 +126,7 @@ echo $this->doctype()
126
126
{
127
127
echo '<b><a class="loginLink" href="#" > ' .$ this ->t ('Login ' ).'</a></b> ' ;
128
128
}
129
- ?>
129
+ ?>
130
130
</li>
131
131
<li>
132
132
<?php
@@ -138,23 +138,23 @@ echo $this->doctype()
138
138
{
139
139
echo '<a class="registerLink" href="#" > ' .$ this ->t ('Register ' ).'</a> ' ;
140
140
}
141
- ?>
141
+ ?>
142
142
</li>
143
143
<li>
144
144
<a href="#" > <?= $ this ->t ('Help ' ) ?> </a>
145
145
</li>
146
146
<li>
147
-
147
+
148
148
<a href="#" style="margin-right: 20px">
149
-
150
- <?php
149
+
150
+ <?php
151
151
echo $ this ->t ('My Language ' );
152
152
?>
153
- <img class="languageIcon" src="<?php echo $ this ->coreWebroot ?> /public/images/icons/language.png" alt ="" />
153
+ <img class="languageIcon" src="<?php echo $ this ->coreWebroot ?> /public/images/icons/language.png" alt ="" />
154
154
</a>
155
155
<ul>
156
156
<li>
157
- <?php
157
+ <?php
158
158
if ($ this ->lang =='en ' )
159
159
{
160
160
echo '<a href="#"><b>English</b></a> ' ;
@@ -166,7 +166,7 @@ echo $this->doctype()
166
166
?>
167
167
</li>
168
168
<li>
169
- <?php
169
+ <?php
170
170
if ($ this ->lang =='fr ' )
171
171
{
172
172
echo '<a href="#"><b>Francais</b></a> ' ;
@@ -206,13 +206,13 @@ echo $this->doctype()
206
206
</a>
207
207
</li>
208
208
</ul>
209
- <div class="viewNoticeWrapper">
209
+ <div class="viewNoticeWrapper">
210
210
<div class="viewNotice"></div>
211
211
</div>
212
212
</div>
213
213
</div>
214
214
</div>
215
-
215
+
216
216
<div class="Wrapper">
217
217
<?php
218
218
if ($ this ->needUpgrade )
@@ -242,7 +242,7 @@ echo $this->doctype()
242
242
<li <?php if ($ this ->activemenu =='uploaded ' ) {echo 'class="active" ' ;} ?> onclick="location.replace('<?php echo $ this ->webroot ?> /browse/uploaded');" ><a href="<?php echo $ this ->webroot ?> /browse/uploaded"><img alt="" src="<?php echo $ this ->coreWebroot ?> /public/images/icons/addfile.png" /><span> <?php echo $ this ->t ('My uploads ' );?> </span></a></li>
243
243
<?php
244
244
}
245
-
245
+
246
246
$ linksModules = Zend_Registry::get ('notifier ' )->callback ("CALLBACK_CORE_GET_LEFT_LINKS " , array ());
247
247
if (!empty ($ linksModules ))
248
248
{
@@ -276,7 +276,7 @@ echo $this->doctype()
276
276
if (is_array ($ item ))
277
277
{
278
278
echo "<li onclick= \"location.replace(' {$ this ->webroot }/item/ {$ item ['item_id ' ]}'); \" class='recentItem' qtip=' " . str_replace ("' " , '" ' , $ item ['name ' ])."'><a href=' {$ this ->webroot }/item/ {$ item ['item_id ' ]}'> " .$ this ->slicename ($ item ['name ' ],20 )."</a></li> " ;
279
- }
279
+ }
280
280
}
281
281
echo '</ul> ' ;
282
282
}
@@ -289,13 +289,13 @@ echo $this->doctype()
289
289
echo "<div class='viewHeader'> {$ this ->header } </div> " ;
290
290
}
291
291
?>
292
-
292
+
293
293
<div class="viewWrapper">
294
294
<!-- Content -->
295
295
<?php echo $ this ->layout ()->content ?>
296
296
<!-- End Content -->
297
-
298
- </div>
297
+
298
+ </div>
299
299
<div class="clear"/>
300
300
</div>
301
301
</div>
@@ -307,7 +307,7 @@ echo $this->doctype()
307
307
</div>
308
308
</div>
309
309
<hr style="display: none;"/>
310
- </div>
310
+ </div>
311
311
<?php
312
312
if (Zend_Registry::get ("configGlobal " )->smartoptimizer == 1 )
313
313
{
@@ -328,7 +328,7 @@ echo $this->doctype()
328
328
<?php echo $ this ->json ?>
329
329
</div>
330
330
</body>
331
-
331
+
332
332
<?php
333
333
$ footers = Zend_Registry::get ('notifier ' )->callback ("CALLBACK_CORE_GET_FOOTER_LAYOUT " , array ());
334
334
if (!empty ($ footers ))
0 commit comments