Hi,
Du sagst daß die alte syntax langsamer ist (signifikant?) unten hängt mein jetziges template dieser Seite, wie müßte ich die denn auf die neue syntax anpassen?
Code: Select all
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<__html>
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
<link rel="shortcut icon" href="http://chor-lesperance.de/test/favicon.ico" />
<title>Chor L'espérance - {title}</title>
{stylesheet}
{content block='headtags' wysiwyg='false'}
</head>
</__body class="body_color">
<div id="center">
<div id="wrapper">
<div id="header">
</div>
<div id="menu">
{menu template='dx_base' start_level="2" collapse="1"}
<form action="http://www.chor-lesperance.de/test/index.php" method="get">
<input type="hidden" name="page" value="suchseite" />
</form>
</div>
<div id="content">
{breadcrumbs}
<br/>
{content}
</div>
<!-- id=content -->
<div id="footer">
<a href="../test/index.php?page=impressum">Impressum</a> | {print}<br />Copyright © 2005-2008, Chor L'espérance e.V.</div>
</div>
</div>
</div>
<!-- id=wrapper -->
<__body>
</__html>
und stylesheet...
Code: Select all
html, body {
margin: 0;
padding: 0;
}
body {
background-color: #ffffff;
color: #404040;
text-align: left;
}
.body_color {
background-color: #c1d2ee;
background-color: white;
}
hr {
color: #ffffff;
border-bottom: 1px solid #660066;
}
#wrapper {
position: relative;
margin-right: auto;
margin-left: auto;
background-color: #ffffff;
color: #404040;
text-align: left;
width: 980px;
height: 100%;
background: url(images/bg_shadow.gif) repeat-y top;
}
#header {
background: url(images/banner_top.gif) no-repeat;
color: #404040;
height: 120px;
margin: 0px 10px 0px 10px;
}
#menu {
background-color: #ffffff;
color: #404040;
margin: 0px 0px 0px 10px !important;
margin: 0px 0px 0px 5px;
padding: 0px;
float: left;
width: 200px;
}
#search {
position: absolute;
top: 125px;
left: 2px;
width: 200px;
background-color: #ffffff;
color: #404040;
margin: 0px;
padding: 0px;
}
#content {
background-image: url(images/background1.jpg);
background-color: #ffffff;
color: #404040;
margin: 0px 20px 0px 225px;
padding: 0px;
}
#footer {
clear: both;
background-color: #ffffff;
color: #404040;
padding: 5px 0px;
text-align: center;
border-top: 1px solid #993399;
border-bottom: 1px solid #660066;
width: 960px;
margin: 0px 10px 0px 10px;
}
#content a { font-family: Verdana, sans-serif; font-size: 12px; font-style: normal; line-height: normal; font-weight: normal; font-variant: normal}
#content a:link {color: #660066; text-decoration: underline}
#content a:visited {color: #660066; text-decoration: underline}
#content a:active {color: #660066; text-decoration: underline}
#content a:hover {color: #993399; text-decoration: none}
#footer a { font-family: Verdana, sans-serif; font-size: 12px; font-style: normal; line-height: normal; font-weight: normal; font-variant: normal}
#footer a:link {color: #660066; text-decoration: underline}
#footer a:visited {color: #660066; text-decoration: underline}
#footer a:active {color: #660066; text-decoration: underline}
#footer a:hover {color: #993399; text-decoration: none}
ul {list-style-type: none; }
.menu_horiz { display: inline; font-weight: bold; text-decoration: none; }
.menu_vert { }
#leftcolumn { width: 160px; margin: 0; padding: 0em; }
#leftmenu {padding:0px; margin:0px;}
#leftmenu ul {padding:0; margin-left: 20px;}
#leftmenu a {
display: block;
padding: 5px 5px 5px 10px;
height: 12px;
border-bottom: 1px solid #660066;
border-right: 0px solid #660066;
color: #660066;
text-decoration: none;
font-size: 12px;
}
#leftmenu a.active {
font-weight: bold;
}
#leftmenu a.current {
font-weight: bold;
background-color: #660066;
color: #ffffff;
}
#leftmenu a.separator {
display: block;
padding: 5px;
padding-left: 15px;
height: 6px;
border-bottom: 1px solid #660066;
border-right: 0px solid #660066;
color: #660066;
text-decoration: none;
font-size: 6px;
}
#leftmenu a:hover {
border-right: 10px solid #660066;
}
body,td,th,ul,caption,center,form,textarea,div,span { font-family: Verdana, sans-serif; font-size:12px; font-weight:normal; text-decoration:none; color:#404040}
h1 { font-family: Verdana, sans-serif; font-size: 26px; font-weight: bold; color: #660066}
h2 { font-family: Verdana, sans-serif; font-size: 22px; font-weight: bold; color: #660066}
h3 { font-family: Verdana, sans-serif; font-size: 18px; font-weight: bold; color: #660066}
h4 { font-family: Verdana, sans-serif; font-size: 14px; font-weight: bold; color: #660066}
h5 { font-family: Verdana, sans-serif; font-size: 12px; font-weight: bold; color: #660066}
h6 { font-family: Verdana, sans-serif; font-size: 10px; font-weight: normal; color: #660066}
.bluebox
{
border:1px solid #660066; padding:3px;
}
.imagebox
{
border:2px solid #660066; padding:1px;
}
#pisearch {
margin: 22px 0px 0px 20px !important; margin-top: 2px;
border: 1px solid #660066;
width: 114px !important; width: 112px;
color: #404040;
height: 100% !important; height: 15px;
}
#pibuttonSearch {
margin: 22px 0px 0px 0px !important; margin-top: 2px;
border: 1px solid #660066;
background-color: #ffffff;
width: 60px;
color: #660066;
}
.NewsPostDetailTitle
{
background: url(images/news_shader.gif) repeat-y left;
padding:4px;
position:relative
}
.cms-gastbuch-div-show-value-message
{
color: #404040;
width: 680px;
font-weight: bold;
background-color: #ffeeff;
padding: 10px;
margin: 15px;
}
dfn {
position: absolute;
left: -1000px;
top: -1000px;
width: 0;
height: 0;
overflow: hidden;
display: inline;
}
oder gibt es super Vorlagen, die man nur leicht anpassen müßte?
..und wieder ein Dankeschön

Thomas