Historie eingefügt
authorThomas Kasulke <t.kasulke@linet-services.de>
Tue, 20 Feb 2007 10:43:11 +0000 (10:43 +0000)
committerThomas Kasulke <t.kasulke@linet-services.de>
Tue, 20 Feb 2007 10:43:11 +0000 (10:43 +0000)
bin/mozilla/common.pl

index 2c44c09..86f797b 100644 (file)
@@ -9,6 +9,7 @@
 #
 ######################################################################
 
+use SL::Form;
 use YAML;
 
 use SL::Common;
@@ -528,4 +529,19 @@ sub reformat_numbers {
   $lxdebug->leave_sub();
 }
 
+sub show_history {
+       $lxdebug->enter_sub();
+       my $dbh = $form->dbconnect(\%myconfig);
+       
+       $form->{title} = $locale->text("History");
+    $form->header();
+    print $form->parse_html_template( "common/show_history", {
+       "DATEN" => $form->get_history($dbh,$form->{input_name}),
+       "SUCCESS" => ($form->get_history($dbh,$form->{input_name}) ne "0")
+       } );
+       
+       $dbh->disconnect();
+       $lxdebug->leave_sub();  
+}
+
 1;