Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop
This commit is contained in:
commit
8f68247bbc
@ -86,6 +86,11 @@ abstract class CommonObject
|
|||||||
*/
|
*/
|
||||||
public $element;
|
public $element;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var int The related element
|
||||||
|
*/
|
||||||
|
public $fk_element;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var string Name to use for 'features' parameter to check module permissions user->rights->feature with restrictedArea().
|
* @var string Name to use for 'features' parameter to check module permissions user->rights->feature with restrictedArea().
|
||||||
* Undefined means same value than $element. Can be use to force a check on another element for example for class of line, we mention here the parent element.
|
* Undefined means same value than $element. Can be use to force a check on another element for example for class of line, we mention here the parent element.
|
||||||
|
|||||||
@ -5206,7 +5206,12 @@ class Form
|
|||||||
$more .= '<div class="tagtr"><div class="tagtd' . (empty($input['tdclass']) ? '' : (' ' . $input['tdclass'])) . '">' . $input['label'] . '</div>';
|
$more .= '<div class="tagtr"><div class="tagtd' . (empty($input['tdclass']) ? '' : (' ' . $input['tdclass'])) . '">' . $input['label'] . '</div>';
|
||||||
$more .= '<div class="tagtd">';
|
$more .= '<div class="tagtd">';
|
||||||
$addnowlink = (empty($input['datenow']) ? 0 : 1);
|
$addnowlink = (empty($input['datenow']) ? 0 : 1);
|
||||||
$more .= $this->selectDate($input['value'], $input['name'], ($input['type'] == 'datetime' ? 1 : 0), ($input['type'] == 'datetime' ? 1 : 0), 0, '', 1, $addnowlink);
|
$h = $m = 0;
|
||||||
|
if ($input['type'] == 'datetime') {
|
||||||
|
$h = isset($input['hours']) ? $input['hours'] : 1;
|
||||||
|
$m = isset($input['minutes']) ? $input['minutes'] : 1;
|
||||||
|
}
|
||||||
|
$more .= $this->selectDate($input['value'], $input['name'], $h, $m, 0, '', 1, $addnowlink);
|
||||||
$more .= '</div></div>'."\n";
|
$more .= '</div></div>'."\n";
|
||||||
$formquestion[] = array('name'=>$input['name'].'day');
|
$formquestion[] = array('name'=>$input['name'].'day');
|
||||||
$formquestion[] = array('name'=>$input['name'].'month');
|
$formquestion[] = array('name'=>$input['name'].'month');
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user