Downloads

Download tar.gz 7.7 KB
MD5: 548533b44e395c878b66386ca0648a72
SHA-1: c8b1f5c359487bc34869adf50d946948f939efb7
SHA-256: c570ec8782923947041d8e2a34a737428410050495ca8d1c68392688c0d02a13
Download zip 9.29 KB
MD5: f84dc1ee690b505d975336b425dc802f
SHA-1: 36d524323f90384f5a14abfd9f991b30814b685c
SHA-256: c9df049489ffbfb2edba59702e422e50ff55d4feebdd6babe5f731a05a969214

Release notes

Fixes:
#1274386: Data passed to the echo module should be sanitized and protected against external exploits.

Echo

Wraps content in a themed webpage.

This very simple module contains only one externally useful function:

echo_themed_page($title, $content, $theme)

Returns a page themed for the anonymous user.

Generates the text of a fully-themed Drupal page. The rendered page is returned as a text string instead of being sent to the browser. The theme system can thus be used to style any HTML message as if it had been generated by the live website.

Parameters

$title The text to display as the page title.

$content The text to display in the main page content region.

$theme The machine-readable name of the theme to use.

Return value

A string containing the fully-themed page.

Created by: pillarsdotnet
Created on: 9 Sep 2011 at 18:40 UTC
Last updated: 5 Oct 2011 at 18:45 UTC
Security update
Bug fixes
Unsupported

Other releases