You are being redirected to Your Search. <%args> $stype=>'device' $s=>'' <%init> my $page = 'device_search.html'; my $query = 'text'; if ($stype eq 'vlan') { $query = 'specific=vlan_dev&vlan'; } if ($stype eq 'node') { $page = 'node.html'; $query = 'node'; } my $dest = "$page?$query=$s"; # save search term for display if (defined $s and length $s) { $m->session->{_s_term} = $s; $m->session->{_s_type} = $stype; } $m->redirect($dest); <%method title> - Search Redirect \ %# $Id: search.html,v 1.4 2009/04/15 00:58:40 olly_g Exp $ %# vim:syntax=mason