Project

General

Profile

« Previous | Next » 

Revision be6e1e8a

Added by Scott Ullrich about 16 years ago

Cleanup text

View differences:

usr/local/www/diag_nanobsd.php
46 46
$REAL_BOOT_DEVICE=trim(`/sbin/glabel list | /usr/bin/grep -B2 ufs/{$BOOT_DEVICE} | /usr/bin/head -n 1 | /usr/bin/cut -f3 -d' '`);
47 47
$BOOT_DRIVE=trim(`/sbin/glabel list | /usr/bin/grep -B2 ufs/pfsense | /usr/bin/head -n 1 | /usr/bin/cut -f3 -d' ' | /usr/bin/cut -d's' -f1`);
48 48

  
49
// Detect which slice is active and set information.
49 50
if(strstr($REAL_BOOT_DEVICE, "s1")) {
50 51
	$SLICE="2";
51 52
	$OLDSLICE="1";
......
69 70
?>
70 71

  
71 72
<body link="#0000CC" vlink="#0000CC" alink="#0000CC" onload="<?=$jsevents["body"]["onload"];?>">
72
<script src="/javascript/sorttable.js" type="text/javascript"></script>
73

  
73 74
<?php include("fbegin.inc"); ?>
75

  
74 76
<?php
75 77

  
76 78
if($_POST['bootslice']) {
77 79
	echo <<<EOF
78 80
	 	<div id="loading">
79
			<img src="/themes/metallic/images/misc/loader.gif"> Setting slice, please wait...
81
			<img src="/themes/metallic/images/misc/loader.gif"> 
82
			Setting slice information, please wait...
80 83
			<p/>&nbsp;
81 84
		</div>
82 85
EOF;
......
100 103

  
101 104
echo <<<EOF
102 105
 	<div id="loading">
103
		<img src="/themes/metallic/images/misc/loader.gif"> Duplicaating slice, please wait...
106
		<img src="/themes/metallic/images/misc/loader.gif">
107
		Duplicaating slice.  Please wait, this will take a moment...
104 108
		<p/>&nbsp;
105 109
	</div>
106 110
EOF;
......
227 231

  
228 232
<?php
229 233

  
234
// Clear the loading indicator
230 235
echo "<script type=\"text/javascript\">";
231 236
echo "$('loading').innerHTML = '';";
232 237
echo "</script>";	

Also available in: Unified diff