2010-10-31 17:26:31 +00:00
< !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2008-07-25 08:26:05 +00:00
{*
# ***** BEGIN LICENSE BLOCK *****
# This file is part of InDefero, an open source project management application.
# Copyright (C) 2008 Céondo Ltd and contributors.
#
# InDefero is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# InDefero is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
# ***** END LICENSE BLOCK *****
*}< html lang = "en" >
< head >
< meta http-equiv = "Content-Type" content = "text/html; charset=utf-8" / >
< link rel = "stylesheet" type = "text/css" href = "{media '/idf/css/yui.css'}" / >
< link rel = "stylesheet" type = "text/css" href = "{media '/idf/css/style.css'}" / >
2011-01-07 10:17:14 +00:00
< link rel = "icon" type = "image/png" href = "{media '/idf/img/favicon.png'}" / >
2008-07-25 08:26:05 +00:00
<!-- [if lt IE 7]>
< link rel = "stylesheet" type = "text/css" href = "{media '/idf/css/ie6.css'}" / >
<![endif]-->
{block extraheader}{/block}
2008-12-02 12:22:01 +00:00
< title > {block pagetitle}{$page_title|strip_tags}{/block}{if $project} - {$project.shortdesc}{/if}< / title >
2010-10-15 00:40:09 +00:00
< script type = "text/javascript" src = "{media '/idf/js/jquery-1.2.6.min.js'}" > < / script >
2011-03-19 23:42:56 +00:00
{appversion}
2008-07-25 08:26:05 +00:00
< / head >
< body >
< div id = "{block docid}doc3{/block}" class = "{block docclass}yui-t3{/block}" >
< div id = "hd" >
2010-10-15 00:40:09 +00:00
{if $project}< h1 class = "project-title" > {$project}< / h1 > {/if}
{include 'idf/main-menu.html'}
2008-07-25 08:26:05 +00:00
< div id = "header" >
< div id = "main-tabs" >
{if $project}
2010-10-15 00:40:09 +00:00
< a accesskey = "1" href = "{url 'IDF_Views_Project::home', array($project.shortname)}" { block tabhome } { / block } > {trans 'Project Home'}< / a >
{if $hasDownloadsAccess} < a href = "{url 'IDF_Views_Download::index', array($project.shortname)}" { block tabdownloads } { / block } > {trans 'Downloads'}< / a > {/if}
{if $hasWikiAccess} < a href = "{url 'IDF_Views_Wiki::index', array($project.shortname)}" { block tabwiki } { / block } > {trans 'Documentation'}< / a > {/if}
2008-11-22 22:51:23 +00:00
{if $hasIssuesAccess} < a href = "{url 'IDF_Views_Issue::index', array($project.shortname)}" { block tabissues } { / block } > {trans 'Issues'}< / a > {/if}
2008-08-29 17:50:10 +00:00
{if $hasSourceAccess} < a href = "{url 'IDF_Views_Source::treeBase', array($project.shortname, $project.getScmRoot())}" { block tabsource } { / block } > {trans 'Source'}< / a > {/if}
2008-11-30 09:26:05 +00:00
{if $hasReviewAccess} < a href = "{url 'IDF_Views_Review::index', array($project.shortname)}" { block tabreview } { / block } > {trans 'Code Review'}< / a > {/if}
2008-07-25 08:26:05 +00:00
{if $isOwner}
2009-10-01 12:44:39 +00:00
< a href = "{url 'IDF_Views_Project::admin', array($project.shortname)}" { block tabadmin } { / block } > {trans 'Project Management'}< / a > {/if}{/if}
2008-07-25 08:26:05 +00:00
< / div >
{block subtabs}{if $user.isAnonymous()} | {aurl 'url', 'IDF_Views::login'}{blocktrans}< a href = "{$url}" > Sign in or create your account< / a > to create issues or add comments{/blocktrans}{/if}{/block}
< / div >
2010-10-15 00:40:09 +00:00
< h1 class = "title" id = "title" > {block titleicon}{/block}{block title}{$page_title}{/block}< / h1 >
2008-07-25 08:26:05 +00:00
< / div >
< div id = "bd" >
2010-10-15 00:40:09 +00:00
< div id = "yui-main" >
2008-07-25 08:26:05 +00:00
< div class = "yui-b" >
2010-10-15 00:40:09 +00:00
< div class = "yui-g" >
2008-07-25 08:26:05 +00:00
{if $user and $user.id}{getmsgs $user}{/if}
2010-10-15 00:40:09 +00:00
< div class = "content" > {block body}{/block}< / div >
< / div >
2008-07-25 08:26:05 +00:00
< / div >
< / div >
< div class = "yui-b context" > {block context}{/block}< / div >
< / div >
2008-11-12 12:57:47 +00:00
< div id = "ft" > {block foot}{/block}< / div >
2008-07-25 08:26:05 +00:00
< / div >
2008-11-18 08:15:02 +00:00
{include 'idf/js-hotkeys.html'}
2011-01-17 00:20:33 +00:00
{include 'idf/list-filter.html'}
2008-07-25 08:26:05 +00:00
{block javascript}{/block}
2008-07-25 12:15:58 +00:00
{if $project}
2009-05-26 09:48:02 +00:00
< script type = "text/javascript" charset = "utf-8" > { l i t e r a l }
//< ![CDATA[
$(document).ready(function(){
2010-10-15 00:40:09 +00:00
var frag = location.hash;
if ($('#preview').length) {
location.hash = '#preview';
}
else if (frag.length > 3 & & frag.substring(0, 3) == '#ic') {
$(frag).addClass("issue-comment-focus");
}
2008-07-25 12:15:58 +00:00
});
2009-05-26 09:48:02 +00:00
//]]>{/literal}
2008-07-25 12:15:58 +00:00
< / script > {/if}
2008-07-25 08:26:05 +00:00
< / body >
2009-10-01 12:44:39 +00:00
< / html >