diff --git a/copri4/main/img b/copri4/main/img new file mode 120000 index 0000000..f98297f --- /dev/null +++ b/copri4/main/img @@ -0,0 +1 @@ +/etc/shareeconf/img \ No newline at end of file diff --git a/copri4/main/img/LastenradBay_Standortpfeil_blau_03a.png b/copri4/main/img/LastenradBay_Standortpfeil_blau_03a.png deleted file mode 100755 index 6b608d4..0000000 Binary files a/copri4/main/img/LastenradBay_Standortpfeil_blau_03a.png and /dev/null differ diff --git a/copri4/main/img/LastenradBay_Standortpfeil_blau_03a.svg b/copri4/main/img/LastenradBay_Standortpfeil_blau_03a.svg deleted file mode 100755 index 6f7f747..0000000 --- a/copri4/main/img/LastenradBay_Standortpfeil_blau_03a.svg +++ /dev/null @@ -1,57 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/copri4/main/img/LastenradBay_Standortpfeil_gruen_03a.png b/copri4/main/img/LastenradBay_Standortpfeil_gruen_03a.png deleted file mode 100755 index 14b4999..0000000 Binary files a/copri4/main/img/LastenradBay_Standortpfeil_gruen_03a.png and /dev/null differ diff --git a/copri4/main/img/LastenradBay_Standortpfeil_gruen_03a.svg b/copri4/main/img/LastenradBay_Standortpfeil_gruen_03a.svg deleted file mode 100755 index ce008a2..0000000 --- a/copri4/main/img/LastenradBay_Standortpfeil_gruen_03a.svg +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - - - - - - - - - - diff --git a/copri4/main/img/LastenradBay_Standortpfeil_klenze-blau_03a.png b/copri4/main/img/LastenradBay_Standortpfeil_klenze-blau_03a.png deleted file mode 100755 index e89273c..0000000 Binary files a/copri4/main/img/LastenradBay_Standortpfeil_klenze-blau_03a.png and /dev/null differ diff --git a/copri4/main/img/LastenradBay_Standortpfeil_klenze-blau_03a.svg b/copri4/main/img/LastenradBay_Standortpfeil_klenze-blau_03a.svg deleted file mode 100755 index 9ea7934..0000000 --- a/copri4/main/img/LastenradBay_Standortpfeil_klenze-blau_03a.svg +++ /dev/null @@ -1,57 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/copri4/main/img/LastenradBay_Standortpfeil_rot_03a.png b/copri4/main/img/LastenradBay_Standortpfeil_rot_03a.png deleted file mode 100755 index e862100..0000000 Binary files a/copri4/main/img/LastenradBay_Standortpfeil_rot_03a.png and /dev/null differ diff --git a/copri4/main/img/LastenradBay_Standortpfeil_rot_03a.svg b/copri4/main/img/LastenradBay_Standortpfeil_rot_03a.svg deleted file mode 100755 index 5ce8076..0000000 --- a/copri4/main/img/LastenradBay_Standortpfeil_rot_03a.svg +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - - - - - - - - - - diff --git a/copri4/main/img/Logo-LastenradBayern-01.png b/copri4/main/img/Logo-LastenradBayern-01.png deleted file mode 100755 index 13f9b10..0000000 Binary files a/copri4/main/img/Logo-LastenradBayern-01.png and /dev/null differ diff --git a/copri4/main/img/Open_Blue.png b/copri4/main/img/Open_Blue.png deleted file mode 100644 index 059f4aa..0000000 Binary files a/copri4/main/img/Open_Blue.png and /dev/null differ diff --git a/copri4/main/img/Open_Green.png b/copri4/main/img/Open_Green.png deleted file mode 100644 index b0ae260..0000000 Binary files a/copri4/main/img/Open_Green.png and /dev/null differ diff --git a/copri4/main/img/Open_Red.png b/copri4/main/img/Open_Red.png deleted file mode 100644 index c076f9a..0000000 Binary files a/copri4/main/img/Open_Red.png and /dev/null differ diff --git a/copri4/main/img/images b/copri4/main/img/images deleted file mode 120000 index f003779..0000000 --- a/copri4/main/img/images +++ /dev/null @@ -1 +0,0 @@ -../../../../sharee.bike/copri-bike/shareeconf/images \ No newline at end of file diff --git a/copri4/main/img/konrad-pin_blau-gruen.png b/copri4/main/img/konrad-pin_blau-gruen.png deleted file mode 100644 index be73677..0000000 Binary files a/copri4/main/img/konrad-pin_blau-gruen.png and /dev/null differ diff --git a/copri4/main/img/konrad-pin_blau-rot.png b/copri4/main/img/konrad-pin_blau-rot.png deleted file mode 100644 index 538325f..0000000 Binary files a/copri4/main/img/konrad-pin_blau-rot.png and /dev/null differ diff --git a/copri4/main/img/konrad-pin_halb-gruen-rot.png b/copri4/main/img/konrad-pin_halb-gruen-rot.png deleted file mode 100644 index 0f07d46..0000000 Binary files a/copri4/main/img/konrad-pin_halb-gruen-rot.png and /dev/null differ diff --git a/copri4/main/img/konrad-pin_halb-gruen.png b/copri4/main/img/konrad-pin_halb-gruen.png deleted file mode 100644 index 7745519..0000000 Binary files a/copri4/main/img/konrad-pin_halb-gruen.png and /dev/null differ diff --git a/copri4/main/img/konrad-pin_halb-rot-gruen.png b/copri4/main/img/konrad-pin_halb-rot-gruen.png deleted file mode 100644 index f4239d0..0000000 Binary files a/copri4/main/img/konrad-pin_halb-rot-gruen.png and /dev/null differ diff --git a/copri4/main/img/konrad-pin_halb-rot.png b/copri4/main/img/konrad-pin_halb-rot.png deleted file mode 100644 index 740b8af..0000000 Binary files a/copri4/main/img/konrad-pin_halb-rot.png and /dev/null differ diff --git a/copri4/main/img/konrad-pin_rot-gruen.png b/copri4/main/img/konrad-pin_rot-gruen.png deleted file mode 100644 index 9604dfe..0000000 Binary files a/copri4/main/img/konrad-pin_rot-gruen.png and /dev/null differ diff --git a/copri4/main/img/konrad-pin_rot-rot.png b/copri4/main/img/konrad-pin_rot-rot.png deleted file mode 100644 index 3a59378..0000000 Binary files a/copri4/main/img/konrad-pin_rot-rot.png and /dev/null differ diff --git a/copri4/main/img/logout.svg b/copri4/main/img/logout.svg deleted file mode 100644 index d95ac95..0000000 --- a/copri4/main/img/logout.svg +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - diff --git a/copri4/main/img/payment-creditcard2.png b/copri4/main/img/payment-creditcard2.png deleted file mode 100644 index dc9a6a5..0000000 Binary files a/copri4/main/img/payment-creditcard2.png and /dev/null differ diff --git a/copri4/main/img/payment-incasso2.png b/copri4/main/img/payment-incasso2.png deleted file mode 100644 index 3da279f..0000000 Binary files a/copri4/main/img/payment-incasso2.png and /dev/null differ diff --git a/copri4/main/img/refresh.png b/copri4/main/img/refresh.png deleted file mode 100644 index c32d51d..0000000 Binary files a/copri4/main/img/refresh.png and /dev/null differ diff --git a/copri4/main/img/sharee_bike_Logo.jpg b/copri4/main/img/sharee_bike_Logo.jpg deleted file mode 100644 index dd3cbb0..0000000 Binary files a/copri4/main/img/sharee_bike_Logo.jpg and /dev/null differ diff --git a/copri4/main/src/Mod/APIjsonserver.pm b/copri4/main/src/Mod/APIjsonserver.pm index 70c0498..2e13eee 100755 --- a/copri4/main/src/Mod/APIjsonserver.pm +++ b/copri4/main/src/Mod/APIjsonserver.pm @@ -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"; } } diff --git a/copri4/main/src/Mod/Indexsharee.pm b/copri4/main/src/Mod/Indexsharee.pm index 9d619e9..1f48309 100755 --- a/copri4/main/src/Mod/Indexsharee.pm +++ b/copri4/main/src/Mod/Indexsharee.pm @@ -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; diff --git a/copri4/main/src/Mod/KMLout.pm b/copri4/main/src/Mod/KMLout.pm index d879c35..68fafa1 100755 --- a/copri4/main/src/Mod/KMLout.pm +++ b/copri4/main/src/Mod/KMLout.pm @@ -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; diff --git a/copri4/main/src/Mod/Prelogic.pm b/copri4/main/src/Mod/Prelogic.pm index 1a7c050..1ddf43b 100755 --- a/copri4/main/src/Mod/Prelogic.pm +++ b/copri4/main/src/Mod/Prelogic.pm @@ -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.
::$varenv{wwwhost}/Verkauf::Zum Verkauf"; }else{ - return "failure::Die Artikelnummer ist in der Waren Datenbank nicht angelegt oder einem anderen Lagerort zugeordnet.
::$varenv{wwwhost}/Waren::Waren verwalten"; + return "failure::Die Artikelnummer konnte nicht gefunden werden.
::$varenv{wwwhost}/Waren::Waren verwalten"; } } ##### diff --git a/copri4/main/src/Mod/Printpreview.pm b/copri4/main/src/Mod/Printpreview.pm index e62c88a..12ff387 100755 --- a/copri4/main/src/Mod/Printpreview.pm +++ b/copri4/main/src/Mod/Printpreview.pm @@ -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 "\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}
" if($cttpos->{$id}->{int04}); - $ct_pos .= "Mietrad: $cttpos->{$id}->{ct_name}"; + $ct_pos = "Mietrad: $cttpos->{$id}->{ct_name}"; + $ct_pos .= "
Endstation: $cttpos->{$id}->{txt13}$cttpos->{$id}->{int04}" if($cttpos->{$id}->{int04}); }else{ $ct_pos = "$cttpos->{$id}->{ct_name}"; } diff --git a/copri4/main/src/Tpl/TransPositionen.pm b/copri4/main/src/Tpl/TransPositionen.pm index 863fee9..870eaa5 100755 --- a/copri4/main/src/Tpl/TransPositionen.pm +++ b/copri4/main/src/Tpl/TransPositionen.pm @@ -145,7 +145,7 @@ EOF my ($key,$val) = split /=/,$_; $k++ if($val); if($key eq "ct_name"){ - print $q->th($q->textfield(-class=>'etxt',-style=>'height:19px;width:140px;font-size:1.3em;text-align:right;',-id=>"json_select",-name=>"json_select",-value=>"", -override=>'1',-size=>"25",-maxlength=>50, -placeholder=>'Nummer',-autofocus=>1),""); + print $q->th($q->textfield(-class=>'etxt',-style=>'height:19px;width:140px;font-size:1.3em;text-align:right;',-id=>"json_select",-name=>"json_select",-value=>"", -override=>'1',-size=>"25",-maxlength=>50, -placeholder=>'Nummer'),""); }elsif($key =~ /int|txt|time\d+/){ print $q->th("$val"); } @@ -263,7 +263,7 @@ EOF if($cttpos->{$id}->{int35} && $cttpos->{$id}->{start_time} && $cttpos->{$id}->{end_time}){ print $q->td({-class=>'tdint', -nowrap=>1},"$pricing->{real_clock} $pricing->{freed_time}"),"\n"; }else{ - print $q->td({-colspan=>'1',-class=>'element',-style=>"$txtstyle $set_style"},$q->textfield(-class=>'etxt',-style=>"$txtstyle",-name=>"col_$key",-default=>"$cttpos->{$id}->{$key}", -override=>'1',-size=>"$isize",-maxlength=>10, -autofocus=>1)),"\n"; + print $q->td({-colspan=>'1',-class=>'element',-style=>"$txtstyle $set_style"},$q->textfield(-class=>'etxt',-style=>"$txtstyle",-name=>"col_$key",-default=>"$cttpos->{$id}->{$key}", -override=>'1',-size=>"$isize",-maxlength=>10)),"\n"; } }elsif($key =~ /int02/){ if($cttpos->{$id}->{int35} && $cttpos->{$id}->{start_time} && $cttpos->{$id}->{end_time}){ @@ -290,7 +290,7 @@ EOF my ($e_yy,$e_mo,$e_dd,$e_hh,$e_mi) = $lb->split_date($cttpos->{$id}->{end_time}); print ""; - print $q->textarea(-class=>'autos',-style=>"border: 1px solid #ededed;background-color: #ededed;",-name=>"col_$key",-default=>"$cttpos->{$id}->{$key}", -override=>'1',-rows=>"1",-cols=>65),"
\n"; + print $q->textarea(-class=>'autos',-style=>"border: 1px solid #ededed;background-color: #ededed;",-name=>"col_$key",-default=>"$cttpos->{$id}->{$key}", -override=>'1',-rows=>"1",-cols=>65, -autofocus=>1),"
\n"; #if Traiff Nr. if($cttpos->{$id}->{int09}){ diff --git a/copri4/main/src/scripts/tests b/copri4/main/src/scripts/tests new file mode 120000 index 0000000..cf562f8 --- /dev/null +++ b/copri4/main/src/scripts/tests @@ -0,0 +1 @@ +../../../../../sharee.bike/copri-bike/main/src/scripts/tests \ No newline at end of file diff --git a/copri4/shareeapp-operator/src/Tpl/FormEdit.pm b/copri4/shareeapp-operator/src/Tpl/FormEdit.pm index 0368e47..8042689 100755 --- a/copri4/shareeapp-operator/src/Tpl/FormEdit.pm +++ b/copri4/shareeapp-operator/src/Tpl/FormEdit.pm @@ -167,19 +167,19 @@ Weitere Personen aus Ihrem Haushalt profitieren jedoch ebenfalls, falls Sie weit my $sharee_agb_text = {}; $sharee_agb_text->{ct_name} = "AGB"; $sharee_agb_text->{txt01} = ""; - #if($aowner == 195 || $aowner == 185 || $aowner == 176){ + my $sharee_privacy_text = {}; + $sharee_privacy_text->{ct_name} = "Datenschutzhinweise"; + $sharee_privacy_text->{txt01} = ""; + if($project eq "Konstanz"){ $sharee_agb_text->{txt01} = ""; } if($project eq "Bayern"){ $sharee_agb_text->{txt01} = ""; + $sharee_privacy_text->{txt01} = ""; } - my $sharee_privacy_text = {}; - $sharee_privacy_text->{ct_name} = "Datenschutzhinweise"; - $sharee_privacy_text->{txt01} = ""; - print "
\n"; print <