9 $record =&
$app->getRecord();
13 $history_tablename = $record->_table->tablename.
'__history';
17 import(
'Dataface/HistoryTool.php');
19 $history_log = $history_tool->getHistoryLog($record);
20 $context[
'log'] =& $history_log;
26 $keys = array_keys($record->_table->keys());
28 foreach (
$keys as $key){
29 $qstr[] = urlencode(
'--__keys__['.$key.
']').
'='.urlencode($record->strval($key));
31 $context[
'current_record_qstr'] = implode(
'&',$qstr);
34 df_display($context,
'Dataface_RecordHistory.html');