add smarty extends linemarker