The node type admin page uses an unclear callback name, and uses arg() where it is not necessary. The attached patch cleans this up by unifying node_types() with node_types_configure().

The fact I may want node_types() for my own use in CCK work is purely coincidental. :-)

CommentFileSizeAuthor
#1 node_29.patch4.45 KBjonbob
node_28.patch4.44 KBjonbob

Comments

jonbob’s picture

StatusFileSize
new4.45 KB

Oops, a bit of experimental code slipped in.

dries’s picture

Committed to HEAD.

Anonymous’s picture