Project

General

Profile

« Previous | Next » 

Revision 14274

web/username_prefix.php: transposes: removed recommendation for vertical alignment because different quoting syntaxes, etc. make it difficult to have a consistent alignment anyway

View differences:

trunk/web/username_prefix.php
30 30
	# translate reverse @-paths into forward .-paths
31 31
	$path = implode(".", array_reverse(explode("@", $path)));
32 32
	
33
	# undo transposes: _y~x@url -> x_y@url , Y~x@url -> xY@url
33
	# undo transposes: y~x_@url -> x_y@url , Y~x@url -> xY@url
34 34
	# these can be used to put the category in a column name first
35
	# the _ should go first so that _y~ lines up vertically with [y_] paths
36 35
	# can't use : for this because Firefox will not update the "password" for
37 36
	#  the website with the new value after the :
38 37
	$path = preg_replace('/([^.]*)~([^.]*)/', '$2$1', $path);

Also available in: Unified diff