bouffeatulm/tpl/default_en/header.html

36 lines
1.6 KiB
HTML
Raw Normal View History

<!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"/>
2013-09-15 17:14:36 +02:00
<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"}
2013-08-12 09:52:50 +02:00
<h1 id="title"><a href="{$base_url}">{$instance_title}</a></h1>
<div id="menu">
<ul>
<li><a href="index.php?do=new_invoice">Add a bill</a></li>
<li><a href="index.php?do=password">Change your password</a></li>
<li><a href="index.php?do=see_paybacks">See global paybacks</a></li>
<li><a href="index.php?do=disconnect">Disconnect</a></li>
</ul>
{if condition="$current_user->getAdmin() == 1"}
<ul>
2013-09-11 00:51:45 +02:00
<li><a href="index.php?do=manage_paybacks">Manage global paybacks</a></li>
<li><a href="index.php?do=edit_users">Edit users</a></li>
2013-08-12 09:52:50 +02:00
<li><a href="index.php?do=edit_notice">Edit notice on homepage</a></li>
<li><a href="index.php?do=settings">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;">Go back to previous page</a></p></body></html>{function="exit();"}{/if}{/if}