92 $loadView=
function($vn,$v){$this->jquery->renderView($vn,$v);};
94 $loadView=
function($vn,$v) {$this->loadView($vn, $v);};
96 if($this->hasAccountRecovery()){
97 $vars[
'resetPassword']=$this->getAccountRecoveryLink();
99 $files = $this->_getFiles ();
100 $mainTemplate = $files->getBaseTemplate ();
101 if (isset ( $mainTemplate )) {
102 $vars [
'_viewname'] = $viewName;
103 $vars [
'_base'] = $mainTemplate;
104 $loadView ( $files->getViewBaseTemplate (), $vars );
106 $loadView ( $viewName, $vars );
126 if($this->hasAccountCreation()){
128 $fMessage =
new FlashMessage (
"<p>You can create one now!</p><a href='{createAccountUrl}' class='ui button black ajax _create' data-target='{accountCreationTarget}'>Create account</a>",
"Don't have an account yet?",
"",
"question" );
129 $this->canCreateAccountMessage ( $fMessage->parseContent([
'accountCreationTarget'=>$this->_getBodySelector(),
'createAccountUrl'=>$this->getBaseUrl().
'/addAccount']) );
130 $vData[
'canCreateAccountMessage'] = $this->fMessage ( $fMessage );
132 $vData[
'createAccountUrl']=$this->getBaseUrl().
'/addAccount';
133 $vData[
'accountCreationTarget']=$this->_getBodySelector();