9d46f5832e56a6a66f06a1983c9586af6e89eb90
[platal.git] / templates / fusionax / import.tpl
1 {**************************************************************************}
2 {*                                                                        *}
3 {*  Copyright (C) 2003-2010 Polytechnique.org                             *}
4 {*  http://opensource.polytechnique.org/                                  *}
5 {*                                                                        *}
6 {*  This program is free software; you can redistribute it and/or modify  *}
7 {*  it under the terms of the GNU General Public License as published by  *}
8 {*  the Free Software Foundation; either version 2 of the License, or     *}
9 {*  (at your option) any later version.                                   *}
10 {*                                                                        *}
11 {*  This program is distributed in the hope that it will be useful,       *}
12 {*  but WITHOUT ANY WARRANTY; without even the implied warranty of        *}
13 {*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *}
14 {*  GNU General Public License for more details.                          *}
15 {*                                                                        *}
16 {*  You should have received a copy of the GNU General Public License     *}
17 {*  along with this program; if not, write to the Free Software           *}
18 {*  Foundation, Inc.,                                                     *}
19 {*  59 Temple Place, Suite 330, Boston, MA  02111-1307  USA               *}
20 {*                                                                        *}
21 {**************************************************************************}
22
23 <script type="text/javascript">
24 {literal}
25 //<!--
26     $(document).ready(function() {
27         $('#fusionax_import input').click(function() {
28             $('#fusionax_import input').hide();
29             $('#fusionax_import').append('Lancement de l\'import.<br/>');
30             $.getScript('fusionax/import/launch');
31         });
32     });
33 //-->
34 {/literal}
35 </script> 
36 <h2><a href="fusionax">Fusion des annuaires X.org - AX</a></h2>
37
38 <h2>Import de l'annuaire AX</h2>
39 {if $lastimport}
40 <p>Dernier import {$lastimport}</p>
41 {/if}
42
43 {if $keymissing}
44 <p>Impossible de faire l'import, il manque la clef d'authentification :</p>
45 <pre>{$keymissing}</pre>
46 {else}
47 <div id="fusionax_import">
48 <input type="button" value="Lancer l'import"/>
49 </div>
50 {/if}
51
52 {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}