1 {**************************************************************************}
3 {* Copyright (C) 2003-2008 Polytechnique.org *}
4 {* http://opensource.polytechnique.org/ *}
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. *}
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. *}
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 *}
21 {**************************************************************************}
23 <h1>Compte Google Apps</h1>
26 {assign var=a value=$account}
31 <th colspan="2" style="text-align: left">
32 <div style="float: left; text-align: left">
33 Compte = <a href="admin/user/{$a->g_account_name}">{$a->g_account_name}</a>
35 <div style="float: right; text-align: right">
36 Google id = {$a->g_account_id}<br />
43 <td class="titre">Statut du compte</td>
45 <strong>{$a->g_status}</strong>
46 {if $admin_account}<br /><strong>Compte administrateur de Google Apps</strong>{/if}
51 <td class="titre">Raison de suspension</td><td>{$a->g_suspension}</td>
55 <td class="titre">Mots de passes synchronisés</td>
57 {if $a->sync_password}
58 oui (<a href="admin/googleapps/user/{$a->g_account_name}/forcesync">lancer une synchronisation</a>)
63 <td class="titre">Redirection des emails</td><td>{if $googleapps_storage}activée{else}désactivee{/if}</td>
67 <td class="titre">Date de création</td><td>{$a->r_creation|date_format:"%Y-%m-%d"}</td>
70 <td class="titre">Dernière connexion</td><td>{$a->r_last_login|date_format:"%Y-%m-%d"}</td>
73 <td class="titre">Dernière utilisation du webmail</td><td>{$a->r_last_webmail|date_format:"%Y-%m-%d"}</td>
76 <td class="titre">Utilisation du quota d'emails</td><td>{$a->r_disk_usage/1024/1024|string_format:"%.2f"}MB</td>
80 <table class="bicol" style="text-align: center">
82 <th colspan="4" style="text-align: left">Requêtes en attente</th>
90 {iterate from=$requests item=r}
91 <tr class="{cycle values="impair,pair"}">
92 <td><a href="admin/googleapps/job/{$r.q_id}">{$r.q_id}</a></td>
93 <td>{$r.p_entry_date|date_format:"%Y-%m-%d %H:%M"}</td>
94 <td>{$r.p_status}</td>
100 <p><strong>Aucun utilisateur n'a été trouvé.</strong></p>
103 <p>Retourner à la <a href="admin/googleapps">page d'administration de Google Apps</a>.</p>
105 {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}