my $callback = "$form->{script}?action=cov_selection_internal&";
map({ $callback .= "$_=" . $form->escape($form->{$_}) . "&" }
- (qw(login path password name input_name input_id is_vendor allow_both), grep({ /^[fl]_/ } keys %$form)));
+ (qw(name input_name input_id is_vendor allow_both), grep({ /^[fl]_/ } keys %$form)));
my @header_sort = qw(name address contact);
my %header_title = ( "name" => $locale->text("Name"),
restore_form($form->{SAVED_FORM}, 1) if ($form->{SAVED_FORM});
delete $form->{SAVED_FORM};
- $form->{SAVED_FORM} = save_form(qw(login password stylesheet));
+ $form->{SAVED_FORM} = save_form(qw(stylesheet));
$form->{remove_draft} = 1;
$form->header();
$draft_nextsub = "add" unless ($draft_nextsub);
delete $form->{action};
- my $saved_form = save_form(qw(login password stylesheet));
+ my $saved_form = save_form(qw(stylesheet));
$form->header();
print($form->parse_html_template("drafts/load",
my $previousform = join '&', map { $form->{$_} =~ s/&/%26/; "$_=$form->{$_}" } grep { !/action/ } keys %$form;
push @HIDDENS, { 'name' => 'previousform', 'value' => $form->escape($previousform, 1) };
- push @HIDDENS, map +{ 'name' => $_, 'value' => $form->{$_} }, qw(rowcount vc login password);
+ push @HIDDENS, map +{ 'name' => $_, 'value' => $form->{$_} }, qw(rowcount vc);
push @HIDDENS, map +{ 'name' => $_, 'value' => $form->{"${_}_$form->{rowcount}"} }, qw(partnumber description unit sellprice);
push @HIDDENS, { 'name' => 'taxaccount2', 'value' => $form->{taxaccounts} };
- next if (($key eq 'login') || ($key eq 'password') || ('' ne ref $form->{$key}));
$form->header();
print $form->parse_html_template("generic/new_item", { HIDDENS => [ sort { $a->{name} cmp $b->{name} } @HIDDENS ] } );
<!ENTITY szlig "ß">
]>|;
print qq|<doc>|;
- print qq|<login>|;
- print $form->{login};
- print qq|</login>|;
- print qq|<password>|;
- print $form->{password};
- print qq|</password>|;
print qq|<name>|;
print %myconfig->{name};
print qq|</name>|;
# construct callback
$form->{callback} =
- "$form->{script}?action=add&type=$form->{type}&login=$form->{login}&password=$form->{password}"
+ "$form->{script}?action=add&type=$form->{type}"
unless $form->{callback};
call_sub("form_$form->{type}_header");
<input type=hidden name=nextsub value=$report>
-<input type=hidden name=login value=$form->{login}>
-<input type=hidden name=password value=$form->{password}>
-
<br>
<input class=submit type=submit name=action value="|
. $locale->text('Continue') . qq|">
PE->projects(\%myconfig, \%$form);
$callback =
- "$form->{script}?action=project_report&type=$form->{type}&login=$form->{login}&password=$form->{password}&status=$form->{status}&active=" .
+ "$form->{script}?action=project_report&type=$form->{type}&status=$form->{status}&active=" .
E($form->{active});
$href = $callback;
|;
$column_data{projectnumber} =
- qq|<td><a href=$form->{script}?action=edit&type=$form->{type}&status=$form->{status}&id=$ref->{id}&login=$form->{login}&password=$form->{password}&callback=$callback>$ref->{projectnumber}</td>|;
+ qq|<td><a href=$form->{script}?action=edit&type=$form->{type}&status=$form->{status}&id=$ref->{id}&callback=$callback>$ref->{projectnumber}</td>|;
$column_data{description} = qq|<td>$ref->{description} </td>|;
$column_data{active} =
qq|<td>| .
<input type=hidden name=type value=$form->{type}>
-<input type=hidden name=login value=$form->{login}>
-<input type=hidden name=password value=$form->{password}>
-
<input class=submit type=submit name=action value="|
. $locale->text('Add') . qq|">
<input name=callback type=hidden value="$form->{callback}">
-<input type=hidden name=login value=$form->{login}>
-<input type=hidden name=password value=$form->{password}>
-
<br><input type=submit class=submit name=action value="|
. $locale->text('Save') . qq|">
|;
PE->partsgroups(\%myconfig, \%$form);
$callback =
- "$form->{script}?action=partsgroup_report&type=$form->{type}&login=$form->{login}&password=$form->{password}&status=$form->{status}";
+ "$form->{script}?action=partsgroup_report&type=$form->{type}&status=$form->{status}";
if ($form->{status} eq 'all') {
$option = $locale->text('All');
|;
$column_data{partsgroup} =
- qq|<td><a href=$form->{script}?action=edit&type=$form->{type}&status=$form->{status}&id=$ref->{id}&login=$form->{login}&password=$form->{password}&callback=$callback>$ref->{partsgroup}</td>|;
+ qq|<td><a href=$form->{script}?action=edit&type=$form->{type}&status=$form->{status}&id=$ref->{id}&callback=$callback>$ref->{partsgroup}</td>|;
map { print "$column_data{$_}\n" } @column_index;
print "
<input type=hidden name=type value=$form->{type}>
-<input type=hidden name=login value=$form->{login}>
-<input type=hidden name=password value=$form->{password}>
-
<input class=submit type=submit name=action value="|
. $locale->text('Add') . qq|">
<input name=callback type=hidden value="$form->{callback}">
-<input type=hidden name=login value=$form->{login}>
-<input type=hidden name=password value=$form->{password}>
-
<br><input type=submit class=submit name=action value="|
. $locale->text('Save') . qq|">
|;
PE->pricegroups(\%myconfig, \%$form);
$callback =
- "$form->{script}?action=pricegroup_report&type=$form->{type}&login=$form->{login}&password=$form->{password}&status=$form->{status}";
+ "$form->{script}?action=pricegroup_report&type=$form->{type}&status=$form->{status}";
if ($form->{status} eq 'all') {
$option = $locale->text('All');
<tr valign=top class=listrow$i>
|;
$column_data{pricegroup} =
- qq|<td><a href=$form->{script}?action=edit&type=$form->{type}&status=$form->{status}&id=$ref->{id}&login=$form->{login}&password=$form->{password}&callback=$callback>$ref->{pricegroup}</td>|;
+ qq|<td><a href=$form->{script}?action=edit&type=$form->{type}&status=$form->{status}&id=$ref->{id}&callback=$callback>$ref->{pricegroup}</td>|;
map { print "$column_data{$_}\n" } @column_index;
<input type=hidden name=type value=$form->{type}>
-<input type=hidden name=login value=$form->{login}>
-<input type=hidden name=password value=$form->{password}>
-
<input class=submit type=submit name=action value="|
. $locale->text('Add') . qq|">
<input name=callback type=hidden value="$form->{callback}">
-<input type=hidden name=login value=$form->{login}>
-<input type=hidden name=password value=$form->{password}>
-
<br><input type=submit class=submit name=action value="|
. $locale->text('Save') . qq|">
|;
} else var action = "calculate_qty";
url = "common.pl?" +
"action=" + action + "&" +
- "login=" + encodeURIComponent(document.getElementsByName("login")[0].value) + "&" +
- "password=" + encodeURIComponent(document.getElementsByName("password")[0].value) + "&" +
"name=" + escape(name) + "&" +
"input_name=" + escape(input_name) + "&" +
"description=" + escape(description) + "&" +
var name = document.getElementsByName(input_name)[0].value;
url = "common.pl?" +
"action=set_longdescription&" +
- "login=" + encodeURIComponent(document.getElementsByName("login")[0].value)+ "&"+
- "password=" + encodeURIComponent(document.getElementsByName("password")[0].value) + "&" +
"longdescription=" + escape_more(document.getElementsByName(input_name)[0].value) + "&" +
"input_name=" + escape_more(input_name) + "&"
window.open(url, "_new_generic", parm);
var name = document.getElementsByName(input_name)[0].value;
url = "common.pl?" +
"action=cov_selection_internal&" +
- "login=" + escape(document.forms[0].login.value) + "&" +
- "password=" + escape(document.forms[0].password.value) + "&" +
"name=" + escape_more(name) + "&" +
"input_name=" + escape(input_name) + "&" +
"input_id=" + escape(input_id) + "&" +
var name = document.getElementsByName(input_name)[0].value;
url = "common.pl?" +
"action=delivery_customer_selection&" +
- "login=" + escape(document.getElementsByName("login")[0].value) + "&" +
- "password=" + escape(document.getElementsByName("password")[0].value) + "&" +
"name=" + escape(name) + "&" +
"input_name=" + escape(input_name) + "&" +
"input_id=" + escape(input_id)
var parm = centerParms(800,600) + ",width=800,height=600,status=yes,scrollbars=yes";
var url = "dn.pl?" +
"action=set_email&" +
- "login=" + encodeURIComponent(document.getElementsByName("login")[0].value)+ "&"+
- "password=" + encodeURIComponent(document.getElementsByName("password")[0].value) + "&" +
"email_subject=" + escape_more(document.getElementsByName(input_subject)[0].value) + "&" +
"email_body=" + escape_more(document.getElementsByName(input_body)[0].value) + "&" +
"email_attachment=" + escape_more(document.getElementsByName(input_attachment)[0].value) + "&" +
var name = document.getElementsByName(input_name)[0].value;
url = "ic.pl?" +
"action=parts_language_selection&" +
- "login=" + escape_more(document.ic.login.value) + "&" +
- "password=" + escape_more(document.ic.password.value) + "&" +
"id=" + escape_more(document.ic.id.value) + "&" +
"language_values=" + escape_more(document.ic.language_values.value) + "&" +
"name=" + escape_more(name) + "&" +
function set_history_uri() {
document.location.href = "am.pl?" +
"action=show_am_history&" +
- "login=" + encodeURIComponent(document.getElementsByName("login")[0].value)+ "&"+
- "password=" + encodeURIComponent(document.getElementsByName("password")[0].value) + "&" +
"longdescription=" + "&" +
"einschraenkungen=" + document.getElementById("einschraenkungen").value + "&" +
"transdate=" + document.getElementById("transdate_hidden").value + "&" +
var name = "History";
url = "common.pl?" +
"action=show_history&" +
- "login=" + encodeURIComponent(document.getElementsByName("login")[0].value)+ "&"+
- "password=" + encodeURIComponent(document.getElementsByName("password")[0].value) + "&" +
"longdescription=" + "&" +
"input_name=" + escape(id) + "&"
window.open(url, "_new_generic", parm);
vc_id = vc_id[0].value;
url = "common.pl?" +
"action=show_vc_details&" +
- "login=" + escape(document.getElementsByName("login")[0].value) + "&" +
- "password=" + escape(document.getElementsByName("password")[0].value) + "&" +
"vc=" + escape(vc) + "&" +
"vc_id=" + escape(vc_id)
//alert(url);
var name = document.getElementsByName(input_name)[0].value;
url = "common.pl?" +
"action=vendor_selection&" +
- "login=" + escape(document.getElementsByName("login")[0].value) + "&" +
- "password=" + escape(document.getElementsByName("password")[0].value) + "&" +
"name=" + escape(name) + "&" +
"input_name=" + escape(input_name) + "&" +
"input_id=" + escape(input_id)