Project

General

Profile

« Previous | Next » 

Revision f571a57b

Added by Viktor Gurov over 3 years ago

Change traffic shaper wizard default bandwidth type to Mbit/s. Todo #12501

View differences:

src/usr/local/www/wizards/traffic_shaper_wizard_dedicated.inc
212 212
		$field['name'] = "conn{$i}uploadspeed";
213 213
		$field['typehint'] = "Upload bandwidth on this connection.";
214 214
		$field['type'] = "select";
215
		$field['value'] = "Mb";
215 216
		$field['options']['option'] = array();
216 217
		$opts = array();
217 218
		$opts['value'] = "Kb";
......
243 244
		$field['name'] = "conn{$i}downloadspeed";
244 245
		$field['typehint'] = "Download bandwidth on this connection.";
245 246
		$field['type'] = "select";
247
		$field['value'] = "Mb";
246 248
		$field['options']['option'] = array();
247 249
		$opts = array();
248 250
		$opts['value'] = "Kb";
src/usr/local/www/wizards/traffic_shaper_wizard_multi_all.inc
245 245
		$field['name'] = "conn{$i}uploadspeed";
246 246
		$field['typehint'] = "Upload bandwidth on this connection.";
247 247
		$field['type'] = "select";
248
		$field['value'] = "Mb";
248 249
		$field['options']['option'] = array();
249 250
		$opts = array();
250 251
		$opts['value'] = "Kb";
......
276 277
		$field['name'] = "conn{$i}downloadspeed";
277 278
		$field['typehint'] = "Download bandwidth on this connection.";
278 279
		$field['type'] = "select";
280
		$field['value'] = "Mb";
279 281
		$field['options']['option'] = array();
280 282
		$opts = array();
281 283
		$opts['value'] = "Kb";

Also available in: Unified diff