Ejemplo n.º 1
0
        if (array_key_exists($Code, $this->Dictionary)) {
            return $this->Dictionary[$Code];
        } else {
            return $Code;
        }
    }
}
$Context = new FauxContext();
header('content-type: text/html; charset=' . $Configuration['CHARSET']);
// DEFINE THE LANGUAGE DICTIONARY
include $Configuration['LANGUAGES_PATH'] . $Configuration['LANGUAGE'] . '/definitions.php';
include $Configuration['APPLICATION_PATH'] . 'conf/language.php';
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php 
echo $Context->GetDefinition('XMLLang');
?>
">
<head>
<title><?php 
echo $Context->GetDefinition('TermsOfService');
?>
</title>
<style type="text/css">
body {
	background: #ffffff;
	margin: 10px;
	padding-bottom: 10px;
}
body, div, h1, h2, p {
	font-family: "Trebuchet MS", tahoma, arial, verdana;
Ejemplo n.º 2
0
            return $this->Dictionary[$Code];
        } else {
            return $Code;
        }
    }
}
$Context = new FauxContext();
// DEFINE THE LANGUAGE DICTIONARY
include $Configuration['LANGUAGES_PATH'] . $Configuration['LANGUAGE'] . '/definitions.php';
include $Configuration['APPLICATION_PATH'] . 'conf/language.php';
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-ca">
<head>
<title><?php 
echo $Context->GetDefinition("TermsOfService");
?>
</title>
<style type="text/css">
body { 
	background: #ffffff; 
	margin: 10px;
   padding-bottom: 10px;
}
body, div, h1, h2, p { 
	font-family: Trebuchet MS, tahoma, arial, verdana; 
	color: #000; 
	line-height: 160%;
}
h1 {
	font-size: 22px;