Install

Works with Drupal: 7.x

Using Composer to manage Drupal site dependencies

Downloads

Download tar.gz 7.64 KB
MD5: 0b708c51f31878fb7e3b3fa064525699
SHA-1: 519776fef3df72a4669f4b52386dc259e956e63f
SHA-256: 23484f9b8151b321b17b51ea9f7b5948a62913c523728e23bc6e3353513a66ce
Download zip 9.23 KB
MD5: 435bec8de8ac6c666c40f689dfbbd3c1
SHA-1: 411cebce27185cda737b51d3affa2027a29173fe
SHA-256: 227a91e5aa2882d3fc2d15ee27fd69a8640a0f4d73a11acf7621fab00338eb51

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:41 UTC
Last updated: 5 Oct 2011 at 18:45 UTC
Security update
Bug fixes
Unsupported

Other releases