Mercurial > hg > MPIWG-drupal-modules
view sites/all/themes/mpiwgDev/page.tpl.php @ 0:015d06b10d37 default tip
initial
author | dwinter |
---|---|
date | Wed, 31 Jul 2013 13:49:13 +0200 |
parents | |
children |
line wrap: on
line source
<?php print render($page['header']); ?> <div id="wrapper"> <div id="container" class="clearfix"> <div id="mpiwg_link"> <a href="http://www.mpiwg-berlin.mpg.de/en"><b>«</b> Max Planck Institute for the History for Science</a> </div> <div id="header"> <div class="title"> <?php if ($logo!=''):?> <div class="logo_left"> <?php if (user_access("view restricted content")):?> <div class="mpiwg_internal_view">INTERNAL VIEW</div> <?php endif;?> <a href="<?php print theme_get_setting('mpiwg_logo_link') ?>"> <img class="logo_left" src="<?php print $logo ?>" alt="<?php print $site_name_and_slogan ?>" title="<?php print $site_name_and_slogan ?>" id="logo" /> </a> </div> <?php endif;?> <h1> <a href="<?php print $front_page ?>"> <?php print $site_name ?> </a> </h1> <h2> <?php print $site_slogan ?> </h2> </div> <div class="logo"> <a href="<?php print theme_get_setting('mpiwg_logo_link') ?>"> <img src="<?php print $MPIWGlogo ?>" alt="<?php print $site_name_and_slogan ?>" title="<?php print $site_name_and_slogan ?>" id="logo" /> </a> </div> </div> </div> <!-- /#header --> <div id="mainnav"> <?php if ($primary_nav): print $primary_nav; endif; ?> <!--<li tal:repeat="sec sections" tal:attributes="class python:test(sec.getId()==section,'sec on','sec')"><a tal:attributes="href sec/absolute_url" tal:content="sec/title">Institute</a></li>--> <!--<li class="sec lang"><a class="internal" tal:attributes="href string:$root/../de">Deutsch</a></li>--> </div> <!-- /#mainnav--> <div id="mainrow"> <?php if ($page['sidebar_first']): ?> <div id="leftbox" class="leftbox"> <?php print render($page['sidebar_first']); ?> </div> <?php endif; ?> <div class="main"> <div id="center"> <!--<?php print $breadcrumb; ?>--> <?php if ($page['highlighted']): ?> <div id="highlighted"> <?php print render($page['highlighted']); ?> </div> <?php endif; ?> <a id="main-content"></a> <?php if ($tabs): ?> <div id="tabs-wrapper" class="clearfix"> <?php endif; ?> <?php print render($title_prefix); ?> <?php if(substr($title,0,1) != "_"): ?> <h1 <?php print $tabs ? ' class="with-tabs"' : '' ?>> <?php print $title ?> </h1> <?php endif; ?> <?php print render($title_suffix); ?> <?php if ($tabs): ?> <?php print render($tabs); ?> </div> <?php endif; ?> <?php print render($tabs2); ?> <?php print $messages; ?> <?php print render($page['help']); ?> <?php if ($action_links): ?> <ul class="action-links"> <?php print render($action_links); ?> </ul> <?php endif; ?> <div class="clearfix"> <?php print render($page['content']); ?> </div> <?php print $feed_icons ?> <?php print render($page['footer']); ?> </div> <!--/#center --> </div> <!-- .main.content--> <?php if ($page['sidebar_second']): ?> <div id="sidebar" class="sidebar"> <div id="sideblock" class="sideblock"> <?php print render($page['sidebar_second']); ?> </div> </div> <?php endif; ?> </div> <!-- #mainrow--> </div> <!-- /#container --> </div> <!-- /#wrapper -->