package WebGUI::Operation::Shared; #------------------------------------------------------------------- # WebGUI is Copyright 2001-2003 Plain Black LLC. #------------------------------------------------------------------- # Please read the legal notices (docs/legal.txt) and the license # (docs/license.txt) that came with this distribution before using # this software. #------------------------------------------------------------------- # http://www.plainblack.com info@plainblack.com #------------------------------------------------------------------- use Exporter; use strict; use WebGUI::International; use WebGUI::Session; use WebGUI::SQL; our @ISA = qw(Exporter); our @EXPORT = qw(&menuWrapper); #------------------------------------------------------------------- sub menuWrapper { my ($output, $key); $output = '
'; $output .= $_[0]; $output .= ''; foreach $key (keys %{$_[1]}) { $output .= '
  • '.$_[1]->{$key}.''; } $output .= '
  • '.WebGUI::International::get(493).''; $output .= '
  • '; return $output; } 1;