Lines 180-186
Link Here
|
180 |
|
180 |
|
181 |
[% BLOCK add_form %] |
181 |
[% BLOCK add_form %] |
182 |
[% IF additional_content %] |
182 |
[% IF additional_content %] |
183 |
<h1>Modify an additional content</h1> |
183 |
<h1>Modify additional content</h1> |
184 |
[% ELSE %] |
184 |
[% ELSE %] |
185 |
<h1>New additional content ([% IF category == 'news' %]News[% ELSIF category == 'pages' %]Pages[% ELSE %]HTML customizations[% END %])</h1> |
185 |
<h1>New additional content ([% IF category == 'news' %]News[% ELSIF category == 'pages' %]Pages[% ELSE %]HTML customizations[% END %])</h1> |
186 |
[% END %] |
186 |
[% END %] |
Lines 245-260
Link Here
|
245 |
<label for="from">Publication date: </label> |
245 |
<label for="from">Publication date: </label> |
246 |
<input id="from" type="text" name="published_on" size="15" value="[% additional_content.published_on | html %]" class="flatpickr" data-date_to="to" /> |
246 |
<input id="from" type="text" name="published_on" size="15" value="[% additional_content.published_on | html %]" class="flatpickr" data-date_to="to" /> |
247 |
<div class="hint">[% INCLUDE 'date-format.inc' %]</div> |
247 |
<div class="hint">[% INCLUDE 'date-format.inc' %]</div> |
|
|
248 |
[% IF ( category == 'news' ) %] |
249 |
<div class="hint"> |
250 |
News without a publication date will not display |
251 |
</div> |
252 |
[% END %] |
248 |
</li> |
253 |
</li> |
249 |
<li> |
254 |
<li> |
250 |
<label for="to">Expiration date: </label> |
255 |
<label for="to">Expiration date: </label> |
251 |
<input id="to" type="text" name="expirationdate" size="15" value="[% additional_content.expirationdate | html %]" class="flatpickr" /> |
256 |
<input id="to" type="text" name="expirationdate" size="15" value="[% additional_content.expirationdate | html %]" class="flatpickr" /> |
252 |
<div class="hint"> |
257 |
<div class="hint"> |
253 |
[% INCLUDE 'date-format.inc' %] |
258 |
[% INCLUDE 'date-format.inc' %] |
254 |
[% IF category == 'news' %] |
|
|
255 |
<br>News will still be accessible by direct URL if expired. |
256 |
[% END %] |
257 |
</div> |
259 |
</div> |
|
|
260 |
[% IF category == 'news' %] |
261 |
<div class="hint"> |
262 |
News will still be accessible by direct URL if expired. |
263 |
</div> |
264 |
[% END %] |
258 |
</li> |
265 |
</li> |
259 |
<li> |
266 |
<li> |
260 |
<label for="number">Appear in position: </label> |
267 |
<label for="number">Appear in position: </label> |
261 |
- |
|
|