Enhanced to create a modified reason.

This commit is contained in:
BJRambo 2016-03-01 17:19:23 +09:00
parent 2a824e150c
commit d38a4fd987
7 changed files with 66 additions and 1 deletions

View file

@ -1162,6 +1162,21 @@ class boardView extends board
$this->setTemplateFile('update_list');
}
function dispBoardUpdateLogView()
{
$oDocumentModel = getModel('document');
$update_id = Context::get('update_id');
if($this->grant->update_view !== true)
{
return new Object(-1, 'msg_not_permitted');
}
$update_log = $oDocumentModel->getUpdateLog($update_id);
Context::set('update_log', $update_log);
$this->setTemplateFile('update_view');
}
/**
* @brief the method for displaying the warning messages
* display an error message if it has not a special design