*
* @author Roland Haeder <webmaster@shipsimu.org>
* @version 0.0.0
- * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2013 Core Developer Team
+ * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2015 Core Developer Team
* @license GNU GPL 3.0 or any newer version
* @link http://www.shipsimu.org
*
$templateInstance->loadCodeTemplate('captch_graphic_code');
// Rename variable
- $templateInstance->renameVariable('captcha_code', $helperInstance->getFormName().'_captcha');
- $templateInstance->renameVariable('captcha_hash', $helperInstance->getFormName().'_hash');
- $templateInstance->renameVariable('encrypted_code', $helperInstance->getFormName().'_encrypt');
+ $templateInstance->renameVariable('captcha_code', $helperInstance->getFormName() . '_captcha');
+ $templateInstance->renameVariable('captcha_hash', $helperInstance->getFormName() . '_hash');
+ $templateInstance->renameVariable('encrypted_code', $helperInstance->getFormName() . '_encrypt');
// Assign variables
- $templateInstance->assignVariable($helperInstance->getFormName().'_encrypt', urlencode(base64_encode($this->encryptedString)));
- $templateInstance->assignVariable($helperInstance->getFormName().'_hash', $this->hashedString);
+ $templateInstance->assignVariable($helperInstance->getFormName() . '_encrypt', urlencode(base64_encode($this->encryptedString)));
+ $templateInstance->assignVariable($helperInstance->getFormName() . '_hash', $this->hashedString);
// Compile the template
$templateInstance->compileTemplate();