Fix unescaped user input in error messages
[gitphp.git] / templates / message.tpl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{*
 *  message.tpl
 *  gitphp: A PHP git repository browser
 *  Component: Warning/error message template
 *
 *  Copyright (C) 2009 Christopher Han <xiphux@gmail.com>
 *}
{extends file='main.tpl'}

{block name=main}

<div class="message {if $error}error{/if}">{$message|escape}</div>

{/block}

comments