Changeset 73

Show
Ignore:
Timestamp:
02/24/06 14:52:34 (3 years ago)
Author:
fabien
Message:

fixed deprecated methods

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/apps/frontend/modules/answer/actions/actions.class.php

    r38 r73  
    1515    $this->answer_pager = AnswerPeer::getRecentPager($this->getRequestParameter('page', 1)); 
    1616 
    17     $this->setTitle('askeet! » recent answers'); 
     17    $this->getResponse()->setTitle('askeet! » recent answers'); 
    1818  } 
    1919 
  • trunk/apps/frontend/modules/question/actions/actions.class.php

    r69 r73  
    2323    $this->answers = $this->question->getPopularAnswers(); 
    2424 
    25     $this->setTitle('askeet! » '.$this->question->getTitle()); 
     25    $this->getResponse()->setTitle('askeet! » '.$this->question->getTitle()); 
    2626  } 
    2727 
     
    3030    $this->question_pager = QuestionPeer::getRecentPager($this->getRequestParameter('page', 1)); 
    3131 
    32     $this->setTitle('askeet! » recent questions'); 
     32    $this->getResponse()->setTitle('askeet! » recent questions'); 
    3333  } 
    3434 
  • trunk/apps/frontend/modules/tag/actions/actions.class.php

    r69 r73  
    1515    $this->question_pager = QuestionPeer::getPopularByTag($this->getRequestParameter('tag'), $this->getRequestParameter('page', 1)); 
    1616 
    17     $this->setTitle('askeet! » question tagged '.Tag::normalize($this->getRequestParameter('tag'))); 
     17    $this->getResponse()->setTitle('askeet! » question tagged '.Tag::normalize($this->getRequestParameter('tag'))); 
    1818  } 
    1919 
     
    6969    } 
    7070  } 
    71  
     71  
    7272  public function executePopular() 
    7373  { 
    7474    $this->tags = QuestionTagPeer::getPopularTags(40); 
    7575 
    76     $this->setTitle('askeet! » popular tags'); 
     76    $this->getResponse()->setTitle('askeet! » popular tags'); 
    7777  } 
    7878} 
  • trunk/apps/frontend/modules/user/actions/actions.class.php

    r55 r73  
    8888    { 
    8989      // display the form 
    90       $this->setTitle('askeet! » sign in / register'); 
     90      $this->getResponse()->setTitle('askeet! » sign in / register'); 
    9191      $this->getRequest()->getAttributeHolder()->set('referer', $this->getRequest()->getReferer()); 
    9292