File:  [Repository] / ECHO_content / zpt / main_template
Revision 1.1: download - view: text, annotated - select for diffs - revision graph
Mon May 15 16:04:52 2006 UTC (18 years ago) by dwinter
Branches: MAIN
CVS tags: cleanup, Root_cleanup, HEAD
minor

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html metal:define-macro="page">
<head>
	<title metal:define-slot="title">ECHO</title>
	<meta http-equiv="content-type" content="text/html; charset=utf-8">
	<tal:block metal:define-slot="script"/>
	<link rel="stylesheet" type="text/css" href="echo.css">
	<script type="text/javascript">
	<!--
	window.name = "mainWindow";
	//-->
</script>
</head>

<body>

<!-- topNavigationBar -->
<table border="0" cellpadding=0 cellspacing=0 width="100%">
<tr bgcolor="#000000"> 
		
		
		<span tal:repeat="item here/mainNavElements" tal:omit-tag=""> <!-- spano1 -->
			<!-- item[2]=das Object selber -->
			
			<!-- Logo -->
			<span tal:condition="not:python:item[2].getImageTag()==''"> <!-- spano2 class=topNavImage-->
				<td rowspan=2 align=center valign=center width=170>
				<a class="image" tal:attributes="href python:item[1]">
					<span tal:replace="structure python:item[2].getImageTag()"/>
				</a>
				</td>
		  	</span> <!--/spano2 -->
		  	<!-- /Logo -->
		  	
		  	<!-- andere -->
		  	<span tal:condition="python:item[2].getImageTag()==''">	<!-- spano3 class=topNavBar-->
		 		<!-- selektierter Link -->
		  		<span tal:condition="python:here.isSelectedPath(item)"> <!-- Wenn ausgewaehlt : Kein Link --><!--spano4 -->
				<td align=center valign=center cellpadding=15px>
					&nbsp;
					<table cellpadding=7 border=0 height=30px> 
					<tr><td height="50%" align=center>
            		<nobr><a class="linksel" tal:content="python:item[0]" tal:attributes="href python:item[1]">navbar element</a></nobr>
					</td></tr>
					
					<tr><td height="50%" align=center>
					<a class="graphic" tal:attributes="href python:item[2].absolute_url()+'/'+item[2].secondaryLink"><span tal:content="python:item[2].secondaryLinkTitle">Graphic</span></a>
					</td></tr>
					</table>
				</td>
            	</span> <!-- /spano4 -->
            	<!-- /sel. Link -->
            	
            	<!-- andere -->
		  		<span tal:condition="not:python:here.isSelectedPath(item)"> <!-- Wenn nicht ausgewaehlt : Link --> <!-- spano5 -->
				     <td align=center valign=center cellpadding=15px>
				     &nbsp;
				      	<table cellpadding=7 border=0>
						<tr><td align=center>
		   		     	<nobr><a class="link"	tal:content="python:item[0]" tal:attributes="href python:item[1]">navbar element</a></nobr>
				     	 </td></tr>
						<tr><td align=center>
						<a class="graphic" tal:attributes="href python:item[2].absolute_url()+'/'+item[2].secondaryLink"><span tal:content="python:item[2].secondaryLinkTitle">Graphic</span></a>
						</td></tr>
						</table>
					</td>
		    	</span> <!-- /spano5 -->
		  	</span> <!-- /spano3 -->
		  	
		</span> <!-- /spano1 -->
	</tr>

<tr>

