Capitalize Atom
Capitalize Atom

{* {*
* header.tpl * header.tpl
* gitphp: A PHP git repository browser * gitphp: A PHP git repository browser
* Component: Page header template * Component: Page header template
* *
* Copyright (C) 2006 Christopher Han <xiphux@gmail.com> * Copyright (C) 2006 Christopher Han <xiphux@gmail.com>
*} *}
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<!-- gitphp web interface {$version}, (C) 2006-2010 Christopher Han <xiphux@gmail.com> --> <!-- gitphp web interface {$version}, (C) 2006-2010 Christopher Han <xiphux@gmail.com> -->
<head> <head>
<title>{$pagetitle}{if $project} :: {$project->GetProject()}{if $actionlocal}/{$actionlocal}{/if}{/if}</title> <title>{$pagetitle}{if $project} :: {$project->GetProject()}{if $actionlocal}/{$actionlocal}{/if}{/if}</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
{if $project} {if $project}
<link rel="alternate" title="{$project->GetProject()} log (atom)" href="{$SCRIPT_NAME}?p={$project->GetProject()|urlencode}&amp;a=atom" type="application/atom+xml" /> <link rel="alternate" title="{$project->GetProject()} log (Atom)" href="{$SCRIPT_NAME}?p={$project->GetProject()|urlencode}&amp;a=atom" type="application/atom+xml" />
<link rel="alternate" title="{$project->GetProject()} log (RSS)" href="{$SCRIPT_NAME}?p={$project->GetProject()|urlencode}&amp;a=rss" type="application/rss+xml" /> <link rel="alternate" title="{$project->GetProject()} log (RSS)" href="{$SCRIPT_NAME}?p={$project->GetProject()|urlencode}&amp;a=rss" type="application/rss+xml" />
{/if} {/if}
<link rel="stylesheet" href="css/{$stylesheet}" type="text/css" /> <link rel="stylesheet" href="css/{$stylesheet}" type="text/css" />
{if $extracss} {if $extracss}
<style type="text/css"> <style type="text/css">
<!-- <!--
{$extracss} {$extracss}
--> -->
</style> </style>
{/if} {/if}
{if $javascript} {if $javascript}
<script type="text/javascript"> <script type="text/javascript">
var GITPHP_RES_LOADING="{t escape='js'}Loading…{/t}"; var GITPHP_RES_LOADING="{t escape='js'}Loading…{/t}";
var GITPHP_RES_LOADING_BLAME_DATA="{t escape='js'}Loading blame data…{/t}"; var GITPHP_RES_LOADING_BLAME_DATA="{t escape='js'}Loading blame data…{/t}";
</script> </script>
<link rel="stylesheet" href="css/ext/jquery.qtip.css" type="text/css" /> <link rel="stylesheet" href="css/ext/jquery.qtip.css" type="text/css" />
<script type="text/javascript" src="js/ext/jquery-1.4.2.min.js"></script> <script type="text/javascript" src="js/ext/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="js/ext/jquery.qtip.min.js"></script> <script type="text/javascript" src="js/ext/jquery.qtip.min.js"></script>
<script type="text/javascript" src="js/tooltips.js"></script> <script type="text/javascript" src="js/tooltips.js"></script>
<script type="text/javascript" src="js/lang.js"></script> <script type="text/javascript" src="js/lang.js"></script>
{foreach from=$extrascripts item=script} {foreach from=$extrascripts item=script}
<script type="text/javascript" src="{$script}"></script> <script type="text/javascript" src="{$script}"></script>
{/foreach} {/foreach}
{/if} {/if}
{$smarty.capture.header} {$smarty.capture.header}
</head> </head>
<body> <body>
<div class="page_header"> <div class="page_header">
<a href="http://git-scm.com" title="git homepage"> <a href="http://git-scm.com" title="git homepage">
<img src="images/git-logo.png" width="72" height="27" alt="git" class="logo" /> <img src="images/git-logo.png" width="72" height="27" alt="git" class="logo" />
</a> </a>
{if $supportedlocales} {if $supportedlocales}
<div class="lang_select"> <div class="lang_select">
<form action="{$SCRIPT_NAME}" method="get" id="frmLangSelect"> <form action="{$SCRIPT_NAME}" method="get" id="frmLangSelect">
<div> <div>
{foreach from=$requestvars key=var item=val} {foreach from=$requestvars key=var item=val}
{if $var != "l"} {if $var != "l"}
<input type="hidden" name="{$var}" value="{$val}" /> <input type="hidden" name="{$var}" value="{$val}" />
{/if} {/if}
{/foreach} {/foreach}
<label for="selLang">{t}language:{/t}</label> <label for="selLang">{t}language:{/t}</label>
<select name="l" id="selLang"> <select name="l" id="selLang">
{foreach from=$supportedlocales key=locale item=language} {foreach from=$supportedlocales key=locale item=language}
<option {if $locale == $currentlocale}selected="selected"{/if} value="{$locale}">{if $language}{$language} ({$locale}){else}{$locale}{/if}</option> <option {if $locale == $currentlocale}selected="selected"{/if} value="{$locale}">{if $language}{$language} ({$locale}){else}{$locale}{/if}</option>
{/foreach} {/foreach}
</select> </select>
<input type="submit" value="{t}set{/t}" id="btnLangSet" /> <input type="submit" value="{t}set{/t}" id="btnLangSet" />
</div> </div>
</form> </form>
</div> </div>
{/if} {/if}
<a href="index.php">{if $homelink}{$homelink}{else}{t}projects{/t}{/if}</a> / <a href="index.php">{if $homelink}{$homelink}{else}{t}projects{/t}{/if}</a> /
{if $project} {if $project}
<a href="{$SCRIPT_NAME}?p={$project->GetProject()|urlencode}&amp;a=summary">{$project->GetProject()}</a> <a href="{$SCRIPT_NAME}?p={$project->GetProject()|urlencode}&amp;a=summary">{$project->GetProject()}</a>
{if $actionlocal} {if $actionlocal}
/ {$actionlocal} / {$actionlocal}
{/if} {/if}
{if $enablesearch} {if $enablesearch}
<form method="get" action="index.php" enctype="application/x-www-form-urlencoded"> <form method="get" action="index.php" enctype="application/x-www-form-urlencoded">
<div class="search"> <div class="search">
<input type="hidden" name="p" value="{$project->GetProject()}" /> <input type="hidden" name="p" value="{$project->GetProject()}" />
<input type="hidden" name="a" value="search" /> <input type="hidden" name="a" value="search" />
<input type ="hidden" name="h" value="{if $commit}{$commit->GetHash()}{else}HEAD{/if}" /> <input type ="hidden" name="h" value="{if $commit}{$commit->GetHash()}{else}HEAD{/if}" />
<select name="st"> <select name="st">
<option {if $searchtype == 'commit'}selected="selected"{/if} value="commit">{t}commit{/t}</option> <option {if $searchtype == 'commit'}selected="selected"{/if} value="commit">{t}commit{/t}</option>
<option {if $searchtype == 'author'}selected="selected"{/if} value="author">{t}author{/t}</option> <option {if $searchtype == 'author'}selected="selected"{/if} value="author">{t}author{/t}</option>
<option {if $searchtype == 'committer'}selected="selected"{/if} value="committer">{t}committer{/t}</option> <option {if $searchtype == 'committer'}selected="selected"{/if} value="committer">{t}committer{/t}</option>
{if $filesearch} {if $filesearch}
<option {if $searchtype == 'file'}selected="selected"{/if} value="file">{t}file{/t}</option> <option {if $searchtype == 'file'}selected="selected"{/if} value="file">{t}file{/t}</option>
{/if} {/if}
</select> {t}search{/t}: <input type="text" name="s" {if $search}value="{$search}"{/if} /> </select> {t}search{/t}: <input type="text" name="s" {if $search}value="{$search}"{/if} />
</div> </div>
</form> </form>
{/if} {/if}
{/if} {/if}
</div> </div>
   
comments