* Add saveSuccess to common lang files.

This commit is contained in:
liugang
2018-04-17 15:53:36 +08:00
parent b0e3ad7b52
commit e522b82a7e
23 changed files with 36 additions and 37 deletions
+2 -2
View File
@@ -49,7 +49,7 @@ class entry extends control
if(dao::isError()) $this->send(array('result' => 'fail', 'message' => dao::getError()));
$this->loadModel('action')->create('entry', $id, 'created');
$this->send(array('result' => 'success', 'message' => $this->lang->entry->saveSuccess, 'locate' => inlink('browse')));
$this->send(array('result' => 'success', 'message' => $this->lang->saveSuccess, 'locate' => inlink('browse')));
}
$this->view->title = $this->lang->entry->api . $this->lang->colon . $this->lang->entry->create;
@@ -78,7 +78,7 @@ class entry extends control
$actionID = $this->loadModel('action')->create('entry', $id, 'edited');
$this->action->logHistory($actionID, $changes);
}
$this->send(array('result' => 'success', 'message' => $this->lang->entry->saveSuccess, 'locate' => inlink('browse')));
$this->send(array('result' => 'success', 'message' => $this->lang->saveSuccess, 'locate' => inlink('browse')));
}
$entry = $this->entry->getById($id);