Overview
Comment: | Statut cotisation à la connexion |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
7bf735c72e63601f10675b916c15000d |
User & Date: | bohwaz on 2014-02-17 18:32:20 |
Other Links: | manifest | tags |
Context
2014-02-17
| ||
18:35 | État des cotisations pour le membre connecté check-in: aa80b87200 user: bohwaz tags: trunk | |
18:32 | Statut cotisation à la connexion check-in: 7bf735c72e user: bohwaz tags: trunk | |
18:32 | Correction ID cotisation check-in: f4a83a6517 user: bohwaz tags: trunk | |
Changes
Modified src/templates/admin/index.tpl from [854a31f352] to [b740f69745].
17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
Web : <a href="{$config.site_asso|escape}">{$config.site_asso|escape}</a> </p> {/if} </div> <ul class="actions"> <li><a href="{$admin_url}mes_infos.php">Modifier mes informations personnelles</a></li> </ul> <div class="wikiContent"> {$page.contenu.contenu|format_wiki|liens_wiki:'wiki/?'} </div> {include file="admin/_foot.tpl"} |
> > > > > > > > > > > > > |
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 |
Web : <a href="{$config.site_asso|escape}">{$config.site_asso|escape}</a> </p> {/if} </div> <ul class="actions"> <li><a href="{$admin_url}mes_infos.php">Modifier mes informations personnelles</a></li> {if $cotisation} <li> {if !$cotisation.a_jour} <b class="error">Cotisation en retard !</b> {else} <b class="confirm">Cotisation à jour</b> {if $cotisation.expiration} (expire le {$cotisation.expiration|format_sqlite_date_to_french}) {/if} {/if} </li> {/if} <li><a href="{$admin_url}mes_cotisations.php">Suivi de mes cotisations</a></li> </ul> <div class="wikiContent"> {$page.contenu.contenu|format_wiki|liens_wiki:'wiki/?'} </div> {include file="admin/_foot.tpl"} |
Modified src/www/admin/index.php from [5254328335] to [76b02bcb9c].
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
$categorie = $cats->get($user['id_categorie']); $tpl->assign('categorie', $categorie); $wiki = new Wiki; $page = $wiki->getByURI($config->get('accueil_connexion')); $tpl->assign('page', $page); $tpl->display('admin/index.tpl'); // On réalise la sauvegarde auto à cet endroit, c'est un peu inefficace mais bon if ($config->get('frequence_sauvegardes') && $config->get('nombre_sauvegardes')) { $s = new Sauvegarde; $s->auto(); } ?> |
> > > > > > > > > > > > > > > |
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 |
$categorie = $cats->get($user['id_categorie']); $tpl->assign('categorie', $categorie); $wiki = new Wiki; $page = $wiki->getByURI($config->get('accueil_connexion')); $tpl->assign('page', $page); $cats = new Membres_Categories; $categorie = $cats->get($user['id_categorie']); $cotisations = new Cotisations_Membres; if (!empty($categorie['id_cotisation_obligatoire'])) { $tpl->assign('cotisation', $cotisations->isMemberUpToDate($user['id'], $categorie['id_cotisation_obligatoire'])); } else { $tpl->assign('cotisation', false); } $tpl->display('admin/index.tpl'); // On réalise la sauvegarde auto à cet endroit, c'est un peu inefficace mais bon if ($config->get('frequence_sauvegardes') && $config->get('nombre_sauvegardes')) { $s = new Sauvegarde; $s->auto(); } ?> |