Skip to content

Commit

Permalink
Update inspectionform.php
Browse files Browse the repository at this point in the history
  • Loading branch information
pavlosb committed Mar 11, 2024
1 parent 40af6c2 commit 9ccefc5
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion application/views/inspectionform.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
<?php if (isset($user_lang) && $user_lang == "greek") {
<?php
$inspremark ="";
if (isset($user_lang) && $user_lang == "greek") {
$langprefix ="";
if (isset($inspection->rmrk_inspection) && $inspection->rmrk_inspection != "n/a") {
$inspremark = $inspection->rmrk_inspection;
}
} else {
$langprefix ="en_";
if (isset($inspection->en_rmrk_inspection) && $inspection->en_rmrk_inspection != "n/a") {
$inspremark = $inspection->en_rmrk_inspection;
}
}
$prcp = 0;
$mainsect = $langprefix."mainsect";
Expand Down

0 comments on commit 9ccefc5

Please sign in to comment.