Revision 31f03b6c
Added by Sjon Hortensius over 10 years ago
usr/local/www/index.php | ||
---|---|---|
129 | 129 |
if($g['platform'] == "pfSense" || $g['platform'] == "nanobsd") { |
130 | 130 |
## If the user has logged into webGUI quickly while the system is booting then do not redirect them to |
131 | 131 |
## the package reinstall page. That is about to be done by the boot script anyway. |
132 |
## The code in fbegin.inc will put up a notice to the user.
|
|
132 |
## The code in head.inc will put up a notice to the user.
|
|
133 | 133 |
if (!platform_booting()) { |
134 | 134 |
header('Location: pkg_mgr_install.php?mode=reinstallall'); |
135 | 135 |
exit; |
... | ... | |
238 | 238 |
$pgtitle = array(gettext("Status: Dashboard")); |
239 | 239 |
include("head.inc"); |
240 | 240 |
|
241 |
?> |
|
242 |
<body class="index"> |
|
243 |
|
|
244 |
<?php |
|
245 |
include("fbegin.inc"); |
|
246 |
|
|
247 | 241 |
/* Print package server mismatch warning. See https://redmine.pfsense.org/issues/484 */ |
248 | 242 |
if (!verify_all_package_servers()) |
249 | 243 |
print_info_box(package_server_mismatch_message()); |
... | ... | |
314 | 308 |
<?php |
315 | 309 |
} |
316 | 310 |
|
317 |
include("fend.inc"); |
|
318 |
|
|
319 | 311 |
//build list of javascript include files |
320 | 312 |
foreach (glob('widgets/javascript/*.js') as $file) |
321 | 313 |
echo '<script src="'.$file.'"></script>'; |
322 |
?> |
|
323 | 314 |
|
324 |
</body> |
|
325 |
</html> |
|
315 |
include("foot.inc")?> |
Also available in: Unified diff
re-added shortcuts/, global tpl updates