@@ -46,14 +46,14 @@ discard block |
||
46 | 46 | return ' |
47 | 47 | <div class="input-group"> |
48 | 48 | <span class="input-group-addon cursor-pointer"> |
49 | - <input ' . $this->_getAttrString($this->_attributes) . '> |
|
49 | + <input ' . $this->_getAttrString($this->_attributes).'> |
|
50 | 50 | </span> |
51 | - <p class="form-control disabled" id="' . $id . '_alt_text">' . $value . '</p> |
|
52 | - <input class="form-control" type="hidden" id="' . $id . '_alt" value="' . $value . '"> |
|
51 | + <p class="form-control disabled" id="' . $id.'_alt_text">'.$value.'</p> |
|
52 | + <input class="form-control" type="hidden" id="' . $id.'_alt" value="'.$value.'"> |
|
53 | 53 | <span class="input-group-btn"> |
54 | 54 | <button class="btn btn-default" type="button"> |
55 | 55 | <span class="fa fa-times text-danger" aria-hidden="true"></span> |
56 | - <span class="sr-only">' . get_lang('Reset') . '</span> |
|
56 | + <span class="sr-only">' . get_lang('Reset').'</span> |
|
57 | 57 | </button> |
58 | 58 | </span> |
59 | 59 | </div> |
@@ -92,14 +92,14 @@ discard block |
||
92 | 92 | txtDate |
93 | 93 | .hide() |
94 | 94 | .datepicker({ |
95 | - defaultDate: '" . $this->getValue() . "', |
|
95 | + defaultDate: '".$this->getValue()."', |
|
96 | 96 | dateFormat: 'yy-mm-dd', |
97 | 97 | altField: '#{$id}_alt', |
98 | - altFormat: \"" . get_lang('DateFormatLongNoDayJS') . "\", |
|
98 | + altFormat: \"".get_lang('DateFormatLongNoDayJS')."\", |
|
99 | 99 | showOn: 'both', |
100 | - buttonImage: '" . Display::return_icon('attendance.png', null, [], ICON_SIZE_TINY, true, true) . "', |
|
100 | + buttonImage: '" . Display::return_icon('attendance.png', null, [], ICON_SIZE_TINY, true, true)."', |
|
101 | 101 | buttonImageOnly: true, |
102 | - buttonText: '" . get_lang('SelectDate') . "', |
|
102 | + buttonText: '" . get_lang('SelectDate')."', |
|
103 | 103 | changeMonth: true, |
104 | 104 | changeYear: true, |
105 | 105 | yearRange: 'c-60y:c+5y' |
@@ -39,14 +39,14 @@ discard block |
||
39 | 39 | return ' |
40 | 40 | <div class="input-group"> |
41 | 41 | <span class="input-group-addon cursor-pointer"> |
42 | - <input ' . $this->_getAttrString($this->_attributes) . '> |
|
42 | + <input ' . $this->_getAttrString($this->_attributes).'> |
|
43 | 43 | </span> |
44 | - <p class="form-control disabled" id="' . $id . '_alt_text">' . $value . '</p> |
|
45 | - <input class="form-control" type="hidden" id="' . $id . '_alt" value="' . $value . '"> |
|
44 | + <p class="form-control disabled" id="' . $id.'_alt_text">'.$value.'</p> |
|
45 | + <input class="form-control" type="hidden" id="' . $id.'_alt" value="'.$value.'"> |
|
46 | 46 | <span class="input-group-btn"> |
47 | 47 | <button class="btn btn-default" type="button"> |
48 | 48 | <span class="fa fa-times text-danger" aria-hidden="true"></span> |
49 | - <span class="sr-only">' . get_lang('Reset') . '</span> |
|
49 | + <span class="sr-only">' . get_lang('Reset').'</span> |
|
50 | 50 | </button> |
51 | 51 | </span> |
52 | 52 | </div> |
@@ -85,18 +85,18 @@ discard block |
||
85 | 85 | txtDateTime |
86 | 86 | .hide() |
87 | 87 | .datetimepicker({ |
88 | - defaultDate: '" . $this->getValue() . "', |
|
88 | + defaultDate: '".$this->getValue()."', |
|
89 | 89 | dateFormat: 'yy-mm-dd', |
90 | 90 | timeFormat: 'HH:mm', |
91 | 91 | altField: '#{$id}_alt', |
92 | - altFormat: \"" . get_lang('DateFormatLongNoDayJS') . "\", |
|
93 | - altTimeFormat: \"" . get_lang('TimeFormatNoSecJS') . "\", |
|
94 | - altSeparator: \" " . get_lang('AtTime') . " \", |
|
92 | + altFormat: \"".get_lang('DateFormatLongNoDayJS')."\", |
|
93 | + altTimeFormat: \"" . get_lang('TimeFormatNoSecJS')."\", |
|
94 | + altSeparator: \" " . get_lang('AtTime')." \", |
|
95 | 95 | altFieldTimeOnly: false, |
96 | 96 | showOn: 'both', |
97 | - buttonImage: '" . Display::return_icon('attendance.png', null, [], ICON_SIZE_TINY, true, true) . "', |
|
97 | + buttonImage: '" . Display::return_icon('attendance.png', null, [], ICON_SIZE_TINY, true, true)."', |
|
98 | 98 | buttonImageOnly: true, |
99 | - buttonText: '" . get_lang('SelectDate') . "', |
|
99 | + buttonText: '" . get_lang('SelectDate')."', |
|
100 | 100 | changeMonth: true, |
101 | 101 | changeYear: true |
102 | 102 | }) |