mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +00:00
support one page mode on TimeLine page
This commit is contained in:
parent
061ab4509b
commit
7fcc100ae7
|
@ -57,7 +57,7 @@ if($view) {
|
|||
$view->setParam('dms', $dms);
|
||||
$view->setParam('user', $user);
|
||||
$view->setParam('accessobject', $accessop);
|
||||
$view->setParam('onepage', false); // do most navigation by reloading areas of pages with ajax
|
||||
$view->setParam('onepage', $settings->_onePageMode); // do most navigation by reloading areas of pages with ajax
|
||||
$view->setParam('showtree', showtree());
|
||||
$view->setParam('fromdate', isset($_GET['fromdate']) ? $_GET['fromdate'] : '');
|
||||
$view->setParam('todate', isset($_GET['todate']) ? $_GET['todate'] : '');
|
||||
|
|
|
@ -162,6 +162,7 @@ $(document).ready(function () {
|
|||
$this->printDeleteDocumentButtonJs();
|
||||
$timelineurl = 'out.Timeline.php?action=data&fromdate='.date('Y-m-d', $from).'&todate='.date('Y-m-d', $to).'&skip='.urldecode(http_build_query(array('skip'=>$skip)));
|
||||
$this->printTimelineJs($timelineurl, 550, ''/*date('Y-m-d', $from)*/, ''/*date('Y-m-d', $to+1)*/, $skip);
|
||||
$this->printClickDocumentJs();
|
||||
} /* }}} */
|
||||
|
||||
function css() { /* {{{ */
|
||||
|
|
Loading…
Reference in New Issue
Block a user