clean smarty plugins, and abbreviate commit message hashes

i tried first to use router geturl but its not compatible with modifiers

Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>