[% 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 article.blocks %] [% FOREACH item = article.body %] [% IF item %] [% IF item.type == 1 %] [% END %] [% IF item.type == 2 %] [% END %] [% IF item.type == 3 %] [% END %] [% END %] [% END %] [% ELSE %] [% END %]
Title * [% article.data.title_err %]
Status * [% article.data.publish_err %] [% article.data.ddpublish %]
Disable Comments [% article.data.latest_err %]
Metadata [% article.data.metadata_err %]
[% FOREACH tag = metatags %][% tag %] [% END %]
[% IF item %] [% END %]
[% item.orderno %] : Image [% item.error %] [% IF item.link %] [% item.tag %]
[% ELSE %]
[% END %]
[ Select from Gallery ]
Align:[% item.ddalign %]
HyperLink:
Tag:
Width:
Height:

Please note that when initially selecting images from the Photo Gallery, the loaded image wlll be the current raw size. Once the page is saved the image will be resized to the appropriate dimensions. In the width and height boxes, you may leave these blank or set to 0 to use the default settings (max 400x400 pixels).

[% item.orderno %] : Text [% item.error %]
[% item.orderno %] : Link [% item.error %]
[ Move block up | Move block down | Delete block ]
No content yet!

[ Add an image | Add a text block ]

[% IF editmode == 'Edit' %]

Preview

[% preview.data.title %]

Posted on [% preview.data.postdate %]

[% FOREACH item = preview.body %] [% IF item.type == 2 %]
[% item.body %]
[% END %] [% IF item.type == 1 %] [% IF item.link %] [% IF item.align %][% class = item.align %][% ELSE %][% class = "inline" %][% END %] [% IF item.href %]
[% item.tag %] [% IF item.tag %]

[% item.tag %]

[% END %]
[% ELSE %]
[% item.tag %]
[% END %] [% END %] [% END %] [% IF item.type == 3 %]
[% item.body %]
[% END %] [% 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 %]

[% IF article.data.comments %]

Comments

[% FOREACH item = comments %] [% IF item.subject %]

[% item.subject %]

[% END %] [% item.body %]

Posted by [% item.author %] on [% item.postdate %] | Edit | Delete


[% END %] [% END %] [% END %]