From 0f89b9e83651b0ea48cb3e09e75c206aff34a2c5 Mon Sep 17 00:00:00 2001 From: ragu Date: Fri, 6 May 2022 11:06:06 +0200 Subject: [PATCH] lastenradbayern --- copri4/main/src/Mod/Indexsharee.pm | 2 ++ copri4/shareeweb-project/src/Lib/Mlogic.pm | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/copri4/main/src/Mod/Indexsharee.pm b/copri4/main/src/Mod/Indexsharee.pm index 0da236c..d04a9bd 100755 --- a/copri4/main/src/Mod/Indexsharee.pm +++ b/copri4/main/src/Mod/Indexsharee.pm @@ -85,6 +85,8 @@ sub handler { #$bw->log("Indexsharee merchant select by netloc:",$netloc,""); $varenv{syshost} = $1 if( -d "/var/www/copri-bike/$1"); $mode = "manager" if($varenv{syshost} =~ /shareedms-/ && !$mode); + }elsif($netloc =~ /lastenradbayern\.net/){ + $varenv{syshost} = "shareeweb-bayern"; } die "no configuration available" if(!$varenv{syshost}); diff --git a/copri4/shareeweb-project/src/Lib/Mlogic.pm b/copri4/shareeweb-project/src/Lib/Mlogic.pm index 39d2db0..7101789 100755 --- a/copri4/shareeweb-project/src/Lib/Mlogic.pm +++ b/copri4/shareeweb-project/src/Lib/Mlogic.pm @@ -165,7 +165,7 @@ sub tpl(){ } print "\n"; - print $q->div({-style=>"text-align:left;width:100%;margin:1em 0;background-image: linear-gradient(to right, rgb(0, 156, 217) 300px, rgb(255,255,255));"},$q->img({-style=>'height:10em;', -src=>"$varenv->{metahost}/img/Logo-LastenradBayern-01.png"})),"\n" if($dbt->{website}->{$varenv->{syshost}}->{project} eq "Bayern"); + print $q->div({-style=>"text-align:left;width:100%;margin:1em 0;background-image: linear-gradient(to right, rgb(0, 156, 217) 300px, rgb(255,255,255));"},$q->img({-style=>'height:10em;', -src=>"$dbt->{website}->{$varenv->{syshost}}->{operatorWeb1}/img/Logo-LastenradBayern-01.png"})),"\n" if($dbt->{website}->{$varenv->{syshost}}->{project} eq "Bayern"); #test Bayern left-site menue #print $q->div({-style=>"float:left;text-align:left;border:1px dotted black;"},$q->ul({-id=>'LeftNavi'},$lmenu0)),"\n";