application/selector/templates/.htaccess -text
application/selector/templates/de/.htaccess -text
application/selector/templates/de/code/.htaccess -text
+application/selector/templates/de/code/emergency_exit.ctp -text
+application/selector/templates/de/code/footer_msg.ctp -text
application/selector/templates/de/code/selector_apps.ctp -text
application/selector/templates/de/code/selector_main.ctp -text
application/ship-simu/.htaccess -text
application/ship-simu/templates/de/code/block_persona_data.ctp -text
application/ship-simu/templates/de/code/captch_graphic_code.ctp -text
application/ship-simu/templates/de/code/confirm_link.ctp -text
+application/ship-simu/templates/de/code/emergency_exit.ctp -text
application/ship-simu/templates/de/code/footer.ctp -text
+application/ship-simu/templates/de/code/footer_msg.ctp -text
application/ship-simu/templates/de/code/header.ctp -text
application/ship-simu/templates/de/code/home.ctp -text
application/ship-simu/templates/de/code/login_failed.ctp -text
--- /dev/null
+{?header:title="Problem in application framework detected!"?}
+
+<div id="emergency_message">
+ $content[message]
+</div>
+
+<div id="emergency_backtrace">
+ <div id="backtrace_header">
+ File inclusion backtrace:
+ </div>
+ <div id="backtrace_content">
+ $content[backtrace]
+ </div>
+</div>
+
+<div id="stats_box">
+ <div id="stats_header">
+ Statistics
+ </div>
+ <div id="stats_objects">
+ Total objects: $content[total_objects]
+ </div>
+ <div id="stats_includes">
+ Loaded class files: $content[total_includes]
+ <span class="hint">(Including exception and interfaces.)</span>
+ </div>
+</div>
+
+{?footer_msg:footer_msg="Please contact the support and supply the full above message, if you think you are not qualified to fix this problem."?}
--- /dev/null
+ <div id="footer_message">
+ $content[footer_msg]
+ </div>
+
+</div> <!-- masterbox //-->
+
+</body>
+</html>
// CFG: REFILL-REQUEST-CURRENCY-PAYMENT-TYPE
$cfg->setConfigEntry('refill_request_currency_payment_type', "test");
+// CFG: LOGIN-REGISTER-LOGIN-FORM
+$cfg->setConfigEntry('login_register_login_form', "index.php?app={?app_short_name?}&page=register");
+
// [EOF]
?>
throw new MissingMethodException(array($this, $method), self::EXCEPTION_MISSING_METHOD);
}
- // Get a instance of the registry
- $userInstance = Registry::getRegistry()->getInstance('user');
+ // Get a user instance
+ $userInstance = call_user_func_array(array($this->getConfigInstance()->readConfig('guest_class'), $method), array($data));
- // Is there an instance?
- if (is_null($userInstance)) {
- // Get a user instance
- $userInstance = call_user_func_array(array($this->getConfigInstance()->readConfig('guest_class'), $method), array($data));
-
- // Remember this new instance in registry
- Registry::getRegistry()->addInstance($userInstance);
- } // END - if
+ // Remember this new instance in registry
+ Registry::getRegistry()->addInstance('user', $userInstance);
// Is the password correct?
if ($userInstance->ifPasswordHashMatches($requestInstance) === false) {
$method = null;
$data = "";
- // Get a instance of the registry
- $userInstance = Registry::getRegistry()->getInstance('user');
+ // Get member class
+ $userClass = $this->getConfigInstance()->readConfig('user_class');
- // Is there an instance?
- if (is_null($userInstance)) {
- // Get member class
- $userClass = $this->getConfigInstance()->readConfig('user_class');
+ // Get a user instance
+ $userInstance = call_user_func_array(array($userClass, 'createMemberByRequest'), array($requestInstance));
- // Get a user instance
- $userInstance = call_user_func_array(array($userClass, 'createMemberByRequest'), array($requestInstance));
-
- // Remember this new instance in registry
- Registry::getRegistry()->addInstance($userInstance);
- } // END - if
+ // Remember this new instance in registry
+ Registry::getRegistry()->addInstance('user', $userInstance);
// Is the password correct?
if ($userInstance->ifPasswordHashMatches($requestInstance) === false) {
// Mismatching password
+ $userInstance->debugInstance();
throw new UserPasswordMismatchException(array($this, $userInstance), BaseUser::EXCEPTION_USER_PASS_MISMATCH);
} // END - if
--- /dev/null
+{?header:title="Problem in application framework detected!"?}
+
+<div id="emergency_message">
+ $content[message]
+</div>
+
+<div id="emergency_backtrace">
+ <div id="backtrace_header">
+ File inclusion backtrace:
+ </div>
+ <div id="backtrace_content">
+ $content[backtrace]
+ </div>
+</div>
+
+<div id="stats_box">
+ <div id="stats_header">
+ Statistics
+ </div>
+ <div id="stats_objects">
+ Total objects: $content[total_objects]
+ </div>
+ <div id="stats_includes">
+ Loaded class files: $content[total_includes]
+ <span class="hint">(Including exception and interfaces.)</span>
+ </div>
+</div>
+
+{?footer_msg:footer_msg="Please contact the support and supply the full above message, if you think you are not qualified to fix this problem."?}
--- /dev/null
+ <div id="footer_message">
+ $content[footer_msg]
+ </div>
+
+</div> <!-- masterbox //-->
+
+</body>
+</html>
}
// Get helper instance
-$helperInstance = ObjectFactory::createObjectByConfiguredName('web_link_helper', array($this, 'register_login_form', 'index.php?app={?app_short_name?}&page=register'));
+$helperInstance = ObjectFactory::createObjectByConfiguredName('web_link_helper', array($this, 'register_login_form'));
// Set link text
$helperInstance->addLinkWithTextById('register_login');
{?nav_advert?}
</div>
+<div id="language">
+ {?language_selector?}
+</div>
+
<div id="main_content">
{?content?}
</div>