Changeset 1434
- Timestamp:
- Sep 26, 2010, 5:41:54 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpc/trunk/project/apps/frontend/modules/solr/templates/searchSuccess.php
r1433 r1434 4 4 $args = ''; 5 5 foreach(array_keys($selected) as $k) { 6 if (!is_array($selected[$k])) 7 continue; 6 8 if ($args) 7 9 $args .= '&'; 8 if (is_array($selected[$k])) 9 $args.= "$k=".implode(',', array_keys($selected[$k])); 10 $args.= "$k=".implode(',', array_keys($selected[$k])); 10 11 } 11 12 echo link_to('Etre alerté par mail lorsque de nouveaux résoltats sont publiés', 'alerte/create?filter='.urlencode($args).'&query='.urlencode($query));
Note: See TracChangeset
for help on using the changeset viewer.