Overview
Comment: | Création d'une catégorie "anciens membres" à l'installation |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
690bbd229368248b3890b08a37b5b347 |
User & Date: | bohwaz on 2011-12-27 15:32:17 |
Other Links: | manifest | tags |
Context
2011-12-27
| ||
15:36 | Page d'accueil simple pour pas qu'elle soit vide check-in: 17957002c6 user: bohwaz tags: trunk | |
15:32 | Création d'une catégorie "anciens membres" à l'installation check-in: 690bbd2293 user: bohwaz tags: trunk | |
2011-12-20
| ||
20:28 | Le schéma des données compta commence à prendre forme check-in: a619324091 user: bohwaz tags: trunk | |
Changes
Modified templates/admin/membres/action.tpl from [7a47d58c8c] to [8ecbc52c90].
︙ | ︙ | |||
37 38 39 40 41 42 43 | {elseif $action == 'delete'} <fieldset> <legend>Supprimer les membres sélectionnés ?</legend> <h3 class="warning"> Êtes-vous sûr de vouloir supprimer les {$nb_selected|escape} membres sélectionnés ? </h3> <p class="alert"> | | > > > > > > | | 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 | {elseif $action == 'delete'} <fieldset> <legend>Supprimer les membres sélectionnés ?</legend> <h3 class="warning"> Êtes-vous sûr de vouloir supprimer les {$nb_selected|escape} membres sélectionnés ? </h3> <p class="alert"> <strong>Attention</strong> : cette action est irréversible et effacera toutes les données personnelles et l'historique de ces membres. </p> <p class="help"> Alternativement, il est aussi possible de déplacer les membres qui ne font plus partie de l'association dans une catégorie « Anciens membres », plutôt que de les effacer complètement. </p> </fieldset> <p class="submit"> {csrf_field key="membres_action"} <input type="submit" name="delete_ok" value="Oui, supprimer ces membres →" /> </p> {/if} </form> {include file="admin/_foot.tpl"} |
Modified www/admin/install.php from [3fc60070da] to [2f8b54567a].
︙ | ︙ | |||
87 88 89 90 91 92 93 94 95 96 97 98 99 100 | require_once GARRADIN_ROOT . '/include/class.membres_categories.php'; $cats = new Garradin_Membres_Categories; $id = $cats->add(array( 'nom' => 'Membres actifs', 'montant_cotisation' => 10)); $config->set('categorie_membres', $id); $id = $cats->add(array( 'nom' => ucfirst(utils::post('cat_membre')), 'montant_cotisation' => 0, 'droit_inscription' => Garradin_Membres::DROIT_AUCUN, 'droit_wiki' => Garradin_Membres::DROIT_ADMIN, 'droit_membres' => Garradin_Membres::DROIT_ADMIN, | > > > > > > > > > > > | 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 | require_once GARRADIN_ROOT . '/include/class.membres_categories.php'; $cats = new Garradin_Membres_Categories; $id = $cats->add(array( 'nom' => 'Membres actifs', 'montant_cotisation' => 10)); $config->set('categorie_membres', $id); $id = $cats->add(array( 'nom' => 'Anciens membres', 'montant_cotisation' => 0, 'droit_inscription' => Garradin_Membres::DROIT_AUCUN, 'droit_wiki' => Garradin_Membres::DROIT_AUCUN, 'droit_membres' => Garradin_Membres::DROIT_AUCUN, 'droit_compta' => Garradin_Membres::DROIT_AUCUN, 'droit_config' => Garradin_Membres::DROIT_AUCUN, 'droit_connexion' => Garradin_Membres::DROIT_AUCUN, )); $id = $cats->add(array( 'nom' => ucfirst(utils::post('cat_membre')), 'montant_cotisation' => 0, 'droit_inscription' => Garradin_Membres::DROIT_AUCUN, 'droit_wiki' => Garradin_Membres::DROIT_ADMIN, 'droit_membres' => Garradin_Membres::DROIT_ADMIN, |
︙ | ︙ |
Modified www/style/admin.css from [2d0c37e2fc] to [75f4bd24c1].
︙ | ︙ | |||
77 78 79 80 81 82 83 84 85 86 87 88 89 90 | p.alert { border: 1px solid #cc0; background: #ffc; padding: 0.5em; margin-bottom: 1em; } p.intro { margin: 1em; } /* Formulaires */ fieldset { | > > > > > | 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 | p.alert { border: 1px solid #cc0; background: #ffc; padding: 0.5em; margin-bottom: 1em; } p.help { margin: 1em; color: #666; } p.intro { margin: 1em; } /* Formulaires */ fieldset { |
︙ | ︙ |