- LSsession :
[ldapsaisie.git] / trunk / templates / top.tpl
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
2  "http://www.w3.org/TR/html4/loose.dtd">
3 <html>
4   <head>
5     <meta http-equiv="content-type" content="text/html; charset=UTF-8">
6     <title>LdapSaisie{if $pagetitle != ''} - {$pagetitle}{/if}</title>
7     <link rel="stylesheet" type="text/css" href="templates/css/base.css" title="Normal" />
8     <link rel="stylesheet" type="text/css" href="templates/css/base_print.css" media='print' title="Normal" />
9     {$LSsession_css}
10     {$LSsession_js}
11   </head>
12 <body>
13 <div id='LSjsConfig'>
14 {$LSjsConfig}
15 </div>
16 <div id='LSinfos'>{$LSinfos}</div>
17 <div id='LSerror'>
18 {$LSerrors}
19 </div>
20 <div id='LSdebug'>
21   <a href='#' id='LSdebug_hidden'>X</a> 
22   <div id='LSdebug_infos'>{if $LSdebug != ''}{$LSdebug}{/if}</div>
23 </div>
24
25 <div id='main'>
26   <div id='left'>
27     <a href='index.php'><img src='templates/images/logo.png' alt='Logo' id='logo'/></a>
28     
29     {if $LSsession_subDn!=""}
30       <form action="index.php" method='post' id='LSsession_topDn_form'>
31         <label>{$label_level}
32           <a href="index.php?LSsession_refresh"><img src='templates/images/refresh.png' alt='{$_refresh}' title='{$_refresh}' /></a>
33           <select name='LSsession_topDn' id='LSsession_topDn'>
34             {html_options values=$LSsession_subDn_indexes output=$LSsession_subDn_names selected=$LSsession_subDn}
35           </select>
36         </label>
37       </form>
38     {/if}
39     <ul class='menu'>
40     {foreach from=$LSaccess item=label key=LSobject_type}
41       <li class='menu'><a href='view.php?LSobject={$LSobject_type}' class='menu'>{$label}</a></li>
42     {/foreach}
43     </ul>
44   </div>
45   <div id='right'>
46     
47     
48
49     <p id='status'>
50     Connecté en tant que <span id='user_name'>{$LSsession_username}</span></b> <a href='index.php?LSsession_logout'><img src='templates/images/logout.png' alt='Logout' title='Logout' /></a>
51     </p>