2013-08-07 20:32:44 +02:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="fr">
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
2013-08-09 00:44:43 +02:00
|
|
|
<title>{$instance_title}</title>
|
2013-08-09 23:35:20 +02:00
|
|
|
<link rel="stylesheet" media="screen" type="text/css" href="css/style.css" />
|
2013-08-07 20:32:44 +02:00
|
|
|
<link rel="icon" href="favicon.ico" />
|
|
|
|
</head>
|
|
|
|
<body>
|
2013-08-09 23:35:20 +02:00
|
|
|
{if condition="!$connection"}
|
|
|
|
<h1 id="title">{$instance_title}</h1>
|
|
|
|
|
|
|
|
{if condition="$notice != ''"}
|
|
|
|
<p>{$notice}</p>
|
|
|
|
{/if}
|
|
|
|
|
|
|
|
<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=paybacks">See paybacks</a></li>
|
|
|
|
</ul>
|
|
|
|
{if condition="$admin == 1"}
|
|
|
|
<ul>
|
|
|
|
<li><a href="index.php?do=manage_paybacks">Manage paybacks</a></li>
|
|
|
|
<li><a href="index.php?do=edit_users">Edit users</a></li>
|
|
|
|
<li><a href="index.php?do=edit_notics">Edit notice on homepage</a></li>
|
|
|
|
<li><a href="index.php?do=disconnect">Disconnect</a></li>
|
|
|
|
</ul>
|
|
|
|
{/if}
|
|
|
|
</div>
|
|
|
|
{/if}
|