Lang file : Update lang french file
[ldapsaisie.git] / trunk / templates / default / select.tpl
1 <div class='LSobject-select' id='LSobject-select-main-div'>
2   <h1 id='LSselect_title'>
3     {$pagetitle}
4   </h1>
5
6   <form action='{$searchForm.action}' method='post' class='LSview_search LSselect_search btn' id='LSselect_search_form'>
7     {foreach from=$searchForm.hiddenFields item=field_value key=field_name}
8       <input type='hidden' name='{$field_name}' value='{$field_value}' />
9     {/foreach}
10     
11     {if $LSsession_subDn!=""}
12       <label id='LSselect_topDn_label'>{$searchForm.labels.level}
13         <select name='subDn' id='LSselect_topDn'>
14           {html_options values=$LSsession_subDn_indexes output=$LSsession_subDn_names selected=$searchForm.values.basedn}
15         </select>
16       </label>
17     {/if}
18     <div class='LSselect_search'>
19       <input type='text' name='pattern' class='LSview_search' value="{$searchForm.values.pattern}"/>
20       <input type='submit' value='{$searchForm.labels.submit}' name='{$searchForm.names.submit}' class='LSview_search' />
21       <img src='{$LS_IMAGES_DIR}/refresh.png' alt='{$searchForm.labels.refresh}' title='{$searchForm.labels.refresh}' id='LSselect_refresh_btn' />
22       <p id='LSview_search_param'>
23         <label class='LSview_search'>{$searchForm.labels.approx} : <input type='checkbox' name='approx' class='LSview_search' {if $searchForm.values.approx!=''}checked="true"{/if} /></label>
24         {if $searchForm.recursive}<label class='LSview_search'>{$searchForm.labels.recursive} : <input type='checkbox' name='recursive' class='LSview_search' {if $searchForm.values.recursive!=''}checked="true"{/if}/></label>{/if}
25       </p>
26     </div>
27   </form>
28   <div id='content'>
29     {include file='select_table.tpl'}
30   </div>
31 </div>
32 <script type='text/javascript'>
33 LSselect_multiple = {$searchForm.multiple};
34 varLSselect = new LSselect();
35 </script>