Blame Identity/Webenv/Trac/templates/header.cs

ef5584
ef5584
    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
ef5584
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
ef5584
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
ef5584
<head>
ef5584
 if:project.name_encoded ?>
ef5584
 <title> - 
ef5584
   var:project.name_encoded ?> - Trac</title>
ef5584
 else ?>
ef5584
 <title>Trac: </title>
ef5584
 /if ?>
ef5584
 if:html.norobots ?>
ef5584
 <meta name="ROBOTS" content="NOINDEX, NOFOLLOW" />
ef5584
 /if ?>
ef5584
 each:rel = chrome.links ?>
ef5584
  each:link = rel ?>
ef5584
   var:name(rel) ?>" href=""
ef5584
   if:link.title ?> title=""
ef5584
   if:link.type ?> type="" />
ef5584
  /each ?>
ef5584
 /each ?><style type="text/css"></style>
ef5584
 each:script = chrome.scripts ?>
ef5584
 <script type="<?cs var:script.type ?>" src="<?cs var:script.href ?>"></script>
ef5584
 /each ?>
ef5584
</head>
ef5584
<body>
ef5584
ef5584
ef5584
ef5584
ef5584
ef5584
 if:chrome.logo.src ?>
ef5584
  var:chrome.logo.link ?>">
ef5584
  if:chrome.logo.width ?> width=""
ef5584
  if:chrome.logo.height ?> height=""
ef5584
  /if ?> alt="" />
ef5584
 elif:project.name_encoded ?>

ef5584
  var:project.name_encoded ?>
ef5584
 /if ?>
ef5584
ef5584
ef5584
<form id="search" action="<?cs var:trac.href.search ?>" method="get">
ef5584
 
ef5584
  <label for="proj-search">Search:</label>
ef5584
  <input type="text" id="proj-search" name="q" size="10" accesskey="f" value="" />
ef5584
  <input type="submit" value="Search" />
ef5584
  <input type="hidden" name="wiki" value="on" />
ef5584
  <input type="hidden" name="changeset" value="on" />
ef5584
  <input type="hidden" name="ticket" value="on" />
ef5584
 
ef5584
</form>
ef5584
ef5584
ef5584
 if:len(items) ?>
    ef5584
      set:idx = 0 ?>
    ef5584
      set:max = len(items) - 1 ?>
    ef5584
      each:item = items ?>
    ef5584
       set:first = idx == 0 ?>
    ef5584
       set:last = idx == max ?>
    ef5584
       if:first || last || item.active ?> class="
    ef5584
        if:item.active ?>active
    ef5584
        if:item.active && (first || last) ?> 
    ef5584
        if:first ?>first
    ef5584
        if:(item.active || first) && last ?> 
    ef5584
        if:last ?>last"
    ef5584
       /if ?>>
    ef5584
       set:idx = idx + 1 ?>
    ef5584
      /each ?>
    ef5584
     /if ?>
    ef5584
    /def ?>
    ef5584
    ef5584
    ef5584
    ef5584
    ef5584
    ef5584
    ef5584
    ef5584
    ef5584