X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=classes%2Fplset.php;h=648d81460a766fa15b0f965cae3ccb65ef34b874;hb=175f2c12b9483c2d17912ecf4a599d2bd608c357;hp=83322a63d767ff8ecdb3698d348fdffa047a6459;hpb=ff3eb9b7ade4406804e721579111384a768e7791;p=platal.git diff --git a/classes/plset.php b/classes/plset.php index 83322a6..648d814 100644 --- a/classes/plset.php +++ b/classes/plset.php @@ -1,6 +1,6 @@ $v) { if (!$encode) { $k = urlencode($k); @@ -116,7 +116,6 @@ class PlSet $limitcount = "LIMIT $limitcount"; } $joins = $this->joins . ' ' . $joins; - $where = $where; if (trim($this->where)) { if (trim($where)) { $where .= ' AND '; @@ -161,6 +160,9 @@ class PlSet return false; } $args = $view->args(); + if (!isset($args['rechercher'])) { + $args['rechercher'] = 'Chercher'; + } $page->changeTpl('core/plset.tpl'); $page->assign('plset_base', $baseurl); $page->assign('plset_mods', $this->mods); @@ -275,7 +277,7 @@ abstract class MultipageView implements PlView unset($list['page']); unset($list['order']); return $list; - } + } } // vim:set et sw=4 sts=4 sws=4 foldmethod=marker enc=utf-8: