Overview
Comment: | Se souvenir du champ recherché |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
05337ec90c5af8652f6fa11045225f88 |
User & Date: | bohwaz on 2012-05-10 01:50:57 |
Other Links: | manifest | tags |
References
2020-12-08
| ||
23:25 | • Wiki page "Changelog/0.9" artifact: b9c916b4d1 user: bohwaz | |
Context
2012-05-10
| ||
02:38 | Choix de page parente (à terminer) check-in: c0e9ecb182 user: bohwaz tags: trunk | |
01:50 | Se souvenir du champ recherché check-in: 05337ec90c user: bohwaz tags: trunk | |
2012-05-04
| ||
05:26 | Largeur à 72 check-in: cab69d504a user: bohwaz tags: trunk | |
Changes
Modified include/class.membres.php from [068c042ff2] to [b5a2749143].
︙ | ︙ | |||
118 119 120 121 122 123 124 125 126 127 128 129 130 131 | public function logout() { $_SESSION = array(); setcookie(session_name(), '', 0, '/'); return true; } public function sendMessage($dest, $sujet, $message, $copie = false) { if (!$this->isLogged()) { throw new LogicException('Cette fonction ne peut être appelée que par un utilisateur connecté.'); } | > > > > > > > > > > > > > > > > > > > | 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 | public function logout() { $_SESSION = array(); setcookie(session_name(), '', 0, '/'); return true; } public function sessionStore($key, $value) { if (!isset($_SESSION['storage'])) { $_SESSION['storage'] = array(); } $_SESSION['storage'][$key] = $value; return true; } public function sessionGet($key) { if (!isset($_SESSION['storage'][$key])) return null; return $_SESSION['storage'][$key]; } public function sendMessage($dest, $sujet, $message, $copie = false) { if (!$this->isLogged()) { throw new LogicException('Cette fonction ne peut être appelée que par un utilisateur connecté.'); } |
︙ | ︙ |
Modified www/admin/membres/index.php from [b6ec2d3ec9] to [37c271d7cf].
︙ | ︙ | |||
12 13 14 15 16 17 18 | $cats = new Garradin_Membres_Categories; $membres_cats = $cats->listSimple(); $membres_cats_cachees = $cats->listHidden(); $cat = (int) utils::get('cat') ?: 0; $page = (int) utils::get('p') ?: 1; | | > | 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | $cats = new Garradin_Membres_Categories; $membres_cats = $cats->listSimple(); $membres_cats_cachees = $cats->listHidden(); $cat = (int) utils::get('cat') ?: 0; $page = (int) utils::get('p') ?: 1; $search_field = utils::get('search_field') ?: $membres->sessionGet('membre_search_field'); $search_query = utils::get('search_query') ?: ''; if ($search_field && $search_query) { $membres->sessionStore('membre_search_field', $search_field); $tpl->assign('liste', $membres->search($search_field, $search_query)); $tpl->assign('total', -1); } else { if (!$cat) { |
︙ | ︙ |