blob: bb7204388763ec611e5fe757cc01846d1093322a [file] [log] [blame]
* Copyright (c) 2007-2009 Intalio, Inc.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* Contributors:
* Antoine Toulme, Intalio Inc.
require (dirname(__FILE__) . "/../html_functions.php");
// Use a class to define the hooks to avoid bugs with already defined functions.
class BabelEclipseOrgStaging extends BabelEclipseOrg {
function head() {
echo "<h1 style='color: red'>This is the staging area. Don't do any serious translation work here!</h1><br/>";
function __register_html_staging($addon) {
$addon->register('head', array('BabelEclipseOrgStaging', 'head'));
global $register_function_html;
$register_function_html = '__register_html_staging';