X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=bin%2Fmozilla%2Fic.pl;h=5f16184e8a5a1fd06c43476aaf592abaf60fad2d;hb=21e3b9697fa7e9481b79d0f16ef8cc5d0892f299;hp=6d49eab28470e98fb81eb0a15f6a0610b2c1cdc6;hpb=becc49b1374f60cd4c8b389490859e92a99ae572;p=kivitendo-erp.git diff --git a/bin/mozilla/ic.pl b/bin/mozilla/ic.pl index 6d49eab28..5f16184e8 100644 --- a/bin/mozilla/ic.pl +++ b/bin/mozilla/ic.pl @@ -31,1259 +31,370 @@ # #====================================================================== -use SL::IC; - -require "$form->{path}/io.pl"; - -1; - -# end of main - -sub add { - $lxdebug->enter_sub(); - - $form->{title} = $locale->text('Add ' . ucfirst $form->{item}); - - $form->{callback} = - "$form->{script}?action=add&item=$form->{item}&path=$form->{path}&login=$form->{login}&password=$form->{password}" - unless $form->{callback}; - - $form->{unit} = - ($form->{item} eq 'service') ? $locale->text('hr') : $locale->text('ea'); - - &link_part; - &display_form; - - $lxdebug->leave_sub(); -} - -sub search { - $lxdebug->enter_sub(); - - $form->{title} = (ucfirst $form->{searchitems}) . "s"; - $form->{title} = $locale->text($form->{title}); - - # switch for backward sorting - $form->{revers} = 0; - - # memory for which table was sort at last time - $form->{lastsort} = ""; - - # counter for added entries to top100 - $form->{ndxs_counter} = 0; - - # $locale->text('Parts') - # $locale->text('Services') - - # use JavaScript Calendar or not - $form->{jsscript} = $jscalendar; - $jsscript = ""; - if ($form->{jsscript}) { - - # with JavaScript Calendar - $button1 = qq| -
-
|
- - | | . $locale->text('From') . qq| | - $button1 -| . $locale->text('To') . qq| | - $button2 -
---|
-
|
- - |
-
|
-