<tr>
<!-- vario bereich -->

	<td bgcolor=black valign="top" width=170>

		
		<div tal:omit-tag=""  metal:define-slot="nav">
		
		<span tal:omit-tag="" tal:repeat="item here/secondNavElements"> 

		    <span tal:omit-tag="" tal:condition="not:python:here.isSelectedPath(item)"> 
				
					<a class="menu" tal:content="python:item[0]" tal:attributes="href python:item[1]">vario links</a>
				
			</span> <!-- /span2 -->

			<span tal:omit-tag="" tal:condition="python:here.isSelectedPath(item)"> 
				
					<a class="menuselect" tal:content="python:item[0]" tal:attributes="href python:item[1]">vario links</a>
				

					<!-- first Submenu -->
					<table class="side2" cellpadding=0 cellspacing=0 border=0> 
						<tr	tal:repeat="item python:here.navElements(3)">
						
						<td>&nbsp;&nbsp;&nbsp;</td>
						
						<td>
						
						<span tal:omit-tag="" tal:condition="not:python:here.isSelectedPath(item)">
						
		
							<span tal:condition="not:python:hasattr(item[2],'link')">
							<a class="side" tal:content="structure python:item[0]" tal:attributes="href python:item[1]">
							  statische vario links</a>
							</span>
							
							
							<span tal:condition="python:hasattr(item[2],'link')">
							<span tal:condition="not:python:item[2].meta_type=='ECHO_link'">
								<span tal:condition="python:item[2].link">
								<a class="side" tal:content="structure python:item[0]" tal:attributes="href python:item[1]" target="_blank">
								  statische vario links</a>
								</span>
								
								<span tal:condition="not:python:item[2].link">
								<span class="side" tal:content="structure python:item[0]">
								  statische vario links</span>
								</span>
							</span>
							<span tal:condition="python:item[2].meta_type=='ECHO_link'">
								<span tal:condition="python:item[2].link">
								<a class="side" tal:content="structure python:item[0]" tal:attributes="href python:item[1]">
								  statische vario links</a>
								</span>
								
								<span tal:condition="not:python:item[2].link">
								<span class="side" tal:content="structure python:item[0]">
								  statische vario links</span>
								</span>
							</span>
							</span>
						
						</span>
						
						<!-- isSelectedPath -->
						<span tal:omit-tag="" tal:condition="python:here.isSelectedPath(item)">
						
							
							<a class="sideSel" tal:content="structure python:item[0]" tal:attributes="href python:item[1]">
							  statische vario links</a>
							  
									<!-- second submenu --> 
									<table> 
										<tr	tal:repeat="item python:here.navElements(4)">
											<td>&nbsp;</td>
											<td>
											
											<span tal:omit-tag="" tal:condition="not:python:here.isSelectedPath(item)">	
												
												<!-- Link only if there is a Link -->
												
												<span tal:condition="not:python:hasattr(item[2],'link')">
												<a class="side2" tal:content="structure python:item[0]" tal:attributes="href python:item[1]">
												  statische vario links</a>
												</span>
												
												<span tal:condition="python:hasattr(item[2],'link')">
												<span tal:condition="not:python:item[2].meta_type=='ECHO_link'">
													<span tal:condition="python:item[2].link">
													<a class="side2" tal:content="structure python:item[0]" tal:attributes="href python:item[1]" target="_blank">
														 statische vario links</a>
													</span>
													<span tal:condition="not:python:item[2].link">
													<span class="side2" tal:content="structure python:item[0]">
														 statische vario links</span>
													</span>
												</span>
												
												<span tal:condition="python:item[2].meta_type=='ECHO_link'">
													<span tal:condition="python:item[2].link">
													<a class="side2" tal:content="structure python:item[0]" tal:attributes="href python:item[1]">
														 statische vario links</a>
													</span>
													<span tal:condition="not:python:item[2].link">
													<span class="side2" tal:content="structure python:item[0]">
														 statische vario links</span>
													</span>
												</span>
												</span>
												<!-- -->
											</span>
				 
											<span tal:omit-tag="" tal:condition="python:here.isSelectedPath(item)">
												
												<!-- Link only if there is a Link -->
												
												<span tal:condition="not:python:hasattr(item[2],'link')">
												<a class="side2Sel" tal:content="structure python:item[0]" tal:attributes="href python:item[1]">
												  statische vario links</a>
												</span>
													
												<span tal:condition="python:hasattr(item[2],'link')">
												<span tal:condition="not:python:item[2].meta_type=='ECHO_link'">
												<span tal:condition="python:item[2].link">
												<a class="side2Sel" tal:content="structure python:item[0]" tal:attributes="href python:item[1]" target="_blank">
													 statische vario links</a>
												</span>
												</span>
												
												<span tal:condition="python:item[2].meta_type=='ECHO_link'">
												<span tal:condition="python:item[2].link">
												<a class="side2Sel" tal:content="structure python:item[0]" tal:attributes="href python:item[1]">
													 statische vario links</a>
												</span>
												</span>
												</span>
												
													<!-- third submenu -->
													<table class="side2"> 
														<tr	tal:repeat="item python:here.navElements(5)">
															<td>&nbsp;</td>
															<td>
																<!-- <font size="-1"> -->
																	<!-- Link only if there is a Link -->
																	<span tal:condition="not:python:hasattr(item[2],'link')">
																	<a class="side2" tal:content="structure python:item[0]" 
																			tal:attributes="href python:item[1]">
																		statische vario links</a>
																	</span>
																	
																	<span tal:condition="python:hasattr(item[2],'link')">
																	<span tal:condition="not:python:item[2].meta_type=='ECHO_link'">
																		<span tal:condition="python:item[2].link">
																		<a class="side2" tal:content="structure python:item[0]" 
																			tal:attributes="href python:item[1]" target="_blank">
																		statische vario links</a>
																		</span>
																		
																		<span tal:condition="not:python:item[2].link">
																			<div class="side2" tal:content="structure python:item[0]">
																				 statische vario links</div>
																			</span>
																	</span>
																	
																	<span tal:condition="python:item[2].meta_type=='ECHO_link'">
																		<span tal:condition="python:item[2].link">
																		<a class="side2" tal:content="structure python:item[0]" 
																			tal:attributes="href python:item[1]">
																		statische vario links</a>
																		</span>
																		
																		<span tal:condition="not:python:item[2].link">
																			<div class="side2" tal:content="structure python:item[0]">
																				 statische vario links</div>
																			</span>
																	</span>
																	</span>
																<!-- </font>-->
															</td>
														</tr>
													 </table> <!-- /third submenu -->
												
											 
												
												<!-- -->
												 
											</span>
									
											</td>
										</tr>
									</table> 
								
								
						</span>
						</td>
						</tr>
					</table> <!-- /Tabelle 1 -->
			</span> <!-- /Span3 -->
	    </span><br> <!-- /span1 -->
	</div> <!-- /div1u2 -->
	</td>
<!-- bodytext -->

	<td height="100%" class="stage" bgcolor="#dddddd" valign="top" tal:attributes="bgcolor here/getBgcolour; colspan python:here.numberOfMainNavElements()-1"> 
	  <table height="500px" width="100%" class="stage" bgcolor="#dddddd" cellpadding=7  tal:attributes="bgcolor here/getBgcolour; colspan python:here.numberOfMainNavElements()-1">  
	   <tr><td valign="top">
          
	   <div tal:omit-tag="" metal:define-slot="body">bodytext</div>
	   </td></tr>
	</table>
	</td></tr>
</table>

<!-- bottom navbar -->
<table  border="0" cellpadding=8 cellspacing=0 width="100%">	
 <tr>
	<td colspan='2'  bgcolor="#000000" align=center>
		
		<a style="color:#ddd;font-size:10px" href="mailto:dwinter@mpiwg-berlin.mpg.de">CONTACT</a>
		&nbsp;
		<a style="color:#ddd;font-size:10px" href="http://www.mpiwg-berlin.mpg.de/impressum.htm">IMPRESSUM</a>
		&nbsp;
		<font style="color:#ddd; font-size:10px"> Last Update: December 2004</font>
	</td></tr>
	
</table>
</body>
</html>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>