2013-08-07 20:32:44 +02:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="fr">
|
|
|
|
<head>
|
2013-08-13 19:37:11 +02:00
|
|
|
<meta charset="utf-8">
|
|
|
|
<title>{$instance_title}</title>
|
|
|
|
<link rel="stylesheet" media="screen" type="text/css" href="css/style.css" />
|
2013-09-14 15:24:05 +02:00
|
|
|
<meta name="viewport" content="width=device-width"/>
|
2013-08-07 20:32:44 +02:00
|
|
|
</head>
|
|
|
|
<body>
|
2013-08-09 23:35:20 +02:00
|
|
|
{if condition="!$connection"}
|
2013-08-12 09:52:50 +02:00
|
|
|
<h1 id="title"><a href="{$base_url}">{$instance_title}</a></h1>
|
2013-08-09 23:35:20 +02:00
|
|
|
|
|
|
|
<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>
|
2013-09-11 00:51:45 +02:00
|
|
|
<li><a href="index.php?do=paybacks">See global paybacks</a></li>
|
2013-08-11 22:25:25 +02:00
|
|
|
<li><a href="index.php?do=disconnect">Disconnect</a></li>
|
2013-08-09 23:35:20 +02:00
|
|
|
</ul>
|
2013-08-11 22:25:25 +02:00
|
|
|
{if condition="$current_user->getAdmin() == 1"}
|
2013-08-09 23:35:20 +02:00
|
|
|
<ul>
|
2013-09-11 00:51:45 +02:00
|
|
|
<li><a href="index.php?do=manage_paybacks">Manage global paybacks</a></li>
|
2013-08-09 23:35:20 +02:00
|
|
|
<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>
|
2013-08-09 23:35:20 +02:00
|
|
|
</ul>
|
|
|
|
{/if}
|
|
|
|
</div>
|
|
|
|
{/if}
|
2013-09-08 18:36:59 +02:00
|
|
|
{if condition="!empty($error)"}<p class="error">{$error}</p>{/if}
|