mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-06 15:14:58 +00:00
use date chooser
This commit is contained in:
parent
09f35e33e6
commit
2c101da222
|
@ -236,6 +236,7 @@ div.timeline-event-selected {
|
|||
?>
|
||||
<form action="../out/out.Timeline.php" class="form form-inline" name="form1" id="form1">
|
||||
<?php
|
||||
/*
|
||||
$html = '
|
||||
<span class="input-append date" style="display: inline;" id="fromdate" data-date="'.date('Y-m-d', $from).'" data-date-format="yyyy-mm-dd" data-date-language="'.str_replace('_', '-', $this->params['session']->getLanguage()).'">
|
||||
<input type="text" class="input-small" name="fromdate" value="'.date('Y-m-d', $from).'"/>
|
||||
|
@ -249,6 +250,15 @@ div.timeline-event-selected {
|
|||
getMLText("date"),
|
||||
$html
|
||||
);
|
||||
*/
|
||||
$this->formField(
|
||||
getMLText("from"),
|
||||
$this->getDateChooser(date('Y-m-d', $from), 'fromdate', $this->params['session']->getLanguage())
|
||||
);
|
||||
$this->formField(
|
||||
getMLText("to"),
|
||||
$this->getDateChooser(date('Y-m-d', $to), 'todate', $this->params['session']->getLanguage())
|
||||
);
|
||||
$html = '
|
||||
<input type="checkbox" name="skip[]" value="add_file" '.(($skip && in_array('add_file', $skip)) ? 'checked' : '').'> '.getMLText('timeline_skip_add_file').'<br />
|
||||
<input type="checkbox" name="skip[]" value="status_change_0" '.(($skip && in_array('status_change_0', $skip)) ? 'checked' : '').'> '.getMLText('timeline_skip_status_change_0').'<br />
|
||||
|
|
Loading…
Reference in New Issue
Block a user