|
Lines 265-280
Link Here
|
| 265 |
<label for="from">Publication date: </label> |
265 |
<label for="from">Publication date: </label> |
| 266 |
<input id="from" type="text" name="published_on" size="15" value="[% additional_content.published_on | html %]" class="flatpickr" data-date_to="to" /> |
266 |
<input id="from" type="text" name="published_on" size="15" value="[% additional_content.published_on | html %]" class="flatpickr" data-date_to="to" /> |
| 267 |
<div class="hint">[% INCLUDE 'date-format.inc' %]</div> |
267 |
<div class="hint">[% INCLUDE 'date-format.inc' %]</div> |
|
|
268 |
[% IF ( category == 'news' ) %] |
| 269 |
<div class="hint"> |
| 270 |
News without a publication date will not display |
| 271 |
</div> |
| 272 |
[% END %] |
| 268 |
</li> |
273 |
</li> |
| 269 |
<li> |
274 |
<li> |
| 270 |
<label for="to">Expiration date: </label> |
275 |
<label for="to">Expiration date: </label> |
| 271 |
<input id="to" type="text" name="expirationdate" size="15" value="[% additional_content.expirationdate | html %]" class="flatpickr" /> |
276 |
<input id="to" type="text" name="expirationdate" size="15" value="[% additional_content.expirationdate | html %]" class="flatpickr" /> |
| 272 |
<div class="hint"> |
277 |
<div class="hint"> |
| 273 |
[% INCLUDE 'date-format.inc' %] |
278 |
[% INCLUDE 'date-format.inc' %] |
| 274 |
[% IF category == 'news' %] |
|
|
| 275 |
<br>News will still be accessible by direct URL if expired. |
| 276 |
[% END %] |
| 277 |
</div> |
279 |
</div> |
|
|
280 |
[% IF category == 'news' %] |
| 281 |
<div class="hint"> |
| 282 |
News will still be accessible by direct URL if expired. |
| 283 |
</div> |
| 284 |
[% END %] |
| 278 |
</li> |
285 |
</li> |
| 279 |
[% UNLESS category == 'pages' %] |
286 |
[% UNLESS category == 'pages' %] |
| 280 |
<li> |
287 |
<li> |
| 281 |
- |
|
|