Deutschland United States United Kingdom
ContentLion - Open Source CMS

Compare Revisions

Ignore whitespace Rev 1 → Rev 2

/style.css
File deleted
\ No newline at end of file
/screenshot.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/index.php
File deleted
\ No newline at end of file
/trunk/images/bg.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+ application/octet-stream
/trunk/style.css
New file
0,0 → 1,24
body{
background-color: #fff;
background-image: url('images/bg.jpg');
background-repeat:repeat-x;
}
#globalmenu{
list-style-type : none;
}
#globalmenu li{
display:inline;
}
#container{
text-align:left;
}
#content{
background-color:#fff;
padding:1%;
}
#localmenu{
float:left;
}
img{
border:0;
}
/trunk/screenshot.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+ application/octet-stream
/trunk/index.php
New file
0,0 → 1,65
<!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="de">
<head>
<?PHP
sys::includeHeader();
?>
<link rel='stylesheet' href="<?PHP echo sys::getFullSkinPath(); ?>style.css" type="text/css" media="all" />
<style type="text/css">
body{
color: <?PHP echo sys::getColor("simple","skins","forecolor"); ?>;
}
a{
color: <?PHP echo sys::getColor("simple","skins","highlight1"); ?>;
}
a:visted{
color: <?PHP echo sys::getColor("simple","skins","highlight2"); ?>;
}
#container{
background-color:<?PHP echo sys::getColor("simple","skins","bgcolor"); ?>;
border: 1px solid <?PHP echo sys::getColor("simple","skins","highlight1"); ?>;
}
#content{
<?PHP if(sys::localMenuExists()){
?>
width:78%;
position:relative;
margin-left:20%;
<?PHP
}
?>
}
</style>
</head>
<body>
<div id="container">
<h1><?PHP echo sys::getTitle(); ?></h1>
<?PHP
sys::displayGlobalMenu("<ul id=\"globalmenu\">","</ul>","<li>"," </li>",
"globalmenu");
?>
<div id="localmenu">
<?PHP
sys::displayLocalMenu("<ul>","</ul>","<li>","</li>",
"localmenuentry");
?>
</div>
<div id="content">
<div id="breadcrump">
<?PHP
sys::displayBreadcrumb(" -&gt; ","breadcrump","bc");
?>
</div>
<?PHP
if(isset($_POST['content']) && $_POST['content']){
echo $_POST['content'];
}
else{
sys::includeContent();
}
?>
</div>
</div>
</body>
</html>