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'; } if ($stype eq 'port') { $page = 'port_search.html'; $query = 'port'; } 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$ %# vim:syntax=mason