Snapshot URL was not sending GET variables properly
Snapshot URL was not sending GET variables properly

{* {*
* project_revlist_item.tpl * project_revlist_item.tpl
* gitphp: A PHP git repository browser * gitphp: A PHP git repository browser
* Component: Project revision list item template * Component: Project revision list item template
* *
* Copyright (C) 2006 Christopher Han <xiphux@gmail.com> * Copyright (C) 2006 Christopher Han <xiphux@gmail.com>
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or * the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version. * (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Library General Public License for more details. * GNU Library General Public License for more details.
* *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*} *}
<tr class="{$class}"> <tr class="{$class}">
{if $truncate} {if $truncate}
<td><a href="{$SCRIPT_NAME}?p={$project}&a=shortlog">...</td> <td><a href="{$SCRIPT_NAME}?p={$project}&a=shortlog">...</td>
{else} {else}
<td><i>{$commitage}</i></td> <td><i>{$commitage}</i></td>
<td><i>{$commitauthor}</i></td> <td><i>{$commitauthor}</i></td>
<td> <td>
<a href="{$SCRIPT_NAME}?p={$project}&a=commit&h={$commit}" class="list" {if $title}title="{$title}"{/if}><b>{$title_short} <a href="{$SCRIPT_NAME}?p={$project}&a=commit&h={$commit}" class="list" {if $title}title="{$title}"{/if}><b>{$title_short}
{if $commitref} {if $commitref}
<span class="tag">{$commitref}</span> <span class="tag">{$commitref}</span>
{/if} {/if}
</b> </b>
</td> </td>
<td class="link"><a href="{$SCRIPT_NAME}?p={$project}&a=commit&h={$commit}">commit</a> | <a href="{$SCRIPT_NAME}?p={$project}&a=commitdiff&h={$commit}">commitdiff</a> | <a href="{$SCRIPT_NAME}p={$project}&a=snapshot&h={$commit}">snapshot</a></td> <td class="link"><a href="{$SCRIPT_NAME}?p={$project}&a=commit&h={$commit}">commit</a> | <a href="{$SCRIPT_NAME}?p={$project}&a=commitdiff&h={$commit}">commitdiff</a> | <a href="{$SCRIPT_NAME}?p={$project}&a=snapshot&h={$commit}">snapshot</a></td>
</tr> </tr>
{/if} {/if}
   
comments