\n";
+ print "$initMap|$varenv->{dbname}|$api_return->{authcookie}|$users_sharee->{c_id}|$kmlfile" if($users_dms->{u_id} == $dbt->{copri_conf}->{superu_id});
print "
\n";
diff --git a/copri4/main/src/Tpl/Liste3.pm b/copri4/main/src/Tpl/Liste3.pm
old mode 100644
new mode 100755
diff --git a/copri4/main/src/Tpl/MandantConf.pm b/copri4/main/src/Tpl/MandantConf.pm
old mode 100644
new mode 100755
diff --git a/copri4/main/src/Tpl/SubListe.pm b/copri4/main/src/Tpl/SubListe.pm
old mode 100644
new mode 100755
diff --git a/copri4/main/src/Tpl/TransPositionen.pm b/copri4/main/src/Tpl/TransPositionen.pm
old mode 100644
new mode 100755
diff --git a/copri4/main/src/scripts/Ilockauth.class b/copri4/main/src/scripts/Ilockauth.class
old mode 100644
new mode 100755
diff --git a/copri4/main/src/scripts/Ilockauth.java b/copri4/main/src/scripts/Ilockauth.java
old mode 100644
new mode 100755
diff --git a/copri4/main/src/scripts/Ilockit_cloud.pl b/copri4/main/src/scripts/Ilockit_cloud.pl
index d77bfa2..abedaed 100755
--- a/copri4/main/src/scripts/Ilockit_cloud.pl
+++ b/copri4/main/src/scripts/Ilockit_cloud.pl
@@ -21,7 +21,7 @@ BEGIN {
$syshost = $ARGV[0] || die;
}
-use lib "/var/www/copri4/$syshost/src";
+use lib "/var/www/copri-bike/$syshost/src";
use strict;
use warnings;
use POSIX;
diff --git a/copri4/main/src/scripts/Ilockit_trackingcloud.pl b/copri4/main/src/scripts/Ilockit_trackingcloud.pl
index 6978f27..36061ab 100755
--- a/copri4/main/src/scripts/Ilockit_trackingcloud.pl
+++ b/copri4/main/src/scripts/Ilockit_trackingcloud.pl
@@ -23,7 +23,7 @@ BEGIN {
$syshost = $ARGV[0] || die;
}
-use lib "/var/www/copri4/$syshost/src";
+use lib "/var/www/copri-bike/$syshost/src";
use strict;
use warnings;
use POSIX;
diff --git a/copri4/main/src/scripts/Ilockkeygen.class b/copri4/main/src/scripts/Ilockkeygen.class
old mode 100644
new mode 100755
diff --git a/copri4/main/src/scripts/Ilockkeygen.java b/copri4/main/src/scripts/Ilockkeygen.java
old mode 100644
new mode 100755
diff --git a/copri4/main/src/scripts/newsletter_post.pl b/copri4/main/src/scripts/newsletter_post.pl
index 45185cb..ac343e4 100755
--- a/copri4/main/src/scripts/newsletter_post.pl
+++ b/copri4/main/src/scripts/newsletter_post.pl
@@ -13,7 +13,7 @@ use vars qw($syshost);
BEGIN {
$syshost = $ARGV[0] || exit 1;
}
-use lib "/var/www/copri4/$syshost/src";
+use lib "/var/www/copri-bike/$syshost/src";
use strict;
@@ -105,7 +105,7 @@ sub transport {
$smtp->auth($varenv->{sasl_username},$varenv->{sasl_password});
$smtp->mail($varenv->{mail_from});
- if($hostname ne "$varenv->{live_hostname}"){
+ if($hostname ne "ginger"){
$mail_to = $varenv->{mail_testto};
$subject .= "* offline Test *";
}
diff --git a/copri4/main/src/scripts/payone_post_Payment.pl b/copri4/main/src/scripts/payone_post_Payment.pl
index e520a6d..165b9b0 100755
--- a/copri4/main/src/scripts/payone_post_Payment.pl
+++ b/copri4/main/src/scripts/payone_post_Payment.pl
@@ -16,7 +16,7 @@ BEGIN {
$syshost = $ARGV[0] || die 'syshost not defined';
}
-use lib "/var/www/copri4/$syshost/src";
+use lib "/var/www/copri-bike/$syshost/src";
use strict;
use warnings;
diff --git a/copri4/main/src/scripts/requested_timeout.pl b/copri4/main/src/scripts/requested_timeout.pl
index 8207c0b..17991d1 100755
--- a/copri4/main/src/scripts/requested_timeout.pl
+++ b/copri4/main/src/scripts/requested_timeout.pl
@@ -13,7 +13,7 @@ BEGIN {
$syshost = $ARGV[0] || die;
}
-use lib "/var/www/copri4/$syshost/src";
+use lib "/var/www/copri-bike/$syshost/src";
use strict;
use warnings;
diff --git a/copri4/main/src/scripts/velofaktur_client.pl b/copri4/main/src/scripts/velofaktur_client.pl
index 0cb5d4b..0165585 100755
--- a/copri4/main/src/scripts/velofaktur_client.pl
+++ b/copri4/main/src/scripts/velofaktur_client.pl
@@ -19,7 +19,7 @@ BEGIN {
$syshost = $ARGV[0] || die;
}
-use lib "/var/www/copri4/$syshost/src";
+use lib "/var/www/copri-bike/$syshost/src";
use strict;
use warnings;
use POSIX;
diff --git a/copri4/mkaccess.sh b/copri4/mkaccess.sh
index 1332c96..3d21c46 100755
--- a/copri4/mkaccess.sh
+++ b/copri4/mkaccess.sh
@@ -18,6 +18,7 @@ for i in $(find . -type d -and -name apk); do chmod -R ug+rwx $i;done
for i in $(find . -type d -and -name sql); do chmod -R go-rwx $i;done
for i in $(find . -type d -and -name src); do chmod -R go-w $i;done
+for i in $(find . -type d -and -name src); do chmod -R ug+x $i;done
for i in $(find . -type d -and -name img); do chmod -R go-w $i;done
for i in $(find . -type d -and -name apache); do chmod -R go-w $i;done
for i in $(find . -type d -and -name css); do chmod -R go-w $i;done
diff --git a/copri4/shareeapp-operator/src/Lib/Config.pm b/copri4/shareeapp-operator/src/Lib/Config.pm
old mode 100644
new mode 100755
index 2672b85..8ca8cb3
--- a/copri4/shareeapp-operator/src/Lib/Config.pm
+++ b/copri4/shareeapp-operator/src/Lib/Config.pm
@@ -67,8 +67,8 @@ sub envonline(){
pdfinvoice => "$basedir/pdfinvoice",
data => "$basedir/data",
xmlfile => "$basedir/xml",
- ftp_getfile => "ftp/SWK_codes/got_last.csv",
- ftp_putfile => "ftp/SWK_return/konrad_code_protokoll.csv",
+ Anrede => "Anrede,Frau,Herr,Firma",
+ Einheit => "Stück,Paar,Satz,Meter,Liter",
head_logo => "",
barcode => "",
printer => "PDF"
diff --git a/copri4/shareeapp-operator/src/Lib/Mlogic.pm b/copri4/shareeapp-operator/src/Lib/Mlogic.pm
old mode 100644
new mode 100755
diff --git a/copri4/shareeapp-operator/src/Tpl/AccountSubmenu.pm b/copri4/shareeapp-operator/src/Tpl/AccountSubmenu.pm
old mode 100644
new mode 100755
diff --git a/copri4/shareeapp-operator/src/Tpl/Anmelden.pm b/copri4/shareeapp-operator/src/Tpl/Anmelden.pm
old mode 100644
new mode 100755
index 389629c..5e28ac8
--- a/copri4/shareeapp-operator/src/Tpl/Anmelden.pm
+++ b/copri4/shareeapp-operator/src/Tpl/Anmelden.pm
@@ -130,11 +130,11 @@ sub tpl(){
}elsif(!$R::password_forgotten){
if($R::conflict_failure){
print $q->div({-class=>'content2',-style=>'color:#c83434'},"Registrierungsfehler!"),"\n";
- print $q->div({-class=>'content2'}, "Die Registrierung wurde abgebrochen weil bereits ein Account mit Ihrer e-Mail oder Telefonnr. existiert. Bitte kontaktieren Sie uns falls hier ein Missbrauch vorliegt. Falls Sie ein neues Passwort benötigen drücken Sie bitte:"),"\n";
- print $q->div({-style=>'margin-top:1em;'},$q->a({-class=>"", -style=>"color:#$bgcolor1;font-size:1.1em;text-decoration:underline;", -role=>"button", -href=>"$varenv->{wwwhost}/$varenv->{mandant}/Account"}, "Passwort vergessen?")),"\n";
+ print $q->div({-class=>'content2'}, "Die Registrierung wurde abgebrochen. Melden Sie sich mit ihrer E-Mail und Passwort erneut an, wenn Sie das Registrierungsformular vervollständigen oder korrigieren wollen. Falls Sie ein neues Passwort benötigen, fordern Sie diesen hier an:"),"\n";
+ print $q->div({-style=>'margin-top:1em;'},$q->a({-class=>"", -style=>"color:#$bgcolor1;font-size:1.1em;text-decoration:underline;", -role=>"button", -href=>"$varenv->{wwwhost}/$varenv->{mandant}/Account"}, "Neues Passwort anfordern")),"\n";
}
print $q->div({-class=>'content2'}, "Dein Zugang zum Lastenradmietsystem"),"\n";
- print $q->div({-style=>'color:#c83434'},"Login verweigert. ",$q->a({-class=>"", -style=>"color:gray;", -role=>"button", -href=>"$varenv->{wwwhost}/$varenv->{mandant}/Account"}, "Passwort vergessen?")),"\n" if($R::failure);
+ print $q->div({-style=>'color:#c83434'},"Login verweigert. ",$q->a({-class=>"", -style=>"color:gray;", -role=>"button", -href=>"$varenv->{wwwhost}/$varenv->{mandant}/Account"}, "Neues Passwort anfordern")),"\n" if($R::failure);
print $q->div({-style=>'color:#c83434'},"Login verweigert. "),"\n" if($R::basicauthfailure);
print $q->label({-for=>'Email'},""),"\n";
print $q->textfield(-class=>'form-control', -name=>'user_id', -value=>'', -override=>1, -type=>'email',-class=>'form-control', -id=>'Email', -placeholder=>'E-Mail Adresse', -required=>1, -autofocus=>1),"\n";
@@ -151,7 +151,7 @@ sub tpl(){
print $q->div({-style=>'margin-top:1em;'},$q->a({-class=>"btn btn-default btn-lg btn-block", -style=>"color:#$bgcolor1;", -role=>"button", -href=>"$varenv->{wwwhost}/$varenv->{mandant}/Account/$varenv->{accounting_1}"}, "Registrieren")),"\n";
print $q->div({-class=>'content2'}, "Zur Information! Falls Sie bereits einen \"konrad\" oder \"TINK\" Account besitzen, können Sie mit Ihren bestehendem Account die Nutzung beider Mietradsysteme einstellen! Einfach dazu die entsprechende AGB bestätigen."),"\n" if($varenv->{wwwhost} =~ /tink|konrad/);
- print $q->div({-style=>'margin-top:1em;'},$q->a({-class=>"", -style=>"color:#$bgcolor1;font-size:1.1em;text-decoration:underline;", -role=>"button", -href=>"$varenv->{wwwhost}/$varenv->{mandant}/Account"}, "Passwort vergessen?")),"\n";
+ print $q->div({-style=>'margin-top:1em;'},$q->a({-class=>"", -style=>"color:#$bgcolor1;font-size:1.1em;text-decoration:underline;", -role=>"button", -href=>"$varenv->{wwwhost}/$varenv->{mandant}/Account"}, "Neues Passwort anfordern")),"\n";
}
print "
\n";
diff --git a/copri4/shareeapp-operator/src/Tpl/Contact.pm b/copri4/shareeapp-operator/src/Tpl/Contact.pm
old mode 100644
new mode 100755
diff --git a/copri4/shareeapp-operator/src/Tpl/FormEdit.pm b/copri4/shareeapp-operator/src/Tpl/FormEdit.pm
old mode 100644
new mode 100755
index 52864e5..c861753
--- a/copri4/shareeapp-operator/src/Tpl/FormEdit.pm
+++ b/copri4/shareeapp-operator/src/Tpl/FormEdit.pm
@@ -68,8 +68,6 @@ sub tpl(){
}
my $bgcolor1 = "009899";#sharee
- #my $bgcolor1 = "e2001a";
-
$bgcolor1 = $dbt->{website}->{$varenv->{syshost}}->{bgcolor1} if($dbt->{website}->{$varenv->{syshost}}->{bgcolor1});
$bgcolor1 = $dbt->{merchant_ids}->{$varenv->{merchant_id}}->{bgcolor1} if($dbt->{merchant_ids}->{$varenv->{merchant_id}}->{bgcolor1});
@@ -199,7 +197,7 @@ EOF
}elsif((!$ctrel->{int04} || !$ctrel->{int13}) && ($tpl_id =~ /^2$|302004/) && ($path =~ /$varenv->{accounting_3}/)){
if(1==1){
$debug_message = "(!$ctrel->{int04} || !$ctrel->{int13}) && $tpl_id" if($debug);
- print $q->div({-class=>'content_title3',-style=>'clear:both;'}, "Fasst geschafft $debug_message"),"\n";
+ print $q->div({-class=>'content_title3',-style=>'clear:both;'}, "Fast geschafft $debug_message"),"\n";
print $q->div({-class=>'content2'}, "Es wurden Bestätigungs-Codes an Ihre e-Mail Adresse und per SMS an Ihre Telefonnr. versandt. Nach erfolgreicher Bestätigung können Sie unsere Mieträder nutzen. Bitte beachten Sie die Anweisungen."),"\n";
#}else{
#print $q->div({-class=>'content1',-style=>'padding-top:1em;clear:both;'}, "E-Mail Bestätigung"),"\n";
@@ -500,7 +498,7 @@ Weitere Personen aus Ihrem Haushalt profitieren jedoch ebenfalls, falls Sie weit
$autofocus = "autofocus";
$label_des = "\n";
diff --git a/copri4/shareedms-operator/src/Lib/Config.pm b/copri4/shareedms-operator/src/Lib/Config.pm
old mode 100644
new mode 100755
index a04a8e8..5d4b2f8
--- a/copri4/shareedms-operator/src/Lib/Config.pm
+++ b/copri4/shareedms-operator/src/Lib/Config.pm
@@ -63,8 +63,8 @@ sub envonline(){
pdf => "$basedir/pdf",
data => "$basedir/data",
xmlfile => "$basedir/xml",
- ftp_getfile => "ftp/SWK_codes/got_last.csv",
- ftp_putfile => "ftp/SWK_return/konrad_code_protokoll.csv",
+ Anrede => "Anrede,Frau,Herr,Firma",
+ Einheit => "Stück,Paar,Satz,Meter,Liter",
map_activ => "",
min_width => "1100",
head_logo => "$metahost/img/sharee_bike_Logo.jpg",
diff --git a/copri4/shareedms-operator/src/Lib/Mlogic.pm b/copri4/shareedms-operator/src/Lib/Mlogic.pm
old mode 100644
new mode 100755
diff --git a/copri4/shareeweb-project/src/Lib/Config.pm b/copri4/shareeweb-project/src/Lib/Config.pm
old mode 100644
new mode 100755
diff --git a/copri4/shareeweb-project/src/Lib/Mlogic.pm b/copri4/shareeweb-project/src/Lib/Mlogic.pm
old mode 100644
new mode 100755