jaapandre/Mini-loco-generator — pull request #14 by potherca (2012-02-20 20:36:41+00:00)
Title: Some more cleanup to the code, one code design change and a bug fix.

I move the order of the methods of the Generator class around to suite my logic (may differ from yours, open to discussion) and implemented a method in the Template class to simplify node creation in the Generator.

I made the form static HTML instead of generated by PHP, with the idea that if larger sets are supported later, they should be settable by the user. It would be less work to add (or expand) the current form and remove what is not needed than to generate what is (also less error prone).

I also fixed the CSS for Number positioning bug (Ticket #13 in your repo) and removed the use of Namespaces to be PHP5 < 5.3 compatible.

By the way, Have you tested any of this in IE yet? I haven't yet... I plan to do so somewhere in the coming days.
My guess is that especially the logo might turn out weird.