<?php
 
 
/**
 
 * 
 
 *
 
 * @version $Id: contentManagerTest.php,v 1.1 2004/07/21 09:24:28 eikron Exp $
 
 * @copyright 2004 
 
 **/
 
require_once('./contentManager.class.php');
 
 
$cMgr= new contentManager('it');
 
$cMgr->location='test';
 
$cMgr->defaultLang='en';
 
?>
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
 
<html>
 
<head>
 
<title>contentManagerTest</title>
 
<style type="text/css">
 
body{
 
    font-family: arial,helvetica;
 
    font-size: 85%;
 
 
}
 
div.boxed{
 
    border-style: dashed;
 
    border-width: 2px 2px 2px 2px;
 
    margin: 10px 10px 10px 10px;
 
    padding: 5px;
 
    border-color: #CCC;
 
    color: #323542;
 
 
}
 
</style>
 
</head>
 
<body>
 
<h1>TestContentManager</h1>
 
<div class="boxed">Content managed: test_it <?php print $cMgr->getContent('test_it')?> </div>
 
<div class="boxed">Content managed: test_default_noit (test_noit) <?php print $cMgr->getContent('test_noit')?> </div>
 
<div class="boxed">Content managed: test_default_catchall (test_noit_noen) <?php print $cMgr->getContent('test_noit_noen')?> </div>
 
 
</body>
 
 |