[% 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 ; THEN ; item.body ; END %] [% IF item.type == 1 %] [% IF item.link %] [% IF item.align ; THEN ; class = item.alignclass ; ELSE ; class = "inline" ; END %] [% IF item.href %] [% ELSE %][% 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 comments > 0 ; THEN ; comments.size ; ELSE ; '0' ; END %] COMMENTS
[% IF user.access > 3 %]
| Edit | Delete
[% END %]
Posted by [% item.author %] on [% item.postdate %] | Edit | Delete
No Comments