public function actionIndex()
 {
     $taxModel = LbTax::model()->getTaxes();
     $list = UserList::model()->getList();
     $translate = Translate::model()->search();
     $translate = new Translate('search');
     $translate->unsetAttributes();
     // clear any default values
     if (isset($_GET['Translate'])) {
         $translate->attributes = $_GET['Translate'];
     }
     LBApplication::render($this, 'index', array('taxModel' => $taxModel, 'list' => $list, 'translate' => $translate));
 }
 /**
  * Manages all models.
  */
 public function actionAdmin()
 {
     $model = new Translate('search');
     $model->unsetAttributes();
     // clear any default values
     if (isset($_GET['Translate'])) {
         $model->attributes = $_GET['Translate'];
     }
     $this->render('admin', array('model' => $model));
 }