mirror of
https://gitlab.com/t6353/sharee.bike.git
synced 2025-05-13 15:16:38 +02:00
change site parameter
This commit is contained in:
parent
38a72a3eed
commit
7ce6cb6230
10 changed files with 47 additions and 46 deletions
|
@ -76,11 +76,11 @@ my $response = {
|
|||
user_group => [],
|
||||
user_tour => [],
|
||||
response_state => "OK, nothing todo",
|
||||
agb_html => "site/agb_sharee_2.html",
|
||||
privacy_html => "site/privacy_sharee_2.html",
|
||||
impress_html => "site/impress_1.html",
|
||||
tariff_info_html => "site/tariff_info.html",
|
||||
bike_info_html => "site/bike_info_sharee_1.html",
|
||||
agb_html => "$dbt->{project_conf}->{Freiburg}->{agb_html}",
|
||||
privacy_html => "$dbt->{project_conf}->{Freiburg}->{privacy_html}",
|
||||
impress_html => "$dbt->{project_conf}->{Freiburg}->{impress_html}",
|
||||
tariff_info_html => "$dbt->{project_conf}->{Freiburg}->{tariff_info_html}",
|
||||
bike_info_html => "$dbt->{project_conf}->{Freiburg}->{bike_info_html}",
|
||||
lang => "de",
|
||||
last_used_operator => {
|
||||
operator_name => "sharee.bike | TeilRad GmbH",
|
||||
|
@ -110,14 +110,14 @@ if(!$coo && !$q->param('merchant_id')){
|
|||
($aowner, $return_merchant) = $apif->fetch_merchant($q,\%varenv,$coo,$q->param('merchant_id'));
|
||||
#if($aowner && ($aowner == 195 || $aowner == 185 || $aowner == 176)){
|
||||
if($return_merchant->{project_id} eq "Konstanz"){
|
||||
$response->{agb_html} = "site/agb_konrad_1.html";
|
||||
$response->{bike_info_html} = "site/bike_info_konrad_1.html";
|
||||
$response->{agb_html} = "$dbt->{project_conf}->{Konstanz}->{agb_html}";
|
||||
$response->{bike_info_html} = "$dbt->{project_conf}->{Konstanz}->{bike_info_html}";
|
||||
}
|
||||
if($return_merchant->{project_id} eq "Bayern"){
|
||||
$response->{agb_html} = "site/agb_lastenradbayern_220804.html";
|
||||
$response->{bike_info_html} = "site/bike_info_bayern.html";
|
||||
$response->{privacy_html} = "site/privacy_lastenradbayern.html";
|
||||
$response->{tariff_info_html} = "site/tarif_info_lastenradbayern_220804.html";
|
||||
$response->{agb_html} = "$dbt->{project_conf}->{Bayern}->{agb_html}";
|
||||
$response->{privacy_html} = "$dbt->{project_conf}->{Bayern}->{privacy_html}";
|
||||
$response->{tariff_info_html} = "$dbt->{project_conf}->{Bayern}->{tariff_info_html}";
|
||||
$response->{bike_info_html} = "$dbt->{project_conf}->{Bayern}->{bike_info_html}";
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue