From 96ca0b88b082cc24081889bcfc63cb2808049f68 Mon Sep 17 00:00:00 2001 From: Thomas Heck Date: Mon, 9 Dec 2013 15:13:09 +0100 Subject: [PATCH] =?utf8?q?Kunden/Lieferanten-Suche:=20Erfassen-Button=20?= =?utf8?q?=C3=BCberarbeitet?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- bin/mozilla/ct.pl | 14 -------------- templates/webpages/ct/list_names_bottom.html | 12 ++++++------ 2 files changed, 6 insertions(+), 20 deletions(-) diff --git a/bin/mozilla/ct.pl b/bin/mozilla/ct.pl index bdc89195c..845fc3ab4 100644 --- a/bin/mozilla/ct.pl +++ b/bin/mozilla/ct.pl @@ -65,20 +65,6 @@ use strict; # end of main -sub add { - $main::lxdebug->enter_sub(); - - my $url = 'controller.pl?action=CustomerVendor/add&db='. ($::form->{db} eq 'vendor' ? 'vendor' : 'customer'); - - if ( $::form->{callback} ) { - $url .= '&callback='. uri_encode($::form->{callback}); - } - - print $::form->redirect_header($url); - - $main::lxdebug->leave_sub(); -} - sub search { $main::lxdebug->enter_sub(); diff --git a/templates/webpages/ct/list_names_bottom.html b/templates/webpages/ct/list_names_bottom.html index 7faabc311..9546101fa 100644 --- a/templates/webpages/ct/list_names_bottom.html +++ b/templates/webpages/ct/list_names_bottom.html @@ -1,10 +1,10 @@ -[% USE T8 %][% USE HTML %]
+[% USE T8 %][% USE HTML %] - - + + + - [% IF IS_CUSTOMER %][% 'New customer' | $T8 %][% ELSE %][% 'New vendor' | $T8 %][% END %]
- - + [% IF IS_CUSTOMER %][% 'New customer' | $T8 %][% ELSE %][% 'New vendor' | $T8 %][% END %]
+
-- 2.20.1