Had to use %s instead of %d ><
Had to use %s instead of %d ><

In order to be able to use the input field, the pattern needs to use %s.
Otherwise it does an intval() and puts in a zero.

Cleaned up a bit too.

wthielen/ZF1E,wthielen/zf1e