@contextfunction
def modules_header_block(context):
 request = context['request']
 (modules, active) = _get_modules(request)
 for module in modules:
  module.title = _(module.title)
 response_format = 'html'
 if ('response_format' in context):
  response_format = context['response_format']
 return Markup(render_to_string('core/tags/modules_header_block', {'modules': modules, 'active': active, 'request': request}, response_format=response_format))

@ contextfunction def modules_header_block ( context ) : request = context [ 'request' ] ( modules , active ) = _get_modules ( request ) for module in modules : module . title = _ ( module . title ) response_format = 'html' if ( 'response_format' in context ) : response_format = context [ 'response_format' ] return Markup ( render_to_string ( 'core/tags/modules_header_block' , { 'modules' : modules , 'active' : active , 'request' : request } , response_format = response_format ) )
modules header block .