X-Git-Url: https://git.mxchange.org/?p=shipsimu.git;a=blobdiff_plain;f=application%2Fship-simu%2Ftemplates%2Fde%2Fcode%2Faction_login_company.ctp;h=937cd448750d4da2b9962c7315158e52156d9ee1;hp=7eacc4b6d415421cacebb9d70147b5592ca08b5a;hb=968aa514d2df8ed98dab8ff251ee83c95f1ac182;hpb=6d07e4756efdebbb5d1df9ce2e6784dd5536eeb2 diff --git a/application/ship-simu/templates/de/code/action_login_company.ctp b/application/ship-simu/templates/de/code/action_login_company.ctp index 7eacc4b..937cd44 100644 --- a/application/ship-simu/templates/de/code/action_login_company.ctp +++ b/application/ship-simu/templates/de/code/action_login_company.ctp @@ -8,9 +8,9 @@ $linkInstance->prefetchValueInstance('user'); // Maximum of allowed companies reached? if ($linkInstance->getValueInstance()->ifUserCreatedMaximumAllowedCompanies()) { // No more companies allowed to create -} elseif ($linkInstance->getValueInstance()->ifUserPointsEnough('found_new_company')) { +} elseif ($linkInstance->getValueInstance()->ifUserHasRequiredPoints('found_new_company')) { // Enough money to found company -} elseif ($linkInstance->getValueInstance()->ifUserPointsEnough('write_applications')) { +} elseif ($linkInstance->getValueInstance()->ifUserHasRequiredPoints('write_applications')) { // Enough money to write applications to other companies } elseif ($linkInstance->getValueInstance()->ifGovermentPaysStartupHelp()) { // Display link to goverment for startup help @@ -24,7 +24,7 @@ if ($linkInstance->getValueInstance()->ifUserAllowTakeCreditsFromMoneyBank()) { // Money bank is closed! } -if ($linkInstance->getValueInstance()->ifRefillPageActive()) { +if ($linkInstance->ifRefillPageActive()) { // Display link to refill page } else { // Refill page not active