Revision 14119
Added by Aaron Marcuse-Kubitza over 10 years ago
username_prefix.php | ||
---|---|---|
28 | 28 |
# translate reverse @-paths into forward .-paths |
29 | 29 |
$path = implode(".", array_reverse(explode("@", $path))); |
30 | 30 |
|
31 |
# undo transposes: y~x_@url -> x_y@url , Y~x@url -> xY@url
|
|
31 |
# undo transposes: _y~x@url -> x_y@url , Y~x@url -> xY@url
|
|
32 | 32 |
# these can be used to put the category in a column name first |
33 |
# the _ should go first so that _y~ lines up vertically with [y_] paths |
|
33 | 34 |
# can't use : for this because Firefox will not update the "password" for |
34 | 35 |
# the website with the new value after the : |
35 | 36 |
$path = preg_replace('/([^.]*)~([^.]*)/', '$2$1', $path); |
Also available in: Unified diff
fix: web/username_prefix.php: transposes: changed recommended syntax to y~x@url so that _y~ lines up vertically with [y] paths