Template/default/top : Change LSlang display style to prevent the display on page...
[ldapsaisie.git] / trunk / templates / default / top.tpl
1 <?xml version="1.0"?>
2 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
3  "http://www.w3.org/TR/html4/loose.dtd">
4 <html>
5   <head>
6     <meta http-equiv="content-type" content="text/html; charset={$LSencoding}">
7     <title>LdapSaisie{if $pagetitle != ''} - {$pagetitle}{/if}</title>
8     <link rel="icon" type="image/png" href="images/default/favicon.png" />
9     <link rel="stylesheet" type="text/css" href="{$LS_CSS_DIR}/base.css" title="Normal" />
10     <link rel="stylesheet" type="text/css" href="{$LS_CSS_DIR}/base_print.css" media='print' title="Normal" />
11     {$LSsession_css}
12   </head>
13 <body>
14
15 {include file='LSdefault.tpl'}
16
17 <table id='main'>
18   <tr>
19     <td rowspan=2 id='left'>
20       <a href='index.php'><img src='{$LS_IMAGES_DIR}/logo.png' alt='Logo' id='logo'/></a>
21       
22       {if $LSsession_subDn!=""}
23         <form action="index.php" method='post' id='LSsession_topDn_form'>
24           <label>{$label_level}
25             <a href="index.php?LSsession_refresh"><img src='{$LS_IMAGES_DIR}/refresh.png' alt='{$_refresh}' title='{$_refresh}' /></a>
26             <select name='LSsession_topDn' id='LSsession_topDn'>
27               {html_options values=$LSsession_subDn_indexes output=$LSsession_subDn_names selected=$LSsession_subDn}
28             </select>
29           </label>
30         </form>
31       {/if}
32       <ul class='menu'>
33       {foreach from=$LSaccess item=label key=LSobject_type}
34         <li class='menu'><a href='view.php?LSobject={$LSobject_type}' class='menu'>{php}tr('label'){/php}</a></li>
35       {/foreach}
36       </ul>
37     </td>
38     <td id='status'>
39     <span>{$lang_label} : <img id='LSlang' src='{$LS_IMAGES_DIR}/{$LSlang}.png' alt='{$LSlang}' title='{$LSlang}'/></span>
40     <form action='' methode='post' style='display: none' class='LSlang_hidden'/>
41       <select name='lang'>
42       {foreach from=$LSlanguages item=lang}
43         <option value='{$lang}'>{$lang}</option>
44       {/foreach}
45       </select>
46       <input type='submit' value='->'/>
47     </form>
48     {$connected_as} <span id='user_name'>{$LSsession_username}</span> <a href='index.php?LSsession_logout'><img src='{$LS_IMAGES_DIR}/logout.png' alt='Logout' title='Logout' /></a>
49     </td>
50   </tr>
51   <tr>
52     <td id='right'>
53     
54     
55
56