Robert Gaggl
798be2a159
backport from changes on antville.org: added prefetching of comments in comments_macro()
2002-10-01 11:34:59 +00:00
Robert Gaggl
0ee4bc46ef
quick fix: manually escaping topic-names in topic-links because topic names containing spaces lead to a 404
2002-10-01 11:17:16 +00:00
Hannes Wallnöfer
87b5cf0558
Backport of antville.org changes:
...
- Render links to comments directly as stories/storyid#commentid instead of
doing a redirect via comment/main.hac
- Render name anchor as <a name="..."></a>, since some browsers have problems
with the empty element representation.
- Select only those columns which are actually used in backlinks macro.
2002-09-20 16:11:17 +00:00
Robert Gaggl
4ec0075410
- removed creator_macro() since that's a hopobject-macro now
2002-09-02 20:25:46 +00:00
a6a09daf3e
added imgprefix to topic_macro() to define a prefix when topic is linked as image (default is "topic_")
2002-08-22 15:45:44 +00:00
Robert Gaggl
6e3d1d7563
using encodeForm only when param.value is *not* null ...
2002-08-21 16:31:50 +00:00
Robert Gaggl
9371aaf119
now using encodeForm() for input type=text
2002-08-21 16:10:08 +00:00
Robert Gaggl
a899ed611a
fixed a bug that would result in an error when story-comments are displayed on the frontpage of a site (and therefor no story is in path)
2002-08-21 13:21:05 +00:00
259352c995
splitted renderTextPreview() into clipText() and softwrap()
2002-08-14 17:36:14 +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
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
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
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
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
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
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
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
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
a491176656
res.write(simpleDropDownBox()) is replaced by renderDropDownBox() in level_macro()
2002-06-03 16:56:14 +00:00
Robert Gaggl
9b7847eec1
change code according to helma's new session/usermodel:
...
- using session.user instead of user as argument
changed code to run with snapshot 20020531-fc:
- removed explicit writing of prefix and suffix to response-object (helma's doing that from now on)
2002-06-02 16:05:37 +00:00
Hannes Wallnöfer
57a4302186
merged changes from branch hns_timezone into main branch.
2002-05-27 18:57:52 +00:00
Robert Gaggl
c4889d75c2
- changes due to renaming "allcomments"-collection to "comments
...
- removed separating spaces between counter and text
2002-05-15 23:14:45 +00:00
8c73fc5a86
added check for "zero records" returned by hsqldb in backlinks_macro()
2002-05-14 14:22:24 +00:00
3032543b0a
adapted sql query in backlinks_macro() for using antville with hsqldb connection
2002-05-13 18:20:11 +00:00
Robert Gaggl
4e736103f7
added release of rowset (from direct db-operation) as in listReferrers_macro() of weblog
2002-04-26 13:07:51 +00:00
8c5f5bae01
removed "like" clause checking for referrer from same weblog
2002-04-25 17:01:51 +00:00
04b0b2ee94
removed debug output writeln(query) in backlinks_macro
2002-04-25 12:15:31 +00:00
0b0f5814c9
renamed macro story.listReferrers to story.backlinks and accordingly the two corresponding skins
2002-04-25 08:00:33 +00:00
3f3485bdbe
added listReferrers_macro
2002-04-24 13:35:44 +00:00
Hannes Wallnöfer
2bfa89de2e
Implemented option to display createtime as HTML editor by adding
...
as="editor" to the macro tag.
2002-04-08 11:56:18 +00:00
Robert Gaggl
cde9bb2f5c
- changed topicchooser_macro()
...
- added new topic_macro() that renders a link to the topic of a story
2002-02-10 16:35:18 +00:00
Hannes Wallnöfer
60b9210f1f
pass achnor parameter from macro on to openLink function.
2002-02-05 16:55:40 +00:00
Hannes Wallnöfer
a94cc5e79c
virtual node for topcis is is now called topics instead of space.
2002-02-02 13:37:03 +00:00
Robert Gaggl
c42ab39afb
now using simpleDropDownBox, fixed some linguistic bugs ;-)
2002-01-22 19:49:49 +00:00
Robert Gaggl
e604ca48f4
comments now "decide" which skin should be rendered (depending if they've got a parent-comment or not)
2002-01-05 02:50:47 +00:00
Robert Gaggl
73798c40a5
new topicchooser_macro(), some other minor changes
2002-01-05 02:33:50 +00:00
Robert Gaggl
b876c4baa5
rewrote online_macro() because of changed online-status of story
2001-12-16 18:14:00 +00:00
Robert Gaggl
dcccb5025b
- now using getText()
...
- security-functions now demand user-object as argument
2001-12-10 23:26:45 +00:00