[% IF article.data.articleid ; THEN ; editmode = 'Edit' ; ELSE ; editmode = 'Add' ; END ; title = editmode _ ' Diary' ; crumb2_name = 'Diary' ; crumb2_href = '/cgi-bin/pages.cgi?act=diary-admin' ; crumb1_name = editmode ; %] [% INCLUDE "public/tinymce.html" %] [% IF thanks %]
Diary entry saved successfully.
[% END %]Fields marked * are mandatory fields and must be completed.
[% IF errmess %]There are invalid or missing fields, as noted by the ∅ symbol.
[% IF errmess == 2 %]Please note that the title must be unqiue.
[% END %] [% END %] [% IF editmode == 'Edit' %]Posted on [% preview.data.postdate %]
[% FOREACH item = preview.body %] [% IF item.type == 2 %][% item.tag %]
[% END %]
[% IF preview.meta %]
File Under:
[% count = 0 %]
[% FOREACH meta = preview.meta %]
[% IF count > 0 %]/[% END %]
[% meta %]
[% count = count + 1 %]
[% END %]
[% END %]
[% IF article.data.comments > 0 ; THEN ; article.data.comments ; ELSE ; '0' ; END %] COMMENTS
[% IF user.access > 3 %]
| Edit | Delete
[% END %]
Posted by [% item.author %] on [% item.postdate %] | Edit | Delete