-title now stored in session variable.
This commit is contained in:
parent
df675bd8c6
commit
4698e963c1
6 changed files with 63 additions and 60 deletions
|
@ -27,12 +27,10 @@ class PreferenceController extends Zend_Controller_Action
|
|||
$this->view->form = $form;
|
||||
return $this->render('index'); //render the phtml file
|
||||
}
|
||||
|
||||
$auth = Zend_Auth::getInstance();
|
||||
$id = $auth->getIdentity()->id;
|
||||
|
||||
|
||||
$values = $form->getValues();
|
||||
Application_Model_Preference::UpdateStationName($values["stationName"], $id);
|
||||
Application_Model_Preference::SetHeadTitle($values["stationName"], $this->view);
|
||||
|
||||
$this->view->form = $form;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue