Project

General

Profile

« Previous | Next » 

Revision 1edd275e

Added by Scott Ullrich over 19 years ago

Remove old UPLOAD related items

View differences:

usr/local/www/system_firmware.php
120 120
	}
121 121
}
122 122

  
123
/* upload progress bar id */
124
$id = rand() . '.' . time();
125
$mth = ini_get('upload_progress_meter.store_method');
126
$dir = ini_get('upload_progress_meter.file.filename_template');
127

  
128 123
$pgtitle = "System: Firmware: Manual Update";
129 124
include("head.inc");
130 125

  
131 126
?>
132
<!--
133
generated new UPLOAD_IDENTIFIER = <?=$id?>
134
php-config.upload_progress_meter.store_method = <?=$mth?>
135
php-config.upload_progress_meter.file.filename_template = <?=$dir?>
136
-->
137 127
<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
138 128
<?php include("fbegin.inc"); ?>
139 129
<p class="pgtitle"><?=$pgtitle?></p>
......
188 178
				   <input name="Submit" type="submit" class="formbtn" value="Disable firmware upload">
189 179
                    <br><br>
190 180
					<strong>Firmware image file: </strong>&nbsp;
191
					<input type="hidden" name="UPLOAD_IDENTIFIER" value="<?=$id?>">
192 181
					<input name="ulfile" type="file" class="formfld">
193 182
                    <br><br>
194 183
		    <input name="Submit" type="submit" class="formbtn" value="Upgrade firmware">

Also available in: Unified diff