bouffeatulm/tpl/default/header.html
2014-08-31 14:27:57 +02:00

36 lines
1.6 KiB
HTML

<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="utf-8">
<title>{$instance_title}</title>
<link rel="stylesheet" media="screen" type="text/css" href="css/style.min.css" />
<meta name="viewport" content="width=device-width"/>
<link rel="icon" href="favicon-32.png" sizes="32x32">
<link rel="apple-touch-icon-precomposed" href="favicon-152.png">
<meta name="msapplication-TileColor" content="#333333">
<meta name="msapplication-TileImage" content="favicon-144.png">
</head>
<body>
{if condition="!$connection"}
<h1 id="title"><a href="{$base_url}">{$instance_title}</a></h1>
<div id="menu">
<ul>
<li><a href="index.php?do=new_invoice">{$i18n['add_bill']}</a></li>
<li><a href="index.php?do=password">{$i18n['change_password']}</a></li>
<li><a href="index.php?do=see_paybacks">{$i18n['see_global_paybacks']}</a></li>
<li><a href="index.php?do=disconnect">{$i18n['disconnect']}</a></li>
</ul>
{if condition="$current_user->getAdmin() == 1"}
<ul>
<li><a href="index.php?do=manage_paybacks">{$i18n['manage_global_paybacks']}</a></li>
<li><a href="index.php?do=edit_users">{$i18n['edit_users']}</a></li>
<li><a href="index.php?do=edit_notice">{$i18n['edit_homepage_notice']}</a></li>
<li><a href="index.php?do=settings">{$i18n['settings']}</a></li>
</ul>
{/if}
</div>
{/if}
{if condition="!empty($error)"}<p class="error">{$error}</p>
{if condition="!empty($block_error) && $block_error"}<p class="center"><a href="{$base_url}" onclick="window.history.back(); return false;">{$i18n['go_back']}</a></p></body></html>{function="exit();"}{/if}{/if}