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: search.html,v 1.7 2010/05/25 22:20:56 bldewolf Exp $ %# vim:syntax=mason