f4254a6360
moved historyview.skin from hopobject to story
2002-08-09 16:53:12 +00:00
16632edb72
replaced all occurrences of "this" with the name of the corresponding prototype
2002-08-09 15:45:59 +00:00
Robert Gaggl
765058116c
changed discussions_macro(): now this macro renders a checkbox plus a hidden input. this is needed to be able to check if the checkbox was embedded in story/edit.skin or not).
2002-08-09 11:53:32 +00:00
Robert Gaggl
b279adab3a
changed checking if comments should be enabled or not
2002-08-09 11:51:24 +00:00
Robert Gaggl
2fb2d49f28
corrected message-name (before the appropriate message wasn't found)
2002-08-09 11:44:05 +00:00
5d52401789
commented out two lines in content_macro() to prevent titles from not being displayed (we can be sure that the story will be transformed into the new model, anyway)
2002-08-01 20:00:53 +00:00
86e07fdb41
removed brackets from prefix/suffix parameters in online and commentcounter macros to guarantee that they always will be displayed (otherwise the closing bracket is missing if comments are disabled for a story)
2002-07-31 09:55:16 +00:00
e8949c7029
setting this.discussions to 1 by default (ie. if number cannot be parsed) in function evalStory().
...
otherwise weblogs with custom skins suddenly get their comment features disabled.
2002-07-29 16:16:52 +00:00
aeb6e84173
modified commentcounter_macro() again. added "as" parameter.
...
if set to "link" *every* amount of comments will be displayed as link.
if set to "text" only the amount of comments is displayed.
without param.as a link is displayed only if the amount is > 0.
2002-07-29 16:00:47 +00:00
6ac428114e
modified commentcounter_macro() to display nothing for a zero set of comments except param.no is not null
2002-07-29 15:29:27 +00:00
fc4b22ebf2
fixed bug in commentcounter_macro() that caused invalid markup to be output
2002-07-29 13:04:45 +00:00
efabd4ac2c
extended topic_macro() to display the topic as link, image (if available) or plain text.
2002-07-26 17:09:40 +00:00
f692940b3a
now autotitles work also in (1+n)-th level comments
2002-07-26 13:32:22 +00:00
824dde41f8
fixed a bug that prevented titles from being saved in content_macro()
2002-07-26 13:21:50 +00:00
b817e8ae0a
result of merge with helmaville
2002-07-26 12:55:35 +00:00
967351bd49
allowed shortcut and storylist macros in sandbox / function allowTextMacros()
2002-07-26 12:54:59 +00:00
427abe44dd
added first trial to output a title like "Re: title of previous posting" to a new posting
2002-07-26 12:44:25 +00:00
63958a9023
added clipping argument to renderTextPreview (result or merge with helmaville)
2002-07-26 12:39:31 +00:00
Hannes Wallnöfer
66d673087a
added as="image" option to content macro to interpret a content part
...
as image name and render the image.
2002-07-19 14:58:59 +00:00
Robert Gaggl
132b0de808
- added function hasDiscussions()
...
- removed format() at end of getRenderedContentPart(): this is now done right before it's rendered because it lead to some problems in site-historylist (when <wbr>-tags were inserted in the middle of an html-entity)
2002-07-19 08:54:40 +00:00
Robert Gaggl
eadb6a14ff
now using commentlink-macro instead of standard link (the commentlink disappears if discussions are disabled for a story)
2002-07-19 08:52:19 +00:00
Robert Gaggl
ba7ab29e93
added property discussions (mapped to TEXT_HASDISCUSSIONS)
2002-07-19 08:51:26 +00:00
Robert Gaggl
c59f3bf501
isPostDenied() now checks if comments are disabled for a story
2002-07-19 08:51:00 +00:00
Robert Gaggl
d74c8d40fd
added checkbox for enabling/disabling forum beneath the story (default value depends on what is defined in site-preferences)
2002-07-19 08:50:23 +00:00
Robert Gaggl
2f111390b5
now using commentlink instead of standard link-macro (the commentlink disappears if comments are disabled for a story)
2002-07-19 08:49:22 +00:00
Robert Gaggl
e9d8297de7
- reinvoked commentlink_macro(): it's only rendering a link if comments are enabled for this story
...
- changed commentcounter_macro() and comments_macro() too: they also check if discussions are enabled for a story
2002-07-19 08:48:22 +00:00
Robert Gaggl
819624d1a2
changed getRenderedContentPart() so that format() is done at the end before returning the string. this should reenable the wiki-functionality (before a wiki-style tag was encoded and therefore not found by doWikiStuff-function) and solve the problem that a macro-tag like <%story (mind the missing space between % and "story") would be encoded too (see http://helma.org/bugs/show_bug.cgi?id=98 )
2002-07-14 15:10:56 +00:00
f3f623901f
modified setting of res.data.title according to new story extension capabilities
2002-07-12 12:39:49 +00:00
a8c08da165
fixed a bug that prevented a macro like <% story.content part="title" as="editor" height="15" %> from outputting the right height of the textarea.
2002-07-10 12:20:22 +00:00
Hannes Wallnöfer
c8df8ac3de
merged xml_content branch.
2002-07-01 16:36:27 +00:00
Robert Gaggl
c882d3d7e6
changed because the prototype weblog was renamed to site
2002-06-26 17:29:39 +00:00
Robert Gaggl
a66f5cf9de
- changed because the prototype weblog was renamed to site
...
- removed hardcoded messages with getMsg()
- property author was renamed to creator
2002-06-26 17:17:35 +00:00
Robert Gaggl
d897c3512f
property author of story was renamed to creator
2002-06-26 17:16:06 +00:00
Robert Gaggl
489833355b
author_macro() was renamed to creator_macro()
2002-06-26 16:51:48 +00:00
Robert Gaggl
a94e09901e
changed because the prototype weblog was renamed to site
2002-06-26 16:48:51 +00:00
Robert Gaggl
bd3b78d923
- lots of changes because the prototype weblog was renamed to site
...
- rewrote direct database-queries to match new db-schema
2002-06-26 16:35:28 +00:00
Robert Gaggl
72d830c930
changed because the prototype weblog was renamed to site
2002-06-26 16:23:37 +00:00
Robert Gaggl
cd8dfe8aeb
now calling creator_macro() which is the renamed author_macro()
2002-06-26 16:22:41 +00:00
Robert Gaggl
c13183e3a7
story.author was renamed to story.creator, so author_macro() was renamed to creator_macro()
2002-06-26 16:17:33 +00:00
Robert Gaggl
67a6f7792f
changed because the prototype weblog was renamed to site
...
plus story.author was renamed to story.creator
2002-06-26 16:15:43 +00:00
Robert Gaggl
704f144887
changed because weblog was renamed to site
2002-06-26 16:10:32 +00:00
Robert Gaggl
f8db009bff
changed type.properties according to new database-schema:
...
- all tables are prefixed with AV_
- WEBLOG was renamed to AV_SITE
- GOODIE was renamed to AV_FILE
- all columns are prefixed with the table-name (without table-prefix)
- foreign keys follow a specific naming-convention
(for details see http://project.antville.org/topics/feature+requests+and+proposals/69427/ )
2002-06-26 16:03:59 +00:00
Robert Gaggl
23e0cab449
merged changes done in branch "grob_message" into main trunk (application-messages are no longer hardcoded in functions but are defined in central language-specific .js-files; application-messages are selected according to defined language)
2002-06-12 17:19:47 +00:00
Robert Gaggl
49c623f75b
merged changes done in branch "grob_message" into main trunk
2002-06-12 17:19:05 +00:00
0327e048f1
removed some more markup from function code and fixed thumbnail_macro for backwards compatibility
2002-06-04 18:11:59 +00:00
adb5fd01a4
removed "?" from urlparam and "#" from anchor parameters in link macros
2002-06-04 17:58:19 +00:00
e942ee92fe
fixed bug in onlinelink_macro: "param" instead of "linkParam"
2002-06-04 15:37:41 +00:00
f82b1aa47c
moved <form> tags on positions that are appropriate for xhtml compatibility (hopefully...)
2002-06-04 15:34:47 +00:00
3baac801a0
moved renderInputText() et al. and renderImage() from hopobject to global
2002-06-04 14:53:17 +00:00
Robert Gaggl
62aad7f603
now using global markupelement-functions resp. global openLink() and closeLink()-funtions
2002-06-04 14:18:27 +00:00