mirror of
https://gitlab.com/t6353/sharee.bike.git
synced 2025-05-10 05:56:27 +02:00
shareeweb Freiburg minor changes 2
This commit is contained in:
parent
87549e702c
commit
882f848355
2 changed files with 16 additions and 22 deletions
|
@ -153,15 +153,7 @@ sub tpl(){
|
|||
if($node->{$id}->{node_name} eq "Anmelden" && $users_sharee->{c_id}){
|
||||
$lmenu0 .= $but->lia_button("/$parent_node/$varenv->{profile}$session","Mein Profil",$node->{$id}->{main_id},"","$mstyle",$users_dms->{u_id});
|
||||
}else{
|
||||
if($project eq "Freiburg"){
|
||||
if($node->{$id}->{node_name} eq "Karte"){
|
||||
$lmenu0 .= $but->lia_button("/$parent_node/$node->{$id}->{node_path}","Standortkarte",$node->{$id}->{main_id},"","$mstyle",$users_dms->{u_id});
|
||||
}elsif($node->{$id}->{node_name} ne "Kontakt"){
|
||||
$lmenu0 .= $but->lia_button("/$parent_node/$node->{$id}->{node_path}",$node->{$id}->{node_name},$node->{$id}->{main_id},"","$mstyle",$users_dms->{u_id});
|
||||
}
|
||||
}else{
|
||||
$lmenu0 .= $but->lia_button("/$parent_node/$node->{$id}->{node_path}",$node->{$id}->{node_name},$node->{$id}->{main_id},"","$mstyle",$users_dms->{u_id});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -190,12 +182,9 @@ sub tpl(){
|
|||
print $q->div({-style=>"text-align:left;width:100%;margin:1em 0;background-color:#$bgcolor1;"},$q->img({-style=>'height:10em;', -src=>"$dbt->{website}->{$varenv->{syshost}}->{operatorWeb1}/img/Logo-LastenradBayern-01.png"})),"\n";
|
||||
}
|
||||
}
|
||||
#test Bayern left-site menue
|
||||
#print $q->div({-style=>"float:left;text-align:left;border:1px dotted black;"},$q->ul({-id=>'LeftNavi'},$lmenu0)),"\n";
|
||||
#print "<div id='Contenttxt' style='margin:20px 5px 40px 200px;border:0px dotted #$fgcolor1;'>\n";
|
||||
|
||||
print "<div id='Contenttxt' style='margin:25px 5px 40px 0;border:0px dotted #$fgcolor1;'>\n";
|
||||
print $q->div({-style=>"text-align:left;border:0px dotted #$fgcolor1;"},$q->ul({-id=>'TopNavi'},$lmenu0)),"\n";
|
||||
print "<div id='Contenttxt' style='margin:25px 0px 5px 0px;border:0px dotted #$fgcolor1;'>\n";
|
||||
print $q->div({-style=>"text-align:left;border:0px dotted #$fgcolor1;"},$q->ul({-id=>'TopNavi'},$lmenu0)),"\n" if($project ne "Freiburg");
|
||||
|
||||
if(($node_meta->{tpl_id} == 1 || $node_meta->{tpl_id} == 3) && $node_meta->{main_id} == 200017){
|
||||
require "Tpl/Karte_osm.pm";
|
||||
|
@ -204,6 +193,7 @@ sub tpl(){
|
|||
$self->tplselect($node_meta,$users_dms,$mode,$varenv,$users_sharee,$feedb);
|
||||
}
|
||||
|
||||
if($project ne "Freiburg"){
|
||||
|
||||
print "<div style='margin-top:1em;border-top:1px dotted #$bgcolor1;background-color:#fff;width:100%;height:10px;text-align:right;'>\n";
|
||||
print "</div>\n";
|
||||
|
@ -261,15 +251,14 @@ EOF
|
|||
print $q->div({ -style=>"width:100%;text-align:right;"},
|
||||
"<button type='button' style='padding:0 2em;color:#$bgcolor1;border:1px solid #ffffff;background-color:#ffffff;' data-bs-toggle='modal' data-bs-target='#sharee_impress'>Impressum</button>
|
||||
<button type='button' style='padding: 0 2em;color:#$bgcolor1;border:1px solid #ffffff;background-color:#ffffff;' data-bs-toggle='modal' data-bs-target='#sharee_privacy'>Datenschutzhinweise</button>"
|
||||
#$q->a({-style=>"background-color:#ffffff;color:#$bgcolor1;text-decoration:none;", -href=>"$varenv->{wwwhost}/site/impress_1.html"}, "Impressum"),
|
||||
#$q->a({-style=>"background-color:#ffffff;color:#$bgcolor1;text-decoration:none;padding:0 1em;", -href=>"$varenv->{wwwhost}/site/privacy_2.html"}, "Datenschutz")
|
||||
),"\n";
|
||||
}
|
||||
|
||||
print "</div>\n";#Contenttxt
|
||||
print "</div>\n" if($dbt->{website}->{$varenv->{syshost}}->{layout} eq "standalone");#container
|
||||
|
||||
|
||||
}
|
||||
}#end if($project ne "Freiburg")
|
||||
|
||||
#print "<script type='text/javascript' src='$varenv->{metahost}/js/iframeResizer.contentWindow.min.js'></script>\n";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue