mirror of
https://gitlab.com/t6353/sharee.bike.git
synced 2025-05-13 23:26:29 +02:00
Lastenradbayern img
This commit is contained in:
parent
98e098caae
commit
cc4dfcd70f
35 changed files with 20 additions and 292 deletions
|
@ -113,6 +113,7 @@ if(!$coo && !$q->param('merchant_id')){
|
|||
if($return_merchant->{project_id} eq "Bayern"){
|
||||
$response->{agb_html} = "site/agb_lastenradbayern.html";
|
||||
$response->{bike_info_html} = "site/bike_info_bayern.html";
|
||||
$response->{privacy_html} = "site/privacy_lastenradbayern.html";
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -696,7 +696,6 @@ sub handler {
|
|||
background-position: right bottom;
|
||||
background-attachment:fixed;
|
||||
background-size:$varenv{background_size};
|
||||
font-family: $varenv{font_family};
|
||||
font-size: $varenv{font_size};
|
||||
line-height: $varenv{line_height};
|
||||
margin: 0; padding: 0;
|
||||
|
|
|
@ -93,9 +93,9 @@ sub kmlGenerator {
|
|||
my $icon_red = "Open_Red.png";
|
||||
my $icon_blue = "Open_Blue.png";
|
||||
if($project eq "Bayern"){
|
||||
$icon_green = "LastenradBay_Standortpfeil_gruen_03a.png";
|
||||
$icon_red = "LastenradBay_Standortpfeil_rot_03a.png";
|
||||
$icon_blue = "LastenradBay_Standortpfeil_blau_03a.png";
|
||||
$icon_green = "LastenradBay-custom-marker-gruen.png";
|
||||
$icon_red = "LastenradBay-custom-marker-rot.png";
|
||||
$icon_blue = "LastenradBay-custom-marker-bayblau.png";
|
||||
}
|
||||
|
||||
my $timestamp = strftime "%Y%m%d%H%M%S", localtime;
|
||||
|
|
|
@ -227,7 +227,7 @@ sub preinit(){
|
|||
}
|
||||
}
|
||||
|
||||
if(($ct_name || $ct->{barcode}) && $rel->{content_id}){
|
||||
if($ct->{barcode} && $ct->{barcode} > 0 && $rel->{content_id}){
|
||||
my $partnr = "$ct_name / $ct->{barcode}";
|
||||
$partnr = "$ct_name" if("$ct_name" eq "$ct->{barcode}" || !$ct->{barcode});
|
||||
my $bezeichnung = "$ct->{txt01}";
|
||||
|
@ -258,7 +258,7 @@ sub preinit(){
|
|||
}elsif($ct_name && !$rel->{content_id}){
|
||||
return "failure::Für die Terminzuordnung bitte zuerst einen Verkauf Vorgang öffnen oder neu erzeugen.<br /> ::$varenv{wwwhost}/Verkauf::Zum Verkauf";
|
||||
}else{
|
||||
return "failure::Die Artikelnummer ist in der Waren Datenbank nicht angelegt oder einem anderen Lagerort zugeordnet.<br /> ::$varenv{wwwhost}/Waren::Waren verwalten";
|
||||
return "failure::Die Artikelnummer konnte nicht gefunden werden.<br /> ::$varenv{wwwhost}/Waren::Waren verwalten";
|
||||
}
|
||||
}
|
||||
#####
|
||||
|
|
|
@ -259,7 +259,7 @@ td {
|
|||
my $position;
|
||||
my $h_toppx = "$h_top" . "px";
|
||||
$position = "position:absolute; top: $h_toppx;" if($h_top);
|
||||
print $q->div({-style=>"$position width:$width;text-align:right;border:0px solid black;margin:0 0 200px 0;"},$q->span({-style=>'margin:0em;'},$q->img({-src=>"$varenv{metahost}/img/images/$logo",-height=>'120px;'})),$q->span({-style=>'font-size:1em;'},"\n"));
|
||||
print $q->div({-style=>"$position width:$width;text-align:right;border:0px solid black;margin:0 0 200px 0;"},$q->span({-style=>'margin:0em;'},$q->img({-src=>"$varenv{metahost}/img/$logo",-height=>'120px;'})),$q->span({-style=>'font-size:1em;'},"\n"));
|
||||
}
|
||||
|
||||
#Briefkopf + Adresse
|
||||
|
@ -269,7 +269,7 @@ td {
|
|||
my $ctt = $db->get_content1("contenttrans",$c_id);
|
||||
$ctt->{txt01} = $lb->newline($ctt->{txt01},$users->{tiny_mce},"0");
|
||||
|
||||
print $q->div({-style=>"width:$width; text-align:right;border:0px solid black;margin:0 0 200px 0;"},$q->span({-style=>'margin:0em;'},$q->img({-src=>"$varenv{metahost}/img/images/$logo",-height=>'120px;'})),$q->span({-style=>'font-size:1em;'},"")),"\n";
|
||||
print $q->div({-style=>"width:$width; text-align:right;border:0px solid black;margin:0 0 200px 0;"},$q->span({-style=>'margin:0em;'},$q->img({-src=>"$varenv{metahost}/img/$logo",-height=>'120px;'})),$q->span({-style=>'font-size:1em;'},"")),"\n";
|
||||
|
||||
print $q->start_table({-width=>'100%',-border=>'0',-align=>'center', -cellpadding=>'3', -cellspacing=>'0'}),"\n";
|
||||
print "<tr>\n";
|
||||
|
@ -443,8 +443,8 @@ td {
|
|||
if("$key" eq "ct_name"){
|
||||
my $ct_pos = "";
|
||||
if($cttpos->{$id}->{int09}){#if Tarif defined
|
||||
$ct_pos = "Endstation: $cttpos->{$id}->{txt13}$cttpos->{$id}->{int04}<br />" if($cttpos->{$id}->{int04});
|
||||
$ct_pos .= "Mietrad: $cttpos->{$id}->{ct_name}";
|
||||
$ct_pos = "Mietrad: $cttpos->{$id}->{ct_name}";
|
||||
$ct_pos .= "<br />Endstation: $cttpos->{$id}->{txt13}$cttpos->{$id}->{int04}" if($cttpos->{$id}->{int04});
|
||||
}else{
|
||||
$ct_pos = "$cttpos->{$id}->{ct_name}";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue